All of lore.kernel.org
 help / color / mirror / Atom feed
From: DENIEL Philippe <philippe.deniel@cea.fr>
To: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
Cc: NFS list <linux-nfs@vger.kernel.org>
Subject: Re: READDIRPLUS3 and NFS3ERR_BAD_COOKIE
Date: Thu, 22 Mar 2012 18:14:15 +0100	[thread overview]
Message-ID: <4F6B5DE7.5070900@cea.fr> (raw)
In-Reply-To: <1332436029.8976.2.camel@lade.trondhjem.org>

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 ?

    Regards

       Philippe

  reply	other threads:[~2012-03-22 17:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 12:45 READDIRPLUS3 and NFS3ERR_BAD_COOKIE DENIEL Philippe
2012-03-22 17:07 ` Myklebust, Trond
2012-03-22 17:14   ` DENIEL Philippe [this message]
2012-03-22 17:16     ` Myklebust, Trond

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F6B5DE7.5070900@cea.fr \
    --to=philippe.deniel@cea.fr \
    --cc=Trond.Myklebust@netapp.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.