At 03/29/2017 01:52 AM, Jitendra wrote:
Hi Qu/All,

I am looking into in-memory in-bound dedup. I have cloned your git tree
from
following urls.

Linux Tree: https://github.com/adam900710/linux.git wang_dedupe_latest
btrfs-progs: https://g...@github.com:adam900710/btrfs-progs.git
dedupe_20170316

Then run the follwoing test
https://btrfs.wiki.kernel.org/index.php/User_notes_on_dedupe.

Thanks for having interest in in-band dedupe.


Is there any stuff that needs to be tested for it? if something, then
please
point out me.

Please note that, CONFIG_BTRFS_DEBUG must be set, or inband dedupe ioctl will still be hidden.

Basically, you could try all xfstests with inband dedupe enabled.
While it's not officially supported yet, you could modify _scratch_mount and _test_mount to always enable dedupe just after mount.


My goal is to understand in-memory dedup and try to participate in on-disk
de-dup.

On-disk dedupe backend is not provided yet, although planned and not hard to implement.

Our plan is to add on-disk dedupe backend after in-memory dedupe is merged and tested.


And about understanding current dedupe algorithm, it should not be that hard to understand, while the really hard part is from kernel itself.

Tons of facilities is involved in fs, from memory management to VFS to page cache to delayed allocation.

Thanks,
Qu

---
Jitendra




--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to