Skip to content

Commit 6910e4c

Browse files
authored
Merge pull request ceph#59027 from hit1943/65971_fix
client: fixed a bug that read operation hung Reviewed-by: Venky Shankar <[email protected]>
2 parents 20f7d47 + 7f72301 commit 6910e4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/client/Client.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3646,6 +3646,9 @@ void Client::put_cap_ref(Inode *in, int cap)
36463646
if (last & CEPH_CAP_FILE_CACHE) {
36473647
ldout(cct, 5) << __func__ << " dropped last FILE_CACHE ref on " << *in << dendl;
36483648
++put_nref;
3649+
3650+
ldout(cct, 10) << __func__ << " calling signal_caps_inode" << dendl;
3651+
signal_caps_inode(in);
36493652
}
36503653
if (drop)
36513654
check_caps(in, 0);

0 commit comments

Comments
 (0)