diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-03-04 22:29:25 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:09:12 -0400 |
commit | c075ff700ff397671636bf45f6ef6ef330258d3e (patch) | |
tree | e4cb5a8d4b280d361156b0b0d36c016e359df5eb /fs/bcachefs/extents.h | |
parent | 284ae18c1d7aa44232baedf860a004ceb32fea62 (diff) | |
download | lwn-c075ff700ff397671636bf45f6ef6ef330258d3e.tar.gz lwn-c075ff700ff397671636bf45f6ef6ef330258d3e.zip |
bcachefs: BTREE_ITER_FILTER_SNAPSHOTS
For snapshots, we need to implement btree lookups that return the first
key that's an ancestor of the snapshot ID the lookup is being done in -
and filter out keys in unrelated snapshots. This patch adds the btree
iterator flag BTREE_ITER_FILTER_SNAPSHOTS which does that filtering.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/extents.h')
0 files changed, 0 insertions, 0 deletions