block: move ->ia_ranges from the request_queue to the gendisk
authorChristoph Hellwig <hch@lst.de>
Wed, 29 Jun 2022 06:20:12 +0000 (08:20 +0200)
committerJens Axboe <axboe@kernel.dk>
Wed, 29 Jun 2022 14:36:46 +0000 (08:36 -0600)
commit6a27d28c81bc5843de2490688a04ee5baa6615e7
treed5e036828ebc2c7b991bac1ccdec080d876e2c91
parentb9a1c179bdfa133d28ab8b7d30631b0accdc2057
block: move ->ia_ranges from the request_queue to the gendisk

Independent access ranges only matter for file system I/O and are only
valid with a registered gendisk, so move them there.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Link: https://lore.kernel.org/r/20220629062013.1331068-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-ia-ranges.c
include/linux/blkdev.h