bcachefs: add missing BTREE_ITER_intent
PATCH 1/1 bcachefs: add missing BTREE_ITER_intent
this fixes excessive transaction restarts due to trans_commit having to upgrade
Signed-off-by Kent Overstreet <[email protected]>
--- fs/bcachefs/io_write.c | 1 + 1 file changed, 1 insertion(+)
fs/bcachefs/io_write.c +1 -0
@@ -216,6 +216,7 @@ static inline int bch2_extent_update_i_size_sectors(struct btree_trans *trans,SPOS (0 , extent_iter->pos.inode, extent_iter->snapshot), + BTREE_ITER_intent| BTREE_ITER_cached);int ret =bkey_err (k);if (unlikely (ret))
Signature · 1 line
2.45.2