summaryrefslogtreecommitdiff
path: root/fs/bcachefs/super.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-11-22 20:15:33 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2022-12-20 20:01:27 -0500
commit113119721d67febf0d7e54bc4fbc8d980d6d0a71 (patch)
tree56cd2fc36271c5e1a1b9135c2f1e113521715452 /fs/bcachefs/super.c
parent3dd0197b94d6752eb830448cf8bb485962324161 (diff)
bcachefs: Key cache now works for snapshots btrees
This switches btree_key_cache_fill() to use a btree iterator, not a btree path, so that it can search for keys in previous snapshots. We also add another iterator flag, BTREE_ITER_KEY_CACHE_FILL, to avoid recursion back into the key cache. This will allow us to re-enable the key cache for inodes in the next patch. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/super.c')
0 files changed, 0 insertions, 0 deletions