]> git.ipfire.org Git - people/arne_f/kernel.git/commit
rbd: use GFP_NOIO for parent stat and data requests
authorIlya Dryomov <idryomov@gmail.com>
Mon, 6 Nov 2017 10:33:36 +0000 (11:33 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 9 Nov 2017 08:32:53 +0000 (09:32 +0100)
commit1e37f2f84680fa7f8394fd444b6928e334495ccc
treeb69c9047d3d73f4e39716fbbf90d659e512d788a
parent39dae59d66acd86d1de24294bd2f343fd5e7a625
rbd: use GFP_NOIO for parent stat and data requests

rbd_img_obj_exists_submit() and rbd_img_obj_parent_read_full() are on
the writeback path for cloned images -- we attempt a stat on the parent
object to see if it exists and potentially read it in to call copyup.
GFP_NOIO should be used instead of GFP_KERNEL here.

Cc: stable@vger.kernel.org
Link: http://tracker.ceph.com/issues/22014
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
drivers/block/rbd.c