Duplicate cache name in struct ocf_cache

Cache name is needed for logging in passive mode, when config metadata
is still not accessible.

Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
Robert Baldyga
2021-08-31 16:31:53 +02:00
parent 85e8b414c4
commit ee42d9aaaf
3 changed files with 11 additions and 2 deletions

View File

@@ -51,6 +51,8 @@ struct ocf_cache_device {
};
struct ocf_cache {
char name[OCF_CACHE_NAME_SIZE];
ocf_ctx_t owner;
struct list_head list;