diff options
| author | Kent Overstreet | 2021-07-30 18:01:33 -0400 |
|---|---|---|
| committer | Kent Overstreet | 2023-10-22 17:09:10 -0400 |
| commit | e3637266024de9bafa64f315d7d03cf0291ace6a (patch) | |
| tree | 6575c12eef8b4029f412058c9ee8efb784cfca7b /tools/perf/scripts/python/task-analyzer.py | |
| parent | 0f120eac34f31e7e6c4904d9e92e2e95e2edfbaa (diff) | |
bcachefs: Ensure that new inodes hit underlying btree
Inode creation is done with non-cached btree iterators, but then in the
same transaction the inode may be updated again with a cached iterator -
it makes cache coherency easier if new inodes always land in the
underlying btree.
This patch adds a check to bch2_trans_update() - if the same key is
updated multiple times in the same transaction with both cached and non
cache iterators, use the non cached iterator.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
