OSDN Git Service

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)
commit8310b08913eca8aee98744c9aff1ec0d1f603b19
treeac58f8ea0c44c98a675242c1a2a338f6333f03ba
parent553adfd941f8ca622965ef809553d918ea039929
ceph: track pending caps flushing globally

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