Skip to content

nvme/util: support multi-page prplists in PRP - #64

Merged
minwooim merged 1 commit into
SamsungDS:mainfrom
minwooim:fix/multipage-prplists
Jul 21, 2026
Merged

nvme/util: support multi-page prplists in PRP#64
minwooim merged 1 commit into
SamsungDS:mainfrom
minwooim:fix/multipage-prplists

Conversation

@minwooim

Copy link
Copy Markdown
Collaborator

add @nprplists to nvme_map_prp/nvme_mapv_prp so the prplist can be chained across multiple pages provided by the caller. the rq helpers keep using a single page and reject buffers that don't fit, which fixes the overrun that the previous attempt Commit 6763e31 ("nvme/util: support multi-page prplists in PRP") had by walking past the single-page rq->page slice into the next request's memory.

Fixes: 6763e31 ("nvme/util: support multi-page prplists in PRP")
Link: #53

@minwooim
minwooim force-pushed the fix/multipage-prplists branch 2 times, most recently from 27841ee to 46816a3 Compare July 17, 2026 23:30
add @nprplists to nvme_map_prp/nvme_mapv_prp so the prplist can be
chained across multiple pages provided by the caller.  the rq helpers
keep using a single page and reject buffers that don't fit, which fixes
the overrun that the previous attempt Commit 6763e31 ("nvme/util:
support multi-page prplists in PRP") had by walking past the single-page
rq->page slice into the next request's memory.

Fixes: 6763e31 ("nvme/util: support multi-page prplists in PRP")
Link: SamsungDS#53
Signed-off-by: Minwoo Im <minwoo.im@samsung.com>
@minwooim
minwooim force-pushed the fix/multipage-prplists branch from 46816a3 to 469ffc7 Compare July 17, 2026 23:32
@minwooim
minwooim merged commit 8ab1994 into SamsungDS:main Jul 21, 2026
24 of 25 checks passed
iomartin pushed a commit to Eideticom/libvfn-pub that referenced this pull request Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant