Linux-NVME Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Klaus Jensen <its@irrelevant.dk>
To: linux-nvme@lists.infradead.org
Cc: Keith Busch <kbusch@kernel.org>, Christoph Hellwig <hch@lst.de>,
	Jens Axboe <axboe@fb.com>, Sagi Grimberg <sagi@grimberg.me>
Subject: issuing flush to all namespaces
Date: Thu, 14 Jul 2022 10:08:41 +0200	[thread overview]
Message-ID: <Ys/PCWCY8YWsoIci@apples> (raw)

[-- Attachment #1: Type: text/plain, Size: 457 bytes --]

Hi,

Since the (very reasonable) changes that cause the driver to check that
the nsid of the command corresponds to the nsid of the namespace being
targeted it is no longer possible to issue a flush to all namespaces:

   # nvme flush /dev/nvme0n1 -n 0xffffffff
   flush: Invalid argument

Now, I think we can all agree that Flush is the odd one out here, but
can we do anything about it? The char devices also check the nsid, so
they can't be used either.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2022-07-14  8:09 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-14  8:08 Klaus Jensen [this message]
2022-07-14  8:11 ` issuing flush to all namespaces Christoph Hellwig
2022-07-14  8:16   ` Klaus Jensen

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=Ys/PCWCY8YWsoIci@apples \
    --to=its@irrelevant.dk \
    --cc=axboe@fb.com \
    --cc=hch@lst.de \
    --cc=kbusch@kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=sagi@grimberg.me \
    /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