]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Create: Block rounding size to max
authorMariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Mon, 1 Apr 2019 14:53:41 +0000 (16:53 +0200)
committerJes Sorensen <jsorensen@fb.com>
Wed, 10 Apr 2019 13:39:34 +0000 (09:39 -0400)
commit22dc741f63e6403d59c2c14f56fd4791265f9bbb
tree3e773e90e46328f895081d6cad614e6311324cfe
parent05501181f18cdccdb0b3cec1d8cf59f0995504d7
Create: Block rounding size to max

When passed size is smaller than chunk, mdadm rounds it to 0 but 0 there
means max available space.
Block it for every metadata. Remove the same check from imsm routine.

Signed-off-by: Mariusz Tkaczyk <mariusz.tkaczyk@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Create.c
super-intel.c