Calculate the MD RAID superblock size from the right size
Calculate the MD RAID superblock size from the right size

libblockdev inherited from blivet a very precise algorithm to calculate MD RAID
superblock (meta data) size which was taken from the mdadm's sources. However,
in mdadm, this algorithm is applied to a size of a single member device not the
size of the whole RAID. Which makes sense, because the superblock area is on
every member and it contains meta data about that particular member. Thus we
need to pass the size of the smallest member device to the algorithm calculating
the superblock size, not the total size of the whole RAID.

vpodzime/blivet,vpodzime/blivet,jkonecny12/blivet,rhinstaller/blivet,vojtechtrefny/blivet,AdamWill/blivet,jkonecny12/blivet,AdamWill/blivet,rvykydal/blivet,vojtechtrefny/blivet,rhinstaller/blivet,rvykydal/blivet