btrfs: reduce debug spam from submit_compressed_extents
authorChristoph Hellwig <hch@lst.de>
Wed, 28 Jun 2023 15:31:27 +0000 (17:31 +0200)
committerDavid Sterba <dsterba@suse.com>
Mon, 21 Aug 2023 12:52:14 +0000 (14:52 +0200)
commit84f262f00910996f6cfd27094b9bca9422c630d4
tree6f40da9759ef100ceb7aac1098987e86d3f9ecea
parent9783e4deed7291996459858a1a16f41a8988dd60
btrfs: reduce debug spam from submit_compressed_extents

Move the printk that is supposed to help to debug failures in
submit_one_async_extent into submit_one_async_extent and make it
coniditonal on actually having an error condition instead of spamming
the log unconditionally.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/inode.c