Whamcloud - gitweb
LU-8879 tests: speed up copytool_cleanup() in sanity-hsm
[fs/lustre-release.git] / lustre / mdt / mdt_coordinator.c
index 10da26b..804b8e2 100644 (file)
@@ -1930,6 +1930,7 @@ mdt_hsm_cdt_control_seq_write(struct file *file, const char __user *buffer,
                        rc = -EALREADY;
                } else {
                        cdt->cdt_state = CDT_STOPPING;
+                       mdt_hsm_cdt_wakeup(mdt);
                }
        } else if (strcmp(kernbuf, CDT_DISABLE_CMD) == 0) {
                if ((cdt->cdt_state == CDT_STOPPING) ||