linux/drivers/block
Ming Lei 6d8c5afc9a ublk_drv: make sure that correct flags(features) returned to userspace
Userspace may support more features or new added flags, but the driver
side can be old, so make sure correct flags(features) returned to
userpsace, then userspace can work as expected.

Also mark the 2nd flags as reversed, just use the 1st one. When we run
out of flags, the reserved one can be handled at that time.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: ZiyangZhang <ZiyangZhang@linux.alibaba.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20220722103817.631258-3-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2022-07-22 09:22:53 -06:00
..
aoe block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
drbd block/drbd: Combine two drbd_submit_peer_request() arguments 2022-07-14 12:14:31 -06:00
mtip32xx blk-mq: Drop 'reserved' arg of busy_tag_iter_fn 2022-07-06 06:33:53 -06:00
null_blk treewide: Rename enum req_opf into enum req_op 2022-07-14 12:14:30 -06:00
paride block: Change the type of req_op() and bio_op() into enum req_op 2022-07-14 12:14:30 -06:00
rnbd block/rnbd: Use blk_opf_t where appropriate 2022-07-14 12:14:31 -06:00
xen-blkback xen-blkback: Use the enum req_op and blk_opf_t types 2022-07-14 12:14:31 -06:00
zram block/zram: Use enum req_op where appropriate 2022-07-14 12:14:31 -06:00
amiflop.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
ataflop.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
brd.c block/brd: Use the enum req_op type 2022-07-14 12:14:31 -06:00
floppy.c block/floppy: Fix a sparse warning 2022-07-14 12:14:31 -06:00
Kconfig ublk_drv: add io_uring based userspace block driver 2022-07-14 07:15:28 -06:00
loop.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
Makefile ublk_drv: add io_uring based userspace block driver 2022-07-14 07:15:28 -06:00
n64cart.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
nbd.c blk-mq: Drop 'reserved' arg of busy_tag_iter_fn 2022-07-06 06:33:53 -06:00
pktcdvd.c pktcdvd: stop using bdevname in pkt_new_dev 2022-07-14 10:27:56 -06:00
ps3disk.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
ps3vram.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
rbd_types.h libceph, rbd: replace zero-length array with flexible-array 2020-06-01 13:22:53 +02:00
rbd.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
sunvdc.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
swim3.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
swim_asm.S treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
swim.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
sx8.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
ublk_drv.c ublk_drv: make sure that correct flags(features) returned to userspace 2022-07-22 09:22:53 -06:00
virtio_blk.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
xen-blkfront.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00
z2ram.c block: remove blk_cleanup_disk 2022-06-28 06:33:15 -06:00