]> git.baikalelectronics.ru Git - kernel.git/commit
nvme-pci: disable Write Zeroes on Phison E3C/E4C
authorTina Hsu <tina_hsu@phison.corp-partner.google.com>
Thu, 22 Sep 2022 06:16:30 +0000 (14:16 +0800)
committerChristoph Hellwig <hch@lst.de>
Tue, 27 Sep 2022 07:20:30 +0000 (09:20 +0200)
commit9228de2a5229cbfcb9ae30454d28417e8134bf2a
treec86021bca20a8597bebd4b9bbadd29d6a621ab16
parent5c037b8ecd7341c1c3561786c0cd3004b0c3f419
nvme-pci: disable Write Zeroes on Phison E3C/E4C

E3C/E4C SSDs do support the Write Zeroes command in theory, but have very
bad performance when using it.  As the firmware has been frozen for these
products we can not expect firmware improvements for it, so disable
Write Zeroes.

Signed-off-by: Tina Hsu <tina_hsu@phison.corp-partner.google.com>
[hch: update the commit message]
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/pci.c