Bug 2170286

Summary: crash tool supports parsing the maple tree data structures and functions
Product: Red Hat Enterprise Linux 9 Reporter: lijiang
Component: crashAssignee: ltao
Status: NEW --- QA Contact: xiaoying yan <yiyan>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.3CC: jieli, ltao, prudo, ruyang
Target Milestone: rcKeywords: Patch, TestOnly, Triaged
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 lijiang 2023-02-16 02:50:55 UTC
Description of problem:

The maple tree is introduced into upstream kernel 6.1:
[1]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=524e00b36e8c547f5582eef3fb645a8d9fc5e3df
[2]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=763ecb035029f500d7e6dc99acd1ad299b7726a1
    
Crash tool needs to support parsing the vmcore with a maple tree feature, otherwise some crash commands may not work, such as vm and fuser.

In ddition, the tree command can also dump the maple tree information.

Related crash patches:

872cad2d63b3 ("Port the maple tree data structures and functions")
16a696762cbf ("Add maple tree support to "tree" command")
222176a0a6c1 ("Add do_maple_tree() for maple tree operations")
9efc1f68a44f ("Introduce maple tree vma iteration to vm_area_dump()")
49f6c2095d82 ("Update the help text of "tree" command for maple tree")
46344aa2f92b ("Dump maple tree offset variables by "help -o"")



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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 ltao 2023-05-31 01:41:52 UTC
We will defer the bz to rhel9.4 due to https://bugzilla.redhat.com/show_bug.cgi?id=2166668#c31.