Skip to content

Commit

Permalink
engine_wt: Suppress cache errors
Browse files Browse the repository at this point in the history
The status of the IO in WT should depend on the core IO status only

Signed-off-by: Michal Mielewczyk <[email protected]>
  • Loading branch information
mmichal10 committed Sep 30, 2024
1 parent c978848 commit 368f11f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/engine_wt.c
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ static void _ocf_write_wt_req_complete(struct ocf_request *req)
OCF_DEBUG_RQ(req, "Completion");

if (req->info.cache_error || req->info.core_error) {
req->complete(req, req->error);
req->complete(req, req->info.core_error ? req->error : 0);
ocf_engine_invalidate(req);
return;
}
Expand Down

0 comments on commit 368f11f

Please sign in to comment.