On Tue, Jul 3, 2012 at 9:48 AM, James Litchfield
<jim.litchfi...@oracle.com> wrote:
> On 07/02/12 15:00, Nico Williams wrote:
>> You can't count on any writes to mmap(2)ed files hitting disk until
>> you msync(2) with MS_SYNC.  The system should want to wait as long as
>> possible before committing any mmap(2)ed file writes to disk.
>> Conversely you can't expect that no writes will hit disk until you
>> msync(2) or munmap(2).
> Driven by fsflush which will scan memory (in chunks) looking for dirty,
> unlocked, non-kernel pages to flush to disk.

Right, but one just cannot count on that -- it's not part of the API

zfs-discuss mailing list

Reply via email to