Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 346524
b: refs/heads/master
c: 35d78c6
h: refs/heads/master
v: v3
  • Loading branch information
kernelmail authored and NeilBrown committed Dec 13, 2012
1 parent 234aa9b commit 0f6fb04
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c02c0aeb6c728e5ad705dba86784bd553cb6f059
refs/heads/master: 35d78c66969fbbb51046e9f251849cf54e9ed88c
3 changes: 3 additions & 0 deletions trunk/drivers/md/md.c
Original file line number Diff line number Diff line change
Expand Up @@ -7462,6 +7462,9 @@ void md_do_sync(struct md_thread *thread)
wait_event(mddev->recovery_wait,
atomic_read(&mddev->recovery_active) == 0);
mddev->curr_resync_completed = j;
if (test_bit(MD_RECOVERY_SYNC, &mddev->recovery) &&
j > mddev->recovery_cp)
mddev->recovery_cp = j;
set_bit(MD_CHANGE_CLEAN, &mddev->flags);
sysfs_notify(&mddev->kobj, NULL, "sync_completed");
}
Expand Down

0 comments on commit 0f6fb04

Please sign in to comment.