projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4819301
)
ceph: flush cap release queue when trimming session caps
author
Yan, Zheng
<zheng.z.yan@intel.com>
Tue, 1 Apr 2014 12:34:56 +0000
(20:34 +0800)
committer
Sage Weil
<sage@inktank.com>
Sat, 5 Apr 2014 04:08:26 +0000
(21:08 -0700)
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
fs/ceph/mds_client.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/ceph/mds_client.c
b/fs/ceph/mds_client.c
index 19fbfc49613757b6033ca4bed7c86bc0e5cf4096..2b4d093d056319424369f01321c710f2c9d27185 100644
(file)
--- a/
fs/ceph/mds_client.c
+++ b/
fs/ceph/mds_client.c
@@
-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;
}