Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp428104pxb; Wed, 18 Aug 2021 05:48:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJPnRFCMQU5TzFP2Kyww8nx2hpr3ooHFFbkTUIQ2sLkXPE3/RBNd9zozFiE/LVXuKpef7C X-Received: by 2002:a50:bae5:: with SMTP id x92mr4032159ede.134.1629290881658; Wed, 18 Aug 2021 05:48:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629290881; cv=none; d=google.com; s=arc-20160816; b=jRj2vK/OwTA02xVSVbF3I21KO8qFMwNLwH0Rx0ODNC0M9DWJEK7p7aP0E/JhURUN/o aHstCkFmTRdtE9yKTVd33hCbcP7lx5HucjW8rIuZQ71bqb2/SQW3QQHHOQeQ1qIvBB3y fGCQAWNSFTTD9QPvTVCN4cE1m0NGfLINUrxPoyDCBfoQ6oLxCl5lmTPhlQyQLFs/5i07 iie+yO7AYCP7gNIVzxP/yNOPvEhrzrA9T759ULuQSVrKjhsRUiiQHqJ9bOImYOH7pZU9 Q9CzTKauIFljrUnxGDLrRHy3VVFRXvwUk6cwtiIDfEYlER/PpR8T8GSRvEqWR9g3j30I srRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=TzEdLiDQM8rs0jwtsINY05exG7qfOg7U1lRRWprWkkA=; b=pw1ZOg11OrsWtniq4dtECLEcVViFxc3hAPplTkaO0rtv8oETXbMYKivwke4KYr87Ge ylXeqpkj3HRxS/kskY/bAasD+kbw6lgz0KRUZw0E8U3hsNdkyOaGc/KLkAKLjA2VKSx1 YYm9NuXbxYteDWWU1KHP0IMdv7YPKGy5W6eJvt4FW2MBHQ5M/7hdlEImwBTuUzyIZIQJ F6dYGSvyNXsGaB3n5wMUe2AUzJUncQazcz3H0Vf5OQ8bLwOpku9bSui29rD/f8VcMdHF 53ygti03Eb+6C4mGIl/yK7+qSq9DVOIZg8Kv1u+Za9ldb+qFWCxuh4eRzet5W1LRBCxe Er/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=WBW7Y00x; dkim=neutral (no key) header.i=@suse.de header.b=lmoLbw7j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y20si5491305edw.174.2021.08.18.05.47.38; Wed, 18 Aug 2021 05:48:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=WBW7Y00x; dkim=neutral (no key) header.i=@suse.de header.b=lmoLbw7j; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235738AbhHRMpb (ORCPT + 99 others); Wed, 18 Aug 2021 08:45:31 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:58108 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234801AbhHRMpa (ORCPT ); Wed, 18 Aug 2021 08:45:30 -0400 Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 7189E20071; Wed, 18 Aug 2021 12:44:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1629290695; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TzEdLiDQM8rs0jwtsINY05exG7qfOg7U1lRRWprWkkA=; b=WBW7Y00xYUWYhHRfBQ+tUq3eGXIsDtQDbj8iYk2kaVoY9QS/SdUswgkzoe7LIc1kP7IlKS uqb6v9asYdywsfZLNiPPlCSTOBg1ZhCsA1oXK+iDJ3bBxSzDeWpxKG0G/sjsVyRbDXD2qp S4hE1icbJ5maFY+fgmKiCulau+tDpnM= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1629290695; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=TzEdLiDQM8rs0jwtsINY05exG7qfOg7U1lRRWprWkkA=; b=lmoLbw7jphvHByq06Xn/y8rq0Z3BV+OJJ3EPua0W4GoAw2LRXOQyYXEw0LJrMZeHWtD08o uKFqiYMAV/VZ1GCA== Received: from imap1.suse-dmz.suse.de (imap1.suse-dmz.suse.de [192.168.254.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap1.suse-dmz.suse.de (Postfix) with ESMTPS id 5F92D1371C; Wed, 18 Aug 2021 12:44:55 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap1.suse-dmz.suse.de with ESMTPSA id H8rUFscAHWGnUwAAGKfGzw (envelope-from ); Wed, 18 Aug 2021 12:44:55 +0000 Date: Wed, 18 Aug 2021 14:44:54 +0200 From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, Hannes Reinecke , Sagi Grimberg Subject: Re: [PATCH v3] nvme: revalidate paths during rescan Message-ID: <20210818124454.vcfid2otecdprlsh@carbon.lan> References: <20210811152803.30017-1-dwagner@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210811152803.30017-1-dwagner@suse.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 11, 2021 at 05:28:03PM +0200, Daniel Wagner wrote: > From: Hannes Reinecke > > When triggering a rescan due to a namespace resize we will be > receiving AENs on every controller, triggering a rescan of all > attached namespaces. If multipath is active only the current path and > the ns_head disk will be updated, the other paths will still refer to > the old size until AENs for the remaining controllers are received. > > If I/O comes in before that it might be routed to one of the old > paths, triggering an I/O failure with 'access beyond end of device'. > With this patch the old paths are skipped from multipath path > selection until the controller serving these paths has been rescanned. ping