mirror of
https://github.com/torvalds/linux.git
synced 2026-08-01 03:59:40 +02: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:
parent
9e92d6e9ef
commit
cec51e0a5d
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user