public inbox for linux-nvme@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH v1 0/1] nvme-pci: disable write zeros support on UMIC and Samsung SSDs
@ 2022-06-10  6:27 rasheed.hsueh
  2022-06-10  6:27 ` [PATCH v1 1/1] " rasheed.hsueh
  0 siblings, 1 reply; 4+ messages in thread
From: rasheed.hsueh @ 2022-06-10  6:27 UTC (permalink / raw)
  To: kbusch, axboe, hch, sagi, linux-nvme, linux-kernel
  Cc: Rasheed.Hsueh, wuxy23, gwendal, rasheed.yh, rasheed.hsueh

To Whom It May Concern:

The existing FW configuration of NVME storage and system operation will slow down and consume the life expectancy of the SSD.

After co-working with the NVME vendor to clarify, below is the root cause:
• NVME drive recorded there were write zero commands and took time to finish.
• Current FW implementation would handle write zero with low priority and in serial, thus inducing slower response.

Replacing the WRITE_ZEROES command by actually calling a write command with zeros, as proposed by the kernel patch will reduce the life expectancy of the SSD as the command ends up writing zeroes instead of just de-allocating the space and preparing it for future writes. WRITE_ZEROES is sent by the kernel with REQ_OP_WRITE_ZEROES/blkdev_issue_zeroout() when we do fallocate or use LVM thin layer that we are deploying on the new platform.

rasheed.hsueh (1):
  nvme-pci: disable write zeros support on UMIC and Samsung SSDs

 drivers/nvme/host/pci.c | 8 ++++++++
 1 file changed, 8 insertions(+)

-- 
2.17.1



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-13 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-10  6:27 [PATCH v1 0/1] nvme-pci: disable write zeros support on UMIC and Samsung SSDs rasheed.hsueh
2022-06-10  6:27 ` [PATCH v1 1/1] " rasheed.hsueh
2022-06-10  9:18   ` Chaitanya Kulkarni
2022-06-13 17:58   ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox