Re: [HELP]: about aio+dio

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

 



On Fri, Aug 22, 2014 at 12:40:46AM +0000, Ma, Jianpeng wrote:
> Hi Zach,
>   Ask other question: Is fsync/fdatasync to wait all aio to complete?
>   AFAK, for fsync, it will send WRITE_FLUSH which make all previous
>   request complete. Is it right?

No, sync won't wait for aio operations to complete.  If you want to
flush the cached results of aio operations with sync then you need to
wait to issue the sync until after the aio operations have completed.

- z
--
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