Ticket #729 (new enhancement)
Add fallback for (file-)systems without mmap
| Reported by: | anonymous | Owned by: | rakshasa |
|---|---|---|---|
| Priority: | normal | Component: | libtorrent |
| Version: | Severity: | normal | |
| Keywords: | Cc: |
Description
Not all systems or filesystems support mmap, others do but not in a stable manner. Examples include FUSE mounted filesystems such as sshfs, encfs and ntfs, or nfs in older Linux kernels. (See for example ticket #226 and #322.) Hence, it would be nice if libtorrent could, as a user preference, fallback to using ordinary read/write.
This would obviously be a performance hit, but a little slower is better than not working at all.
Google found the following, which perhaps can be of use in a future implementation: http://lists.debian.org/deity/2005/06/msg00134.html
Adding to 1.1 since 0.9 should focus on the client and 1.0 on stability and fine-adjustments, not because it wouldn't be nice to have it earlier.

This would depend on #641 being implemented.