summaryrefslogtreecommitdiff
path: root/fs/gfs2
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2015-02-12 03:09:57 (GMT)
committerNeilBrown <neilb@suse.de>2015-02-12 03:09:57 (GMT)
commit53a6ab4d3f6d6dc87ec8f14998b4b5536ee2968c (patch)
tree995504ece355dc6279170fb6cee3f8e85349b115 /fs/gfs2
parentdfe15ac1c6ad301b092ed295f0cfdb16cfaf5cfa (diff)
downloadlinux-53a6ab4d3f6d6dc87ec8f14998b4b5536ee2968c.tar.xz
md/raid10: fix conversion from RAID0 to RAID10
A RAID0 array (like a LINEAR array) does not have a concept of 'size' being the amount of each device that is in use. Rather, as much of each device as is available is used. So the 'size' is set to 0 and ignored. RAID10 does have this concept and needs it to be set correctly. So when we convert RAID0 to RAID10 we must determine the 'size' (that being the size of the first 'strip_zone' in the RAID0), and set it correctly. Reported-and-tested-by: Xiao Ni <xni@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'fs/gfs2')
0 files changed, 0 insertions, 0 deletions