[PATCH RFC] fs: erofs: support PG_mappedtodisk flag for folios with zero-filled
Gao Xiang
hsiangkao at linux.alibaba.com
Thu Oct 17 19:00:14 AEDT 2024
On 2024/10/17 15:58, Gao Xiang wrote:
> Hi Barry,
>
> On 2024/10/17 15:43, Barry Song wrote:
>> From: Barry Song <v-songbaohua at oppo.com>
>>
>> When a folio has never been zero-filled, mark it as mappedtodisk
>> to allow other software components to recognize and utilize the
>> flag.
>>
>> Signed-off-by: Barry Song <v-songbaohua at oppo.com>
>
> Thanks for this!
>
> It looks good to me as an improvement as long as PG_mappedtodisk
> is long-term lived and useful to users.
>
> Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>
BTW, I wonder if iomap supports this since uncompressed EROFS
relies on iomap paths...
Thanks,
Gao Xiang
More information about the Linux-erofs
mailing list