btrfs: make orphan cleanup less verbose
PATCH 1/1 btrfs: make orphan cleanup less verbose
The messages
btrfs: unlinked 123 orphans
btrfs: truncated 456 orphans
are not useful to regular users and raise questions whether there are problems with the filesystem.
Signed-off-by David Sterba <[email protected]>
--- fs/btrfs/inode.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
fs/btrfs/inode.c +2 -2
@@ -3221,9 +3221,9 @@ int btrfs_orphan_cleanup(struct btrfs_root *root) }if (nr_unlink) -printk (KERN_INFO "btrfs: unlinked %d orphans\n" , nr_unlink); +printk (KERN_DEBUG "btrfs: unlinked %d orphans\n" , nr_unlink);if (nr_truncate) -printk (KERN_INFO "btrfs: truncated %d orphans\n" , nr_truncate); +printk (KERN_DEBUG "btrfs: truncated %d orphans\n" , nr_truncate); out:if (ret)
Signature · 1 line
1.7.9