diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-17 21:55:13 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-18 00:24:24 -0400 |
commit | b38114dde04e6c73e0de504dee602115c8a5c947 (patch) | |
tree | ad2df3bd88b1960346b67f6fa54e89450e11d6b1 /fs/bcachefs/btree_update_interior.c | |
parent | 8d347a55459f89c8c9685288bc2e5d82c3bdd0f0 (diff) | |
download | linux-stable-b38114dde04e6c73e0de504dee602115c8a5c947.tar.gz linux-stable-b38114dde04e6c73e0de504dee602115c8a5c947.tar.bz2 linux-stable-b38114dde04e6c73e0de504dee602115c8a5c947.zip |
bcachefs: ratelimit errors from async_btree_node_rewrite
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_update_interior.c')
-rw-r--r-- | fs/bcachefs/btree_update_interior.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/btree_update_interior.c b/fs/bcachefs/btree_update_interior.c index f44776b8006d..eb233e901d3e 100644 --- a/fs/bcachefs/btree_update_interior.c +++ b/fs/bcachefs/btree_update_interior.c @@ -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); } |