]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ublk: update UBLK_F_SUPPORT_ZERO_COPY comment in UAPI header
authorCaleb Sander Mateos <csander@purestorage.com>
Sat, 21 Jun 2025 17:10:14 +0000 (11:10 -0600)
committerJens Axboe <axboe@kernel.dk>
Wed, 25 Jun 2025 02:45:31 +0000 (20:45 -0600)
commit81b4d1a1d03301dcca8af5c58eded9e535f1f6ed
treedb361575c3979a8e39ddea33a7fe3c3060e85158
parent67caa528ae08cd05e485c0ea6aea0baaf6579b06
ublk: update UBLK_F_SUPPORT_ZERO_COPY comment in UAPI header

UBLK_F_SUPPORT_ZERO_COPY has a very old comment describing the initial
idea for how zero-copy would be implemented. The actual implementation
added in commit 1f6540e2aabb ("ublk: zc register/unregister bvec") uses
io_uring registered buffers rather than shared memory mapping.
Remove the inaccurate remarks about mapping ublk request memory into the
ublk server's address space and requiring 4K block size. Replace them
with a description of the current zero-copy mechanism.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20250621171015.354932-1-csander@purestorage.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/ublk_cmd.h