summaryrefslogtreecommitdiff
path: root/lib/maple_tree.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-04-11 01:01:11 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2024-04-11 23:45:12 -0400
commit2b3e79fea66e166622a454715ce981432ac8c6e3 (patch)
tree73873139f45518de303a5928b47aee5e46ab7284 /lib/maple_tree.c
parent1189bdda6c991cbf9342d84410042dd5f3a792e0 (diff)
bcachefs: Don't use bch2_btree_node_lock_write_nofail() in btree split path
It turns out - btree splits happen with the rest of the transaction still locked, to avoid unnecessary restarts, which means using nofail doesn't work here - we can deadlock. Fortunately, we now have the ability to return errors here. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'lib/maple_tree.c')
0 files changed, 0 insertions, 0 deletions