diff options
| author | Daniel Hill <[email protected]> | 2023-12-05 19:10:28 +1300 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-12-14 15:24:14 -0500 |
| commit | 85c6db980989ddc119ea1647ad72a4ec5a4e06f2 (patch) | |
| tree | 780b095093e35d7a1547005185baab0086751b1d | |
| parent | 50a8a732d2db64507ba7cd4ebe66538d9c40bea8 (diff) | |
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]>
| -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 <[email protected]>"); 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 = { \ |