]> git.baikalelectronics.ru Git - kernel.git/commit
block: pass a gendisk to blk_queue_update_readahead
authorChristoph Hellwig <hch@lst.de>
Mon, 9 Aug 2021 14:17:41 +0000 (16:17 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 Aug 2021 17:52:28 +0000 (11:52 -0600)
commit4d250df6770308b6cba3f0345201c6f6fc345253
tree8c89ac66192c233ac3cc7dc27f2865d27cd43ac0
parent2fced2278ca6d55629a2dd08bd21f4d13ecd33f2
block: pass a gendisk to blk_queue_update_readahead

.. and rename the function to disk_update_readahead.  This is in
preparation for moving the BDI from the request_queue to the gendisk.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210809141744.1203023-3-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-settings.c
block/blk-sysfs.c
drivers/block/drbd/drbd_nl.c
drivers/md/dm-table.c
drivers/nvme/host/core.c
include/linux/blkdev.h