Re: [PATCH RFC] vfs: make fstatat retry on ESTALE errors fromgetattr call

From: J. Bruce Fields
Date: Tue Apr 17 2012 - 11:45:57 EST


On Tue, Apr 17, 2012 at 10:20:35AM -0400, Jeff Layton wrote:
> Well, it's possible, but it seems pathological to me for a server to do
> that...
>
> Bruce and I were discussing this the other day. It would be good to add
> something like this to the RFCs:
>
> "On a PUTFH, a server SHOULD hold a reference to the filehandle such

For "filehandle" I'd specify "current and saved filehandle".

> that it does not go stale over the life of the compound."

And that's *much* less of a burden on the server than requiring that the
compound execute atomically.

> ...or something along those lines. That's a different matter though and
> not directly related to this. :)

Yes.

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