linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 00/10] undelete subvolume offline version
@ 2018-05-07  3:10 Lu Fengqi
  2018-05-07  3:10 ` [PATCH v3 01/10] btrfs-progs: copy btrfs_del_orphan_item from kernel Lu Fengqi
                   ` (10 more replies)
  0 siblings, 11 replies; 13+ messages in thread
From: Lu Fengqi @ 2018-05-07  3:10 UTC (permalink / raw)
  To: linux-btrfs

This patchset will add undelete-subvol subcommand for btrfs rescue.

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




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

end of thread, other threads:[~2018-09-11 16:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH v3 00/10] undelete subvolume offline version Lu Fengqi

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).