Patch "nvme: fix NVME_NS_DEAC may incorrectly identifying the disk as EXT_LBA." has been added to the 6.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    nvme: fix NVME_NS_DEAC may incorrectly identifying the disk as EXT_LBA.

to the 6.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     nvme-fix-nvme_ns_deac-may-incorrectly-identifying-th.patch
and it can be found in the queue-6.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit aaec9263ba7893c08f57968ffed292049900ba64
Author: Boyang Yu <yuboyang@xxxxxxxxxxxx>
Date:   Mon Jun 17 21:11:44 2024 +0800

    nvme: fix NVME_NS_DEAC may incorrectly identifying the disk as EXT_LBA.
    
    [ Upstream commit 9570a48847e3acfa1a741cef431c923325ddc637 ]
    
    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@xxxxxxxxxxxx>
    Reviewed-by: Kanchan Joshi <joshi.k@xxxxxxxxxxx>
    Signed-off-by: Keith Busch <kbusch@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h
index d7bcc6d51e84e..3f2b0d41e4819 100644
--- a/drivers/nvme/host/nvme.h
+++ b/drivers/nvme/host/nvme.h
@@ -503,7 +503,7 @@ static inline bool nvme_ns_head_multipath(struct nvme_ns_head *head)
 enum nvme_ns_features {
 	NVME_NS_EXT_LBAS = 1 << 0, /* support extended LBA format */
 	NVME_NS_METADATA_SUPPORTED = 1 << 1, /* support getting generated md */
-	NVME_NS_DEAC,		/* DEAC bit in Write Zeores supported */
+	NVME_NS_DEAC = 1 << 2,		/* DEAC bit in Write Zeores supported */
 };
 
 struct nvme_ns {




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux