ocf_reqest: Store core handle instead of core_id
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
@@ -88,8 +88,7 @@ static const struct ocf_io_if _io_if_wb_flush_metadata = {
|
||||
static void _ocf_write_wb_complete(struct ocf_request *req, int error)
|
||||
{
|
||||
if (error) {
|
||||
env_atomic_inc(&req->cache->core[req->core_id].counters->
|
||||
cache_errors.write);
|
||||
env_atomic_inc(&req->core->counters->cache_errors.write);
|
||||
req->error |= error;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user