diff options
author | Johannes Thumshirn <johannes.thumshirn@wdc.com> | 2025-07-08 08:55:03 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2025-07-22 00:09:22 +0200 |
commit | 5ae011bcbb5ac088e5fa41fcaf3896fc866c0b9a (patch) | |
tree | 6f3de81d90cc1193d52884bafba91468ef23bf78 /lib/xarray.c | |
parent | a507904090d05904dda4fbcd3413e63c29d24057 (diff) |
btrfs: don't print relocation messages from auto reclaim
When BTRFS is doing automatic block-group reclaim, it is spamming the
kernel log messages a lot.
Add a 'verbose' parameter to btrfs_relocate_chunk() and
btrfs_relocate_block_group() to control the verbosity of these log
message. This way the old behaviour of printing log messages on a
user-space initiated balance operation can be kept while excessive log
spamming due to auto reclaim is mitigated.
Reviewed-by: Boris Burkov <boris@bur.io>
Signed-off-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions