]> www.infradead.org Git - users/dwmw2/linux.git/commit
block: add a rq_list type
authorChristoph Hellwig <hch@lst.de>
Wed, 13 Nov 2024 15:20:44 +0000 (16:20 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 13 Nov 2024 19:04:58 +0000 (12:04 -0700)
commita3396b99990d8b4e5797e7b16fdeb64c15ae97bb
treeab6c55dedd8af72f1206f90c63a1331cf08b3f1f
parente8225ab15006fbcdb14cef426a0a54475292fbbc
block: add a rq_list type

Replace the semi-open coded request list helpers with a proper rq_list
type that mirrors the bio_list and has head and tail pointers.  Besides
better type safety this actually allows to insert at the tail of the
list, which will be useful soon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20241113152050.157179-5-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
block/blk-merge.c
block/blk-mq.c
block/blk-mq.h
drivers/block/null_blk/main.c
drivers/block/virtio_blk.c
drivers/nvme/host/apple.c
drivers/nvme/host/pci.c
include/linux/blk-mq.h
include/linux/blkdev.h
io_uring/rw.c