OpenCloudOS-Kernel/drivers/block
Christoph Hellwig 2c6ee0ae5f rnbd: use blk_mq_alloc_disk and blk_cleanup_disk
Use blk_mq_alloc_disk and blk_cleanup_disk to simplify the gendisk and
request_queue allocation.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jack Wang <jinpu.wang@ionos.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Link: https://lore.kernel.org/r/20210602065345.355274-24-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2021-06-11 11:54:42 -06:00
..
aoe aoe: use blk_mq_alloc_disk and blk_cleanup_disk 2021-06-11 11:53:03 -06:00
drbd drbd: convert to blk_alloc_disk/blk_cleanup_disk 2021-06-01 07:42:23 -06:00
mtip32xx block: mtip32xx: mtip32xx: Mark debugging variable 'start' as __maybe_unused 2021-04-06 09:21:53 -06:00
null_blk nullb: use blk_mq_alloc_disk 2021-06-11 11:54:39 -06:00
paride pd: use blk_mq_alloc_disk and blk_cleanup_disk 2021-06-11 11:54:42 -06:00
rnbd rnbd: use blk_mq_alloc_disk and blk_cleanup_disk 2021-06-11 11:54:42 -06:00
rsxx rsxx: convert to blk_alloc_disk/blk_cleanup_disk 2021-06-01 07:42:23 -06:00
xen-blkback xen-blkback: fix compatibility bug with single page rings 2021-04-23 09:34:07 +02:00
zram block: move bd_mutex to struct gendisk 2021-06-01 07:44:32 -06:00
Kconfig swim: don't call blk_queue_bounce_limit 2021-04-06 09:29:47 -06:00
Makefile drivers/block: remove the umem driver 2021-03-24 06:57:40 -06:00
amiflop.c amiflop: use separate gendisks for Amiga vs MS-DOS mode 2020-11-16 08:14:30 -07:00
ataflop.c ataflop: fix off by one in ataflop_probe() 2021-04-21 09:15:27 -06:00
brd.c brd: convert to blk_alloc_disk/blk_cleanup_disk 2021-06-01 07:42:23 -06:00
cryptoloop.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 30 2019-05-24 17:27:10 +02:00
floppy.c floppy: use blk_mq_alloc_disk and blk_cleanup_disk 2021-06-11 11:53:03 -06:00
loop.c loop: use blk_mq_alloc_disk and blk_cleanup_disk 2021-06-11 11:53:03 -06:00
loop.h loop: scale loop device by introducing per device lock 2021-01-26 13:08:54 -07:00
n64cart.c n64cart: convert to blk_alloc_disk 2021-06-01 07:42:24 -06:00
nbd.c nbd: use blk_mq_alloc_disk and blk_cleanup_disk 2021-06-11 11:53:03 -06:00
pktcdvd.c pktcdvd: convert to blk_alloc_disk/blk_cleanup_disk 2021-06-01 07:42:23 -06:00
ps3disk.c ps3disk: use blk_mq_alloc_disk 2021-06-11 11:53:02 -06:00
ps3vram.c ps3vram: convert to blk_alloc_disk/blk_cleanup_disk 2021-06-01 07:42:24 -06:00
rbd.c rbd: use blk_mq_alloc_disk and blk_cleanup_disk 2021-06-11 11:54:42 -06:00
rbd_types.h libceph, rbd: replace zero-length array with flexible-array 2020-06-01 13:22:53 +02:00
sunvdc.c sunvdc: use blk_mq_alloc_disk 2021-06-11 11:53:03 -06:00
swim.c swim: use blk_mq_alloc_disk 2021-06-11 11:53:03 -06:00
swim3.c swim3: use blk_mq_alloc_disk 2021-06-11 11:53:02 -06:00
swim_asm.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
sx8.c block: remove unnecessary argument from blk_execute_rq_nowait 2021-01-24 21:52:39 -07:00
virtio_blk.c virtio-blk: use blk_mq_alloc_disk 2021-06-11 11:53:02 -06:00
xen-blkfront.c block: move bd_mutex to struct gendisk 2021-06-01 07:44:32 -06:00
z2ram.c z2ram: use separate gendisk for the different modes 2020-11-16 08:14:31 -07:00