Patch for debugfs.ocfs2 ``icheck'' command
http://oss.oracle.com/~smushran/debugfs.ocfs2-icheck-04a.patch
The comments have been inlined in the patch.
Summary;
1. Follow Tao's recommendation for checking against known holes. The check for the first cluster group can be done before hand, and for the remaining, it can be done as part of the group descriptor check.
2. It should allow users to provide multiple block numbers. See do_locate() for more.
3. The output should not only accommodate multiple block#s but also provide a little more information. For e.g., for a regular file, list the logical block#. (The idea behind this is for users to be able to easily map a physical block on a device to an offset in a file.) Other inode types are easy to search thru and may not need any help. A known hole should be marked as a HOLE. We'll clean it up later.
Other than that, it is looking good.
Sunil
Quoted 18 lines · GONG Jie
Sorry for miss the file
find_block_inode.h.Quoted 5 lines · GONG Jie
Hi, all
Enclosed please find the rewrite debugfs.ocfs2 ``icheck'' patch for your review.
------------------------------------------------------------------------
_______________________________________________
Ocfs2-tools-devel mailing list
[email protected]
http://oss.oracle.com/mailman/listinfo/ocfs2-tools-devel