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>
This commit is contained in:
@@ -29,13 +29,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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user