bcachefs: kill BFLOAT_FAILED_PREV
authorKent Overstreet <kent.overstreet@gmail.com>
Wed, 6 Nov 2019 21:37:29 +0000 (16:37 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:31 +0000 (17:08 -0400)
commit1bdb67e8cb42c156954dfe2bfb1fa6ca5eee3633
treeb4cffa97c8506287f2d9950f64a7d4b1640a9442
parent70438dc3f0a2125ddaaa6ace99fc43d060b1c2e8
bcachefs: kill BFLOAT_FAILED_PREV

The assumption underlying BFLOAT_FAILED_PREV was wrong; the comparison
we're doing in bset_search_tree() doesn't have to tell the pivot apart
from the previous key, it just has to tell if search is definitely
greater than or equal to the pivot.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bset.c
fs/bcachefs/bset.h
fs/bcachefs/btree_cache.c