]> 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)
commit5424453ecd65e736aa7c7a61471608d08fd1fce0
treed5e036828ebc2c7b991bac1ccdec080d876e2c91
parenta6758a1188475ff26f933b1ff9c89ddda62be530
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