Re: [PATCH v2] btrfs-progs: mkfs: Enable -d dup for single device

2015-11-13 Thread David Sterba
On Fri, Nov 13, 2015 at 10:11:37PM +0800, Zhao Lei wrote: > Current code don't support dup profile in single device, except it > is in mixed mode, because following reason: > 1: In some ssd with deduplication function, it have no effect. > 2: For a physical device, it the entire disk broken, -d dup

Re: [PATCH v2] btrfs-progs: mkfs: Enable -d dup for single device

2015-11-13 Thread Austin S Hemmelgarn
On 2015-11-13 09:11, Zhao Lei wrote: Current code don't support dup profile in single device, except it is in mixed mode, because following reason: 1: In some ssd with deduplication function, it have no effect. 2: For a physical device, it the entire disk broken, -d dup can not help. 3: Half

[PATCH v2] btrfs-progs: mkfs: Enable -d dup for single device

2015-11-13 Thread Zhao Lei
Current code don't support dup profile in single device, except it is in mixed mode, because following reason: 1: In some ssd with deduplication function, it have no effect. 2: For a physical device, it the entire disk broken, -d dup can not help. 3: Half performance comparing with single profil