tag-returning: Adopted tag-returnn in mdir lookups

- lfs3_mdir_lookupnext
- lfs3_mdir_lookup

Like btree lookups, mdir lookups are also tag-inspection heavy, so we
see some nice savings:

           code          stack          ctx
  before: 36520           2352          656
  after:  36348 (-0.5%)   2336 (-0.7%)  656 (+0.0%)

lfs3_mdir_lookup also highlights how tag-returns help reduce API noise
around the tag mask bits. lfs3_mdir_lookup's tag out-pointer doesn't
really make sense with the default non-masked tags, and moving it to the
return position hides it aways a bit.
This commit is contained in:
Christopher Haster
2025-07-17 15:44:47 -05:00
parent 100fb66d37
commit bfab282b9e
2 changed files with 551 additions and 368 deletions
+402 -206
View File
File diff suppressed because it is too large Load Diff