[PATCH v1 0/1] nvme-pci: disable write zeros support on UMIC and Samsung SSDs

rasheed.hsueh rasheed.hsueh at lcfc.corp-partner.google.com
Thu Jun 9 23:27:33 PDT 2022


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




More information about the Linux-nvme mailing list