diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-03-29 01:13:31 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:58 -0400 |
commit | b182ff609f2519998a6b4ad853a2fc1d3f0f0af5 (patch) | |
tree | 72601f512236bfd6111e353f552c8d185fee1964 /fs/fcntl.c | |
parent | ecab6be7e5c3e19d25a4ad9d5d97c83e3ac67507 (diff) |
bcachefs: Move btree node merging to before transaction commit
Currently, BTREE_INSERT_NOUNLOCK makes it hard to ensure btree node
merging happens reliably - since btree node merging happens after
transaction commit, we can't drop btree locks and block when starting
the btree update.
This patch moves it to before transaction commit - and failure to do a
merge that we wanted to do just restarts the transaction.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/fcntl.c')
0 files changed, 0 insertions, 0 deletions