• Kent Overstreet's avatar
    bcachefs: iter->update_path · 1f2d9192
    Kent Overstreet authored
    With BTREE_ITER_FILTER_SNAPSHOTS, we have to distinguish between the
    path where the key was found, and the path for inserting into the
    current snapshot. This adds a new field to struct btree_iter for saving
    a path for the current snapshot, and plumbs it through
    bch2_trans_update().
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    1f2d9192
btree_iter.h 12.4 KB