Re: [PATCH] cifs: Allow nfsd over cifs

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

 



On Tue, 1 Mar 2011 14:11:32 -0600
Steve French <smfrench@xxxxxxxxx> wrote:

> I vaguely remember that the same problem can occur with nfsd on a
> local file system and that nfs clients have to be able to recover from
> ESTALE (e.g. lookup/delete/create/lookup would fail with ESTALE
> otherwise).   Don't clients handle ESTALE by relooking up the file ala
> 
> http://lwn.net/Articles/272684/
> 

In the case of writeback, what pathname will you use? The client just
has an inode and that inode has a filehandle. The path hasn't been
dealt with since the open().

Even if it did want to retry a lookup, it's certainly possible that the
file has been renamed on the server or by another client. If that's the
case, the NFS client will have no valid path that it can reuse anyway.

-- 
Jeff Layton <jlayton@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux