alistair23-linux/fs/btrfs/tests
Omar Sandoval 781e3bcf0e Btrfs: expand free space tree sanity tests to catch endianness bug
The free space tree format conversion functions were broken on
big-endian systems, but the sanity tests didn't catch it because all of
the operations were aligned to multiple words. This was meant to catch
any bugs in the extent buffer code's handling of high memory, but it
ended up hiding the endianness bug. Expand the tests to do both
sector-aligned and page-aligned operations.

Tested-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
2016-10-03 18:52:14 +02:00
..
btrfs-tests.c btrfs: tests, require fs_info for root 2016-07-26 13:53:18 +02:00
btrfs-tests.h btrfs: tests, require fs_info for root 2016-07-26 13:53:18 +02:00
extent-buffer-tests.c btrfs: tests, require fs_info for root 2016-07-26 13:53:18 +02:00
extent-io-tests.c Btrfs: fix extent buffer bitmap tests on big-endian systems 2016-10-03 18:52:14 +02:00
free-space-tests.c btrfs: tests, require fs_info for root 2016-07-26 13:53:18 +02:00
free-space-tree-tests.c Btrfs: expand free space tree sanity tests to catch endianness bug 2016-10-03 18:52:14 +02:00
inode-tests.c btrfs: tests, require fs_info for root 2016-07-26 13:53:18 +02:00
qgroup-tests.c btrfs: tests, require fs_info for root 2016-07-26 13:53:18 +02:00