]> www.infradead.org Git - nvme.git/commit
nvme: fix NVME_NS_DEAC may incorrectly identifying the disk as EXT_LBA.
authorBoyang Yu <yuboyang@dapustor.com>
Mon, 17 Jun 2024 13:11:44 +0000 (21:11 +0800)
committerKeith Busch <kbusch@kernel.org>
Mon, 17 Jun 2024 18:24:12 +0000 (11:24 -0700)
commit9570a48847e3acfa1a741cef431c923325ddc637
tree73f148c1240ad19ec387c6eff7084d9efdc687e3
parent5f75e081ab5cbfbe7aca2112a802e69576ee9778
nvme: fix NVME_NS_DEAC may incorrectly identifying the disk as EXT_LBA.

The value of NVME_NS_DEAC is 3,
which means NVME_NS_METADATA_SUPPORTED | NVME_NS_EXT_LBAS. Provide a
unique value for this feature flag.

Fixes 1b96f862eccc ("nvme: implement the DEAC bit for the Write Zeroes command")
Signed-off-by: Boyang Yu <yuboyang@dapustor.com>
Reviewed-by: Kanchan Joshi <joshi.k@samsung.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/nvme.h