dm raid: enhance super_sync() to support new superblock members
authorHeinz Mauelshagen <heinzm@redhat.com>
Thu, 19 May 2016 16:49:32 +0000 (18:49 +0200)
committerMike Snitzer <snitzer@redhat.com>
Tue, 14 Jun 2016 21:09:35 +0000 (17:09 -0400)
commit7b34df74d27b2a2350426daec80cda5d3c873622
tree3a518bf2edc5e9458ebd120e3e102e055a859e38
parent4763e543a679053be345e1129bcb5df78f849294
dm raid: enhance super_sync() to support new superblock members

Add transferring the new takeover/reshape related superblock
members introduced to the super_sync() function:

 - add/move supporting functions

 - add failed devices bitfield transfer functions to retrieve the
   bitfield from superblock format or update it in the superblock

 - add code to transfer all new members

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