Speed up test_range_bit()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: add specific helper for range bit test existsfs/ fs/ fs/ +2 more | +40 | 0 replies | |
| 2/2 | btrfs: change test_range_bit to scan the whole rangefs/ fs/ fs/ +2 more | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Speed up test_range_bit()
Split test_range_bit() to two helpers according to what callers need, slightly improving the loops by avoiding conditionals.
David Sterba (2):
btrfs: add specific helper for range bit test exists
btrfs: change test_range_bit to scan the whole range
fs/btrfs/defrag.c | 4 +-- fs/btrfs/extent-io-tree.c | 65 +++++++++++++++++++++++++++++---------- fs/btrfs/extent-io-tree.h | 5 +-- fs/btrfs/extent_io.c | 10 +++--- fs/btrfs/inode.c | 8 ++--- fs/btrfs/relocation.c | 2 +- 6 files changed, 62 insertions(+), 32 deletions(-)
Signature · 1 line
2.41.0