diff options
author | Jakub Radtke <jakub.radtke@intel.com> | 2021-01-15 00:47:00 -0500 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2021-03-09 17:18:02 -0500 |
commit | 848d71c91dc249098bdbbf319e25d319eb1d8e23 (patch) | |
tree | e7771d6efd6a70301b3d1ef200f24130c1197a55 /Create.c | |
parent | 19ad203ecbceca51120a8b8cabc202e1053f41b4 (diff) | |
download | mdadm-848d71c91dc249098bdbbf319e25d319eb1d8e23.tar.gz |
Create: Block automatic enabling bitmap for external metadata
For external metadata, bitmap should be added only when
explicitly set by the administrator.
They could be additional requirements to consider before
enabling the external metadata's functionality
(e.g., kernel support).
Signed-off-by: Jakub Radtke <jakub.radtke@intel.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'Create.c')
-rw-r--r-- | Create.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -540,6 +540,7 @@ int Create(struct supertype *st, char *mddev, } if (!s->bitmap_file && + !st->ss->external && s->level >= 1 && st->ss->add_internal_bitmap && s->journaldisks == 0 && |