btrfs: enhance extent_io_tree error reports
authorDavid Sterba <dsterba@suse.com>
Tue, 21 Nov 2023 13:20:21 +0000 (14:20 +0100)
committerDavid Sterba <dsterba@suse.com>
Fri, 15 Dec 2023 19:27:02 +0000 (20:27 +0100)
commit70146f2b093844c656774bfc9a98b79e2177893a
tree6adbb0a82c55a6b3f96be4329059e531c59fecfd
parent3a97347ea694b6c091513135095128f099b73143
btrfs: enhance extent_io_tree error reports

Pass the type of the extent io tree operation which failed in the report
helper. The message wording and contents is updated, though locking
might be the cause of the error it's probably not the only one and we're
interested in the state.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-io-tree.c