]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
default flush to use block device nsid
authorKeith Busch <kbusch@kernel.org>
Tue, 1 Jun 2021 14:01:44 +0000 (07:01 -0700)
committerKeith Busch <kbusch@kernel.org>
Tue, 1 Jun 2021 14:01:44 +0000 (07:01 -0700)
commit6abc4f36b38aa6be3c7e4b89e2997e5006e40b37
tree640bfffda015d251997eb4b8e2b60e409666e75e
parent896d857421e905e275c5a66361d8e5571542e1eb
default flush to use block device nsid

Kernel 5.13 added checks to ensure the ioctl path can't be abused to
access a different namespace than the one user space has permission to
open. This unfortunately breaks the all-nsid flush usage, so user
tooling needs to default to the device's namespace id.

Link: https://lore.kernel.org/linux-nvme/20210518144249.GE2709569@dhcp-10-100-145-180.wdc.com/T/#t
Link: https://github.com/linux-nvme/nvme-cli/issues/1066
Signed-off-by: Keith Busch <kbusch@kernel.org>
nvme.c