[PATCH] erofs-utils: mkfs: Use extended inodes when ctime is set

Gao Xiang hsiangkao at linux.alibaba.com
Tue Mar 1 17:14:34 AEDT 2022


On Mon, Feb 28, 2022 at 10:06:33PM -0800, David Anderson wrote:
> On Mon, Feb 28, 2022 at 9:17 PM Gao Xiang <hsiangkao at linux.alibaba.com> wrote:
> > How about introducing some option like '-E preserve-time' since
> > compact inodes are mainly used for reproducible builds, which I think
> > per-file timestamp is useless...
> >
> > Also after I checked ociv2-brainstorm, they'd like to avoid timestamp as
> > well, which can be effective used by EROFS compact inodes...
> 
> Sounds good, I'll post a new patch with this option.

(Or maybe just "--preserve-mtime" if it's supposed to be used frequently in
 specific use cases...)

Thanks,
Gao Xiang

> 
> Best,
> 
> -David


More information about the Linux-erofs mailing list