Patchset can be fetched from github: https://github.com/adam900710/btrfs-progs.git dedupe_20170523
Inband dedupe(in-memory backend only) ioctl support for btrfs-progs. Existing tester/reviewer can just rebase v10 patches to btrfs-progs v4.11 tags. All conflicts can be resolved by git without any problem. v7 changes: Update ctree.h to follow kernel structure change Update print-tree to follow kernel structure change V8 changes: Move dedup props and on-disk backend support out of the patchset Change command group name to "dedupe-inband", to avoid confusion with possible out-of-band dedupe. Suggested by Mark. Rebase to latest devel branch. V9 changes: Follow kernels ioctl change to support FORCE flag, new reconf ioctl, and more precious error reporting. v10 changes: Rebase to v4.10. Add BUILD_ASSERT for btrfs_ioctl_dedupe_args v11 changes: Rebase to v4.11. Qu Wenruo (5): btrfs-progs: Basic framework for dedupe-inband command group btrfs-progs: dedupe: Add enable command for dedupe command group btrfs-progs: dedupe: Add disable support for inband dedupelication btrfs-progs: dedupe: Add status subcommand btrfs-progs: dedupe: introduce reconfigure subcommand Documentation/Makefile.in | 1 + Documentation/btrfs-dedupe-inband.asciidoc | 167 +++++++++++ Documentation/btrfs.asciidoc | 4 + Makefile | 2 +- btrfs-completion | 6 +- btrfs.c | 2 + cmds-dedupe-ib.c | 437 +++++++++++++++++++++++++++++ commands.h | 2 + dedupe-ib.h | 41 +++ ioctl.h | 38 +++ 10 files changed, 698 insertions(+), 2 deletions(-) create mode 100644 Documentation/btrfs-dedupe-inband.asciidoc create mode 100644 cmds-dedupe-ib.c create mode 100644 dedupe-ib.h -- 2.13.0 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
