linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to test in-bound dedupe
@ 2017-03-28 17:52 Jitendra
  2017-03-29  0:55 ` Qu Wenruo
  0 siblings, 1 reply; 2+ messages in thread
From: Jitendra @ 2017-03-28 17:52 UTC (permalink / raw)
  To: quwenruo; +Cc: linux-btrfs

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://git@github.com:adam900710/btrfs-progs.git dedupe_20170316

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

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

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

---
Jitendra

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

* Re: How to test in-bound dedupe
  2017-03-28 17:52 How to test in-bound dedupe Jitendra
@ 2017-03-29  0:55 ` Qu Wenruo
  0 siblings, 0 replies; 2+ messages in thread
From: Qu Wenruo @ 2017-03-29  0:55 UTC (permalink / raw)
  To: Jitendra; +Cc: linux-btrfs



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://git@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
>
>



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

end of thread, other threads:[~2017-03-29  0:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-28 17:52 How to test in-bound dedupe Jitendra
2017-03-29  0:55 ` Qu Wenruo

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