Re: [PATCH 5/5] Btrfs: self-test: fix extent buffer bitmap test fail on BE system

2016-05-27 Thread David Sterba
On Fri, May 27, 2016 at 03:00:38PM +0800, Feifei Xu wrote: > In __test_eb_bitmaps(), we write random data to a bitmap. Then copy > the bitmap to another bitmap that resides inside an extent buffer. > Later we verify the values of corresponding bits in the bitmap and the > bitmap inside the extent

[PATCH 5/5] Btrfs: self-test: fix extent buffer bitmap test fail on BE system

2016-05-27 Thread Feifei Xu
In __test_eb_bitmaps(), we write random data to a bitmap. Then copy the bitmap to another bitmap that resides inside an extent buffer. Later we verify the values of corresponding bits in the bitmap and the bitmap inside the extent buffer. However, extent_buffer_test_bit() reads in byte granularity