On Thu, Apr 25, 2013 at 06:04:52PM +0200, Jan Schmidt wrote:
> @@ -1520,6 +1524,13 @@ int btrfs_run_qgroups(struct btrfs_trans_handle *trans,
>       if (ret)
>               fs_info->qgroup_flags |= BTRFS_QGROUP_STATUS_FLAG_INCONSISTENT;
>  
> +     if (!ret && start_rescan_worker) {
> +             ret = btrfs_qgroup_rescan(fs_info);
> +             if (ret)
> +                     pr_err("btrfs: start rescan quota failed: %d\n", ret);

This will print the error even in the -EINPROGRESS case, that's not IMO
an error or worth reporting iff rescan is in progress.

It's probably a rare event, but even then, an ERROR syslog message
causes only false alerts.

> +             ret = 0;
> +     }
> +
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to