]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
io_uring/kbuf: remove obsolete buf_nr_pages and update comments
authorJoanne Koong <joannelkoong@gmail.com>
Thu, 20 Nov 2025 19:15:56 +0000 (11:15 -0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 20 Nov 2025 20:23:05 +0000 (13:23 -0700)
commit84692a1519b32d61ff882cf24a9eda900961acad
treef742213a74007cfc1a6a9170219c7b9bb7bd5fe8
parentf779ac0b8784858c3700f6660d606f436c62157a
io_uring/kbuf: remove obsolete buf_nr_pages and update comments

The buf_nr_pages field in io_buffer_list was previously used to
determine whether the buffer list uses ring-provided buffers or classic
provided buffers. This is now determined by checking the IOBL_BUF_RING
flag.

Remove the buf_nr_pages field and update related comments.

Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
include/linux/io_uring_types.h
io_uring/kbuf.h