Skip to content

Commit 85c6db9

Browse files
YellowOnionKent Overstreet
authored andcommitted
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 <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
1 parent 50a8a73 commit 85c6db9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

fs/bcachefs/super.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@
7272
MODULE_LICENSE("GPL");
7373
MODULE_AUTHOR("Kent Overstreet <[email protected]>");
7474
MODULE_DESCRIPTION("bcachefs filesystem");
75+
MODULE_SOFTDEP("pre: crc32c");
76+
MODULE_SOFTDEP("pre: crc64");
77+
MODULE_SOFTDEP("pre: sha256");
78+
MODULE_SOFTDEP("pre: chacha20");
79+
MODULE_SOFTDEP("pre: poly1305");
80+
MODULE_SOFTDEP("pre: xxhash");
7581

7682
#define KTYPE(type) \
7783
static const struct attribute_group type ## _group = { \

0 commit comments

Comments
 (0)