XArray multi-index tests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 10 repliesIn review
Changes since RFC from the cover letter
* Update cmpxchg test to include another entry at 1 << order that 'keeps' the node around and order information.
* Update cmpxchg test to verify the entries and order in all tied indexes.
* Drop previous Luis Chamberlain's review as changes are significant from the RFC.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | test_xarray: add tests for advanced multi-index uselib/ | +134 | 9 replies | |
| 2/2 | XArray: add cmpxchg order testlib/ | +54 | 0 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Daniel Gomez |
|---|---|
| 1/2 | T-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] XArray multi-index tests
Add multi-index XArray tests.
Tests were first introduced as part of '[RFC PATCH 00/11] shmem: high order folios support in write path' [1]. I've created this new series with Matthew Wilcox's feedback [2] regarding test 'XArray: add cmpxchg order test'.
[1] https://lore.kernel.org/all/[email protected]/
[2] https://lore.kernel.org/all/[email protected]/
The full node is lost (not only the order) when using xa_cmpxchg with NULL entry. Adding another (FIVE) entry at '1 << order' with the order information does not keep the original node but duplicates it. I'm not sure if that's the intention from the proposal you mentioned in [2] but please, let me know your comments.
Changes since RFC:
* Update cmpxchg test to include another entry at 1 << order that 'keeps' the node around and order information.
* Update cmpxchg test to verify the entries and order in all tied indexes.
* Drop previous Luis Chamberlain's review as changes are significant from the RFC.
Daniel
Daniel Gomez (1):
XArray: add cmpxchg order test
Luis Chamberlain (1):
test_xarray: add tests for advanced multi-index use
lib/test_xarray.c | 188 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 188 insertions(+)
Signature · 1 line
2.39.2