From: Christoph Hellwig <hch@lst.de>
To: Omar Alzand <omaribrahimfadel@gmail.com>
Cc: linux-nvme@lists.infradead.org, Keith Busch <kbusch@kernel.org>,
Jens Axboe <axboe@kernel.dk>, Christoph Hellwig <hch@lst.de>,
Sagi Grimberg <sagi@grimberg.me>, Bean Huo <beanhuo@micron.com>
Subject: Re: [PATCH RESEND] nvme-pci: add NVME_QUIRK_DMAPOOL_ALIGN_512 for Micron 2200
Date: Wed, 25 Nov 2026 06:01:02 +0100 [thread overview]
Message-ID: <20261125050102.GA19926@lst.de> (raw)
In-Reply-To: <20261121204652.16374-1-omaribrahimfadel@gmail.com>
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@lst.de>
> Signed-off-by: Omar Alzand <omaribrahimfadel@gmail.com>
Looks good:
Reviewed-by: Christoph Hellwig <hch@lst.de>
prev parent reply other threads:[~2026-11-25 5:01 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-01 21:50 nvme-pci: Micron 2200 (1344:5410) needs NVME_QUIRK_DMAPOOL_ALIGN_512 Omar Alzand
2026-11-04 8:49 ` Christoph Hellwig
[not found] ` <IA6PR08MB10897D405AB097DF85E193EF8DB682@IA6PR08MB10897.namprd08.prod.outlook.com>
2026-11-07 3:19 ` Omar Alzand
2026-11-21 20:46 ` [PATCH RESEND] nvme-pci: add NVME_QUIRK_DMAPOOL_ALIGN_512 for Micron 2200 Omar Alzand
2026-11-25 5:01 ` Christoph Hellwig [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=20261125050102.GA19926@lst.de \
--to=hch@lst.de \
--cc=axboe@kernel.dk \
--cc=beanhuo@micron.com \
--cc=kbusch@kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=omaribrahimfadel@gmail.com \
--cc=sagi@grimberg.me \
/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