diff options
author | Venky Shankar <vshankar@redhat.com> | 2024-10-24 06:24:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-24 06:24:11 +0200 |
commit | 6910e4c010dda1b77134153c0faaa65278c416ae (patch) | |
tree | 85c7dd04d4b921d6e1ad850b7485b8916eea8423 | |
parent | Merge pull request #60276 from ceph/bypass_sr (diff) | |
parent | cephfs: Fixed a bug that read operation hung in Client::get_caps when... (diff) | |
download | ceph-6910e4c010dda1b77134153c0faaa65278c416ae.tar.xz ceph-6910e4c010dda1b77134153c0faaa65278c416ae.zip |
Merge pull request #59027 from hit1943/65971_fix
client: fixed a bug that read operation hung
Reviewed-by: Venky Shankar <vshankar@redhat.com>
-rw-r--r-- | src/client/Client.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/Client.cc b/src/client/Client.cc index f8373095b38..f687264e167 100644 --- a/src/client/Client.cc +++ b/src/client/Client.cc @@ -3646,6 +3646,9 @@ void Client::put_cap_ref(Inode *in, int cap) if (last & CEPH_CAP_FILE_CACHE) { ldout(cct, 5) << __func__ << " dropped last FILE_CACHE ref on " << *in << dendl; ++put_nref; + + ldout(cct, 10) << __func__ << " calling signal_caps_inode" << dendl; + signal_caps_inode(in); } if (drop) check_caps(in, 0); |