summaryrefslogtreecommitdiff
path: root/tools/accounting
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2022-02-07 07:15:12 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:23 +0300
commitf7b6ca23b6456b8b441b506ef977ff53972b35c2 (patch)
tree89612a8307e8f5d5728af221c26f7d79511341f8 /tools/accounting
parent45e4cd9e3a088d476929c5ee245e83baeee6cdd5 (diff)
downloadlinux-f7b6ca23b6456b8b441b506ef977ff53972b35c2.tar.xz
bcachefs: BTREE_ITER_WITH_KEY_CACHE
This is the start of cache coherency with the btree key cache - this adds a btree iterator flag that causes lookups to also check the key cache when we're iterating over the btree (not iterating over the key cache). Note that we could still race with another thread creating at item in the key cache and updating it, since we aren't holding the key cache locked if it wasn't found. The next patch for the update path will address this by causing the transaction to restart if the key cache is found to be dirty. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/accounting')
0 files changed, 0 insertions, 0 deletions