mbox series

[RFC3,0/2] umount hangs on sec=krb5,i,p mounts

Message ID 20200423194434.7923.31241.stgit@manet.1015granger.net (mailing list archive)
Headers show
Series umount hangs on sec=krb5,i,p mounts | expand

Message

Chuck Lever III April 23, 2020, 7:49 p.m. UTC
I've dug into this a little more. Posting these two patches just
as conversation pieces.

The spinning NULL task at umount time, it turns out, is the kernel's
attempt to send GSS DESTROY_CONTEXT. This NULL is triggered just
as the RPC client has killed all tasks. The spinning rpc_task will
run until a soft timeout occurs, and then the umount unhangs.

Maybe set a shutdown flag in the client, and cause early FSM steps
to fail if this flag is set? Or should the client skip context
destruction if this flag is set?

Any other thoughts?

---

Chuck Lever (2):
      SUNRPC: Set SOFTCONN when destroying GSS contexts
      sunrpc: Ensure signalled RPC tasks exit

--
Chuck Lever