summaryrefslogtreecommitdiff
path: root/Create.c
diff options
context:
space:
mode:
authorPawel Baldysiak <pawel.baldysiak@intel.com>2019-01-28 17:10:41 +0100
committerJes Sorensen <jsorensen@fb.com>2019-02-11 14:41:25 -0500
commit9f4218274cd4a1e1f356a1617f9a1d09960cf255 (patch)
treebe75ac74487b99ab7b6c3c5833e8492d27dea3c0 /Create.c
parenta4e96fd8f3f0b5416783237c1cb6ee87e7eff23d (diff)
downloadmdadm-9f4218274cd4a1e1f356a1617f9a1d09960cf255.tar.gz
imsm: fix reshape for >2TB drives
If reshape is performed on drives larger then 2 TB, migration checkpoint area that is calculated exeeds 32-bit value. This checkpoint area is a reserved space threated as backup during reshape - at the end of the drive, right before metadata. As a result - wrong space is used and the data that may exists there is overwritten. Adding additional field to migration record to track high order 32-bits of pba of this area. Three other fields that may exceed 32-bit value for large drives are added as well. Signed-off-by: Pawel Baldysiak <pawel.baldysiak@intel.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'Create.c')
0 files changed, 0 insertions, 0 deletions