|
@@ -777,7 +777,6 @@ static int gather_all_resync_info(struct mddev *mddev, int total_slots)
|
|
|
bm_lockres->flags |= DLM_LKF_NOQUEUE;
|
|
bm_lockres->flags |= DLM_LKF_NOQUEUE;
|
|
|
ret = dlm_lock_sync(bm_lockres, DLM_LOCK_PW);
|
|
ret = dlm_lock_sync(bm_lockres, DLM_LOCK_PW);
|
|
|
if (ret == -EAGAIN) {
|
|
if (ret == -EAGAIN) {
|
|
|
- memset(bm_lockres->lksb.sb_lvbptr, '\0', LVB_SIZE);
|
|
|
|
|
s = read_resync_info(mddev, bm_lockres);
|
|
s = read_resync_info(mddev, bm_lockres);
|
|
|
if (s) {
|
|
if (s) {
|
|
|
pr_info("%s:%d Resync[%llu..%llu] in progress on %d\n",
|
|
pr_info("%s:%d Resync[%llu..%llu] in progress on %d\n",
|