提交 4884b476 编写于 作者: D David Sterba 提交者: Josef Bacik

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: NDavid Sterba <dsterba@suse.cz>
Signed-off-by: NJosef Bacik <jbacik@fusionio.com>
上级 5e2a4b25
......@@ -3239,9 +3239,9 @@ int btrfs_orphan_cleanup(struct btrfs_root *root)
}
if (nr_unlink)
btrfs_info(root->fs_info, "unlinked %d orphans", nr_unlink);
btrfs_debug(root->fs_info, "unlinked %d orphans", nr_unlink);
if (nr_truncate)
btrfs_info(root->fs_info, "truncated %d orphans", nr_truncate);
btrfs_debug(root->fs_info, "truncated %d orphans", nr_truncate);
out:
if (ret)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册