Use cache_error and core_error flags only in WT
Signed-off-by: Rafal Stefanowski <rafal.stefanowski@huawei.com> Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com> Signed-off-by: Robert Baldyga <robert.baldyga@huawei.com>
This commit is contained in:

committed by
Robert Baldyga

parent
2761540326
commit
194e5a9172
@@ -28,10 +28,8 @@ static void _ocf_read_pt_complete(struct ocf_request *req, int error)
|
||||
|
||||
OCF_DEBUG_RQ(req, "Completion");
|
||||
|
||||
if (req->error) {
|
||||
req->info.core_error = 1;
|
||||
if (req->error)
|
||||
ocf_core_stats_core_error_update(req->core, OCF_READ);
|
||||
}
|
||||
|
||||
/* Complete request */
|
||||
req->complete(req, req->error);
|
||||
|
Reference in New Issue
Block a user