aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2009-06-18 08:48:58 +1000
committerNeilBrown <neilb@suse.de>2009-06-18 08:48:58 +1000
commit8190e754e0723de7cecb80bdd9eb93911dfa04a1 (patch)
tree6fbd0edd64cb767b9421103301e198804c3aa40b /drivers/md/md.h
parent13f2682b7216ebebd72b3d5868fe7fccec91a92d (diff)
downloadkernel_samsung_smdk4412-8190e754e0723de7cecb80bdd9eb93911dfa04a1.zip
kernel_samsung_smdk4412-8190e754e0723de7cecb80bdd9eb93911dfa04a1.tar.gz
kernel_samsung_smdk4412-8190e754e0723de7cecb80bdd9eb93911dfa04a1.tar.bz2
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 bac7c2b..ea2c441 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