David Disseldorp 2224d879c7 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>
2016-04-05 22:11:37 +02:00
..
2016-01-27 20:36:08 +08:00
2016-01-06 08:25:24 -05:00
2016-03-15 14:10:29 -07:00
2016-01-13 19:37:36 -08:00
2014-08-08 15:57:28 -07:00
2016-03-14 09:06:01 -06:00
2015-09-23 11:01:16 -06:00
2016-03-15 15:59:47 -07:00
2016-03-04 17:20:12 -07:00