From: Keith Busch <kbusch@kernel.org>
To: Yehyeong Lee <yhlee@isslab.korea.ac.kr>
Cc: axboe@kernel.dk, hch@lst.de, sagi@grimberg.me,
eduard@hasenleithner.at, linux-nvme@lists.infradead.org,
linux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] nvme: zero the discard fallback page
Date: Mon, 10 Aug 2026 13:20:53 -0600 [thread overview]
Message-ID: <anoklR7ptrDQwCtn@kbusch-mbp> (raw)
In-Reply-To: <20260730113624.1605213-1-yhlee@isslab.korea.ac.kr>
On Thu, Jul 30, 2026 at 08:36:24PM +0900, Yehyeong Lee wrote:
> nvme_setup_discard() always maps sizeof(struct nvme_dsm_range) *
> NVME_DSM_MAX_RANGES = 4096 bytes as the DSM payload however many ranges
> the command declares, because some devices ignore the 'Number of Ranges'
> field - the Fixes: commit records two that read past the declared ranges.
> A single-range discard fills only the first 16 bytes.
Thanks, applied to nvme-7.3.
prev parent reply other threads:[~2026-08-10 19:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-30 11:36 Yehyeong Lee
2026-08-10 19:20 ` Keith Busch [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=anoklR7ptrDQwCtn@kbusch-mbp \
--to=kbusch@kernel.org \
--cc=axboe@kernel.dk \
--cc=eduard@hasenleithner.at \
--cc=hch@lst.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-nvme@lists.infradead.org \
--cc=sagi@grimberg.me \
--cc=stable@vger.kernel.org \
--cc=yhlee@isslab.korea.ac.kr \
/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
all inboxes | Powered by JetHome®