[PATCH v1] erofs-utils: mkfs: Add 'no-deduplication' option

Friendy.Su at sony.com Friendy.Su at sony.com
Fri Oct 24 17:19:23 AEDT 2025


Sounds feasible, I will modify.


________________________________________
From: Gao Xiang <hsiangkao at linux.alibaba.com>
Sent: Friday, October 24, 2025 13:29
To: Su, Friendy; linux-erofs at lists.ozlabs.org
Cc: Mo, Yuezhang; Palmer, Daniel (SGC)
Subject: Re: [PATCH v1] erofs-utils: mkfs: Add 'no-deduplication' option

Hi Friendy, On 2025/10/23 16: 01, Friendy Su wrote: > Add an option to disable dedupliation at format. > This option is mandatory if mount erofs with DAX. Is it possbile to introduce `E^dedupe` for this? I mean, change the defualt bahavior


Hi Friendy,

On 2025/10/23 16:01, Friendy Su wrote:
> Add an option to disable dedupliation at format.
> This option is mandatory if mount erofs with DAX.

Is it possbile to introduce `E^dedupe` for this?

I mean, change the defualt bahavior into DEDUPE_AUTO
(or DEDUPE_UNSPECIFIED) rather than DEDUPE_OFF.

If `--chunk-size` is specified, DEDUPE_AUTO will be
DEDUPE_ON, but `-E^dedupe` can disable it.

If `--chunk-size` is non-specified, DEDUPE_AUTO will
be DEDUPE_OFF instead.

see TIMESTAMP_UNSPECIFIED for an example,

Thanks,
Gao Xiang



More information about the Linux-erofs mailing list