Re: [PATCH v2] xfstest: test corruption with multi extent in PAGE.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/13/12 05:15, Alain Renaud wrote:
Since I got no feedback on the updated version let me send it again.

xfstest: test corruption with multi extent in PAGE.

Test using extsize/resvspace to create a file with multiple extent in
one PAGE.
This show an error in the block conversion from unwritten to real.
As a result we tag raw disk block as valid(3-4)
and valid data as unwritten(5-6)

On an x86_64 machine the page should look like this.

buffer content
0 empty b_state = 0
1 DATA b_state = 0x1023
2 DATA b_state = 0x1023
3 empty b_state = 0
4 empty b_state = 0
5 DATA b_state = 0x1023
6 DATA b_state = 0x1023
7 empty b_state = 0

Signed-off-by: Alain Renaud <arenaud@xxxxxxx>

Tested with and without commit 7d0fa3ecba2f12ceef93fffe615e5dd9b50bb794
Looks good.

Reviewed-by: Mark Tinguely <tinguely@xxxxxxx>

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux