Re: [PATCH 1/1] nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a

From: Christoph Hellwig
Date: Thu Mar 11 2021 - 05:48:00 EST


On Wed, Mar 10, 2021 at 12:00:30PM -0800, Keith Busch wrote:
> On Wed, Mar 10, 2021 at 02:41:10PM +0100, Christoph Hellwig wrote:
> > On Wed, Mar 10, 2021 at 02:21:56PM +0100, Christoph Hellwig wrote:
> > > Can you try this patch instead?
> > >
> > > http://lists.infradead.org/pipermail/linux-nvme/2021-February/023183.html
> >
> > Actually, please try the patch below instead, it looks like our existing
> > logic messes up the units:
>
> This seems like a good opportunity to incorporate TP4040 for non-MDTS
> command limits. I sent a proposal here
>
> http://lists.infradead.org/pipermail/linux-nvme/2021-March/023522.html
>
> And it defaults to your suggestion if the controller doesn't implement
> the capability.

I think TP4040 is good and useful, but I defintively want the pure
fix get in first.