Btrfs: add extent buffer bitmap sanity tests
authorOmar Sandoval <osandov@fb.com>
Wed, 30 Sep 2015 03:50:31 +0000 (20:50 -0700)
committerChris Mason <clm@fb.com>
Thu, 17 Dec 2015 20:16:46 +0000 (12:16 -0800)
commit0f3312295d3ce1d82392244236a52b3b663480ef
tree1e75388907006f7c2c64e539ef6e3e5c5cd6453a
parent3e1e8bb770dba29645b302c5499ffcb8e3906712
Btrfs: add extent buffer bitmap sanity tests

Sanity test the extent buffer bitmap operations (test, set, and clear)
against the equivalent standard kernel operations.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Chris Mason <clm@fb.com>
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/tests/extent-io-tests.c