]> git.baikalelectronics.ru Git - kernel.git/commit
dm raid: correct resizing state relative to reshape space in ctr
authorHeinz Mauelshagen <heinzm@redhat.com>
Sat, 2 Dec 2017 00:03:50 +0000 (01:03 +0100)
committerMike Snitzer <snitzer@redhat.com>
Fri, 8 Dec 2017 15:59:57 +0000 (10:59 -0500)
commit136b5e1e847c9bbb3694070a49a4fc4896b64a62
tree3d8c258ec9436fbfcc2f08ef5e42c5e7f2d390cb
parentb3b932a96cb071915c5b1b0215aea0abfd28bf7b
dm raid: correct resizing state relative to reshape space in ctr

Pay attention to existing reshape space to define if a raid set needs
resizing.  Otherwise we can hit "Can't resize a reshaping raid set"
when a reshape is being requested.

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