Re: [PATCH] nvme-pci: prevent SK Hynix PE8000 from using Write Zeroes command
From: Chaitanya Kulkarni <hidden>
Date: 2021-02-09 05:38:24
Gopal, On 2/8/21 21:06, Gopal Tiwari wrote:
For SK Hynix PE8000 WriteZerocommands exceed typical I/O MDTS (Maximum Data Transfer Size) supported by the hardware. Which intern fail and generate following erros : nvme nvme0: I/O 0 QID 96 timeout, aborting nvme nvme0: Abort status: 0x371 nvme nvme0: Shutdown timeout set to 15 seconds nvme nvme0: 128/0/0 default/read/poll queues nvme nvme0: I/O 0 QID 96 timeout, disable controller nvme nvme0: I/O 0 QID 0 timeout, disable controller nvme nvme0: Device shutdown incomplete; abort shutdown nvme nvme0: failed to mark controller live state nvme nvme0: Removing after probe failure status: -19 Firmware unable to complete any outstanding commands due to lack of resources, therefore placing NVMe drive in a condition that is unable to further process WriteZerocommands. fixing by disabling Write zeroes.
Please consider following commit log, can be used at the time applying the patch:- For SK Hynix PE8000 NVMe Write Zeroes Command exceed typical I/O MDTS (Maximum Data Transfer Size) supported by the hardware. That intern fail and generate following errors : nvme nvme0: I/O 0 QID 96 timeout, aborting nvme nvme0: Abort status: 0x371 nvme nvme0: Shutdown timeout set to 15 seconds nvme nvme0: 128/0/0 default/read/poll queues nvme nvme0: I/O 0 QID 96 timeout, disable controller nvme nvme0: I/O 0 QID 0 timeout, disable controller nvme nvme0: Device shutdown incomplete; abort shutdown nvme nvme0: failed to mark controller live state nvme nvme0: Removing after probe failure status: -19 Firmware is unable to complete any outstanding commands due to lack of resources, therefore placing NVMe drive in a condition that is unable to further process write-zeores command. Add NVME_QUIRK_DISABLE_WRITE_ZEROES quirk for SK Hynix PE8000 that fixes the problem. With the modified commit log, looks good. Reviewed-by: Chaitanya Kulkarni <redacted> _______________________________________________ Linux-nvme mailing list Linux-nvme@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-nvme