Skip to content

btrfs: some optimizations for send

[email protected] 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: send: don't issue unnecessary zero writes for trailing holefs/btrfs/send.c+13 -40 replies
2/2btrfs: send: avoid duplicated search for last extent when sending holefs/btrfs/send.c+12 -150 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.

PatchSweet Tea DorminyDavid SterbaJosef Bacik
SeriesR-b R-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/2] btrfs: some optimizations for send

From: Filipe Manana <[email protected]>

The following are two optimizations for send, one to avoid sending unnecessary holes (writes full of zeros), which can waste a lot of space at the receiver and increase stream size for cases where sparse files are used, such as images of thin provisioned filesystems for example as recently reported by a user. The second is just a small optimization to avoid repeating a btree search. More details in the respective change logs.

Filipe Manana (2):
btrfs: send: don't issue unnecessary zero writes for trailing hole
btrfs: send: avoid duplicated search for last extent when sending hole

 fs/btrfs/send.c | 44 +++++++++++++++++++++++++-------------------
 1 file changed, 25 insertions(+), 19 deletions(-)
Signature · 1 line
2.40.1