Hi Jacob,

Without 9b62ef6d239e the request is never resent, so it can't run twice.
The call hangs instead.

6.8.0-149.149~22.04.1 has fadc0f3bb2de but not 9b62ef6d239e, the same as
noble. There, rpc_decode_header() discards the expired-context reply and
waits without retransmitting. This happens before the NFS operation is
decoded, so it's the same for any operation. On noble 6.8.0-142 and
6.8.0-147 (NFSv4.0, sec=krb5, hard mount), my reproducer hangs at the
first context expiry. A production crash dump showed the same thing: one
CLOSE sent, its valid reply discarded, and the task still waiting days
later.

So the second execution comes from the retry that 9b62ef6d239e adds, and
mainline behaves the same (Junyoung's v7.4-rc3 results). It's NFSv4.0's
lack of exactly-once semantics, which NFSv4.1+ sessions avoid.

In our internal production cluster, I'm happy to report that this fix
has run for over two weeks with no recurrence.

Thanks,
Jamie

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2173036

Title:
  Tasks can hang forever when using NFSv4 with the sec=krb5 mount option

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2173036/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to