Skip to content

Short cleanups

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12btrfs: remove duplicate calculation of eb offset in btrfs_bin_search()fs/btrfs/ctree.c+0 -11 reply
2/12btrfs: unify types for binary search variablesfs/btrfs/ctree.c+1 -12 replies
3/12btrfs: rename local variable for offset in foliofs/btrfs/ctree.c+4 -41 reply
4/12btrfs: read eb folio index right before loopsfs/btrfs/extent_io.c+10 -92 replies
5/12btrfs: use common eb range validation in read_extent_buffer_to_user_nofault()fs/btrfs/extent_io.c+2 -21 reply
6/12btrfs: lzo: inline read/write length helpersfs/btrfs/lzo.c+6 -220 replies
7/12btrfs: zlib: drop redundant folio address variablefs/btrfs/zlib.c+3 -70 replies
8/12btrfs: zlib: don't cache sectorsize in a local variablefs/btrfs/zlib.c+3 -50 replies
9/12btrfs: zlib: remove local variable nr_dest_folios in zlib_compress_folios()fs/btrfs/zlib.c+3 -42 replies
10/12btrfs: zstd: reuse total in and out parameters for calculationsfs/btrfs/zstd.c+11 -151 reply
11/12btrfs: zstd: don't cache sectorsize in a local variablefs/btrfs/zstd.c+4 -81 reply
12/12btrfs: zstd: remove local variable nr_dest_folios in zstd_compress_folios()fs/btrfs/zstd.c+3 -41 reply

Reviews trailers per patch

6 of 12 patches have a Reviewed-by or Acked-by.

PatchBoris Burkov
1/12R-b
2/12
3/12R-b
4/12R-b
5/12R-b
6/12
7/12
8/12
9/12
10/12R-b
11/12R-b
12/12

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/12] Short cleanups

Collection of short clenups that improve code that's somehow performance sensitive. The improvements are on instruction level or reduce stack consumption.

David Sterba (12):
btrfs: remove duplicate calculation of eb offset in btrfs_bin_search()
btrfs: unify types for binary search variables
btrfs: rename local variable for offset in folio
btrfs: read eb folio index right before loops
btrfs: use common eb range validation in
read_extent_buffer_to_user_nofault()
btrfs: lzo: inline read/write length helpers
btrfs: zlib: drop redundant folio address variable
btrfs: zlib: don't cache sectorsize in a local variable
btrfs: zlib: remove local variable nr_dest_folios in
zlib_compress_folios()
btrfs: zstd: reuse total in and out parameters for calculations
btrfs: zstd: don't cache sectorsize in a local variable
btrfs: zstd: remove local variable nr_dest_folios in
zstd_compress_folios()

 fs/btrfs/ctree.c     | 11 +++++------
 fs/btrfs/extent_io.c | 23 ++++++++++++-----------
 fs/btrfs/lzo.c       | 28 ++++++----------------------
 fs/btrfs/zlib.c      | 25 +++++++++----------------
 fs/btrfs/zstd.c      | 43 +++++++++++++++++--------------------------
 5 files changed, 49 insertions(+), 81 deletions(-)
Signature · 1 line
2.51.1