diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2019-11-06 16:37:29 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:08:31 -0400 |
commit | 1bdb67e8cb42c156954dfe2bfb1fa6ca5eee3633 (patch) | |
tree | b4cffa97c8506287f2d9950f64a7d4b1640a9442 /fs/bcachefs/bset.h | |
parent | 70438dc3f0a2125ddaaa6ace99fc43d060b1c2e8 (diff) |
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>
Diffstat (limited to 'fs/bcachefs/bset.h')
-rw-r--r-- | fs/bcachefs/bset.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/bset.h b/fs/bcachefs/bset.h index 209d2ed5db3a..0e4f27dbb8ef 100644 --- a/fs/bcachefs/bset.h +++ b/fs/bcachefs/bset.h @@ -598,7 +598,6 @@ struct bset_stats { size_t floats; size_t failed_unpacked; - size_t failed_prev; size_t failed_overflow; }; |