]> 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)
commitedfa1de81c303daf78680bfa46afb017e38d3f55
treec86021bca20a8597bebd4b9bbadd29d6a621ab16
parentf9309ca29e85fa35d560af2fa05091260f2012d2
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