[Ocfs2-tools-devel] Patch for debugfs.ocfs2 ``icheck'' command

GONG Jie jie.gong at oracle.com
Tue Nov 14 23:08:47 PST 2006


Hi,

Enclosed please find the new patch.

On Friday 03 November 2006 09:06, Sunil Mushran wrote:
> 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.

-- 
Regards,

GONG Jie (¹¨ò¡)
Linux Engineering, Emerging Technology & Solution Development
Oracle Software Research and Development Center
Tel:    +86-10-82786289
Mobile: +86-13011102030
Email:  jie.gong at oracle.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: debugfs.ocfs2-icheck-05.patch
Type: text/x-diff
Size: 11154 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/ocfs2-tools-devel/attachments/20061115/8de37dbe/debugfs.ocfs2-icheck-05.bin


More information about the Ocfs2-tools-devel mailing list