Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

[PATCH] md: clear the 'recovery' flags when starting an md array.

It's possible for this to still have flags in it and a previous instance
has been stopped, and that confused the new array using the same mddev.

Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

NeilBrown and committed by
Linus Torvalds
657390d2 72008652

+1
+1
drivers/md/md.c
··· 1689 1689 mddev->pers = pers[pnum]; 1690 1690 spin_unlock(&pers_lock); 1691 1691 1692 + mddev->recovery = 0; 1692 1693 mddev->resync_max_sectors = mddev->size << 1; /* may be over-ridden by personality */ 1693 1694 1694 1695 /* before we start the array running, initialise the bitmap */