diff options
author | Neil Brown <neilb@suse.de> | 2008-04-28 16:29:37 +1000 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2008-04-28 16:29:37 +1000 |
commit | 7a3be72fc621b4a7589e923cf0652c51493f831a (patch) | |
tree | c2e88676f5be4205eab54fe9b71c43ec442b0ffd /ChangeLog | |
parent | 2cdb64897d4fe33a11af13c6356dcd338c561e77 (diff) |
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-- | ChangeLog | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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. |