summaryrefslogtreecommitdiffstats
path: root/mdstat.c
diff options
context:
space:
mode:
authorKinga Stefaniuk <kinga.stefaniuk@intel.com>2024-04-26 08:33:00 +0200
committerMariusz Tkaczyk <mariusz.tkaczyk@linux.intel.com>2024-08-06 14:40:49 +0200
commitc653054b322a03e8912ac05accc87b6a1ba8daab (patch)
tree2b11bcdbcb3c15d53b1b981935549deb1ecf5268 /mdstat.c
parentCI: add new gcc 14 (diff)
downloadmdadm-c653054b322a03e8912ac05accc87b6a1ba8daab.tar.xz
mdadm-c653054b322a03e8912ac05accc87b6a1ba8daab.zip
Grow_reshape: set only component_size for size grow
Component_size couldn't be set using ioctl when new drive size is big (e.g. 5TB). Command value is bigger than 32 bits and error is reported - it is known ioctl limitation. Remove updating array properties using ioctl, use sysfs instead. Sysfs was introduced in 3.10, so now it is old enough to be safely used. Array_size in sysfs should be set for every size change for external metadata, when grow is performed without errors. Signed-off-by: Kinga Stefaniuk <kinga.stefaniuk@intel.com>
Diffstat (limited to 'mdstat.c')
0 files changed, 0 insertions, 0 deletions