bcache: inherit the optimal I/O size
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Sep 2020 06:51:30 +0000 (08:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Sep 2020 19:43:38 +0000 (13:43 -0600)
commit5d4ce78b254cde8aaeb829420c3f15d3606ad411
treec3a43bf00f4e29f0a654a9ec7bdb857114a36489
parentb807a2c5e0e2e81c96160682977c6f497cfcee96
bcache: inherit the optimal I/O size

Inherit the optimal I/O size setting just like the readahead window,
as any reason to do larger I/O does not apply to just readahead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Coly Li <colyli@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/super.c