mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
bcachefs: Convert erasure coding to for_each_btree_key_commit()
The new for_each_btree_key2() macro handles transaction retries, allowing us to avoid nested transactions - which we want to avoid since they're tricky to do completely correctly and upcoming assertions are going to be checking for that. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
parent
e941ae7d3a
commit
0a5156334c
1 changed files with 47 additions and 65 deletions
120
fs/bcachefs/ec.c
120
fs/bcachefs/ec.c
Loading…
Add table
Add a link
Reference in a new issue