New error code for invaild loaded cache name.
When loading cache metadata, it should be started with exactly the same name as it was running previously. Otherwise load should fail and return newly added error code. Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
This commit is contained in:
@@ -116,6 +116,9 @@ typedef enum {
|
||||
|
||||
/** Invalid cache line size */
|
||||
OCF_ERR_INVALID_CACHE_LINE_SIZE,
|
||||
|
||||
/** Invalid cache name loaded*/
|
||||
OCF_ERR_CACHE_NAME_MISMATCH,
|
||||
} ocf_error_t;
|
||||
|
||||
#endif /* __OCF_ERR_H__ */
|
||||
|
Reference in New Issue
Block a user