Re: [HELP]: about aio+dio

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

 



"Ma, Jianpeng" <jianpeng.ma@xxxxxxxxx> writes:

> For aio+directio:
> After io_submit, the content in request-queue of block-device.

Maybe.  It might be in the per-cpu plug list, or in the elevator's
queues.

> In blkdev_fsync(), it will cal blkdev_issue_flush. This operation make
> all request to disk.

blkdev_issue_flush send a FLUSH to the device.  It does nothing to
re-order existing requests in the queue.  Thus, as Zach said, if you
want to ensure data is on stable media, then you should wait for the I/O
to complete and then issue the fsync.

Cheers,
Jeff
--
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