Skip to content

Introduce ocf_mngt_cache_set_no_dirty()#957

Merged
robertbaldyga merged 1 commit intoOpen-CAS:masterfrom
robertbaldyga:cache-set-no-dirty
Apr 17, 2026
Merged

Introduce ocf_mngt_cache_set_no_dirty()#957
robertbaldyga merged 1 commit intoOpen-CAS:masterfrom
robertbaldyga:cache-set-no-dirty

Conversation

@robertbaldyga
Copy link
Copy Markdown
Member

Calling ocf_mngt_cache_set_no_dirty(cache, true); prevents cache from producing new dirty data. It is useful for situations when we want to be sure that cache is not going to become dirty for example before flush and cache stop.

Calling ocf_mngt_cache_set_no_dirty(cache, true); prevents
cache from producing new dirty data. It is useful for situations
when we want to be sure that cache is not going to become dirty
for example before flush and cache stop.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
@robertbaldyga robertbaldyga merged commit b89000a into Open-CAS:master Apr 17, 2026
5 checks passed
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