[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <33565F7F-307C-408C-861D-72517F564967@canonical.com>
Date: Tue, 21 Apr 2020 12:51:18 +0800
From: Kai-Heng Feng <kai.heng.feng@...onical.com>
To: Christoph Hellwig <hch@....de>
Cc: Keith Busch <kbusch@...nel.org>, Jens Axboe <axboe@...com>,
Sagi Grimberg <sagi@...mberg.me>,
linux-stable <stable@...r.kernel.org>,
"open list:NVM EXPRESS DRIVER" <linux-nvme@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] nvme/pci: Use Discard instead of Write Zeroes on SK hynix
SC300
> On Apr 17, 2020, at 20:59, Christoph Hellwig <hch@....de> wrote:
>
> On Fri, Apr 17, 2020 at 04:36:41PM +0800, Kai-Heng Feng wrote:
>> After commit 6e02318eaea5 ("nvme: add support for the Write Zeroes
>> command"), SK hynix SC300 becomes very slow with the following error
>> message:
>> [ 224.567695] blk_update_request: operation not supported error, dev nvme1n1, sector 499384320 op 0x9:(WRITE_ZEROES) flags 0x1000000 phys_seg 0 prio class 0]
>>
>> Use quirk NVME_QUIRK_DEALLOCATE_ZEROES to workaround this issue.
>
> Do you have a written guarantee from SK Hynix that it will always zero
> all blocks discarded?
Raised the issue to SK Hynix and waiting for their reply...
Kai-Heng
Powered by blists - more mailing lists