From: Niklas Cassel <cassel@kernel.org>
To: Tobias Kriebisch <tobias.kriebisch@tecbeast.gmbh>
Cc: Damien Le Moal <dlemoal@kernel.org>, linux-ide@vger.kernel.org
Subject: Re: [PATCH] ata: libata-core: Add NO_NCQ_TRIM quirk for Samsung PM893 (MZ7L3)
Date: Tue, 10 Nov 2026 11:46:48 +0100 [thread overview]
Message-ID: <avL2GHf5tXhiXmPb@ryzen> (raw)
In-Reply-To: <71332274-ae9d-4d2d-bbc6-22c559102c4c@tecbeast.gmbh>
Hello Tobias,
On Tue, Nov 10, 2026 at 09:19:58AM +0100, Tobias Kriebisch wrote:
> On Mon, Nov 09, 2026 at 03:56:41PM +0100, Niklas Cassel wrote:
> > Please boot the latest kernel, 7.4-rc2, and verify that the problem still
> > exists.
>
> The three drives hold a ZFS pool on a production server. OpenZFS does
> not support 7.4 yet (the latest release supports up to 6.19), so I
> cannot run 7.4-rc2 on that machine, and I don't have a spare machine
> with this drive and controller.
>
> Would results from the newest kernel that a released OpenZFS supports
> be acceptable? On that kernel I can test noncqtrim and nolpm separately,
> and then boot a kernel with only the needed quirks and no libata.force.
Normally, any problem where OpenZFS is involved is ignored, because the
CDDL license is incompatible with the GPL...
> > If the problem still exist on the latest kernel, apply the minimal set of
> > quirks needed to fix the problem.
>
> Understood, the v2 will only contain the quirks that are actually needed.
>
> > And yes, build and boot a kernel with your patch to verify that the
> problem
> > is actually solved.
>
> If testing on 6.19 is helpful here, I will build and boot 6.19 with the
> patch, verify that the problem is solved, and send a v2 with the results.
... however, since it seems like almost all Samsung drives already have:
ATA_QUIRK_ZERO_AFTER_TRIM and ATA_QUIRK_NO_NCQ_TRIM
(ATA_QUIRK_ZERO_AFTER_TRIM is actually a whitelist, saying that the data
after trim is guaranteed to be zero, so this one tells the upper layers
about the FW behavior, so that it can use the most optimal commands.)
I think it is reasonable to accept quirk(s) for this device if you test
with 6.19 and actually verify that the patch solves your problem.
Kind regards,
Niklas
prev parent reply other threads:[~2026-11-10 10:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 13:45 [PATCH] ata: libata-core: Add NO_NCQ_TRIM quirk for Samsung PM893 (MZ7L3) Tobias Kriebisch
2026-11-09 14:56 ` Niklas Cassel
2026-11-10 8:19 ` Tobias Kriebisch
2026-11-10 10:46 ` Niklas Cassel [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=avL2GHf5tXhiXmPb@ryzen \
--to=cassel@kernel.org \
--cc=dlemoal@kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=tobias.kriebisch@tecbeast.gmbh \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox