Thread (10 messages) 10 messages, 3 authors, 2022-10-13

Re: [RFC PATCH] mdadm: Add parameter for bitmap chunk threshold

From: Mariusz Tkaczyk <hidden>
Date: 2022-10-12 07:17:15
Also in: lkml

On Thu,  6 Oct 2022 16:08:38 -0600
Jonathan Derrick [off-list ref] wrote:
Adds parameter to mdadm create, grow, and build similar to the delay
parameter, that specifies a chunk threshold. This value will instruct
the kernel, in-tandem with the delay timer, to flush the bitmap after
every N chunks have been dirtied. This can be used in-addition to the
delay parameter and complements it.

This requires an addition to the bitmap superblock and version increment.
Hello Jonathan,
To provide that to parameter to bitmap we are updating bitmap superblock, right?
Why we need to define it in config then? I someone wants to change that
should use --grow. Am I correct?

The "threshold" is not a context property, it should be added to struct shape.
Ideally, we can extract bitmap properties to separate struct and pass it around.

And I would like to have IMSM support if that is possible.

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