mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jeff Moyer <jmoyer@redhat.com>
To: Alex Bligh <alex@alex.org.uk>
Cc: "linux-kernel\@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	nbd-general@lists.sourceforge.net, Eric Blake <eblake@redhat.com>
Subject: Re: Block layer - meaning of REQ_FUA on not write requests
Date: Fri, 01 Apr 2016 12:06:09 -0400	[thread overview]
Message-ID: <x49fuv5uxe6.fsf@segfault.boston.devel.redhat.com> (raw)
In-Reply-To: <FA28BBF6-1D91-4F9B-99DF-5C46F27E2D44@alex.org.uk> (Alex Bligh's message of "Fri, 1 Apr 2016 16:27:35 +0100")

Alex Bligh <alex@alex.org.uk> writes:

> I am trying to clean up the documentation of the NBD protocol. NBD's
> support for Force Unit Access (FUA) was modelled on the linux kernel
> block layer. When I added support a few years ago, I omitted to find
> out exactly what types of request it applies to. Obviously it applies
> to write requests, but how about others (e.g. read)?

Any request with REQ_FUA set will be treated as a flush by the block
layer.  As such, we do not expect reads to have this bit set.

Cheers,
Jeff

      reply	other threads:[~2016-04-01 16:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-01 15:27 Alex Bligh
2016-04-01 16:06 ` Jeff Moyer [this message]

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=x49fuv5uxe6.fsf@segfault.boston.devel.redhat.com \
    --to=jmoyer@redhat.com \
    --cc=alex@alex.org.uk \
    --cc=eblake@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nbd-general@lists.sourceforge.net \
    /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

all inboxes | Powered by JetHome®