public inbox for linux-bcachefs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Minimize the search range used
@ 2024-08-13  4:01 Alan Huang
  2024-08-13  4:01 ` [PATCH v2 1/2] bcachefs: Minimize the search range used to calculate the mantissa Alan Huang
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alan Huang @ 2024-08-13  4:01 UTC (permalink / raw)
  To: kent.overstreet; +Cc: linux-bcachefs, Alan Huang

Hi,

Changes in v2:
- In v1, bset_aux_tree_buf_end still includes the size of the prev array
  when calculating the buffer end, v2 removes it.

This series minimize the search range used to calculate the mantissa, so
that the mantissa can have more meaningful bits which reduces the slow
path comparison when search a key.

The prev array stuff becomes useless after minimizing the search range,
so this series also removes the prev array stuff.

Alan Huang (2):
  bcachefs: Minimize the search range used to calculate the mantissa
  bcachefs: Remove the prev array stuff

 fs/bcachefs/bset.c | 36 +++++-------------------------------
 1 file changed, 5 insertions(+), 31 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-13  6:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-13  4:01 [PATCH v2 0/2] Minimize the search range used Alan Huang
2024-08-13  4:01 ` [PATCH v2 1/2] bcachefs: Minimize the search range used to calculate the mantissa Alan Huang
2024-08-13  4:01 ` [PATCH v2 2/2] bcachefs: Remove the prev array stuff Alan Huang
2024-08-13  6:12 ` [PATCH v2 0/2] Minimize the search range used Kent Overstreet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox