FS-Cache: Cache cachefiles stopped due to I/O error

Bug #442846 reported by Wido den Hollander
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cachefilesd (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: cachefilesd

Hello,

In #440522 i reported that NFS and AFS modules were not compiled into the kernel, so caching NFS was not possible with cachefilesd.

I build my own kernel on the Ubuntu sources with these modules enabled and started testing.

The modules load fine and everything seems OK until the caching starts, this is what comes up in the dmesg.

[ 25.181971] FS-Cache: Loaded
[ 25.409818] FS-Cache: Netfs 'nfs' registered for caching
[ 25.420518] svc: failed to register lockdv1 RPC service (errno 97).
[ 27.817621] CacheFiles: Loaded
[ 27.844771] FS-Cache: Cache "mycache" added (type cachefiles)
[ 27.844776] CacheFiles: File cache on sda1 registered
---------------------------------------------------------------------------
[ 328.007073] Pid: 2613, comm: kslowd Tainted: P 2.6.31.1-nfs-fscache #1
[ 328.007077] Call Trace:
[ 328.007090] [<ffffffffa0c6cc9d>] cachefiles_read_waiter+0xcd/0x120 [cachefiles]
[ 328.007097] [<ffffffff8103fa19>] __wake_up_common+0x59/0x90
[ 328.007101] [<ffffffff81043813>] __wake_up+0x43/0x70
[ 328.007105] [<ffffffff81071c4c>] __wake_up_bit+0x2c/0x30
[ 328.007110] [<ffffffff810d2c72>] unlock_page+0x22/0x30
[ 328.007114] [<ffffffff811867d6>] ext3_truncate+0x2c6/0x9f0
[ 328.007117] [<ffffffff8113b907>] ? __getblk+0x27/0x2f0
[ 328.007120] [<ffffffff8104381e>] ? __wake_up+0x4e/0x70
[ 328.007124] [<ffffffff810eed58>] vmtruncate+0xa8/0x110
[ 328.007128] [<ffffffff8112c660>] inode_setattr+0x30/0x170
[ 328.007131] [<ffffffff81184cff>] ext3_setattr+0xff/0x210
[ 328.007134] [<ffffffff8112c903>] notify_change+0x163/0x340
[ 328.007139] [<ffffffffa0c6b1b9>] cachefiles_attr_changed+0xd9/0x170 [cachefiles]
[ 328.007145] [<ffffffffa0c6c307>] ? cachefiles_walk_to_object+0x427/0x790 [cachefiles]
[ 328.007150] [<ffffffffa0c6b308>] cachefiles_lookup_object+0xb8/0xf0 [cachefiles]
[ 328.007158] [<ffffffffa0bf64a1>] fscache_lookup_object+0x81/0x150 [fscache]
[ 328.007164] [<ffffffffa0bf6ef5>] fscache_object_slow_work_execute+0x595/0x8b0 [fscache]
[ 328.007168] [<ffffffff810ca933>] slow_work_thread+0x353/0x4e0
[ 328.007171] [<ffffffff81071c90>] ? autoremove_wake_function+0x0/0x40
[ 328.007174] [<ffffffff810ca5e0>] ? slow_work_thread+0x0/0x4e0
[ 328.007177] [<ffffffff810718a6>] kthread+0xa6/0xb0
[ 328.007181] [<ffffffff81012f8a>] child_rip+0xa/0x20
[ 328.007184] [<ffffffff81071800>] ? kthread+0x0/0xb0
[ 328.007186] [<ffffffff81012f80>] ? child_rip+0x0/0x20
[ 328.007201] CacheFiles: I/O Error: Readpage failed on backing file 100000000000810
[ 328.007204] FS-Cache: Cache cachefiles stopped due to I/O error

Some searching on Google lead me to this recent mailinglist post: http://lkml.indiana.edu/hypermail/linux/kernel/0906.2/01563.html

It seems there is a patch to fix this issue, i haven't tried it myself yet, but i will try shortly to find out wether this works.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers