Description of problem: Originally reported in https://github.com/nfs-ganesha/nfs-ganesha/issues/988 My ganesha version is 5.5. The ceph version is the latest, and NONBLOCKING_IO compilation is on. When my client mounts the NFS directory, both reading and writing are normal. But when I tried to compile the Linux kernel in the mount directory, or other software compilation, it quickly got stuck. I analyzed the ganesha log and found that one client's read request was not completed. Because of the read request, ceph_ll_nonblocking_readv_writev returned 0, but ceph client did not call the callback. Then I analyzed from ceph client and found that the file size of this read is 0, although the requested offset is 0 and len is 8192. In this case, ceph returns 0 directly and thinks that read is complete and will not call the callback function again. see: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Kernel build stalls Expected results: Kernel build completes as expected Additional info:
Upstream fix is available and merged: https://github.com/ceph/ceph/pull/53407 Patch back ported and merged into ceph-7.0-rhel-patches
As a bug introduced by the async/nonblocking work, I don't think this requires doc text. Please advise on how to proceed.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Ceph Storage 7.0 Bug Fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:7780