From: Christoph Hellwig <hch@lst.de>
To: Damien Le Moal <Damien.LeMoal@hgst.com>
Cc: Christoph Hellwig <hch@lst.de>,
Amir Goldstein <amir73il@gmail.com>,
Ming Lei <ming.lei@canonical.com>,
linux-fsdevel <linux-fsdevel@vger.kernel.org>,
linux-block <linux-block@vger.kernel.org>,
Jens Axboe <axboe@fb.com>
Subject: Re: Question about loop device DIO/AIO and FLUSH
Date: Fri, 1 Jul 2016 07:32:27 +0200 [thread overview]
Message-ID: <20160701053227.GA917@lst.de> (raw)
In-Reply-To: <3D8F3502-8EA7-4568-882B-90E48C8F6BCF@hgst.com>
On Fri, Jul 01, 2016 at 05:17:28AM +0000, Damien Le Moal wrote:
> 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 ?
For fsync the completed I/O at the syscall / VFS level. Fsync only
needs to cover read/write calls that have return to the user, be that
through a synchronous call or aio completion.
next prev parent reply other threads:[~2016-07-01 5:33 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2016-07-01 5:35 ` Damien Le Moal
2016-07-01 6:57 ` Ming Lei
2016-07-03 8:26 ` Amir Goldstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160701053227.GA917@lst.de \
--to=hch@lst.de \
--cc=Damien.LeMoal@hgst.com \
--cc=amir73il@gmail.com \
--cc=axboe@fb.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=ming.lei@canonical.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.