diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-22 20:15:33 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:47 -0400 |
commit | 1617d56dc9bc3d9fd56824e8e488e88acbba152f (patch) | |
tree | 842d081d2ef876baca5cde97d7f12bd8ea77cc99 /crypto/cipher.c | |
parent | 087e53c255b6fe8ec6b573acbdf12a555aae493b (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 'crypto/cipher.c')
0 files changed, 0 insertions, 0 deletions