All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Behrens <sbehrens@giantdisaster.de>
To: linux-btrfs@vger.kernel.org
Subject: [PATCH 00/17] Btrfs-progs: some receive related patches
Date: Tue,  9 Apr 2013 19:08:28 +0200	[thread overview]
Message-ID: <cover.1365524492.git.sbehrens@giantdisaster.de> (raw)

Most fixes are trivial.

The one from Alex is fixing a real bug that several users have reported.
Alex sent the patch half a year ago and it was not yet integrated.

The patch "Use /proc/mounts instead of /etc/mtab" is a repost.

The patch "btrfs-receive optionally honors the end-cmd" is a preparation
step to allow backup tools to multiplex a single communication stream
(e.g. a single TCP stream) to carry multiple Btrfs send/receive streams
and a request/response handshake. It basically corrects the handling
of the "end-cmd" in the send/receive stream. Without, only the closing
of the stream (EOF) was terminating the receiver. The change is
fully compatible as it is explained in more detail in the commit itself.
Unfortunately the change to the sender is only compatible together
with a kernel change, it is therefore not part of this patch set.

Everything is also on
git://btrfs.giantdisaster.de/git/btrfs-progs recv1


Alex Lyakas (1):
  btrfs-progs: Fix the receive code pathing

Stefan Behrens (16):
  Btrfs-progs: Use /proc/mounts instead of /etc/mtab
  Btrfs-progs: ignore subvols above BTRFS_LAST_FREE_OBJECTID
  Btrfs-progs: close file descriptor in cmds-send.c
  Btrfs-progs: fix a small memory leak in btrfs-list.c
  Btrfs-progs: add a function to free subvol_uuid_search memory
  Btrfs-progs: cleanup subvol_uuid_search memory in btrfs send/receive
  Btrfs-progs: free memory and close file descriptor in btrfs receive
  Btrfs-progs: Set the root-id for received subvols in btrfs receive
  Btrfs-progs: btrfs-receive: different levels (amount) of debug output
  Btrfs-progs: small parent_subvol cleanup for cmds-receive.c
  Btrfs-progs: fix bug in find_root_gen
  Btrfs-progs: btrfs-receive optionally honors the end-cmd
  Btrfs-progs: don't allocate one byte too much each time
  Btrfs-progs: Fix that BTRFS_FSID_SIZE is used instead of
    BTRFS_UUID_SIZE
  Btrfs-progs: remove some unused code
  Btrfs-progs: allow to receive to relative directories

 btrfs-list.c   |  14 ++---
 cmds-receive.c | 164 ++++++++++++++++++++++++++++++++++++++++++---------------
 cmds-send.c    |  12 ++++-
 send-stream.c  |   9 ++--
 send-stream.h  |   3 +-
 send-utils.c   |  49 +++++++++++++++--
 send-utils.h   |   2 +
 7 files changed, 194 insertions(+), 59 deletions(-)

-- 
1.8.2.1


             reply	other threads:[~2013-04-09 17:08 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-09 17:08 Stefan Behrens [this message]
2013-04-09 17:08 ` [PATCH 01/17] Btrfs-progs: Use /proc/mounts instead of /etc/mtab Stefan Behrens
2013-04-09 17:08 ` [PATCH 02/17] Btrfs-progs: ignore subvols above BTRFS_LAST_FREE_OBJECTID Stefan Behrens
2013-04-09 17:08 ` [PATCH 03/17] Btrfs-progs: close file descriptor in cmds-send.c Stefan Behrens
2013-04-09 17:08 ` [PATCH 04/17] Btrfs-progs: fix a small memory leak in btrfs-list.c Stefan Behrens
2013-04-09 17:08 ` [PATCH 05/17] Btrfs-progs: add a function to free subvol_uuid_search memory Stefan Behrens
2013-04-09 17:08 ` [PATCH 06/17] Btrfs-progs: cleanup subvol_uuid_search memory in btrfs send/receive Stefan Behrens
2013-04-09 17:08 ` [PATCH 07/17] Btrfs-progs: free memory and close file descriptor in btrfs receive Stefan Behrens
2013-04-09 17:08 ` [PATCH 08/17] Btrfs-progs: Set the root-id for received subvols " Stefan Behrens
2013-04-10  1:04   ` Wang Shilong
2013-04-09 17:08 ` [PATCH 09/17] Btrfs-progs: btrfs-receive: different levels (amount) of debug output Stefan Behrens
2013-04-09 17:08 ` [PATCH 10/17] Btrfs-progs: small parent_subvol cleanup for cmds-receive.c Stefan Behrens
2013-04-09 17:08 ` [PATCH 11/17] Btrfs-progs: fix bug in find_root_gen Stefan Behrens
2013-04-09 17:08 ` [PATCH 12/17] Btrfs-progs: btrfs-receive optionally honors the end-cmd Stefan Behrens
2013-04-09 17:08 ` [PATCH 13/17] Btrfs-progs: don't allocate one byte too much each time Stefan Behrens
2013-04-09 17:08 ` [PATCH 14/17] Btrfs-progs: Fix that BTRFS_FSID_SIZE is used instead of BTRFS_UUID_SIZE Stefan Behrens
2013-04-09 17:08 ` [PATCH 15/17] Btrfs-progs: remove some unused code Stefan Behrens
2013-04-09 17:08 ` [PATCH 16/17] Btrfs-progs: allow to receive to relative directories Stefan Behrens
2013-04-09 17:08 ` [PATCH 17/17] btrfs-progs: Fix the receive code pathing Stefan Behrens
2013-04-10 10:08 ` [PATCH 08/17 v2] Btrfs-progs: Set the root-id for received subvols in btrfs receive Stefan Behrens
2013-04-16 12:33 ` [PATCH 00/17] Btrfs-progs: some receive related patches David Sterba

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1365524492.git.sbehrens@giantdisaster.de \
    --to=sbehrens@giantdisaster.de \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.