]> git.hungrycats.org Git - linux/commit
[PATCH] md: Remove md_recoveryd thread for md
authorNeil Brown <neilb@cse.unsw.edu.au>
Fri, 14 Mar 2003 10:08:54 +0000 (02:08 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 14 Mar 2003 10:08:54 +0000 (02:08 -0800)
commit8eec7ce0744430471c1fce2a503829cd7cd80f11
treee9bb6ca5ae6473260ef898ab194437f9692c8869
parent8af848bbe7a7bb0d5dd62d2c4d6f295755436148
[PATCH] md: Remove md_recoveryd thread for md

The md_recoveryd thread is responsible for initiating and cleaning
up resync threads.
This job can be equally well done by the per-array threads
for those arrays which might need it.

So the mdrecoveryd thread is gone and the core code that
it ran is now run by raid5d, raid1d or multipathd.

We add an MD_RECOVERY_NEEDED flag so those daemon don't have
to bother trying to lock the md array unless it is likely
that something needs to be done.

Also modify the names of all threads to have the number of
md device.
drivers/md/md.c
drivers/md/multipath.c
drivers/md/raid1.c
drivers/md/raid5.c
include/linux/raid/md.h
include/linux/raid/md_k.h
include/linux/raid/multipath.h
include/linux/raid/raid1.h
include/linux/raid/raid5.h