Re: umount(,MNT_DETACH) for nfsv4 hangs when using sec=krb5 and network is down

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-12-20 at 14:52 -0700, Orion Poplawski wrote:
+AD4- On 12/20/2012 01:47 PM, Myklebust, Trond wrote:
+AD4- +AD4- On Thu, 2012-12-20 at 13:31 -0700, Orion Poplawski wrote:
+AD4- +AD4APg- On 12/19/2012 03:19 PM, Myklebust, Trond wrote:
+AD4- +AD4APgA+-
+AD4- +AD4APgA+- Commit eb96d5c97b0825d542e9c4ba5e0a22b519355166 (SUNRPC handle
+AD4- +AD4APgA+- EKEYEXPIRED in call+AF8-refreshresult), which will be in 3.8-rc1 when Linus
+AD4- +AD4APgA+- releases it, may help.
+AD4- +AD4APgA+-
+AD4- +AD4APg-
+AD4- +AD4APg- FWIW - I cherry picked that into the latest Fedora rawhide kernel but no
+AD4- +AD4APg- effect.  Sounds like a nice patch though, the current hang forever behavior
+AD4- +AD4APg- doesn't seem the trigger the needed +ACI-ah, need a new ticket+ACI- response.
+AD4- +AD4APg-
+AD4- +AD4- 
+AD4- +AD4- So does simply killing the rpc.gssd process help?
+AD4- +AD4- 
+AD4- 
+AD4- Yes, if automount is already stopped (these are automounted directories).  If
+AD4- automount is running, it still seems to hang.  I think I'm going to need to
+AD4- spend some time talking to Ian.
+AD4- 

I'd suggest also taking a long hard look at rpc.gssd and making sure
that it handles ENETUNREACH, ECONNREFUSED and friends correctly. I
suspect right now it is just baling out of the upcall instead of
completing it by propagating the error reply to the kernel.

-- 
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust+AEA-netapp.com
www.netapp.com
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux