]> Gentwo Git Trees - linux/.git/commit
loop: add lo_submit_rw_aio()
authorMing Lei <ming.lei@redhat.com>
Wed, 15 Oct 2025 11:07:28 +0000 (19:07 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 18 Nov 2025 13:49:51 +0000 (06:49 -0700)
commitc66e9708f92760147a1ea7f66c7b60ec801f85e3
treea0069faff0a92d09892b15902d57bc2e4112ea32
parentfd858d1ca9694c88703a8a936d5c7596c86ada74
loop: add lo_submit_rw_aio()

Refactor lo_rw_aio() by extracting the I/O submission logic into a new
helper function lo_submit_rw_aio(). This further improves code organization
by separating the I/O preparation, submission, and completion handling into
distinct phases.

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