mirror of
https://github.com/versity/scoutfs.git
synced 2026-09-01 13:47:11 +00:00
We haven't yet had a pressing need for a search for the previous item before a given key value. File extent items offer the first strong candidate. We'd like to naturally store the start of the extent in the key so to find an extent that overlaps a block we'd like to find the previous key before the search block offset. The _prev search is easy enough to implement. We have to update tree walking to update the prev key and update leaf block processing to find the correct item position after the binary search. Signed-off-by: Zach Brown <zab@versity.com>