linux/drivers/block
Christoph Hellwig 98d34c0872 xen-blkfront: fix sector_size propagation to the block layer
Ensure that info->sector_size and info->physical_sector_size are set
before the call to blkif_set_queue_limits by doing away with the
local variables and arguments that propagate them.

Thanks to Marek Marczykowski-Górecki and Jürgen Groß for root causing
the issue.

Fixes: ba3f67c116 ("xen-blkfront: atomically update queue limits")
Reported-by: Rusty Bird <rustybird@net-c.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Link: https://lore.kernel.org/r/20240625055238.7934-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2024-07-02 08:58:12 -06:00
..
aoe block: move the nonrot flag to queue_limits 2024-06-19 07:58:28 -06:00
drbd block: move the stable_writes flag to queue_limits 2024-06-19 07:58:28 -06:00
mtip32xx block: move the add_random flag to queue_limits 2024-06-19 07:58:28 -06:00
null_blk null_blk: Fix description of the fua parameter 2024-07-02 08:57:59 -06:00
rnbd rnbd-cnt: don't set QUEUE_FLAG_SAME_FORCE 2024-06-28 10:37:34 -06:00
xen-blkback xen: port block device access to file 2024-02-25 12:05:23 +01:00
zram block: move the synchronous flag to queue_limits 2024-06-19 07:58:28 -06:00
amiflop.c Merge branch 'for-6.11/block-limits' into for-6.11/block 2024-06-19 08:14:49 -06:00
ataflop.c Merge branch 'for-6.11/block-limits' into for-6.11/block 2024-06-19 08:14:49 -06:00
brd.c brd: add missing MODULE_DESCRIPTION() macro 2024-06-24 08:38:52 -06:00
floppy.c block: move the nonrot flag to queue_limits 2024-06-19 07:58:28 -06:00
Kconfig rust: block: add rnull, Rust null_blk implementation 2024-06-14 07:45:04 -06:00
loop.c loop: don't set QUEUE_FLAG_NOMERGES 2024-06-28 10:37:34 -06:00
Makefile rust: block: add rnull, Rust null_blk implementation 2024-06-14 07:45:04 -06:00
n64cart.c block: move the nonrot flag to queue_limits 2024-06-19 07:58:28 -06:00
nbd.c block: move the nonrot flag to queue_limits 2024-06-19 07:58:28 -06:00
pktcdvd.c block: move the nonrot flag to queue_limits 2024-06-19 07:58:28 -06:00
ps3disk.c block: move the nonrot flag to queue_limits 2024-06-19 07:58:28 -06:00
ps3vram.c block: pass a queue_limits argument to blk_alloc_disk 2024-02-19 16:58:23 -07:00
rbd_types.h libceph, rbd: replace zero-length array with flexible-array 2020-06-01 13:22:53 +02:00
rbd.c block: move the stable_writes flag to queue_limits 2024-06-19 07:58:28 -06:00
rnull.rs rust: block: add rnull, Rust null_blk implementation 2024-06-14 07:45:04 -06:00
sunvdc.c block: move the nonrot flag to queue_limits 2024-06-19 07:58:28 -06:00
swim3.c block: move the nonrot flag to queue_limits 2024-06-19 07:58:28 -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: move the nonrot flag to queue_limits 2024-06-19 07:58:28 -06:00
ublk_drv.c block: move the zone_resetall flag to queue_limits 2024-06-19 07:58:28 -06:00
virtio_blk.c block: move the zone_resetall flag to queue_limits 2024-06-19 07:58:28 -06:00
xen-blkfront.c xen-blkfront: fix sector_size propagation to the block layer 2024-07-02 08:58:12 -06:00
z2ram.c z2ram: add missing MODULE_DESCRIPTION() macro 2024-06-19 07:54:00 -06:00