]> www.infradead.org Git - users/hch/misc.git/commit
io_uring: rename "copy buffers" to "clone buffers"
authorJens Axboe <axboe@kernel.dk>
Sat, 14 Sep 2024 14:51:15 +0000 (08:51 -0600)
committerJens Axboe <axboe@kernel.dk>
Sat, 14 Sep 2024 14:51:15 +0000 (08:51 -0600)
commit636119af94f2fbf3e4458be66a1bc740ba69ce6d
treebb8a3bc758bb9855ef9cc60b91266e58b21b4315
parent7cc2a6eadcd7a5aa36ac63e6659f5c6138c7f4d2
io_uring: rename "copy buffers" to "clone buffers"

A recent commit added support for copying registered buffers from one
ring to another. But that term is a bit confusing, as no copying of
buffer data is done here. What is being done is simply cloning the
buffer registrations from one ring to another.

Rename it while we still can, so that it's more descriptive. No
functional changes in this patch.

Fixes: 7cc2a6eadcd7 ("io_uring: add IORING_REGISTER_COPY_BUFFERS method")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/uapi/linux/io_uring.h
io_uring/register.c
io_uring/rsrc.c
io_uring/rsrc.h