[PATCH RESEND] nvme-pci: add NVME_QUIRK_DMAPOOL_ALIGN_512 for Micron 2200
Christoph Hellwig
hch at lst.de
Tue Nov 24 21:01:02 PST 2026
On Sat, Nov 21, 2026 at 11:46:52PM +0300, Omar Alzand wrote:
> The Micron 2200 (1344:5410) corrupts the last page of reads of exactly
> 33 pages (132 KiB). Such a read uses a 32-entry PRP list, which exactly
> fills a 256-byte small-pool descriptor, and the final page is dropped
> while the read still returns success. On btrfs this appears as
> intermittent "csum failed" read errors that succeed on retry.
>
> A raw-device test (eight O_DIRECT readers of N pages into a 0xAA-filled
> buffer, plus mixed-size background load) isolates it to 33-page reads:
>
> pages reads bad pages
> 32 23515 0
> 33 17715 1001 (all at page 33, ~5.65%)
> 34 13735 0
>
> Booting with nvme.quirks=1344:5410:dmapool_align_512 eliminates it
> (133280 reads at 33 pages, 0 bad) and clears the btrfs checksum errors.
> Splitting the read via max_sectors_kb=128 also avoids it; writes are
> unaffected. This is the same quirk the Micron 4100AT needed.
>
> Verified through the nvme.quirks module parameter on a single 2200V
> (Micron_2200V_MTFDHBA512TCK, firmware P1MA0V4); this adds the equivalent
> id_table entry.
>
> Suggested-by: Christoph Hellwig <hch at lst.de>
> Signed-off-by: Omar Alzand <omaribrahimfadel at gmail.com>
Looks good:
Reviewed-by: Christoph Hellwig <hch at lst.de>
More information about the Linux-nvme
mailing list