[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Speeding up dpkg, a proposal



On Thu, Mar 3, 2011 at 7:32 PM, Phillip Susi <psusi@cfl.rr.com> wrote:
>> And we use some linux specific ioctl to avoid that fragmentation.
>
> Could you be more specific?

   sync_file_range(fd.a, 0, 0, SYNC_FILE_RANGE_WRITE);
   sync_file_range(fd.a, 0, 0, SYNC_FILE_RANGE_WAIT_BEFORE);

Olaf


Reply to: