commit | dd8ac336c13fd8afdb082ebacb1cddd5cf727889 | [log] [tgz] |
---|---|---|
author | Andre Noll <maan@systemlinux.org> | Tue Mar 31 14:33:13 2009 +1100 |
committer | NeilBrown <neilb@suse.de> | Tue Mar 31 14:33:13 2009 +1100 |
tree | 0baa8111d7406774525a1053be461135257d73d2 | |
parent | 58c0fed400603a802968b23ddf78f029c5a84e41 [diff] |
md: Represent raid device size in sectors. This patch renames the "size" field of struct mdk_rdev_s to "sectors" and changes this field to store sectors instead of blocks. All users of this field, linear.c, raid0.c and md.c, are fixed up accordingly which gets rid of many multiplications and divisions. Signed-off-by: Andre Noll <maan@systemlinux.org> Signed-off-by: NeilBrown <neilb@suse.de>