|
@@ -2022,11 +2022,11 @@ static struct rbd_obj_request *rbd_obj_request_create(const char *object_name,
|
|
|
rbd_assert(obj_request_type_valid(type));
|
|
rbd_assert(obj_request_type_valid(type));
|
|
|
|
|
|
|
|
size = strlen(object_name) + 1;
|
|
size = strlen(object_name) + 1;
|
|
|
- name = kmalloc(size, GFP_KERNEL);
|
|
|
|
|
|
|
+ name = kmalloc(size, GFP_NOIO);
|
|
|
if (!name)
|
|
if (!name)
|
|
|
return NULL;
|
|
return NULL;
|
|
|
|
|
|
|
|
- obj_request = kmem_cache_zalloc(rbd_obj_request_cache, GFP_KERNEL);
|
|
|
|
|
|
|
+ obj_request = kmem_cache_zalloc(rbd_obj_request_cache, GFP_NOIO);
|
|
|
if (!obj_request) {
|
|
if (!obj_request) {
|
|
|
kfree(name);
|
|
kfree(name);
|
|
|
return NULL;
|
|
return NULL;
|