Re: Issues

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

 



"Edward \"Koko\" Konetzko" <konetzed@xxxxxxxxxxxxxxxxx> wrote:

> No problem, I was just looking for an update.  Let me know if there is anymore
> debugging input I can give you. 

One thing you could try: Find cachefiles_attr_changed() in
fs/cachefiles/interface.c.  See this line near the top:

	_enter("{OBJ%x},[%llu]",
	       _object->debug_id, (unsigned long long) ni_size);

Can you change the _enter() to kenter() and don't turn on general debugging?
I'm curious to know where the shrinkage:

> [kslowd] ==> cachefiles_attr_changed({OBJ5},[1620])
> [kslowd] - change i_size 1000 -> 654

occurs (I don't see anywhere that's rounding stuff up).  Matching the object
that's shrunk may tell me something.  It may be better, though, to alter
nfs_fscache_inode_get_attr() by adding a line at the end:

	printk("NFS GET_ATTR i=%lx sz=%llu\n", nfsi->vfs_inode.i_ino, *size);

You could also try changing:

	-	*size = nfsi->vfs_inode.i_size;
	+	*size = i_size_read(&nfsi->vfs_inode);

in that function, though I don't see why that should make a difference if the
size on the server doesn't change.

David

--
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