Thread (28 messages) flat view 28 messages, 7 authors, 2019-03-03

Re: [RFC PATCH v2 1/9] block: add nr_mirrors to request_queue

From: Bob Liu <hidden>
Date: 2019-02-14 05:57:49
Also in: linux-fsdevel, linux-xfs

On 2/14/19 12:04 AM, Theodore Y. Ts'o wrote:
On Wed, Feb 13, 2019 at 05:50:36PM +0800, Bob Liu wrote:
quoted
@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?
Now the initial/default value is 1 indicating only one copy of data.
Would nr_copy be more accurate?
Thanks for working on this!!  I would be interested in using this for
ext4 once it's available.

				- Ted
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help