Hi,
Am 19.12.24 um 14:05 schrieb Tj:
Package: linux-image-6.12.1+debian+tj
Followup-For: Bug #1076372
X-Debbugs-Cc: tj.iam...@proton.me
This patch ought to enable forcing MDTS for *all* NVME devices. Untested
but applies on master and back to v6.3.7 at least, and builds for
master.
Almost a perfect hit. The bug is triggered by the line after the patch,
where `ctrl->max_hw_sectors` is set to another value than defined by
MDTS. That behavior was introduced in 6.3.7 and is closely related to
the patch you mentioned earlier.
The data corruption disappears, if the `ctrl->max_hw_sectors` is set
according to MDTS (no need to alter that setting), see comment #4 at
https://bugzilla.kernel.org/show_bug.cgi?id=219609 for details.
Regards Stefan