rene@xxxxxxxxxxx wrote:
I already have the patches from the rc4-mm1 tree which applies to 2.6.9
with no problems, but I get this when doing "modprobe cachefs":
cachefs: Unknown symbol file_ra_state_init
Sorry, I didn't realize there are more patches than the ones starting with
cachefs-* including the fix for the problem I wrote about.
I'm applying those now.
Hi list.
This is what I've been able to do with cachefs.
I've applied these patches without rejects on kernel 2.6.9:
i-o-space-write-barrier-2.patch
export-file_ra_state_init-again.patch
cachefs-filesystem.patch
cachefs-release-search-records-lest-they-return-to-haunt-us.patch
fix-64-bit-problems-in-cachefs.patch
cachefs-fixed-typos-that-cause-wrong-pointer-to-be-kunmapped.patch
cachefs-return-the-right-error-upon-invalid-mount.patch
fix-cachefs-barrier-handling-and-other-kernel-discrepancies.patch
remove-error-from-linux-cachefsh.patch
cachefs-warning-fix-2.patch
cachefs-linkage-fix-2.patch
cachefs-build-fix.patch
cachefs-documentation.patch
add-page-becoming-writable-notification.patch
provide-a-filesystem-specific-syncable-page-bit.patch
provide-a-filesystem-specific-syncable-page-bit-fix.patch
make-afs-use-cachefs.patch
afs-cachefs-dependency-fix.patch
split-general-cache-manager-from-cachefs.patch
turn-cachefs-into-a-cache-backend.patch
rework-the-cachefs-documentation-to-reflect-fs-cache-split.patch
update-afs-client-to-reflect-cachefs-split.patch
Compiled and rebooted. Ran these commands:
echo echo "cachefs___" > /dev/hdc1
mount -t cachefs /dev/hdc1 /cache
Now I have this in dmesg:
Nov 3 05:15:31 shake kernel: CacheFS: Found uninitialised cache
Nov 3 05:15:31 shake kernel: CacheFS: 00000000 super block
Nov 3 05:15:31 shake kernel: CacheFS: 00000001 initial vnodes (1 blocks)
Nov 3 05:15:31 shake kernel: CacheFS: 00000002 update journal (recsize
76+436b)
Nov 3 05:15:31 shake kernel: CacheFS: 00000202 validity journal
Nov 3 05:15:31 shake kernel: CacheFS: 00000212 writeback journal (8192
recs of 8b)
Nov 3 05:15:31 shake kernel: CacheFS: 00000292 data cache
Nov 3 05:15:31 shake kernel: CacheFS: 0039ad98 end
Nov 3 05:15:31 shake kernel: CacheFS: The blockdev does not support
barriers, so the journal may not be reliable
Nov 3 05:15:31 shake kernel: CacheFS: Started kcachefsd 3094
I cannot unmount cachefs (even if running umount right after mount), so
the system needs a hard reset to reboot.
I tried applying all the patches in the rc4-mm1 series but that breaks
my nvidia driver compilation, which I need to work with Shake (which is
a compositing program), and Shake is the reason I would like to use cachefs.
Do I need more patches or is cachefs just broken at the moment?
I'm guessing that it is not, but I can't figure out what it needs to work.
A list of required patches would be a great help!
Cheers
René