summaryrefslogtreecommitdiff
path: root/sysfs.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2010-06-15 18:41:57 -0700
committerDan Williams <dan.j.williams@intel.com>2010-06-15 18:41:57 -0700
commit6a0ee6a0770e8b2ae2a2bbe79896d4ecb083e218 (patch)
tree57fc8d03e0857a90183c0e39c59e5991c868ecf2 /sysfs.c
parent4f0a7acc9a0a93d39b66b29e374f9a5edd173047 (diff)
Remove 'checkpointing' side effect of --wait-clean
Now that mdmon records periodic checkpoints, and checkpoints every ->set_array_state() event we no longer need to 'idle' sync_action from --wait-clean. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'sysfs.c')
-rw-r--r--sysfs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysfs.c b/sysfs.c
index ebf9d8a6..72c7c5b8 100644
--- a/sysfs.c
+++ b/sysfs.c
@@ -852,9 +852,6 @@ int WaitClean(char *dev, int sock, int verbose)
tm.tv_sec = 5;
tm.tv_usec = 0;
- /* give mdmon a chance to checkpoint resync */
- sysfs_set_str(mdi, NULL, "sync_action", "idle");
-
FD_ZERO(&fds);
/* wait for array_state to be clean */