Opened 9 years ago
#5486 new Enhancement
Flush (linux) or Flag (os x) OS cache when removing torrents from the list
Reported by: | x190 | Owned by: | jordan |
---|---|---|---|
Priority: | Normal | Milestone: | None Set |
Component: | libtransmission | Version: | 2.82 |
Severity: | Normal | Keywords: | |
Cc: |
Description
In #5102, we retained data in the OS cache when calling tr_close_file(). While this is a good thing when we will be opening the files in read-only mode for seeding, it would make sense to flush the cache when we remove the torrent from the list or remove it and trash the data.
Attached is a patch to r14199 which does this.
Attachments (1)
Note: See
TracTickets for help on using
tickets.
set_memory_hint_for_removed_torrents.patch