From: Jakub Radtke <jakub.radtke@xxxxxxxxx> 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). Change-Id: I3973464b4c73f77b9c2ebc9cbb5f501a14d5eb02 Signed-off-by: Jakub Radtke <jakub.radtke@xxxxxxxxx> --- Create.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Create.c b/Create.c index 751f18c1..7df3b7e2 100644 --- a/Create.c +++ b/Create.c @@ -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 && -- 2.26.2