Merge pull request #838 from mmkayPL/dev-bottom-mpool-create-api

Update mpool API for vol_atomic_dev_bottom
This commit is contained in:
Robert Baldyga
2021-06-24 08:36:54 +02:00
committed by GitHub

View File

@@ -1128,7 +1128,7 @@ int atomic_dev_init(void)
return -EINVAL;
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) {
ocf_ctx_unregister_volume_type(cas_ctx, ATOMIC_DEVICE_VOLUME);