From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:36616 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753572AbdKKMw1 (ORCPT ); Sat, 11 Nov 2017 07:52:27 -0500 Date: Sat, 11 Nov 2017 13:52:35 +0100 From: Greg KH To: Ilya Dryomov Cc: stable@vger.kernel.org Subject: Re: [PATCH for < 4.9] rbd: use GFP_NOIO for parent stat and data requests Message-ID: <20171111125235.GA20003@kroah.com> References: <1510396901-29487-1-git-send-email-idryomov@gmail.com> <1510396901-29487-2-git-send-email-idryomov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1510396901-29487-2-git-send-email-idryomov@gmail.com> Sender: stable-owner@vger.kernel.org List-ID: On Sat, Nov 11, 2017 at 11:41:41AM +0100, Ilya Dryomov wrote: > 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 > Reviewed-by: David Disseldorp > [idryomov@gmail.com: backport to < 4.9: context] > --- > drivers/block/rbd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Now queued up, thanks for the backport. greg k-h