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

Re: [Linux-cachefs] Cachefs fails to take effect on nfs4?



Rince <rincebrain gmail com> wrote:

> I sit corrected. This only occurs for recursively submounted
> directories, e.g. /scratch/subdir1.

What do you mean by 'submounted'?  Is subdir1 a different export of FSID to
/scratch?  Can you cat /proc/fs/nfsfs/volumes?  It should give something like:

	[root andromeda ~]# cat /proc/fs/nfsfs/*
	NV SERVER   PORT DEV     FSID              FSC
	v4 5a9b4a12  801 0:17    7edcf8bbc93b4329  yes

Also, can you do:

	echo 65535 >/sys/module/fscache/parameters/debug
	echo 255 >/sys/module/cachefiles/parameters/debug
	dd if=/scratch/subdir1/testfile of=/dev/null bs=4096 count=4
	echo 0 >/sys/module/fscache/parameters/debug
	echo 0 >/sys/module/cachefiles/parameters/debug

assuming you have CONFIG_FSCACHE_DEBUG=y and CONFIG_CACHEFILES_DEBUG=y and
capture what winds up in dmesg?

> mount | grep /scratch

It might be better to do:

	cat /proc/mounts | grep /scratch

Things might show up there that don't show up when you do 'mount' without
parameters.

David


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