Re: What is NFSv4 READDIR doesn't return a filehandle....

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

 



On Sun, 2012-09-23 at 20:41 -0400, Jeff Layton wrote:
> Wait though -- is it not safe to assume that a zero length filehandle
> is invalid?
> 
> Neil's earlier patch checked for entry->fh.size == 0, would it not be
> reasonable to warn once per server when we get back such a fh?

The point is that sanity checking of filehandles by the client is a
totally _insane_ concept. Yes we can do it for a couple of corner cases.
No, we sure as hell do NOT want to get stuck doing it for the general
case.

Trond

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@xxxxxxxxxx
www.netapp.com
��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux