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)
commit471aa704db4904f7af5a50019ca3b5b018c0cf62
tree8c89ac66192c233ac3cc7dc27f2865d27cd43ac0
parent5ed964f8e54eb3191b8b7b45aeb52672a0c995dc
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