diff options
author | Daniel Hill <daniel@gluo.nz> | 2023-12-05 19:10:28 +1300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-12-14 15:24:14 -0500 |
commit | 85c6db980989ddc119ea1647ad72a4ec5a4e06f2 (patch) | |
tree | 780b095093e35d7a1547005185baab0086751b1d /fs/bcachefs/super.c | |
parent | 50a8a732d2db64507ba7cd4ebe66538d9c40bea8 (diff) | |
download | linux-stable-85c6db980989ddc119ea1647ad72a4ec5a4e06f2.tar.gz linux-stable-85c6db980989ddc119ea1647ad72a4ec5a4e06f2.tar.bz2 linux-stable-85c6db980989ddc119ea1647ad72a4ec5a4e06f2.zip |
bcachefs: improve modprobe support by providing softdeps
We need to help modprobe load architecture specific modules so we don't
fall back to generic software implementations, this should help
performance when building as a module.
Signed-off-by: Daniel Hill <daniel@gluo.nz>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super.c')
-rw-r--r-- | fs/bcachefs/super.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/bcachefs/super.c b/fs/bcachefs/super.c index cfa91188dd4e..818ec467a06b 100644 --- a/fs/bcachefs/super.c +++ b/fs/bcachefs/super.c @@ -72,6 +72,12 @@ MODULE_LICENSE("GPL"); MODULE_AUTHOR("Kent Overstreet <kent.overstreet@gmail.com>"); MODULE_DESCRIPTION("bcachefs filesystem"); +MODULE_SOFTDEP("pre: crc32c"); +MODULE_SOFTDEP("pre: crc64"); +MODULE_SOFTDEP("pre: sha256"); +MODULE_SOFTDEP("pre: chacha20"); +MODULE_SOFTDEP("pre: poly1305"); +MODULE_SOFTDEP("pre: xxhash"); #define KTYPE(type) \ static const struct attribute_group type ## _group = { \ |