From 072b727f726d3c2a7913ba98e14431221e3da9bd Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 28 Oct 2008 10:55:31 -0700 Subject: [PATCH] imsm: update metadata immediately on "add spare" events ...without this the spare record is delayed until the next metadata event. Signed-off-by: Dan Williams --- super-intel.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/super-intel.c b/super-intel.c index e247b3bf..17c22f56 100644 --- a/super-intel.c +++ b/super-intel.c @@ -3211,6 +3211,8 @@ static void imsm_process_update(struct supertype *st, * being added */ if (super->add) { struct active_array *a; + + super->updates_pending++; for (a = st->arrays; a; a = a->next) a->check_degraded = 1; } -- 2.39.2