Message ID | 20240710122708.900897-1-xiubli@redhat.com |
---|---|
State | New |
Headers | show |
Series | ceph: periodically flush the cap releases | expand |
diff --git a/fs/ceph/mds_client.c b/fs/ceph/mds_client.c index c750ebcad972..b7fcaa6e28b4 100644 --- a/fs/ceph/mds_client.c +++ b/fs/ceph/mds_client.c @@ -5474,6 +5474,8 @@ static void delayed_work(struct work_struct *work) } mutex_unlock(&mdsc->mutex); + ceph_flush_cap_releases(mdsc, s); + mutex_lock(&s->s_mutex); if (renew_caps) send_renew_caps(mdsc, s);