Re: [PATCH 1/4] dpkg: On Linux initiate writeback of unpacked files ASAP

2010-11-29 Thread Bastian Blank
On Mon, Nov 29, 2010 at 12:50:09AM -0600, Jonathan Nieder wrote: > The sync_file_range call has been available since Linux 2.6.17. > On non-Linux systems we can skip it. It still should check for ENOSYS instead of bailing out. Bastian -- No problem is insoluble. -- Dr. Janet Wal

[PATCH 1/4] dpkg: On Linux initiate writeback of unpacked files ASAP

2010-11-28 Thread Jonathan Nieder
To avoid performance degradation on filesystems with "allocate on flush" semantics (like xfs, ubifs, hfs+, and ext4 without nodelalloc), start writing back each file once it has finished being extracted. This doesn't actually wait for the write to finish; it just starts the writeback. The sync_fil