]> git.openfabrics.org - ~emulex/infiniband.git/commit
btrfs: clean up transaction abort messages
authorDavid Sterba <dsterba@suse.cz>
Tue, 12 Mar 2013 14:46:08 +0000 (14:46 +0000)
committerJosef Bacik <jbacik@fusionio.com>
Mon, 6 May 2013 19:52:56 +0000 (15:52 -0400)
commit087488109afb4cc1bbdd3557779129c34045609a
tree7e5ef3a85226ac66261cbe2642c71151bb8f61b3
parentbbece8a3f00a02bbfc63531651fd70ef56c5e916
btrfs: clean up transaction abort messages

The transaction abort stacktrace is printed only once per module
lifetime, but we'd like to see it each time it happens per mounted
filesystem.  Introduce a fs_state flag that records it.

Tweak the messages around abort:
* add error number to the first abort
* print the exact negative errno from btrfs_decode_error
* clean up btrfs_decode_error and callers
* no dots at the end of the messages

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
fs/btrfs/ctree.h
fs/btrfs/super.c
fs/btrfs/transaction.c