On Mon, Jun 20, 2016 at 09:18:52AM +0800, Wang Xiaoguang wrote:
> @@ -2665,7 +2665,10 @@ static noinline int __btrfs_run_delayed_refs(struct 
> btrfs_trans_handle *trans,
>  
>               btrfs_free_delayed_extent_op(extent_op);
>               if (ret) {
> +                     spin_lock(&delayed_refs->lock);
>                       locked_ref->processing = 0;
> +                     delayed_refs->num_heads_ready++;
> +                     spin_unlock(&delayed_refs->lock);
>                       btrfs_delayed_ref_unlock(locked_ref);
>                       btrfs_put_delayed_ref(ref);
>                       btrfs_debug(fs_info, "run_one_delayed_ref returned %d", 
> ret);

I don't feel qualified to review this and add it to the 4.8 first pull.
The patch will be in for-next though.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to