MD: generate an event when array sync is complete
authorJonathan Brassow <jbrassow@redhat.com>
Wed, 27 Jul 2011 01:00:37 +0000 (11:00 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 27 Jul 2011 01:00:37 +0000 (11:00 +1000)
commit768e587e18c1c4ce0403b9532115752189422408
tree1b0d65fc839aa562c409a46984e1e15b1ae629d6
parent3520fa4db7fc4ae1b0373dcecdaf720f620dab2d
MD: generate an event when array sync is complete

This patch causes MD to generate an event (for device-mapper) when the
synchronization thread is reaped.  This is expected behavior for device-mapper.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c