All of lore.kernel.org
 help / color / mirror / Atom feed
From: Qu Wenruo <quwenruo@cn.fujitsu.com>
To: btrfs <linux-btrfs@vger.kernel.org>
Subject: About per-file dedup flag
Date: Tue, 12 Jan 2016 11:09:23 +0800	[thread overview]
Message-ID: <56946E63.1040502@cn.fujitsu.com> (raw)

Hi all,

As some already know, we are implement btrfs in-band de-duplication.
And we already have a working and stable version internal.
But that's filesystem wide de-duplication.


Now we hope to add support to enable/disable dedup per-file.
Much like current NODATACOW/NOCOMPRESS for inode.


But we are not sure where to add such flag.
Here is our current ideas:

1) XATTR
Make a btrfs internal xattr, just like some btrfs prop.

2) inode flag, like FS_NOCOMP_FL
Although only btrfs is going to support in-band dedup, who knows
what will happen in future?

Any advice is welcomed.

Thanks,
Qu



             reply	other threads:[~2016-01-12  3:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-12  3:09 Qu Wenruo [this message]
2016-01-12  4:13 ` About per-file dedup flag Duncan
2016-01-12  4:51   ` Qu Wenruo
2016-01-12  5:11     ` Duncan

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=56946E63.1040502@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 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.