Skip to content

Pool for compression pages

David Sterba linux-btrfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2btrfs: use page alloc/free wrapeprs for compression pagesfs/btrfs/compression.c fs/btrfs/compression.h fs/btrfs/inode.c +3 more+30 -122 replies
2/2btrfs: use shrinker for compression page poolfs/btrfs/compression.c+102 -00 replies

Reviews trailers per patch

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

PatchJosef Bacik
SeriesR-b
1/2
2/2

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 0/2] Pool for compression pages

Add wrappers for alloc/free of pages used for compresion and keep a small cache (for all filesystems, ie. per module). This can speed up short compression IO when we don't need to go to the allocator. Shrinker is attached to free the pages if there's memory pressure.

David Sterba (2):
btrfs: use page alloc/free wrapeprs for compression pages
btrfs: use shrinker for compression page pool

 fs/btrfs/compression.c | 118 ++++++++++++++++++++++++++++++++++++++++-
 fs/btrfs/compression.h |   5 ++
 fs/btrfs/inode.c       |   4 +-
 fs/btrfs/lzo.c         |   4 +-
 fs/btrfs/zlib.c        |   6 +--
 fs/btrfs/zstd.c        |   7 ++-
 6 files changed, 132 insertions(+), 12 deletions(-)
Signature · 1 line
2.42.1