diff options
author | NeilBrown <neilb@suse.de> | 2009-06-18 00:48:58 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-06-18 00:48:58 +0200 |
commit | 8190e754e0723de7cecb80bdd9eb93911dfa04a1 (patch) | |
tree | 6fbd0edd64cb767b9421103301e198804c3aa40b /drivers/md/md.h | |
parent | md: raid0/linear: ensure device sizes are rounded to chunk size. (diff) | |
download | linux-8190e754e0723de7cecb80bdd9eb93911dfa04a1.tar.xz linux-8190e754e0723de7cecb80bdd9eb93911dfa04a1.zip |
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>
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r-- | drivers/md/md.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h index bac7c2bf8616..ea2c441449d4 100644 --- a/drivers/md/md.h +++ b/drivers/md/md.h @@ -30,13 +30,6 @@ typedef struct mddev_s mddev_t; typedef struct mdk_rdev_s mdk_rdev_t; /* - * options passed in raidrun: - */ - -/* Currently this must fit in an 'int' */ -#define MAX_CHUNK_SIZE (1<<30) - -/* * MD's 'extended' device */ struct mdk_rdev_s |