Re: Question about loop device DIO/AIO and FLUSH

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

 



Christoph,

> On Jul 1, 2016, at 14:04, Christoph Hellwig <hch@xxxxxx> wrote:
> 
> On Fri, Jul 01, 2016 at 05:00:18AM +0000, Damien Le Moal wrote:
>> Did you mean "...I/O requests that have already been fully submitted" ?
> 
> No.
> 
>> Flushing I/Os that have already completed does not seem
>> to make much sense. Or I am also missing something...
> 
> With a volatile write cache this makes a lot of sense.  And fsync
> flushes the volatile fs metadata to disk, while flush flushes the
> volatile disk write cache.

Thank you for the clarification. Makes sense.
Just to be picky though, I think that "completed I/Os" applies only
to flush in this case (flush of the volatile device cache to media).
fsync of the host cache (page cache most of the time) to the device
will issue new BIOs, and those will be waited for until completed.
Right ?

Best.

Western Digital Corporation (and its subsidiaries) E-mail Confidentiality Notice & Disclaimer:

This e-mail and any files transmitted with it may contain confidential or legally privileged information of WDC and/or its affiliates, and are intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the e-mail in its entirety from your system.

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux