btrfs: fix and simplify heuristic_collect_sample()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | btrfs: fix off-by-one end related to inode_need_compress()fs/ fs/ | +11 | 0 replies | |
| 2/2 | btrfs: simplify heuristic_collect_sample() to handle large folios betterfs/ | +16 | 0 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.
| Patch | Boris Burkov |
|---|---|
| Series | R-b |
| 1/2 | |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] btrfs: fix and simplify heuristic_collect_sample()
The first one fixes an off-by-one problem related to inode_need_compress() and heuristic_collect_sample(). Thankfully that off-by-one is not causing any real problems.
The second one enhances heuristic_collect_sample() to handle large folios in a more efficient way, inspired by the recent cleanup from Tal.
Qu Wenruo (2):
btrfs: fix off-by-one end related to inode_need_compress()
btrfs: simplify heuristic_collect_sample() to handle large folios
better
fs/btrfs/compression.c | 51 +++++++++++++++++------------------------- fs/btrfs/inode.c | 5 ++++- 2 files changed, 25 insertions(+), 31 deletions(-)
Signature · 1 line
2.55.0