Skip to content
Commit 2224d879 authored by David Disseldorp's avatar David Disseldorp Committed by Ilya Dryomov
Browse files

rbd: use GFP_NOIO consistently for request allocations

As of 5a60e876

, RBD object request
allocations are made via rbd_obj_request_create() with GFP_NOIO.
However, subsequent OSD request allocations in rbd_osd_req_create*()
use GFP_ATOMIC.

With heavy page cache usage (e.g. OSDs running on same host as krbd
client), rbd_osd_req_create() order-1 GFP_ATOMIC allocations have been
observed to fail, where direct reclaim would have allowed GFP_NOIO
allocations to succeed.

Cc: stable@vger.kernel.org # 3.18+
Suggested-by: default avatarVlastimil Babka <vbabka@suse.cz>
Suggested-by: default avatarNeil Brown <neilb@suse.com>
Signed-off-by: default avatarDavid Disseldorp <ddiss@suse.de>
Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 9735a227
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment