Report cache and core errors separately

Signed-off-by: Rafal Stefanowski <rafal.stefanowski@huawei.com>
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@huawei.com>
This commit is contained in:
Rafal Stefanowski 2024-02-01 13:44:25 +01:00 committed by Michal Mielewczyk
parent b3f5ca1c2f
commit 2761540326

View File

@ -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 */