Re: BUG REPORT: kernel nfs between 2.4.19-pre2 (server) and 2.2.21-pre3 (client)

Trond Myklebust
2002-03-22T11:08:35Z

>>>>> " " == Stephan von Krawczynski <skraw@ithnet.com> writes:

> This is a knfsd setup.

Good...

>> The client will only return ESTALE if the server has first told
>> it to do so. For knfsd, this is only supposed to occur if the
>> file has actually been deleted on the server (knfsd is supposed
>> to be able to retrieve ReiserFS file that have fallen out of
>> cache).

> The files are obviously not deleted from the server. Can you
> give me a short hint in where to look after this specific case
> (source location). I will try to do some debugging around the
> place to see what is going on.

Those decisions are supposed to be made in the fh_to_dentry()
'struct super_operations' method. For ReiserFS, that would be in
fs/reiserfs/inode.c:reiserfs_fh_to_dentry().

It would indeed be a good idea to try sticking some debugging
'printk's in there in order to see what is failing...

Cheers,
Trond