linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SEQ4_STATUS_ question
@ 2011-05-16 19:40 Chuck Lever
  2011-05-16 19:50 ` Trond Myklebust
  0 siblings, 1 reply; 2+ messages in thread
From: Chuck Lever @ 2011-05-16 19:40 UTC (permalink / raw)
  To: Linux NFS Mailing List

Hi-

In minor version 1, the "lease moved" condition is indicated via a flag set in the result of a SEQUENCE operation; in mv0, it was a real NFS4ERR status code.

I don't see anything in RFC 5661 that says SEQUENCE returns anything but NFS4_OK if one or more of these flags are set.  But nfs41_sequence_call_done checks these status flags only when task->tk_status < 0.

If SEQUENCE returns a non-NFS4_OK status code when these flags are set, and MUST be the first operation in a compound, how can anything else in any compound with a SEQUENCE operation get done?

To clear a "lease moved" condition requires that the client send an operation that will get an NFS4ERR_MOVED result.  I assume such a compound would require an initial SEQUENCE operation... but that should fail, since there is a "lease moved" condition.

What am I missing?

-- 
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-16 19:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-16 19:40 SEQ4_STATUS_ question Chuck Lever
2011-05-16 19:50 ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).