From e849568c54514d1d64879b939c99b2ff60020fe7 Mon Sep 17 00:00:00 2001 From: John Spray Date: Mon, 20 Oct 2014 13:35:50 +0100 Subject: [PATCH] ceph: include osd epoch barrier in debugfs Signed-off-by: John Spray --- fs/ceph/debugfs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/ceph/debugfs.c b/fs/ceph/debugfs.c index 5d5a4c8c8496..60db6290dbf6 100644 --- a/fs/ceph/debugfs.c +++ b/fs/ceph/debugfs.c @@ -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 = -- 2.47.3