diff options
author | Dan Williams <dan.j.williams@intel.com> | 2010-06-16 03:41:57 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2010-06-16 03:41:57 +0200 |
commit | 6a0ee6a0770e8b2ae2a2bbe79896d4ecb083e218 (patch) | |
tree | 57fc8d03e0857a90183c0e39c59e5991c868ecf2 /sysfs.c | |
parent | mdmon: record sync_completed directly to the metadata (diff) | |
download | mdadm-6a0ee6a0770e8b2ae2a2bbe79896d4ecb083e218.tar.xz mdadm-6a0ee6a0770e8b2ae2a2bbe79896d4ecb083e218.zip |
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.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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 */ |