ceph: track pending caps flushing globally
authorYan, Zheng <zyan@redhat.com>
Tue, 9 Jun 2015 09:20:12 +0000 (17:20 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 25 Jun 2015 08:49:31 +0000 (11:49 +0300)
So we know TID of the oldest pending caps flushing. Later patch will
send this information to MDS, so that MDS can trim its completed caps
flush list.

Tracking pending caps flushing globally also simplifies syncfs code.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
fs/ceph/caps.c
fs/ceph/inode.c
fs/ceph/mds_client.c
fs/ceph/mds_client.h
fs/ceph/super.h

diff --cc fs/ceph/caps.c
Simple merge
diff --cc fs/ceph/inode.c
Simple merge
Simple merge
Simple merge
diff --cc fs/ceph/super.h
Simple merge