Opened 8 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)

set_memory_hint_for_removed_torrents.patch (3.7 KB) - added by x190 8 years ago.
set_memory_hint_for_removed_torrents.patch

Download all attachments as: .zip

Change History (1)

Changed 8 years ago by x190

set_memory_hint_for_removed_torrents.patch

Note: See TracTickets for help on using tickets.