]> www.infradead.org Git - users/hch/dma-mapping.git/commitdiff
btrfs: change RST lookup error message level to debug
authorJohannes Thumshirn <johannes.thumshirn@wdc.com>
Wed, 31 Jul 2024 20:43:07 +0000 (22:43 +0200)
committerDavid Sterba <dsterba@suse.com>
Tue, 10 Sep 2024 14:51:17 +0000 (16:51 +0200)
Now that RAID stripe-tree lookup failures are not treated as a fatal issue
any more, change the RAID stripe-tree lookup error message to debug level.

Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/raid-stripe-tree.c

index 28a545367be76a3c65dca25ea73ed642ac4ba933..4c859b550f6c33092a832d82812bfe99deeecd82 100644 (file)
@@ -284,7 +284,7 @@ out:
        if (ret > 0)
                ret = -ENOENT;
        if (ret && ret != -EIO && !stripe->rst_search_commit_root) {
-               btrfs_err(fs_info,
+               btrfs_debug(fs_info,
                "cannot find raid-stripe for logical [%llu, %llu] devid %llu, profile %s",
                          logical, logical + *length, stripe->dev->devid,
                          btrfs_bg_type_to_raid_name(map_type));