]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
loop: add helper lo_rw_aio_prep()
authorMing Lei <ming.lei@redhat.com>
Wed, 15 Oct 2025 11:07:27 +0000 (19:07 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 18 Nov 2025 13:49:51 +0000 (06:49 -0700)
commitfd858d1ca9694c88703a8a936d5c7596c86ada74
tree6b1db18c54c8f9177159b8d588a2f10058d0b17a
parentc3e6c11147f6f05c15e9c2d74f5d234a6661013c
loop: add helper lo_rw_aio_prep()

Add helper lo_rw_aio_prep() to separate the preparation phase(setting up bio
vectors and initializing the iocb structure) from the actual I/O execution
in the loop block driver.

Prepare for using NOWAIT to improve loop performance.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c