]> git.hungrycats.org Git - linux/commit
[PATCH] md: Make sure an interrupted resync doesn't seem to have completed.
authorAndrew Morton <akpm@osdl.org>
Tue, 20 Jan 2004 11:12:09 +0000 (03:12 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 20 Jan 2004 11:12:09 +0000 (03:12 -0800)
commit5a6995348338db8edb2a8ecd804e3eaced94e855
treeb637151a5843d097fa912c6320a8463571be34cb
parent5edef83d7b0863390315df4d4e0cf9a3d805c844
[PATCH] md: Make sure an interrupted resync doesn't seem to have completed.

From: NeilBrown <neilb@cse.unsw.edu.au>

If the raid1 or raid5 thread gets to run md_check_recovery after the recovery
thread has been interupted, but before do_md_stop completes, a spare drive
can be incorporated into an array befure it is up-to-date.

This patch corrects the relevant test.
drivers/md/md.c