From a9ab5fbafdcd7baf9b6753a8f1cc531e74ecef2c Mon Sep 17 00:00:00 2001 From: Adam Rutkowski Date: Sat, 26 Jun 2021 18:54:09 +0200 Subject: [PATCH] Fix comments in ocf_engine_common.h Signed-off-by: Adam Rutkowski --- src/engine/engine_common.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/engine/engine_common.h b/src/engine/engine_common.h index 239549b..06f54db 100644 --- a/src/engine/engine_common.h +++ b/src/engine/engine_common.h @@ -67,7 +67,7 @@ static inline bool ocf_engine_needs_repart(struct ocf_request *req) * @param req OCF request * * @retval true request is mapped fully - * @retval false request is not mapped fully and eviction might be run in + * @retval false request is not mapped fully and remap might be run in * order to complete mapping */ static inline bool ocf_engine_is_mapped(struct ocf_request *req) @@ -226,9 +226,10 @@ struct ocf_engine_callbacks * * @param req OCF request * - * @returns eviction status - * @retval LOOKUP_INSERTED successfully evicted required number of cachelines - * @retval LOOKUP_MISS eviction failure + * @returns cacheline lock status + * @retval OCF_LOCK_ACQUIRED in case of success and CLs locked + * @retval OCF_LOCK_NOT_ACQUIRED in case of success and waiting for CL lock + * @retval <0 other error code */ int ocf_engine_prepare_clines(struct ocf_request *req);