]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit60e48d755f2ef3d34239c69f3c9cc6266b974672
treed5e036828ebc2c7b991bac1ccdec080d876e2c91
parenta8caf610ff0419309f70eab3f5c51bca413bfff4
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