mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-13 09:40:36 -04:00
bcachefs: add missing BTREE_ITER_intent
this fixes excessive transaction restarts due to trans_commit having to upgrade Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user