Skip to content

discard: Skip invalidation of partially discarded cache lines#932

Merged
robertbaldyga merged 2 commits intoOpen-CAS:masterfrom
robertbaldyga:discard-improvements
Feb 27, 2026
Merged

discard: Skip invalidation of partially discarded cache lines#932
robertbaldyga merged 2 commits intoOpen-CAS:masterfrom
robertbaldyga:discard-improvements

Conversation

@robertbaldyga
Copy link
Member

No description provided.

If discard granularity is smaller than granularity of per-sector
status bits, there is a risk of data loss while invalidating
partially discarded cache lines.

Skip invalidation of those cache lines to fix the problem.

Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
@robertbaldyga robertbaldyga merged commit d24878a into Open-CAS:master Feb 27, 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