linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
To: <linux-btrfs@vger.kernel.org>, <dsterba@suse.cz>
Subject: Re: [PATCH v3 00/10] undelete subvolume offline version
Date: Tue, 11 Sep 2018 19:44:41 +0800	[thread overview]
Message-ID: <20180911114441.GA2790@fnst.localdomain> (raw)
In-Reply-To: <20180507031033.4125-1-lufq.fnst@cn.fujitsu.com>

On Mon, May 07, 2018 at 11:10:23AM +0800, Lu Fengqi wrote:
>This patchset will add undelete-subvol subcommand for btrfs rescue.
>

Hi David

Although there are some disagreements about undeleting subvolumes online
implementation, the offline version is considered more acceptable. Would
you like to spend some time talking about your opinions?

-- 
Thanks,
Lu

>Patchset can be fetched from github:
>https://github.com/littleroad/btrfs-progs.git undelete
>
>v2->v3: fixed some issues pointed out by Qu.
>v1->v2: add -s option to allow user specify the subvolume which will be
>recovered.
>
>The first patch are not modified.
>For the rest, please see the changelog in the patches.
>
>Lu Fengqi (10):
>  btrfs-progs: copy btrfs_del_orphan_item from kernel
>  btrfs-progs: extract btrfs_link_subvol from btrfs_mksubvol
>  btrfs-progs: use btrfs_find_free_dir_index to find free inode index
>  btrfs-progs: undelete-subvol: introduce is_subvol_intact
>  btrfs-progs: undelete-subvol: introduce recover_dead_root
>  btrfs-progs: undelete-subvol: introduce link_subvol_to_lostfound
>  btrfs-progs: undelete-subvol: introduce btrfs_undelete_subvols
>  btrfs-progs: undelete-subvol: add undelete-subvol subcommand
>  btrfs-progs: tests: add testcase for undelete-subvol
>  btrfs-progs: undelete-subvol: update completion and documentation
>
> Documentation/btrfs-rescue.asciidoc           |  12 +
> Makefile                                      |   3 +-
> btrfs-completion                              |   2 +-
> cmds-rescue.c                                 |  69 ++++++
> convert/main.c                                |  59 ++++-
> ctree.h                                       |   8 +-
> inode.c                                       | 119 +++++----
> .../031-undelete-subvol/intact_subvolume.img  | Bin 0 -> 4096 bytes
> .../subvolume_in_drop_progress.raw.xz         | Bin 0 -> 23452 bytes
> tests/misc-tests/031-undelete-subvol/test.sh  |  38 +++
> undelete-subvol.c                             | 227 ++++++++++++++++++
> undelete-subvol.h                             |  11 +
> 12 files changed, 501 insertions(+), 47 deletions(-)
> create mode 100644 tests/misc-tests/031-undelete-subvol/intact_subvolume.img
> create mode 100644 tests/misc-tests/031-undelete-subvol/subvolume_in_drop_progress.raw.xz
> create mode 100755 tests/misc-tests/031-undelete-subvol/test.sh
> create mode 100644 undelete-subvol.c
> create mode 100644 undelete-subvol.h
>
>-- 
>2.17.0
>
>
>
>--
>To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2018-09-11 16:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-07  3:10 [PATCH v3 00/10] undelete subvolume offline version Lu Fengqi
2018-05-07  3:10 ` [PATCH v3 01/10] btrfs-progs: copy btrfs_del_orphan_item from kernel Lu Fengqi
2018-05-07  3:10 ` [PATCH v3 02/10] btrfs-progs: extract btrfs_link_subvol from btrfs_mksubvol Lu Fengqi
2018-05-07  3:10 ` [PATCH v3 03/10] btrfs-progs: use btrfs_find_free_dir_index to find free inode index Lu Fengqi
2018-05-07  3:10 ` [PATCH v3 04/10] btrfs-progs: undelete-subvol: introduce is_subvol_intact Lu Fengqi
2018-05-07  3:10 ` [PATCH v3 05/10] btrfs-progs: undelete-subvol: introduce recover_dead_root Lu Fengqi
2018-05-07  3:10 ` [PATCH v3 06/10] btrfs-progs: undelete-subvol: introduce link_subvol_to_lostfound Lu Fengqi
2018-05-07  3:10 ` [PATCH v3 07/10] btrfs-progs: undelete-subvol: introduce btrfs_undelete_subvols Lu Fengqi
2018-05-07  3:10 ` [PATCH v3 08/10] btrfs-progs: undelete-subvol: add undelete-subvol subcommand Lu Fengqi
2018-05-07  3:10 ` [PATCH v3 09/10] btrfs-progs: tests: add testcase for undelete-subvol Lu Fengqi
2018-05-08  5:58   ` [PATCH v3.1 " Lu Fengqi
2018-05-07  3:10 ` [PATCH v3 10/10] btrfs-progs: undelete-subvol: update completion and documentation Lu Fengqi
2018-09-11 11:44 ` Lu Fengqi [this message]

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=20180911114441.GA2790@fnst.localdomain \
    --to=lufq.fnst@cn.fujitsu.com \
    --cc=dsterba@suse.cz \
    --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 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).