Bug 2211037

Summary: Enable erofs support and backport its chunk-based file on-disk format
Product: Red Hat Enterprise Linux 9 Reporter: Javier Martinez Canillas <fmartine>
Component: kernel-automotiveAssignee: Francisco da Rocha <fdarocha>
Status: POST --- QA Contact: Auto Kernel QE <kernel-qe-automotive>
Severity: unspecified Docs Contact: fkleinfe
Priority: unspecified    
Version: RHIVOS 1.0CC: acarmina, ahalaney, athierry, bmasney, challfre, echanude, esandeen, fdarocha, hsiangkao, sdoherty
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Javier Martinez Canillas 2023-05-30 10:59:41 UTC
Description of problem:

Enable the efofs filesystem kernel config option in the automotive kernel and backport its support for chunk-based file on-disk format. This is needed to have filesystem level verified boot.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Check that the CONFIG_EROFS_FS, CONFIG_EROFS_FS_POSIX_ACL, CONFIG_EROFS_FS_SECURITY and CONFIG_EROFS_FS_XATTR options are enabled in the kernel automotive config.
2. Create an erofs image using `mkfs.erofs --chunksize=2048 foo.erofs.img foo/` comamnd.
3. 

Actual results:

The mentioned options are not enabled.

Expected results:

The mentioned options are enabled and a erofs filesystem image using chunk-based files is supported.

Additional info:

Comment 3 Eric Sandeen 2023-07-21 20:51:24 UTC
Is there an associated Bugzilla for erofs-utils?

I am also curious about formal ownership of erofs in the automotive kernel - typically every subsystem in the RHEL kernel (at least those that are enabled) get an entry in https://gitlab.com/redhat/centos-stream/src/kernel/documentation/-/blob/main/info/owners.yaml to make it clear who the maintainers and reviewers are for any given subsystem.

Comment 4 Gao Xiang 2023-08-04 03:10:14 UTC
Hi Eric,

(In reply to Eric Sandeen from comment #3)
> Is there an associated Bugzilla for erofs-utils?
> 
> I am also curious about formal ownership of erofs in the automotive kernel -
> typically every subsystem in the RHEL kernel (at least those that are
> enabled) get an entry in
> https://gitlab.com/redhat/centos-stream/src/kernel/documentation/-/blob/main/
> info/owners.yaml to make it clear who the maintainers and reviewers are for
> any given subsystem.

If there are no more people helping on erofs-utils, is it possible to land
erofs-utils into EPEL?
I could help maintain it as an external community user anyway if needed.

Anyway, it's only a suggestion on my side.

Thanks,
Gao Xiang