提交 a56371d9 编写于 作者: Y Yan, Zheng 提交者: Sage Weil

ceph: flush cap release queue when trimming session caps

Signed-off-by: NYan, Zheng <zheng.z.yan@intel.com>
上级 48193012
......@@ -1311,6 +1311,9 @@ static int trim_caps(struct ceph_mds_client *mdsc,
trim_caps - session->s_trim_caps);
session->s_trim_caps = 0;
}
ceph_add_cap_releases(mdsc, session);
ceph_send_cap_releases(mdsc, session);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册