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:
parent
07aa29fc56
commit
2abccadb9e
@ -116,6 +116,9 @@ typedef enum {
|
|||||||
|
|
||||||
/** Invalid cache line size */
|
/** Invalid cache line size */
|
||||||
OCF_ERR_INVALID_CACHE_LINE_SIZE,
|
OCF_ERR_INVALID_CACHE_LINE_SIZE,
|
||||||
|
|
||||||
|
/** Invalid cache name loaded*/
|
||||||
|
OCF_ERR_CACHE_NAME_MISMATCH,
|
||||||
} ocf_error_t;
|
} ocf_error_t;
|
||||||
|
|
||||||
#endif /* __OCF_ERR_H__ */
|
#endif /* __OCF_ERR_H__ */
|
||||||
|
Loading…
Reference in New Issue
Block a user