commit | 89b52fe14de4d703ba837a7418bb4cd286dcc87f | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Wed May 27 09:59:48 2015 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Thu Jun 25 11:49:30 2015 +0300 |
tree | 718665f96b7a185bc2748ea620a63687d425d3df | |
parent | 41445999aeec1f0fdf196ab55b2c770473b2ea01 [diff] |
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>