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

Gao Xiang hsiangkao at linux.alibaba.com
Fri Oct 24 16:29:32 AEDT 2025


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