Skip to content

Compress path cleanups

Nikolay Borisov linux-btrfs 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 12 repliesIn review
  2. v36 patches 8 repliesSuperseded
  3. v26 patches 9 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v1 posting 2/24 patches2 repliesSuperseded
v1 posting 1/24 patches1 replySuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7btrfs: Preallocate chunks in cow_file_range_asyncfs/btrfs/inode.c+71 -347 replies
2/7btrfs: Rename async_cow to async_chunkfs/btrfs/inode.c+30 -301 reply
3/7btrfs: Remove fs_info from struct async_chunkfs/btrfs/inode.c+3 -70 replies
4/7btrfs: Make compress_file_range take only struct async_chunkfs/btrfs/inode.c+9 -110 replies
5/7btrfs: Replace clear_extent_bit with unlock_extentfs/btrfs/inode.c+1 -21 reply
6/7btrfs: Set iotree only once in submit_compressed_extentsfs/btrfs/inode.c+1 -41 reply
7/7btrfs: Factor out common extent locking code in submit_compressed_extentsfs/btrfs/inode.c+3 -71 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchJohannes Thumshirn
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7R-b
7/7R-b

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

Read the v4 thread

Cover letter [PATCH v4 0/7] Compress path cleanups

Here is the v4 of the compress path cleanups, this version incorporates feeback from v3, namely:

* Use struct_size when calculating the size of the struct to allocated in cow_file_range_async

* Reinstated the comment about ihold in cow_file_range_async

* Renamed "struct async_chunk *" variables from async_cow to async_chunk

* Gave patch 1 a more explicit title.

* added RB tags from Johanness to patch 3 and 4

Nikolay Borisov (7):
btrfs: Preallocate chunks in cow_file_range_async
btrfs: Rename async_cow to async_chunk
btrfs: Remove fs_info from struct async_chunk
btrfs: Make compress_file_range take only struct async_chunk
btrfs: Replace clear_extent_bit with unlock_extent
btrfs: Set iotree only once in submit_compressed_extents
btrfs: Factor out common extent locking code in
submit_compressed_extents

 fs/btrfs/inode.c | 177 ++++++++++++++++++++++++++---------------------
 1 file changed, 100 insertions(+), 77 deletions(-)
Signature · 1 line
2.17.1