Commit e88a75eb authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: New bpos_cmp(), bkey_cmp() replacements



This patch introduces
 - bpos_eq()
 - bpos_lt()
 - bpos_le()
 - bpos_gt()
 - bpos_ge()

and equivalent replacements for bkey_cmp().

Looking at the generated assembly these could probably be improved
further, but we already see a significant code size improvement with
this patch.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent e1538212
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment