Re: [LKP] [ext4] 05c2c00f37: aim7.jobs-per-min -11.8% regression

From: Theodore Ts'o
Date: Fri Sep 03 2021 - 08:32:40 EST


On Fri, Sep 03, 2021 at 01:28:25PM +0800, Xing Zhengjun wrote:
> Hi Jan,
>
> Do you have time to look at this? I re-test it in v5.13 and v5.14, the
> regression still existed. Thanks.

> > So as we chatted on today's call probably the best option is to leave the
> > code as is for now and instead work on moving away from orphan list
> > altogether. I'll revive my patches to do that.

The orphan_file feature has landed in for the 5.15 merge window. When
enabled, it provides multiple blocks to store the set of orphaned
inodes, which provides parallelism for parallel truncate and unlink
operations.

It requires a development version of e2fsprogs to use, and so the
zero-day bot won't be able to test it for a little while.

Cheers,

- Ted