summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorDaniel Hill <daniel@gluo.nz>2023-12-05 07:10:28 +0100
committerKent Overstreet <kent.overstreet@linux.dev>2023-12-14 21:24:14 +0100
commit85c6db980989ddc119ea1647ad72a4ec5a4e06f2 (patch)
tree780b095093e35d7a1547005185baab0086751b1d /fs
parentbcachefs: fix invalid memory access in bch2_fs_alloc() error path (diff)
downloadlinux-85c6db980989ddc119ea1647ad72a4ec5a4e06f2.tar.xz
linux-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')
-rw-r--r--fs/bcachefs/super.c6
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 = { \