]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commitdiff
ceph: include osd epoch barrier in debugfs historic/wip-7317 7/head
authorJohn Spray <john.spray@redhat.com>
Mon, 20 Oct 2014 12:35:50 +0000 (13:35 +0100)
committerJohn Spray <john.spray@redhat.com>
Thu, 30 Oct 2014 13:47:57 +0000 (13:47 +0000)
Signed-off-by: John Spray <john.spray@redhat.com>
fs/ceph/debugfs.c

index 5d5a4c8c8496588c0c749abdb53ebf0b1be2e31e..60db6290dbf6c5abda431c4e18c8587cc2dfc239 100644 (file)
@@ -174,6 +174,9 @@ static int mds_sessions_show(struct seq_file *s, void *ptr)
        /* The -o name mount argument */
        seq_printf(s, "name \"%s\"\n", opt->name ? opt->name : "");
 
+       /* The latest OSD epoch barrier known to this client */
+       seq_printf(s, "osd_epoch_barrier \"%d\"\n", mdsc->cap_epoch_barrier);
+
        /* The list of MDS session rank+state */
        for (mds = 0; mds < mdsc->max_sessions; mds++) {
                struct ceph_mds_session *session =