Skip to content
Snippets Groups Projects
Commit b49d00e9 authored by Jan M Michalski's avatar Jan M Michalski
Browse files

test: obj_defrag_advanced


Create the most fragmented pool possible and try to defragment it.

- allocate multiple copies of graph nodes
    - nodes in each copy are randomly ordered
- pick one copy of each node and free all others
    - generating possibly most fragmented pmemobj pool
- store PMEMoids to other nodes within each node (the edges)
- defragment the pmemobj pool
- verify the result

Co-authored-by: default avatarOksana Salyk <oksana.salyk@intel.com>
parent 4a9c9fb9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment