diff options
| author | Kent Overstreet <[email protected]> | 2022-10-01 22:15:30 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:09:43 -0400 |
| commit | a8eefbd324cd40fab57ab8eef88347d4f745db93 (patch) | |
| tree | e1a5624e05587daf4d15b3d04cdaedcfb8b6a8a7 /tools/perf/scripts | |
| parent | 8cbb0002509a605972781c0e747ae68112f94f54 (diff) | |
bcachefs: Add error path to btree_split()
The next patch in the series is (finally!) going to change btree splits
(and interior updates in general) to not take intent locks all the way
up to the root - instead only locking the nodes they'll need to modify.
However, this will be introducing a race since if we're not holding a
write lock on a btree node it can be written out by another thread, and
then we might not have enough space for a new bset entry.
We can handle this by retrying - we just need to introduce a new error
path.
Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions