Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 33F1E69D03 for ; Wed, 31 Jan 2024 10:19:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.130 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696388; cv=none; b=fogb+6C2os4XM0iPH9XzwzZmK3IzrvPLl/qO0c0oDMWGntfm/9zkRISbFYzi1S0mTdut3IWCD950FMhCQPIHzI3ZFsQk/BeAM3SrbBgZvkOJY21BcjF1ri3gsrdv8AzJuzN5h1evzud6JMaC3yESRowiRmD31XKAOZN/pFZrOJA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706696388; c=relaxed/simple; bh=ao6ZVj/NcwuD3DiKV9iLbICsi3wgtsKeTV7a6mefxNo=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=iLZnpuGHo52IEp/gBqzPJFwI2jXWS05/pFkk1nc0oeAyf1RMfo38sWUmBmu7ec2QERcVwLKbbp/Lrgmm4tr2XMacqEpgUYpfqN4UN1YlbFOU5/gjMf8LlDHHvwe4CVPXMUuLYN5eYVwyPuelOonXgJamzNobNKCU+FfP3U+ysZg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=P9qUFqEQ; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b=P9qUFqEQ; arc=none smtp.client-ip=195.135.223.130 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="P9qUFqEQ"; dkim=pass (1024-bit key) header.d=suse.com header.i=@suse.com header.b="P9qUFqEQ" Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [10.150.64.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 4440921F78; Wed, 31 Jan 2024 10:19:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1706696382; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=1lvDWsBmIQIKO3hi8GAQ083KiclkBE1+uowr///pfRM=; b=P9qUFqEQOO6RQ2ZMk4a2zCBSWm/u/DXJmLnZLUwT5qC0PxGt29LICImsVM3GRdSqfVmaFQ P47qvnZfy4XRmB548NzTbszOS/L1t+eFKtum7ObIt+//vrpx1wGosbCG6aj8WH/mXtrKWD CxNfSCmtDUX5RuZg95pIitGpgOXYmVQ= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1706696382; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:autocrypt:autocrypt; bh=1lvDWsBmIQIKO3hi8GAQ083KiclkBE1+uowr///pfRM=; b=P9qUFqEQOO6RQ2ZMk4a2zCBSWm/u/DXJmLnZLUwT5qC0PxGt29LICImsVM3GRdSqfVmaFQ P47qvnZfy4XRmB548NzTbszOS/L1t+eFKtum7ObIt+//vrpx1wGosbCG6aj8WH/mXtrKWD CxNfSCmtDUX5RuZg95pIitGpgOXYmVQ= Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 0F2C8139B1; Wed, 31 Jan 2024 10:19:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([10.150.64.162]) by imap1.dmz-prg2.suse.org with ESMTPSA id 4v/fAb4eumVIXAAAD6G6ig (envelope-from ); Wed, 31 Jan 2024 10:19:42 +0000 Message-ID: <2f0e15e5672f3d9f665491b40cfdada4cd9c36c2.camel@suse.com> Subject: Re: [PATCH] multipathd: the sysfs prioritizer can return stale data From: Martin Wilck To: Brian Bunker Cc: Benjamin Marzinski , dm-devel@lists.linux.dev, Seamus Connor Date: Wed, 31 Jan 2024 11:19:41 +0100 In-Reply-To: <22BFA8ED-7AA4-41C4-9253-3B2846301BFF@purestorage.com> References: <20240124020007.25259-1-brian@purestorage.com> <4dd466445f477e1991267edf30b16364af021f53.camel@suse.com> <22BFA8ED-7AA4-41C4-9253-3B2846301BFF@purestorage.com> Autocrypt: addr=mwilck@suse.com; prefer-encrypt=mutual; keydata=mQINBF3mxsYBEACmOnQxWBCxCkTb3D4N8VAT8yNtIBZrmvomY7RLddBIT1yh2X7roOoJQ5KlmyjMmzrPr111poqmw8v4dUqc1SVqQoKHXv97BzlVIEKC5G2W29gse0oXhx3dhie0Z6ytkHVOY29VLsLhVXEz+p5xL71KYgIy3lmM/NaWvoqwwaXiv1TmLG96Uoitvj1vdXqqTv/R6/MBye+xQUacXpM8FA5k7OpmzCFjl4NVtGmo0VhIfXM/ldmyEJpg8a5LrZ4t5Qi32BWQjUHGmS8OXjUJ/n0QxLkymbcbY1KepP9UnLGPT+TmKJm1QlMDj69+WPKgMsif3iz4hZPoQ0Knp11ThYzBh7+AiRxE9FG2hTtZeKimkpjR12bytF4Y0aIM/HeLMHRvwyk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P3fvqrbpMroa62gjTfCH4jPUxMmxmuW++cmemmm/S5q5qixp6oayN6C8YYzEB2lKZGZfX8QpgVLFZyMyfwARAQABiQI8BBgBCAAmAhsgFiEEdQ6tSy7esaVF1PX0Z8W G5oVWl1QFAmVqM6YFCQlknxsACgkQZ8WG5oVWl1RU/hAAh2OuXXLnPAp9rVDrsv3PNe2aXAC5VeaE9Yfyj49eAFzTE36KKMLd/5S/iIwiag43EYOF549pH2sO5KmOK/5JT+6Q1Zx7gWrf6nL5F8i4GWHle4QUeFJQG7w2CTP0Qiu0CQT0emcI1tBFLWNOTZx0W4/Qs7CGNvsDPmoRC8dCKe7t8P1vh6nrLCDILE8ft04AMEXZsHvFJCrXTNuaqBAm3hTSVetMowiZlJmDXtPwfFFXjaa1wXrOsDmzF/Oa0ZWx9FiHN6OTixuTIgMKzRsj8WOBmoCgNAPoTEZScZdYDIFd71LTtlVNIb1MjR66zyUmNmVlaZuPrtRS2JeF3B3gFi/Y4YfsvOG6lb9kEsoY54hDzdzQgeMBjxAy0GVt4mh6cSY4a5CmQtdKpGoipcXVlKgIUQAxR5Jz2ngCoOwHB3JPSM3cK8NoYfatymn9383IF5xeNJj8v85jeSxw1UYkvk0PBKvSFlKsECR5hzvBAMeCM+sQnhkmlAUJqh31XwhpE5zw+Eb4EI9Wq35CHOTYnB56ywLIExZ9/xHd0IJLdhL/YeKgXyGSwjkTqM47GpCPMBLCW5sesyIFWRHtzGYA9mWoMxS7YbOMxdirVr35gY9W/CCpNzZyg/2+f/P+wGleKx4K0vIuvdQGBr2PFHUKkEVAT1dNpBhOr+VdRoEEoSg= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 Precedence: bulk X-Mailing-List: dm-devel@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Authentication-Results: smtp-out1.suse.de; none X-Spamd-Result: default: False [3.55 / 50.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; BAYES_SPAM(3.65)[95.89%]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_THREE(0.00)[3]; DKIM_SIGNED(0.00)[suse.com:s=susede1]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-Spam-Level: *** X-Spam-Score: 3.55 X-Spam-Flag: NO Hi Brian, On Tue, 2024-01-30 at 10:43 -0800, Brian Bunker wrote: > >=20 > > A full rescan shouldn't be necessary. All that's needed is that the > > kernel issue another RTPG. AFAICS that should happen as soon as the > > target responds to any command with a sense key of UNIT ATTENTION > > with > > ASC=3D0x2a and ascq=3D6 or 7 (ALUA state change, ALUA state transition > > failed). > >=20 > > @Brian, does your storage unit not do this? If so, I suggest we > > disable > > the sysfs prioritizer for pure storage. > >=20 > > Otherwise, as far as multipathd is concerned, when a path is > > reinstated, it should be sufficient to send any IO command to > > trigger > > an RTPG. Or am I missing something here? > >=20 > > Martin >=20 > Martin, >=20 > What I am gaining with the rescan is exactly that. You are correct > the ALUA device handler the kernel has to send an RTPG to the target. >=20 > We do set a unit attention to have the initiator paths go into the > ANO state before we reboot leading to the path loss, but we do not > set a unit attention when the paths come back up. >=20 > We have relied on the initiator=E2=80=99s polling to pick up the ALUA st= ate > change which they always have in the past and the =E2=80=98alua=E2=80=99 = prioritizer > still will. For us to add a unit attention would work, but there are > couple of issues with that. >=20 > 1. Unit attentions may not get back to the initiator. It is not > guaranteed. That's news for me. If that happens, wouldn't it mean that the initiator sees a timeout (no response) to some command, IOW that there's still something very wrong with this I_T nexus? > 2. Paths could take a very long time to come back. We might not get > these paths back for a very long time. Sometimes it is just a reboot. > Other times it is a hardware replacement. It is possible for us to > keep this state forever and post when when that I_T nexus returns but > we haven=E2=80=99t had to. No offense, that sounds somewhat lazy ;-) Note that it's also kind of dangerous. You are hiding the state change from the initiator. If the Linux kernel decided to use the access_state device attribute for anything else but feeding the sysfs attribute, things might go badly wrong. > If we did post the unit attention, everything works as expected. I > have verified this, but I would also hope that the polling of the > checkers would also unstick my stale ALUA state and we won=E2=80=99t have= to. >=20 > I put this rescan_path inline to show the problem and the fix. I > wasn=E2=80=99t sure the =E2=80=98right=E2=80=99 place to put it. I get th= at it would be > better not to block on this. It should be possible to put this in a > thread so that it does not. The other caller of rescan_path I guess > is also doing the same thing when it is handling the wwid change. That's true and not optimal, but wwid changes are rare events and an error condition in its own right. Patches converting moving rescan_path() into a thread would receive sympathetic reviews :-) The big benefit of the sysfs prioritizer is that it never blocks, without needing pthreads complexity. Btw, I think you'd need to wait for the RTPG to finish after triggering the rescan, if you want to obtain the right priority (alua_rescan() -> alua_initialize() -> alua_check_vpd() will only queue an RTPG and not wait for the result). Unfortunately, the kernel has no API for manually triggering an update of the access_state. I believe that would be useful elsewhere, too. We can consider adding it, but it won't help with current kernels. IMO the best option for your storage arrays would is to force using the alua prioritizer rather than the sysfs one. You are not alone, we're doing this for RDAC already (see check_rdac() call in detect_prio()). This can be configured in multipath.conf right now by setting "detect_prio no" and "prio alua", and we can make it the default for your storage with a trivial patch for hwtable.c. Regards Martin