Re: [RFC PATCH v2 1/9] block: add nr_mirrors to request_queue
From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2019-02-13 16:05:02
Also in:
linux-fsdevel, linux-xfs
From: "Theodore Y. Ts'o" <tytso@mit.edu>
Date: 2019-02-13 16:05:02
Also in:
linux-fsdevel, linux-xfs
On Wed, Feb 13, 2019 at 05:50:36PM +0800, Bob Liu wrote:
@nr_mirrors is 1 by default which means only one copy, drivers e.g raid1 are responsible for setting the right value. The maximum value is BITS_PER_LONG which is 32 or 64. That should be big enough else retry lantency may be too high.
This is admittedly bike-shedding, so feel free to ignore, but... In the case of Raid 6, "mirrors" will be a bit of a misnomer. Would "nr_recovery" be better? Thanks for working on this!! I would be interested in using this for ext4 once it's available. - Ted