Skip to content

Red control: paged checkpoint import grows suffix backing from host-zeroed pages (tests only, do not merge) - #475

Draft
jonathan308 wants to merge 5 commits into
mainfrom
perf/paged-import-host-zeroed-growth-red
Draft

jonathan308 wants to merge 5 commits into
mainfrom
perf/paged-import-host-zeroed-growth-red

Conversation

@jonathan308

Copy link
Copy Markdown

Red control for the paged checkpoint import change (see the fix PR). It carries only the new test, CBv2PagedCheckpointAdoptionTests.hostZeroedPoolGrowsImportedSuffixPromiseWithoutDeviceFill, and the formatting of that test file, on main without the change.

Expected result: the new test fails on its allocations == 0 expectation for the host-zeroed pool, because PagedKVPool.importCheckpoint grows its suffix backing with a device zero fill (one evaluator call per new segment). Every other test is unchanged and should pass.

Do not merge.

Checklist

…e without device fill

A checkpoint import whose request promises a long maximum length must grow
backing for that promise. On a pool configured with hostZeroedSegments,
admission growth already wraps zero-fill-on-demand pages; the import's
growth must do the same (no evaluator call), and the imported prefix and a
suffix written into the grown pages must read back byte-identical to the
device-filled reference.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant