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>
parent
58c0fed4
Please register or sign in to comment