Problem reading cached files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have been trying to get local caching  to work on a host running SuSE
SLES11 SP1 (cachefilesd is still unsupported). I  had no problems compiling
and inserting a cachefiles module in the kernel or starting the cachefsd
daemon (cachefilesd-0.10.1.tar.bz2). I also see files being cached to
/var/cache/fscache (ext3 partition mounted with user_xattr)

Nov 14 19:38:17  cachefilesd[6586]: About to bind cache
Nov 14 19:38:17  cachefilesd[6586]: Bound cache
Nov 14 19:38:17  cachefilesd[6589]: Daemon Started
Nov 14 19:38:17  kernel: [ 9667.331384] FS-Cache: Cache "mycache" added
(type cachefiles)
Nov 14 19:38:17  kernel: [ 9667.331394] CacheFiles: File cache on
cciss/c0d0p11 registered
Nov 14 19:38:17  cachefilesd[6589]: Scan complete
Nov 14 19:38:17  cachefilesd[6589]: Decant (all 213)

However when i try to cat a previously cached file ( after flushing the
kernel page cache using echo 3 >/proc/sys/vm/drop_caches) the process hangs
indefinitely. . It shows up with a status sync_p in process listing and a
trace on the PID shows that the process is  stuck on a read for device
/dev/cachefiles. I earlier though this might be because of the SELinux
function but it appears that SELinux functionality is not enabled on this
host.

Any help with debugging the hang issue is gretaly appreciated.

I
--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux