]> git.karo-electronics.de Git - linux-beck.git/commit
dm raid: correct error messages on old metadata validation
authorHeinz Mauelshagen <heinzm@redhat.com>
Tue, 18 Oct 2016 15:46:45 +0000 (17:46 +0200)
committerMike Snitzer <snitzer@redhat.com>
Mon, 21 Nov 2016 14:52:05 +0000 (09:52 -0500)
commit453c2a8967e582212eaf68c80fa8256d41b94fc9
tree1698507631f98f05f31f0d49cd3249e645c062e6
parentbb1423a96f064f429a3c30abf9dce3c834d5a2a3
dm raid: correct error messages on old metadata validation

When target 1.9.1 gets takeover/reshape requests on devices with old superblock
format not supporting such conversions and rejects them in super_init_validation(),
it logs bogus error message (e.g. Reshape when a takeover is requested).

Whilst on it, add messages for disk adding/removing and stripe sectors
reshape requests, use the newer rs_{takeover,reshape}_requested() API,
address a raid10 false positive in checking array positions and
remove rs_set_new() because device members are already set proper.

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