ceph: flush cap release queue when trimming session caps
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
This commit is contained in:
parent
4819301287
commit
a56371d9d9
|
@ -1311,6 +1311,9 @@ static int trim_caps(struct ceph_mds_client *mdsc,
|
||||||
trim_caps - session->s_trim_caps);
|
trim_caps - session->s_trim_caps);
|
||||||
session->s_trim_caps = 0;
|
session->s_trim_caps = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ceph_add_cap_releases(mdsc, session);
|
||||||
|
ceph_send_cap_releases(mdsc, session);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue