dm raid: allow resize during recovery
authorHeinz Mauelshagen <heinzm@redhat.com>
Mon, 27 Jun 2016 12:44:09 +0000 (14:44 +0200)
committerMike Snitzer <snitzer@redhat.com>
Mon, 18 Jul 2016 19:37:30 +0000 (15:37 -0400)
commit2a5556c2a86f77ff6085f2cae798728cda47e2c4
treed56b17ca2b8fd49c0945e37fcb184f6a7ab60589
parent345a6cdc250d1519c5d15576965629eab6858257
dm raid: allow resize during recovery

Resizing a RAID set during recovery can be allowed, because the MD
resynchronization thread will either stop any ongoing recovery in case
of shrinking below the current recovery position or carry on recovery
to the new size if the set is growing.

Signed-off-by: Heinz Mauelshagen <heinzm@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-raid.c