diff options
author | Yan, Zheng <zyan@redhat.com> | 2015-05-27 03:59:48 +0200 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2015-06-25 10:49:30 +0200 |
commit | 89b52fe14de4d703ba837a7418bb4cd286dcc87f (patch) | |
tree | 718665f96b7a185bc2748ea620a63687d425d3df /security | |
parent | ceph: don't include used caps in cap_wanted (diff) | |
download | linux-89b52fe14de4d703ba837a7418bb4cd286dcc87f.tar.xz linux-89b52fe14de4d703ba837a7418bb4cd286dcc87f.zip |
ceph: fix flushing caps
Current ceph_fsync() only flushes dirty caps and wait for them to be
flushed. It doesn't wait for caps that has already been flushing.
This patch makes ceph_fsync() wait for pending flushing caps too.
Besides, this patch also makes caps_are_flushed() peroperly handle
tid wrapping.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions