]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
btrfs: Always output error message when key/level verification fails
authorQu Wenruo <wqu@suse.com>
Wed, 20 Mar 2019 06:27:39 +0000 (14:27 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:23 +0000 (19:02 +0200)
commit63489055e4c0dd4d2a04064138906630995456dc
tree8932cbf5f45aa4ba84a11180700943d8e9125316
parent448de471cd4cab0cedd15770082567a69a784a11
btrfs: Always output error message when key/level verification fails

We have internal report of strange transaction abort due to EUCLEAN
without any error message.

Since error message inside verify_level_key() is only enabled for
CONFIG_BTRFS_DEBUG, the error message won't be printed on most builds.

This patch will make the error message mandatory, so when problem
happens we know what's causing the problem.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c