linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about loop device DIO/AIO and FLUSH
@ 2016-06-30 20:54 Amir Goldstein
  2016-07-01  4:25 ` Christoph Hellwig
  2016-07-01  6:57 ` Ming Lei
  0 siblings, 2 replies; 9+ messages in thread
From: Amir Goldstein @ 2016-06-30 20:54 UTC (permalink / raw)
  To: Ming Lei; +Cc: linux-fsdevel, linux-block, Christoph Hellwig, Jens Axboe

Hi Ming,

I was reading through the code of loop DIO/AIO
and I was wondering whether lo_req_flush() really
honors REQ_FLUSH by calling  vfs_fsync() on a backing file
that is open with O_DIRECT?

Shouldn't lo_req_flush() actually wait for completion of
all the in-flight loop AIO requests to complete?
Am I missing something?

Thanks,
Amir.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-07-03  8:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-30 20:54 Question about loop device DIO/AIO and FLUSH Amir Goldstein
2016-07-01  4:25 ` Christoph Hellwig
2016-07-01  5:00   ` Damien Le Moal
2016-07-01  5:04     ` Christoph Hellwig
2016-07-01  5:17       ` Damien Le Moal
2016-07-01  5:32         ` Christoph Hellwig
2016-07-01  5:35           ` Damien Le Moal
2016-07-01  6:57 ` Ming Lei
2016-07-03  8:26   ` Amir Goldstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).