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