From 2761540326394949addf2f66fdde80a20f621e2f Mon Sep 17 00:00:00 2001 From: Rafal Stefanowski Date: Thu, 1 Feb 2024 13:44:25 +0100 Subject: [PATCH] Report cache and core errors separately Signed-off-by: Rafal Stefanowski Signed-off-by: Michal Mielewczyk --- src/ocf_request.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ocf_request.h b/src/ocf_request.h index 3ea539f..5492822 100644 --- a/src/ocf_request.h +++ b/src/ocf_request.h @@ -192,6 +192,12 @@ struct ocf_request { int error; /*!< This filed indicates an error for OCF request */ + int cache_error; + /*!< Indicator of forward IO cache device error */ + + int core_error; + /*!< Indicator of forward IO core device error */ + ocf_part_id_t part_id; /*!< Targeted partition of requests */