]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: disable write zeroes on various Kingston SSD
authorXander Li <xander_li@kingston.com.tw>
Tue, 11 Oct 2022 11:06:42 +0000 (04:06 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 19 Oct 2022 08:36:39 +0000 (10:36 +0200)
commit77e59a4e87dc726bc954fb88f0896086935bc37a
treefa85f916973cb451a7fb67bf69a91f4354b7d49d
parent9b7782e5a97f23a19d8f7d350c633cb9f8bb1d97
nvme-pci: disable write zeroes on various Kingston SSD

Kingston SSDs do support NVMe Write_Zeroes cmd but take long time to
process.  The firmware version is locked by these SSDs, we can not expect
firmware improvement, so disable Write_Zeroes cmd.

Signed-off-by: Xander Li <xander_li@kingston.com.tw>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c