* Effect of NFS4ERR_DELAY on the client
@ 2010-10-14 11:48 DENIEL Philippe
2010-10-14 14:11 ` J. Bruce Fields
0 siblings, 1 reply; 2+ messages in thread
From: DENIEL Philippe @ 2010-10-14 11:48 UTC (permalink / raw)
To: linux-nfs
Hi,
I have a question about NFS4ERR_DELAY. What is the behavior of the
client when such an error is returned. Does it retry ? If yes, how many
times and with what kind of interval between each retry ?
Is the behavior similar to what the NFSv3 client when receiving
NFS3ERR_JUKEBOX ?
My purpose is to run NFSv4.x on top of a namespace whose entries can be
migrated : opening a file may require staging it (in this case
NFS4ERR_DELAY and NFS3ERR_JUKEBOX will be returned)
Philippe
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Effect of NFS4ERR_DELAY on the client
2010-10-14 11:48 Effect of NFS4ERR_DELAY on the client DENIEL Philippe
@ 2010-10-14 14:11 ` J. Bruce Fields
0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2010-10-14 14:11 UTC (permalink / raw)
To: DENIEL Philippe; +Cc: linux-nfs
On Thu, Oct 14, 2010 at 01:48:29PM +0200, DENIEL Philippe wrote:
> Hi,
>
> I have a question about NFS4ERR_DELAY. What is the behavior of the
> client when such an error is returned. Does it retry ? If yes, how
> many times and with what kind of interval between each retry ?
> Is the behavior similar to what the NFSv3 client when receiving
> NFS3ERR_JUKEBOX ?
> My purpose is to run NFSv4.x on top of a namespace whose entries can
> be migrated : opening a file may require staging it (in this case
> NFS4ERR_DELAY and NFS3ERR_JUKEBOX will be returned)
For the linux client, see fs/nfs/nfs4proc.c:nfs4_delay() and
nfs4_handle_exception(): looks like it starts with NFS4_POLL_RETRY_MIN
== .1 second, and doubles it each time up to NFS4_POLL_RETRY_MAX == 15
seconds.
--b.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-14 14:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-14 11:48 Effect of NFS4ERR_DELAY on the client DENIEL Philippe
2010-10-14 14:11 ` J. Bruce Fields
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.