Enable CACHEFILES and FSCACHE on most of the device kernels?
Hey there,
From some day, I'm moving my music sharing setup from a Syncthing synchronized folder to a lighter solution. Now that I have ~50 Go of flac files, I need something that would still cache files locally, but in a more lazy and on demand way.
I so started to configure a NFS + FS-Cache setup. It works very nicely and is very easy to configure in both server and client side.
(aka, on client side, enabling nfsmount and cachefilesd daemons is enough to mount a cached NFS entry from /etc/fstab on boot)
My last problem is that the kernel we embark on my lightest devices doesn't embark the required modules (Pinephone, PinephonePro, etc).
Pmos is largely used on low storage devices, I think we should make this available.
From my testing, enabling those two kernel configs make my Pinephone to load the daemon cachefilesd correctly, and for NFS to correctly use it:
+CONFIG_FSCACHE=m
+CONFIG_CACHEFILES=m
-CONFIG_NFS_FS=y
+CONFIG_NFS_FS=m
+CONFIG_NFS_FSCACHE=y
Thought? Recommendations? Heatpats?