From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:53398 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751368AbdIDKwa (ORCPT ); Mon, 4 Sep 2017 06:52:30 -0400 Subject: Patch "dm mpath: do not lock up a CPU with requeuing activity" has been added to the 4.12-stable tree To: bart.vanassche@wdc.com, gregkh@linuxfoundation.org, hch@lst.de, loberman@redhat.com, snitzer@redhat.com Cc: , From: Date: Mon, 04 Sep 2017 12:52:24 +0200 Message-ID: <150452234484144@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled dm mpath: do not lock up a CPU with requeuing activity to the 4.12-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: dm-mpath-do-not-lock-up-a-cpu-with-requeuing-activity.patch and it can be found in the queue-4.12 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From 1c23484c355ec360ca2f37914f8a4802c6baeead Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Wed, 9 Aug 2017 11:32:12 -0700 Subject: dm mpath: do not lock up a CPU with requeuing activity From: Bart Van Assche commit 1c23484c355ec360ca2f37914f8a4802c6baeead upstream. When using the block layer in single queue mode, get_request() returns ERR_PTR(-EAGAIN) if the queue is dying and the REQ_NOWAIT flag has been passed to get_request(). Avoid that the kernel reports soft lockup complaints in this case due to continuous requeuing activity. Fixes: 7083abbbf ("dm mpath: avoid that path removal can trigger an infinite loop") Signed-off-by: Bart Van Assche Tested-by: Laurence Oberman Reviewed-by: Christoph Hellwig Signed-off-by: Mike Snitzer Signed-off-by: Greg Kroah-Hartman --- drivers/md/dm-mpath.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -504,7 +504,6 @@ static int multipath_clone_and_map(struc if (queue_dying) { atomic_inc(&m->pg_init_in_progress); activate_or_offline_path(pgpath); - return DM_MAPIO_REQUEUE; } return DM_MAPIO_DELAY_REQUEUE; } Patches currently in stable-queue which might be from bart.vanassche@wdc.com are queue-4.12/dm-mpath-do-not-lock-up-a-cpu-with-requeuing-activity.patch