[Ocfs2-tools-devel] [PATCH 6/6] debugfs.ocfs2: Journal logdump prints full inode and extent blocks
Joel Becker
Joel.Becker at oracle.com
Thu Dec 16 00:07:32 PST 2010
On Wed, Dec 15, 2010 at 06:41:09PM -0800, Sunil Mushran wrote:
> + dump_inode(out, di);
> + if (di->i_flags & OCFS2_LOCAL_ALLOC_FL)
> + dump_local_alloc(out, &(di->id2.i_lab));
> + else if (di->i_flags & OCFS2_CHAIN_FL)
> + dump_chain_list(out, &(di->id2.i_chain));
> + else if (S_ISLNK(di->i_mode) && !di->i_clusters)
> + dump_fast_symlink(out, (char *)di->id2.i_symlink);
> + else if (di->i_flags & OCFS2_DEALLOC_FL)
> + dump_truncate_log(out, &(di->id2.i_dealloc));
> + else if (!(di->i_dyn_features & OCFS2_INLINE_DATA_FL))
> + dump_extent_list (out, &(di->id2.i_list));
Shouldn't we allow an option like the -T option to inode
dumping? I don't want to dump massive extent lists all the time; maybe
I just want to see the summary of the inode, etc.
Joel
--
Life's Little Instruction Book #456
"Send your loved one flowers. Think of a reason later."
Joel Becker
Senior Development Manager
Oracle
E-mail: joel.becker at oracle.com
Phone: (650) 506-8127
More information about the Ocfs2-tools-devel
mailing list