Thread (5 messages) 5 messages, 2 authors, 2011-01-27

[PATCH] FIX: reshape_active flag is always set for external metadata

flat view
STALE5742d

From: Adam Kwolek <hidden>
Date: 2011-01-20 15:52:31
Subsystem: the rest · Maintainer: Linus Torvalds

For external metadata based on reshape_active flag is taken decision about reshape
when it is equal to 1. At this momenta mdadm cannot give up when this flag is set
for external metadata.

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

 Grow.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Grow.c b/Grow.c
index c9f4b9c..f220f50 100644
--- a/Grow.c
+++ b/Grow.c
@@ -1870,7 +1870,7 @@ started:
 
 	sra->new_chunk = info->new_chunk;
 	
-	if (info->reshape_active)
+	if ((info->reshape_active) && (st->ss->external == 0))
 		/* nothing needed here */;
 	else if (info->array.chunk_size == info->new_chunk &&
 	    reshape.before.layout == reshape.after.layout &&
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help