Btrfs: print bytenr instead of page pointer in check-int
authorStefan Behrens <sbehrens@giantdisaster.de>
Wed, 13 Nov 2013 16:19:08 +0000 (17:19 +0100)
committerChris Mason <chris.mason@fusionio.com>
Thu, 21 Nov 2013 01:44:46 +0000 (20:44 -0500)
commit56d140f5f61d3547dcc194de9cd5193b957b8016
tree191115bf14b8f9635c059d625e62caaa9d1a016c
parent9650e05c071fc92e704d4359d59e3ac3ecae2875
Btrfs: print bytenr instead of page pointer in check-int

The page pointer information was useless. The bytenr is what you
want when you search for submitted write bios.

Additionally, a new bit in the print mask is added that allows
to selectively enable the check-int submit_bio verbose mode. Before,
the global verbose mode had to be enabled leading to many million
useless lines in the kernel log.

And a comment is added that explains that LOG_BUF_SHIFT needs to
be set to a really high value.

Signed-off-by: Stefan Behrens <sbehrens@giantdisaster.de>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/check-integrity.c