diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-11 01:01:11 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-11 23:45:12 -0400 |
commit | 2b3e79fea66e166622a454715ce981432ac8c6e3 (patch) | |
tree | 73873139f45518de303a5928b47aee5e46ab7284 /fs/bcachefs/fs-ioctl.h | |
parent | 1189bdda6c991cbf9342d84410042dd5f3a792e0 (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 'fs/bcachefs/fs-ioctl.h')
0 files changed, 0 insertions, 0 deletions