]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ublk: define ublk_ch_batch_io_fops for the coming feature F_BATCH_IO
authorMing Lei <ming.lei@redhat.com>
Fri, 16 Jan 2026 14:18:34 +0000 (22:18 +0800)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Jan 2026 03:05:40 +0000 (20:05 -0700)
commitfb027d569422efcf1b367441f782fb425a4b5569
tree0711918747055b387bd7c9d2d3ff48508ec8062a
parent880528eaa67fc6446a0b5c16757f0d6a2639ccda
ublk: define ublk_ch_batch_io_fops for the coming feature F_BATCH_IO

Introduces the basic structure for a batched I/O feature in the ublk driver.
It adds placeholder functions and a new file operations structure,
ublk_ch_batch_io_fops, which will be used for fetching and committing I/O
commands in batches. Currently, the feature is disabled.

Reviewed-by: Caleb Sander Mateos <csander@purestorage.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/ublk_drv.c