linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] send: Avoid sending disknr==0 and PREALLOC extents when possible
@ 2013-01-09 17:37 Alex Lyakas
  2013-01-09 17:39 ` [PATCH 1/2] Avoid sending disknr==0 " Alex Lyakas
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Alex Lyakas @ 2013-01-09 17:37 UTC (permalink / raw)
  To: Alexander Block, Jan Schmidt, linux-btrfs; +Cc: Arne Jansen, Chen Yang

These two patches address the issue of sending unneeded zero data for
disknr==0 and PREALLOC extents.
There is room for additional improvement for PREALLOC extents, but it
requires adding a new command, so for
now this is not addressed.

Please review and comment.

Thanks,
Alex.

Alex Lyakas (2):
  Avoid sending disknr==0 extents in the following cases:     1) full
    send 2) new inode in a diff-send 3) when disknr==0 extents are
    added to the end of an inode
  On a diff-send, avoid sending PREALLOC extents, if the parent root
    has only     PREALLOC extents on an appropriate file range.

 fs/btrfs/send.c |  178 +++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 172 insertions(+), 6 deletions(-)

--
1.7.9.5

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-01-21 10:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-09 17:37 [PATCH 0/2] send: Avoid sending disknr==0 and PREALLOC extents when possible Alex Lyakas
2013-01-09 17:39 ` [PATCH 1/2] Avoid sending disknr==0 " Alex Lyakas
2013-01-09 17:41 ` [PATCH 2/2] On a diff-send, avoid sending PREALLOC extent Alex Lyakas
2013-01-14 18:45   ` Josef Bacik
2013-01-21 10:33     ` Alex Lyakas
2013-01-10  3:25 ` [PATCH 0/2] send: Avoid sending disknr==0 and PREALLOC extents when possible Chen Yang
2013-01-10  8:46   ` Alex Lyakas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).