mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-16 09:46:55 +00:00
btrfs-progs: mkfs: print note about loading sha256 when used
The module loading issue is documented but make it more visible at mkfs time. Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
0a020ba2d9
commit
4d86d928c1
@ -1582,6 +1582,13 @@ raid_groups:
|
||||
printf("\n");
|
||||
|
||||
list_all_devices(root);
|
||||
|
||||
if (mkfs_cfg.csum_type == BTRFS_CSUM_TYPE_SHA256) {
|
||||
printf(
|
||||
"NOTE: you may need to manually load kernel module implementing accelerated SHA256 in case\n"
|
||||
" the generic implementation is built-in, before mount. Check lsmod or /proc/crypto\n\n"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user