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
commit b650f3479d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);