mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 20:24:12 +08:00
ceph: periodically flush the cap releases
The MDS could be waiting the caps releases infinitely in some corner case and then reporting the caps revoke stuck warning. To fix this we should periodically flush the cap releases. Link: https://tracker.ceph.com/issues/57244 Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Venky Shankar <vshankar@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
This commit is contained in:
parent
77bb4a501a
commit
578eb54c4a
@ -5446,6 +5446,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);
|
||||
|
Loading…
Reference in New Issue
Block a user