summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2008-04-28 16:29:37 +1000
committerNeil Brown <neilb@suse.de>2008-04-28 16:29:37 +1000
commit7a3be72fc621b4a7589e923cf0652c51493f831a (patch)
treec2e88676f5be4205eab54fe9b71c43ec442b0ffd /ChangeLog
parent2cdb64897d4fe33a11af13c6356dcd338c561e77 (diff)
downloadmdadm-7a3be72fc621b4a7589e923cf0652c51493f831a.tar.gz
mdadm-7a3be72fc621b4a7589e923cf0652c51493f831a.tar.xz
mdadm-7a3be72fc621b4a7589e923cf0652c51493f831a.zip
Fix problems with array.size overflowing on large arrays.
array.size is 32bits and counts K. So for arrays with more than 4Terrabytes, it can overflow. The correct number can be read from sysfs, but there are still a few places that use array.size and risk truncation. What is worse. they compare a number of kilobytes with a number of sectors !! So use get_component_size() to read the sysfs information, and be more consistent about units.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog2
1 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fdf720d..fd42b4e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,8 @@
Changes Prior to this release
- Avoid segfault when parsing /proc/mdstat with auto-read-only
arrays.
+ - Fix problem with failing to add devices to v.large (>4TB) arrays,
+ cause by problems with device-size overflow.
Changes Prior to 2.6.4 release
- Make "--create --auto=mdp" work for non-standard device names.