summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-06-18 00:48:58 +0200
committerNeilBrown <neilb@suse.de>2009-06-18 00:48:58 +0200
commit8190e754e0723de7cecb80bdd9eb93911dfa04a1 (patch)
tree6fbd0edd64cb767b9421103301e198804c3aa40b /drivers/md/md.h
parentmd: raid0/linear: ensure device sizes are rounded to chunk size. (diff)
downloadlinux-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.h7
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