summaryrefslogtreecommitdiff
path: root/mkfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mkfs.c')
-rw-r--r--mkfs.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mkfs.c b/mkfs.c
index c16aeb9a..83c4a6a6 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -1429,6 +1429,12 @@ int main(int ac, char **av)
nodesize * i;
}
+ if (group_profile_max_safe_loss(metadata_profile) <
+ group_profile_max_safe_loss(data_profile)){
+ fprintf(stderr,
+ "WARNING: metatdata has lower redundancy than data!\n\n");
+ }
+
/*
* FS features that can be set by other means than -O
* just set the bit here