Remove space from names of internal volumes
Those names are used for creating allocators. In Linux kernel environment starting from version 5.12 there is a kernel warning if allocator name contains spaces. This patch resolves this problem by replacing spaces with underscores. Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
744c5d4164
commit
dc9c076ef3
@ -512,7 +512,7 @@ static ctx_data_t *ocf_cache_io_get_data(struct ocf_io *io)
|
||||
}
|
||||
|
||||
const struct ocf_volume_properties ocf_cache_volume_properties = {
|
||||
.name = "OCF Cache",
|
||||
.name = "OCF_Cache",
|
||||
.io_priv_size = sizeof(struct ocf_cache_volume_io_priv),
|
||||
.volume_priv_size = sizeof(struct ocf_cache_volume),
|
||||
.caps = {
|
||||
|
@ -479,7 +479,7 @@ static ctx_data_t *ocf_core_io_get_data(struct ocf_io *io)
|
||||
}
|
||||
|
||||
const struct ocf_volume_properties ocf_core_volume_properties = {
|
||||
.name = "OCF Core",
|
||||
.name = "OCF_Core",
|
||||
.io_priv_size = 0, /* Not used - custom allocator */
|
||||
.volume_priv_size = sizeof(struct ocf_core_volume),
|
||||
.caps = {
|
||||
|
Loading…
Reference in New Issue
Block a user