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

Trond Myklebust (trond.myklebust@fys.uio.no)
Fri, 22 Mar 2002 12:07:55 +0100


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/