linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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:04:55 +0200	[thread overview]
Message-ID: <20160701050455.GA828@lst.de> (raw)
In-Reply-To: <E8DEFE4F-67B6-4A9A-83F0-3AA554AEFFB1@hgst.com>

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.

  reply	other threads:[~2016-07-01  5:04 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 [this message]
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

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=20160701050455.GA828@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 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).