Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 760262E54A2; Sun, 1 Mar 2026 01:52:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772329956; cv=none; b=GXs3J5MSdL1a6uz6CuJMND6ApMdVZIuEnpRuC69+I9ZNA0OdHUT0lAK62sHt6zAcU47uiwbpJENMuvA7JvJiUSeSHsXworiwpOMun9067wX2PJ15/Oep5gzcFNZK9tonQGlkWzz5bbxdzY9ryleasgNSzrY4m7N5bH8Z/5loFqE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772329956; c=relaxed/simple; bh=3HOPbnmS4dKpQZXmQv8qJEvkgyHK0VUlvlTbJ6jt3Uk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ongmLv9BPxZoJUgjQcqKMHoZJEM/WvOrmTq+V71lgerbBWJJgUaaTi8STeo5QnXcdVWZcrSnpE3IYv52SOgTs1YWqy5xu8npmWPS4ib5k+AwOTqGu+BSfuFgWS5xkeD9+yEOckqrwLVc60u1wuC+UQI+gT+ZllLFrEFJDvEA84g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=MFQdddtU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="MFQdddtU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF0E2C19421; Sun, 1 Mar 2026 01:52:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1772329956; bh=3HOPbnmS4dKpQZXmQv8qJEvkgyHK0VUlvlTbJ6jt3Uk=; h=From:To:Cc:Subject:Date:From; b=MFQdddtU33Q4sBDjkDRAKH6yQW4YnlVfUPMKBuVfy4awqDX3uSbm0kZeyU94MPSBS Ji3bRp2FriofhX/cSoOD5mGpWcDzGbDwX+6bzv1Ju5I8BPdQP6cnRimoGS69q+J75N KcwdYKyiYhVcpr9ctbE7xbpGt8hdLWp7q+P0ItLmjG1OCHLlCk1JX3ANPtmnSbz0/h w2q3LmlS1hgDwaQ15sNoVHy3rH9jCSSElcPPv6heI5a6sddLW5IuHH9hbJ/hYdmToQ AifYC8Ju48bVd9GREST3AryU9jzpg5M1ELm5S57GyEa+QSluwwCUK+cCR6Jz4K3kFp nETyQJ5WCCXVQ== From: Sasha Levin To: stable@vger.kernel.org, bmarzins@redhat.com Cc: dm-devel@lists.linux.dev Subject: FAILED: Patch "dm mpath: make pg_init_delay_msecs settable" failed to apply to 5.15-stable tree Date: Sat, 28 Feb 2026 20:52:34 -0500 Message-ID: <20260301015234.1719130-1-sashal@kernel.org> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: dm-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Hint: ignore X-stable: review Content-Transfer-Encoding: 8bit The patch below does not apply to the 5.15-stable tree. If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to . Thanks, Sasha ------------------ original commit in Linus's tree ------------------ From 218b16992a37ea97b9e09b7659a25a864fb9976f Mon Sep 17 00:00:00 2001 From: Benjamin Marzinski Date: Tue, 27 Jan 2026 19:12:24 -0500 Subject: [PATCH] dm mpath: make pg_init_delay_msecs settable "pg_init_delay_msecs X" can be passed as a feature in the multipath table and is used to set m->pg_init_delay_msecs in parse_features(). However, alloc_multipath_stage2(), which is called after parse_features(), resets m->pg_init_delay_msecs to its default value. Instead, set m->pg_init_delay_msecs in alloc_multipath(), which is called before parse_features(), to avoid overwriting a value passed in by the table. Signed-off-by: Benjamin Marzinski Cc: stable@vger.kernel.org --- drivers/md/dm-mpath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-mpath.c b/drivers/md/dm-mpath.c index 6f9d86f4b912c..de03f9b065842 100644 --- a/drivers/md/dm-mpath.c +++ b/drivers/md/dm-mpath.c @@ -225,6 +225,7 @@ static struct multipath *alloc_multipath(struct dm_target *ti) mutex_init(&m->work_mutex); m->queue_mode = DM_TYPE_NONE; + m->pg_init_delay_msecs = DM_PG_INIT_DELAY_DEFAULT; m->ti = ti; ti->private = m; @@ -251,7 +252,6 @@ static int alloc_multipath_stage2(struct dm_target *ti, struct multipath *m) set_bit(MPATHF_QUEUE_IO, &m->flags); atomic_set(&m->pg_init_in_progress, 0); atomic_set(&m->pg_init_count, 0); - m->pg_init_delay_msecs = DM_PG_INIT_DELAY_DEFAULT; init_waitqueue_head(&m->pg_init_wait); init_waitqueue_head(&m->probe_wait); -- 2.51.0