Skip to content

Compression level API cleanups

David Sterba linux-btrfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

* switch to unsigned int and use min()

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: define compression levels staticallyfs/btrfs/compression.h fs/btrfs/lzo.c fs/btrfs/zlib.c +1 more+10 -01 reply
2/2btrfs: compression: replace set_level callbacks by a common helperfs/btrfs/compression.c fs/btrfs/compression.h fs/btrfs/lzo.c +2 more+20 -332 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNikolay BorisovAnand Jain
SeriesR-b
1/2R-b
2/2

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

Read the v2 thread

Cover letter [PATCH v2 0/2] Compression level API cleanups

Remove the callback indirection.

v2:
* switch to unsigned int and use min()

David Sterba (2):
btrfs: define compression levels statically
btrfs: compression: replace set_level callbacks by a common helper

 fs/btrfs/compression.c | 20 ++++++++++++++++++--
 fs/btrfs/compression.h | 11 +++++------
 fs/btrfs/lzo.c         |  8 ++------
 fs/btrfs/zlib.c        | 11 ++---------
 fs/btrfs/zstd.c        | 11 ++---------
 5 files changed, 29 insertions(+), 32 deletions(-)
Signature · 1 line
2.22.0