]> git.baikalelectronics.ru Git - kernel.git/commit
block: don't handle bio based drivers in blk_revalidate_disk_zones
authorChristoph Hellwig <hch@lst.de>
Tue, 3 Dec 2019 09:39:07 +0000 (10:39 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 3 Dec 2019 15:51:25 +0000 (08:51 -0700)
commit884edc4ba55e09f07363379ca90150c35b2f197c
treeff1253e9b9cbe3550d4930f8a6eeaf6f502cc07d
parent20d051a0a6718d34973b053ad1593e1b64f7fdab
block: don't handle bio based drivers in blk_revalidate_disk_zones

bio based drivers only need to update q->nr_zones.  Do that manually
instead of overloading blk_revalidate_disk_zones to keep that function
simpler for the next round of changes that will rely even more on the
request based functionality.

Reviewed-by: Javier González <javier@javigon.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-zoned.c
drivers/block/null_blk_main.c
drivers/md/dm-table.c
include/linux/blkdev.h