From 89b52fe14de4d703ba837a7418bb4cd286dcc87f Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Wed, 27 May 2015 09:59:48 +0800 Subject: [PATCH] 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 --- Reading git-format-patch failed