Commit e993457
maple_tree: add regression test for spanning store bug
Add a regression test to assert that, when performing a spanning store
which consumes the entirety of the rightmost right leaf node does not
result in maple tree corruption when doing so.
This achieves this by building a test tree of 3 levels and establishing a
store which ultimately results in a spanned store of this nature.
Link: https://lkml.kernel.org/r/30cdc101a700d16e03ba2f9aa5d83f2efa894168.1728314403.git.lorenzo.stoakes@oracle.com
Signed-off-by: Lorenzo Stoakes <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Reviewed-by: Wei Yang <[email protected]>
Cc: Bert Karwatzki <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: Mikhail Gavrilov <[email protected]>
Cc: Sidhartha Kumar <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>1 parent bea07fd commit e993457
1 file changed
+84
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36432 | 36432 | | |
36433 | 36433 | | |
36434 | 36434 | | |
| 36435 | + | |
| 36436 | + | |
| 36437 | + | |
| 36438 | + | |
| 36439 | + | |
| 36440 | + | |
| 36441 | + | |
| 36442 | + | |
| 36443 | + | |
| 36444 | + | |
| 36445 | + | |
| 36446 | + | |
| 36447 | + | |
| 36448 | + | |
| 36449 | + | |
| 36450 | + | |
| 36451 | + | |
| 36452 | + | |
| 36453 | + | |
| 36454 | + | |
| 36455 | + | |
| 36456 | + | |
| 36457 | + | |
| 36458 | + | |
| 36459 | + | |
| 36460 | + | |
| 36461 | + | |
| 36462 | + | |
| 36463 | + | |
| 36464 | + | |
| 36465 | + | |
| 36466 | + | |
| 36467 | + | |
| 36468 | + | |
| 36469 | + | |
| 36470 | + | |
| 36471 | + | |
| 36472 | + | |
| 36473 | + | |
| 36474 | + | |
| 36475 | + | |
| 36476 | + | |
| 36477 | + | |
| 36478 | + | |
| 36479 | + | |
| 36480 | + | |
| 36481 | + | |
| 36482 | + | |
| 36483 | + | |
| 36484 | + | |
| 36485 | + | |
| 36486 | + | |
| 36487 | + | |
| 36488 | + | |
| 36489 | + | |
| 36490 | + | |
| 36491 | + | |
| 36492 | + | |
| 36493 | + | |
| 36494 | + | |
| 36495 | + | |
| 36496 | + | |
| 36497 | + | |
| 36498 | + | |
| 36499 | + | |
| 36500 | + | |
| 36501 | + | |
| 36502 | + | |
| 36503 | + | |
| 36504 | + | |
| 36505 | + | |
| 36506 | + | |
| 36507 | + | |
| 36508 | + | |
| 36509 | + | |
| 36510 | + | |
| 36511 | + | |
| 36512 | + | |
| 36513 | + | |
| 36514 | + | |
| 36515 | + | |
| 36516 | + | |
| 36517 | + | |
36435 | 36518 | | |
36436 | 36519 | | |
36437 | 36520 | | |
| 36521 | + | |
36438 | 36522 | | |
36439 | 36523 | | |
36440 | 36524 | | |
| |||
0 commit comments