Ticket #729 (new enhancement)

Opened 3 years ago

Last modified 14 months ago

Add fallback for (file-)systems without mmap

Reported by: anonymous Owned by: rakshasa
Priority: normal Milestone: 1.1 Damp Chipmunk
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.

Attachments

Change History

Changed 3 years ago by rakshasa

This would depend on #641 being implemented.

Changed 14 months ago by anonymous

FUSE supports shared writable mmap since Linux kernel 2.6.26, so upgrade to a newer kernel.

Add/Change #729 (Add fallback for (file-)systems without mmap)

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.