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

Re: dpkg 1.15.6 is slow as hell

* Mike Hommey:

> So, IMHO, what you really want to do is unpack, sync everything, and
> then rename. Unfortunately, there exists nothing that permits to sync
> only a set of files, and as was said in this thread, sync() doesn't
> necessarily guarantees all writes happened once it returns, though that
> might be true on Linux.

You could fake it using threads (in a separate process).  I thought
that sync_file_range offered non-blocking operation, but that does not
seem to be the case.

Reply to: