Hi!
Thank you for the detailed bug report.
After investigating, this appears to be an NFS-Ganesha issue rather than a 
kernel regression. See this issue: 
https://github.com/nfs-ganesha/nfs-ganesha/issues/1385.
In short: Linux kernel v6.19 introduced commit 156b09482933 ("NFS: Request a 
directory delegation on ACCESS, CREATE, and UNLINK"), which causes the client 
to send GET_DIR_DELEGATION alongside ACCESS, CREATE, and UNLINK operations. The 
version of NFS-Ganesha (V7.3) bundled in your 
longhornio/longhorn-share-manager:v1.11.2 image doesn't recognize this 
operation and incorrectly responds with NFS4ERR_OP_ILLEGAL instead of 
NFS4ERR_NOTSUPP, which causes the client to surface a hard I/O error rather 
than gracefully falling back. This was fixed upstream in NFS-Ganesha V9.11 
https://github.com/nfs-ganesha/nfs-ganesha/commit/98eb77c4fd94.
I checked, and longhorn-share-manager v1.11.3, for instance, ships NFS-Ganesha 
V9.12, which includes this fix. Are you able to upgrade to an image version 
that has a more up-to-date NFS-Ganesha with the aforementioned fix and confirm 
it resolves the issue on your end? That would be a great help.
As stated, this doesn't look like an inherent kernel problem, so no rollback 
should be necessary once you're on a fixed NFS-Ganesha version.

** Bug watch added: github.com/nfs-ganesha/nfs-ganesha/issues #1385
   https://github.com/nfs-ganesha/nfs-ganesha/issues/1385

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

Title:
  linux-aws 7.0.0-1009: NFS readdir on NFSv4.1 subdirectories returns
  EREMOTEIO

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


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

Reply via email to