Re: [PATCH v3 00/11] md/raid5: set STRIPE_SIZE as a configurable value
From: Song Liu <song@kernel.org>
Date: 2020-05-28 14:28:43
From: Song Liu <song@kernel.org>
Date: 2020-05-28 14:28:43
On Thu, May 28, 2020 at 7:10 AM Song Liu [off-list ref] wrote:
On Wed, May 27, 2020 at 6:20 AM Yufen Yu [off-list ref] wrote:quoted
Hi, all For now, STRIPE_SIZE is equal to the value of PAGE_SIZE. That means, RAID5 will issus echo bio to disk at least 64KB when PAGE_SIZE is 64KB in arm64. However, filesystem usually issue bio in the unit of 4KB. Then, RAID5 will waste resource of disk bandwidth.Thanks for the patch set. Since this is a big change, I am planning to process this set after upcoming merge window. Please let me know if you need it urgently.
I haven't thought about this in detail yet: how about compatibility? Say we create an array with STRIPE_SIZE of 4kB, does it work well after we upgrade kernel to have STRIPE_SIZE of 8kB? Thanks, Song