All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Bian Naimeng <biannm@cn.fujitsu.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH] Revert "nfsd4: distinguish expired from stale stateids"
Date: Wed, 22 Sep 2010 15:39:33 -0400	[thread overview]
Message-ID: <20100922193933.GJ26903@fieldses.org> (raw)
In-Reply-To: <4C57DD66.1070001@cn.fujitsu.com>

On Tue, Aug 03, 2010 at 05:12:06PM +0800, Bian Naimeng wrote:
>   As i see, this question is difficult to slove. Freebsd looks like nerver return 
>   the NFSERR_EXPIRED error.  And solaris more than happy to return NFSERR_EXPIRED 
>   rather than NFSERR_BAD_STATEID when the stateid is not found at server.
> 
>   I mean it's difficult to distinguish expired_stateid and bad_stateid(they are not
>   exist at server), so maybe we have not a exactly solution to solve it.
> 
>   Maybe we should choose which error we are more needed, NFSERR_EXPIRED  or NFSERR_BAD_STATEID?

Yes, that would probably be simplest.

--b.

  reply	other threads:[~2010-09-22 19:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-18 23:37 [PATCH] Revert "nfsd4: distinguish expired from stale stateids" J. Bruce Fields
2010-08-02  3:35 ` Bian Naimeng
2010-08-02 13:50   ` J. Bruce Fields
2010-08-03  9:12     ` Bian Naimeng
2010-09-22 19:39       ` J. Bruce Fields [this message]
2010-10-02 22:49         ` J. Bruce Fields
2010-11-08  8:52           ` Bian Naimeng
2010-11-08 16:08             ` J. Bruce Fields
2010-08-23  7:39     ` Bian Naimeng

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=20100922193933.GJ26903@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=biannm@cn.fujitsu.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.