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

Re: Pre-approval request for dpkg sync() changes for squeeze

On 10/25/2010 4:28 AM, Goswin von Brederlow wrote:
> Except that the fsync() patches from RedHat were never added to the AIO
> code in the kernel. The portable way for this is to mmap() the files and
> msync() them with MS_ASYNC. But that makes catching write errors a
> nightmare.

Blast.  Then I guess O_DIRECT aio is the way to go.  Either that or a
kernel interface change is needed to convey the right caching policy.
Seems like the latter would be the better choice, but also more
difficult to get off the ground.

Reply to: