Update mpool API for vol_atomic_dev_bottom

Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com>
This commit is contained in:
Kozlowski Mateusz 2021-06-23 14:57:21 +02:00
parent eaa2f54ec1
commit 62f4c61f8e

View File

@ -1128,7 +1128,7 @@ int atomic_dev_init(void)
return -EINVAL; return -EINVAL;
atomic_io_allocator = env_mpool_create(0, sizeof(struct cas_atomic_io), atomic_io_allocator = env_mpool_create(0, sizeof(struct cas_atomic_io),
GFP_NOIO, 1, true, NULL, "cas_atomic_io"); GFP_NOIO, 1, true, NULL, "cas_atomic_io", true);
if (!atomic_io_allocator) { if (!atomic_io_allocator) {
ocf_ctx_unregister_volume_type(cas_ctx, ATOMIC_DEVICE_VOLUME); ocf_ctx_unregister_volume_type(cas_ctx, ATOMIC_DEVICE_VOLUME);