]> git.baikalelectronics.ru Git - kernel.git/commit
aoe: set an optimal I/O size
authorChristoph Hellwig <hch@lst.de>
Thu, 24 Sep 2020 06:51:31 +0000 (08:51 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 24 Sep 2020 19:43:38 +0000 (13:43 -0600)
commit0cf911b158fa8a0a8b81623a11dcd73ab9b7d8b4
tree0c36989bb9d36309ff329e81cbf3484d8fcfad91
parentaf4625a3e2239f6089f39ea1e1042234cc7367d1
aoe: set an optimal I/O size

aoe forces a larger readahead size, but any reason to do larger I/O
is not limited to readahead.  Also set the optimal I/O size, and
remove the local constants in favor of just using SZ_2G.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoeblk.c