]> git.baikalelectronics.ru Git - kernel.git/commit
nvme: update the known admin effects
authorChristoph Hellwig <hch@lst.de>
Fri, 25 Sep 2020 06:34:43 +0000 (08:34 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 7 Oct 2020 05:56:19 +0000 (07:56 +0200)
commitca7e3c7dfdf0f618cbfc4a4fe46a2e79c0f6cbf9
tree8d9da40850ba83068d9f6f6639fc9e3a36464c00
parentdc4336f11d004c3a191d4be7f0155bb27c171a91
nvme: update the known admin effects

A Format NVM command can change the capabilities of namespaces, while
Sanitize does change the Logical Block Content and must be serialized.

Also remove CSUPP bit for Format - it is not a mandatory command,
and we don't check for the bit anyway.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
drivers/nvme/host/core.c