From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: <linux-btrfs@vger.kernel.org>
Subject: [PATCH v3 0/8] btrfs-progs: Support in-band de-duplication
Date: Thu, 14 Jan 2016 13:57:42 +0800 [thread overview]
Message-ID: <1452751070-2460-1-git-send-email-quwenruo@cn.fujitsu.com> (raw)
Preparation patchset for in-coming (aimed for 4.6) kernel in-band
de-duplication patchset.
New kernel dedup will has 2 different dedup backends and a ioctl
interface to enable/disable dedup.
The ioctl interface and on-disk format (mostly) is determined, so submit
this patchset first before de-duplication first.
v2:
Better objectid/offset format for dedup hash items
Output hash for dedup hash items
v3:
Keep dedup tree objectid and ro_flag the same with kernal,
since the tree objectid 11 and ro_flag 1 are all taken by space cache
tree v2.
Add dedup property support.
Qu Wenruo (7):
btrfs-progs: Basic framework for dedup command group
btrfs-progs: dedup: Add enable command for dedup command group
btrfs-progs: dedup: Add disable support for inban deduplication
btrfs-progs: dedup: Add status subcommand
btrfs-progs: Add dedup feature for mkfs and convert
btrfs-progs: Add show-super support for new DEDUP flag
btrfs-progs: dedup-tree: Add dedup tree support
Wang Xiaoguang (1):
btrfs-progs: property: add a dedup property
Documentation/btrfs-dedup.asciidoc | 105 +++++++++++++
Documentation/btrfs-property.asciidoc | 2 +
Documentation/mkfs.btrfs.asciidoc | 9 ++
Makefile.in | 2 +-
btrfs-convert.c | 19 ++-
btrfs-debug-tree.c | 4 +
btrfs-show-super.c | 17 ++
btrfs.c | 1 +
cmds-dedup.c | 282 ++++++++++++++++++++++++++++++++++
commands.h | 2 +
ctree.h | 41 ++++-
dedup.h | 39 +++++
ioctl.h | 23 +++
kerncompat.h | 5 +
mkfs.c | 8 +-
print-tree.c | 75 +++++++++
props.c | 73 +++++++++
utils.c | 38 +++--
utils.h | 7 +-
19 files changed, 728 insertions(+), 24 deletions(-)
create mode 100644 Documentation/btrfs-dedup.asciidoc
create mode 100644 cmds-dedup.c
create mode 100644 dedup.h
--
2.7.0
next reply other threads:[~2016-01-14 6:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-14 5:57 Qu Wenruo [this message]
2016-01-14 5:57 ` [PATCH v3 1/8] btrfs-progs: Basic framework for dedup command group Qu Wenruo
2016-01-14 5:57 ` [PATCH v3 2/8] btrfs-progs: dedup: Add enable command " Qu Wenruo
2016-01-14 5:57 ` [PATCH v3 3/8] btrfs-progs: dedup: Add disable support for inban deduplication Qu Wenruo
2016-01-14 5:57 ` [PATCH v3 4/8] btrfs-progs: dedup: Add status subcommand Qu Wenruo
2016-01-14 5:57 ` [PATCH v3 5/8] btrfs-progs: Add dedup feature for mkfs and convert Qu Wenruo
2016-01-14 5:57 ` [PATCH v3 6/8] btrfs-progs: Add show-super support for new DEDUP flag Qu Wenruo
2016-01-14 5:57 ` [PATCH v3 7/8] btrfs-progs: dedup-tree: Add dedup tree support Qu Wenruo
2016-01-14 5:57 ` [PATCH v3 8/8] btrfs-progs: property: add a dedup property Qu Wenruo
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=1452751070-2460-1-git-send-email-quwenruo@cn.fujitsu.com \
--to=quwenruo@cn.fujitsu.com \
--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).