Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes in cleaner #797

Merged
merged 9 commits into from
Jul 18, 2024
Merged

Conversation

robertbaldyga
Copy link
Member

No description provided.

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
The flush_data is used by ocf_cleaner_do_flush_data_async(), which means
that callers of ocf_cleaner_fire() are now expected to guarantee that
entries are returned by getter in a sorted order. Currently the only case
when ocf_cleaner_fire() is called directly is for request cleaning, and
the request map is sorted by definition.

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
Simply update req->core_line_count instead.

Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
src/ocf_lru.c Show resolved Hide resolved
src/cleaning/acp.c Show resolved Hide resolved
src/utils/utils_cleaner.c Outdated Show resolved Hide resolved
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
@robertbaldyga robertbaldyga merged commit 54679d7 into Open-CAS:master Jul 18, 2024
2 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.

3 participants