]> www.infradead.org Git - users/hch/block.git/commit
md: update the optimal I/O size on reshape
authorChristoph Hellwig <hch@lst.de>
Sun, 19 Jul 2020 13:29:02 +0000 (15:29 +0200)
committerChristoph Hellwig <hch@lst.de>
Thu, 24 Sep 2020 06:29:18 +0000 (08:29 +0200)
commitcb7aea25131e346c7a309d2617a0be00e57368d3
treefb7a247ab98244ef62a49a3349324951f3222c3c
parent6944a70d1004ddae9aacfeba0d1765d32c1f67d3
md: update the optimal I/O size on reshape

The raid5 and raid10 drivers currently update the read-ahead size,
but not the optimal I/O size on reshape.  To prepare for deriving the
read-ahead size from the optimal I/O size make sure it is updated
as well.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Song Liu <song@kernel.org>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
drivers/md/raid10.c
drivers/md/raid5.c