Thread (16 messages) 16 messages, 2 authors, 2011-03-09

[PATCH 2/9] FIX: Array during reshape cannot be configured

flat view
STALE5696d

From: Adam Kwolek <hidden>
Date: 2011-03-02 13:29:12
Subsystem: the rest · Maintainer: Linus Torvalds

If this is reshape restart and array sysfs entry sync_action
is equal to "reshape" already.
This means that any configuration changes will return error (busy).
We cannot configure array here. It has to be configured earlier,
during assembly.

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 d25b71d..ee75352 100644
--- a/Grow.c
+++ b/Grow.c
@@ -1966,7 +1966,7 @@ started:
 		 * metadata, and for kernels before 2.6.38 we can
 		 * fail if we try.
 		 */
-	} else {
+	} else if (!restart) {
 		/* set them all just in case some old 'new_*' value
 		 * persists from some earlier problem.
 		 * We even set them when restarting in the middle.  They will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help