]> www.infradead.org Git - nvme.git/commit
loop: aio inherit the ioprio of original request
authorYunlong Xing <yunlong.xing@unisoc.com>
Mon, 14 Apr 2025 03:01:59 +0000 (11:01 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 15 Apr 2025 14:58:38 +0000 (08:58 -0600)
commit1fdb8188c3d505452b40cdb365b1bb32be533a8e
tree947dbef4c88cb6710022044935ccf03b502b1e8d
parent40f2eb9b531475dd01b683fdaf61ca3cfd03a51e
loop: aio inherit the ioprio of original request

Set cmd->iocb.ki_ioprio to the ioprio of loop device's request.
The purpose is to inherit the original request ioprio in the aio
flow.

Signed-off-by: Yunlong Xing <yunlong.xing@unisoc.com>
Signed-off-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250414030159.501180-1-yunlong.xing@unisoc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c