On 3/2/21 4:35 PM, heming.zhao@xxxxxxxx wrote:
With kernel commit 480523feae58 ("md: only call set_in_sync() when it is expected to succeed."), mddev->in_sync in clustered array is always zero. It makes metadata resync_offset to always zero. When assembling a clusterd array with "-U no-bitmap" option, kernel md layer "mddev->resync_offset == 0" and "mddev->bitmap == NULL" will trigger raid1 do sync on every bitmap chunk. the sync action is useless, ... ... --- v2: only set MaxSector on bitmap clean device --- super1.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/super1.c b/super1.c
Hello all, more info: This patch had been verified & run in SUSE customer env for some time. Thanks, Heming