issuing flush to all namespaces

Klaus Jensen its at irrelevant.dk
Thu Jul 14 01:08:41 PDT 2022


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20220714/f414a7b8/attachment-0001.sig>


More information about the Linux-nvme mailing list