diff options
author | David Disseldorp <ddiss@suse.de> | 2016-04-05 11:13:39 +0200 |
---|---|---|
committer | Sasha Levin <sasha.levin@oracle.com> | 2016-04-20 09:40:51 -0400 |
commit | b4774f9c920e558f1e0ba4e0dab9ab00e192494f (patch) | |
tree | 3fa2a78d822d2cce579e3110472abcdae9c4965f /sound | |
parent | 7c134b078cb5738f10d1d1533ab1895864b958f9 (diff) |
rbd: use GFP_NOIO consistently for request allocations
[ Upstream commit 2224d879c7c0f85c14183ef82eb48bd875ceb599 ]
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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions