All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] NFS: have string-based mount options default to intr mounts
@ 2007-07-25 20:05 Rick Macklem
  2007-07-25 20:13 ` [NFS] " Trond Myklebust
  0 siblings, 1 reply; 2+ messages in thread
From: Rick Macklem @ 2007-07-25 20:05 UTC (permalink / raw)
  To: chuck.lever; +Cc: nfsv4, nfs, jlayton

> Chuck Lever <chuck.lever@oracle.com> wrote:
> 
> > I thought "nointr" was the default because it is safest.
> > 

I was actually impressed that "intr" mounts work for NFSv4. I would have
thought interrupting an RPC that has state related (Open, Lock,...) op(s)
in it would cause grief later. (NFSERR_BADSEQID or similar)

Do you spin off kernel threads to babysit those outstanding RPCs? rick

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: [NFS] [PATCH] NFS: have string-based mount options default to intr mounts
  2007-07-25 20:05 [PATCH] NFS: have string-based mount options default to intr mounts Rick Macklem
@ 2007-07-25 20:13 ` Trond Myklebust
  0 siblings, 0 replies; 2+ messages in thread
From: Trond Myklebust @ 2007-07-25 20:13 UTC (permalink / raw)
  To: Rick Macklem; +Cc: nfs, nfsv4, jlayton

On Wed, 2007-07-25 at 16:05 -0400, Rick Macklem wrote:
> > Chuck Lever <chuck.lever@oracle.com> wrote:
> > 
> > > I thought "nointr" was the default because it is safest.
> > > 
> 
> I was actually impressed that "intr" mounts work for NFSv4. I would have
> thought interrupting an RPC that has state related (Open, Lock,...) op(s)
> in it would cause grief later. (NFSERR_BADSEQID or similar)
> 
> Do you spin off kernel threads to babysit those outstanding RPCs? rick

Sort of. We run them as independent asynchronous RPC tasks. If the user
interrupts the request, then it is allowed to complete but once it does
then a new RPC call may be sent in order to undo the effects.

Cheers
  Trond

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

end of thread, other threads:[~2007-07-25 20:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-25 20:05 [PATCH] NFS: have string-based mount options default to intr mounts Rick Macklem
2007-07-25 20:13 ` [NFS] " Trond Myklebust

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.