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>