md: remove chunksize rounding from common code.
commit8190e754e0723de7cecb80bdd9eb93911dfa04a1
authorNeilBrown <neilb@suse.de>
Wed, 17 Jun 2009 22:48:58 +0000 (18 08:48 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 17 Jun 2009 22:48:58 +0000 (18 08:48 +1000)
tree6fbd0edd64cb767b9421103301e198804c3aa40b
parent13f2682b7216ebebd72b3d5868fe7fccec91a92d
md: remove chunksize rounding from common code.

It is easiest to round sizes to multiples of chunk size in
the personality code for those personalities which care.
Those personalities now do the rounding, so we can
remove that function from common code.

Also remove the upper bound on the size of a chunk, and the lower
bound on the size of a device (1 chunk), neither of which really buy
us anything.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c
drivers/md/md.h