[Ocfs2-tools-devel] [PATCH 16/20] debugfs.ocfs2: Dump extent list if the group is discontiguous.
Tao Ma
tao.ma at oracle.com
Mon May 17 01:47:03 PDT 2010
Signed-off-by: Tao Ma <tao.ma at oracle.com>
---
debugfs.ocfs2/dump.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/debugfs.ocfs2/dump.c b/debugfs.ocfs2/dump.c
index fb47d27..0b42fd6 100644
--- a/debugfs.ocfs2/dump.c
+++ b/debugfs.ocfs2/dump.c
@@ -466,6 +466,9 @@ void dump_group_descriptor (FILE *out, struct ocfs2_group_desc *grp,
(grp->bg_bits - grp->bg_free_bits_count),
grp->bg_free_bits_count, max_contig_free_bits, grp->bg_size);
+ if (ocfs2_gd_is_discontig(grp))
+ dump_extent_list(out, &grp->bg_list);
+
return ;
}
--
1.5.5
More information about the Ocfs2-tools-devel
mailing list