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

cleanup req->error setting #762

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DocentSzachista
Copy link

Signed-off-by: Damian Raczkowski damian.raczkowski@intel.com

@codecov
Copy link

codecov bot commented Nov 3, 2022

Codecov Report

Merging #762 (ad3fd2f) into master (004e930) will decrease coverage by 0.02%.
The diff coverage is 35.89%.

@@            Coverage Diff             @@
##           master     #762      +/-   ##
==========================================
- Coverage   71.39%   71.37%   -0.03%     
==========================================
  Files          90       90              
  Lines       10162    10151      -11     
==========================================
- Hits         7255     7245      -10     
+ Misses       2907     2906       -1     
Impacted Files Coverage Δ
src/engine/engine_d2c.c 0.00% <0.00%> (ø)
src/engine/engine_inv.c 0.00% <0.00%> (ø)
src/engine/engine_zero.c 0.00% <0.00%> (ø)
src/metadata/metadata_raw_atomic.c 0.00% <0.00%> (ø)
src/utils/utils_cleaner.c 76.99% <14.28%> (ø)
src/engine/engine_wt.c 64.04% <22.22%> (-0.40%) ⬇️
src/engine/engine_common.c 83.33% <25.00%> (ø)
src/engine/engine_discard.c 73.39% <25.00%> (-0.25%) ⬇️
src/engine/engine_rd.c 58.06% <28.57%> (-0.45%) ⬇️
src/engine/engine_wb.c 83.56% <50.00%> (-0.23%) ⬇️
... and 17 more

ocf_core_stats_cache_error_update(req->core, OCF_WRITE);
}

if (req->error)
if (req->error.counter)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variables of type env_atomic should be accessed using env_atomic_read()

Signed-off-by: Damian Raczkowski <damian.raczkowski@intel.com>
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.

4 participants