Thread (2 messages) 2 messages, 2 authors, 2011-03-20

[PATCH] imsm: FIX: indicate that metadada has to be written

flat view
STALE5681d

From: Adam Kwolek <hidden>
Date: 2011-03-18 09:28:22
Subsystem: the rest · Maintainer: Linus Torvalds

During adding spare disks to raid0, spare metadata is not written.
This is due to exit form sync_metadata() on empty updates_pending flag.

When mdmon is absent indicate sync_metadata() to flush changes to disks.

Signed-off-by: Adam Kwolek <redacted>
---

 super-intel.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/super-intel.c b/super-intel.c
index 44c100b..acd7571 100644
--- a/super-intel.c
+++ b/super-intel.c
@@ -3838,6 +3838,7 @@ static int add_to_super_imsm(struct supertype *st, mdu_disk_info_t *dk,
 	} else {
 		dd->next = super->disks;
 		super->disks = dd;
+		super->updates_pending++;
 	}
 
 	return 0;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help