linux_dsm_epyc7002/drivers/block/aoe
Christoph Hellwig c2e4cd57cf block: lift setting the readahead size into the block layer
Drivers shouldn't really mess with the readahead size, as that is a VM
concept.  Instead set it based on the optimal I/O size by lifting the
algorithm from the md driver when registering the disk.  Also set
bdi->io_pages there as well by applying the same scheme based on
max_sectors.  To ensure the limits work well for stacking drivers a
new helper is added to update the readahead limits from the block
limits, which is also called from disk_stack_limits.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2020-09-24 13:43:39 -06:00
..
aoe.h aoe: replace ->special use with private data in the request 2018-11-10 08:03:49 -07:00
aoeblk.c block: lift setting the readahead size into the block layer 2020-09-24 13:43:39 -06:00
aoechr.c aoe: replace kmalloc and then memcpy with kmemdup 2013-04-30 17:04:08 -07:00
aoecmd.c block: fix locking for struct block_device size updates 2020-09-01 16:49:25 -06:00
aoedev.c block: aoe: Fix kernel crash due to atomic sleep when exiting 2019-08-08 07:29:02 -06:00
aoemain.c aoe: add __exit annotation 2018-12-16 09:01:38 -07:00
aoenet.c aoe: update copyright date 2013-07-03 16:08:05 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00