summaryrefslogtreecommitdiff
path: root/drivers/block/brd.c
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@suse.de>2016-04-05 09:13:39 (GMT)
committerIlya Dryomov <idryomov@gmail.com>2016-04-05 20:11:37 (GMT)
commit2224d879c7c0f85c14183ef82eb48bd875ceb599 (patch)
tree22b66ced5f19d301f0bf652842424d596e527769 /drivers/block/brd.c
parent9735a22799b9214d17d3c231fe377fc852f042e9 (diff)
downloadlinux-2224d879c7c0f85c14183ef82eb48bd875ceb599.tar.xz
rbd: use GFP_NOIO consistently for request allocations
As of 5a60e87603c4c533492c515b7f62578189b03c9c, 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: Vlastimil Babka <vbabka@suse.cz> Suggested-by: Neil Brown <neilb@suse.com> Signed-off-by: David Disseldorp <ddiss@suse.de> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'drivers/block/brd.c')
0 files changed, 0 insertions, 0 deletions