Re: READDIRPLUS3 and NFS3ERR_BAD_COOKIE

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

 



On Thu, 2012-03-22 at 18:14 +0100, DENIEL Philippe wrote:
> Myklebust, Trond a écrit :
> >
> > Does bonnie++ check the return value of readdir? There is no easy way
> > for the client to recover when the server returns BAD_COOKIE, so we
> > should be passing that error back to the application
> Thanks for your reply, Trond.
> No, it does not. It uses the readdir() call that takes a directory as 
> argument and returns a pointer to an array of struct dirents.
> When bad cookie is sent back to the application, which error will it be. 
> I saw errno = 523 ? Is this correct ?

Yes, that sounds right.

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