[Ocfs2-tools-devel] [PATCH 1/1] Ocfs2-tools: Add new corruptions of inline-data for fswreck.v2

Tao Ma tao.ma at oracle.com
Tue Sep 9 00:18:03 PDT 2008



Tristan Ye wrote:
> Add two corruptions of inline-data for fswreck,their corruptions were 44 and 45,
> 
> The former one attempts to mess up the inline-data flag for regular file and directory,
> that means create a inode with inline-data flag set on a noinline-data supported volume.
> 
> The latter one will try to mess up the id_count,i_size and i_clusters for regular file and directory.
> that means it will mess up the flags in a inlined inode like this:
> 
>         id_count = 0;
>         i_size = max_inline_sz + 1;
>         i_clusters = 1;
> 
>>From v1 to v2,did following modification,
> 
> Output readable info for users.
> check volume flag before corruption.
> 
> Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
Signed-off-by: Tao Ma <tao.ma at oracle.com>



More information about the Ocfs2-tools-devel mailing list