linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* About per-file dedup flag
@ 2016-01-12  3:09 Qu Wenruo
  2016-01-12  4:13 ` Duncan
  0 siblings, 1 reply; 4+ messages in thread
From: Qu Wenruo @ 2016-01-12  3:09 UTC (permalink / raw)
  To: btrfs

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



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

end of thread, other threads:[~2016-01-12  5:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-12  3:09 About per-file dedup flag Qu Wenruo
2016-01-12  4:13 ` Duncan
2016-01-12  4:51   ` Qu Wenruo
2016-01-12  5:11     ` Duncan

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