Commit b38114dd authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: ratelimit errors from async_btree_node_rewrite

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 8d347a55
......@@ -2116,7 +2116,7 @@ static void async_btree_node_rewrite_work(struct work_struct *work)
ret = bch2_trans_do(c, NULL, NULL, 0,
async_btree_node_rewrite_trans(trans, a));
bch_err_fn(c, ret);
bch_err_fn_ratelimited(c, ret);
bch2_write_ref_put(c, BCH_WRITE_REF_node_rewrite);
kfree(a);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment