Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1773423pxb; Mon, 23 Aug 2021 04:24:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaxXahgfKfCfVaP/kzmAd31RYa/22s3rEul+ZgcyP7yESYVy0nn5+9CEUfdq3/BTZxppe3 X-Received: by 2002:a05:6e02:1d9e:: with SMTP id h30mr13332468ila.195.1629717893919; Mon, 23 Aug 2021 04:24:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629717893; cv=none; d=google.com; s=arc-20160816; b=M8AhwUUXz5cTRCaessQIgsAE9y2FVbgFwX9NZvbSMS+rKRJ/XYM93R/AOy8Ha7kG6K kPwbndbxegDe0CHbT38zsqeyJo2GRZKEU70kkN0fbjTUheBEhIysrgcMzDG+/ehdaxaH caGxJnme+eoEUL2uDYNDNZUqySQpsQxNCe3qCZnofzG3aZkffyxfJrnyQOwlaNJPOB9g 3zIVNtMh81Kb0B54UyVXMnmfPOzj7e50aVLsU5JDRcikqi+BIgZu8OMoe6tGH2nP1rtO jusEVSTnd66xgxVy/ZMLKDSacQzQ1SVn8PhdrtFc7uI1X6Cs8L22Qqlss0ChsXIco3ss bq6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=RA4HTkvFglG0/CjS1mPXjBNeKgRNmXs+Fgd4zJqlWOY=; b=nFYgF7csv5OJZvZ0ZkDPReUfdgTdoCtMBY9rVQ8635pjhAo6Axb4FuCnjHiGpZ3FXa rrPhOZGQczbfActBI/RFRuQcw6c4KFRUWZQhfHLgzYFyFGiqs3d+iDKy0Ek4yxrlUiev QgFiv8S7cz+v7aSmDuKjrHgG7JYwMWJifTWaObWW/LGuyg+nuGmnxCeYu0estvy98/W6 fXBlDKue0oAz4KCDCyhKt+UFIsH2nHEIF5EZmqjjhhnyjLArybiTWhedKQGFKr1ZxeRP TbrO+DwiC5aFIxMzKaCguEGiOicv5qfmgX7qGhz6foyLGqjnoPbpsJmrQ1AnPG1OZEJe zpAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=tZsekKYx; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 w42si3130994jal.18.2021.08.23.04.24.43; Mon, 23 Aug 2021 04:24:53 -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=tZsekKYx; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; 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 S236636AbhHWLYj (ORCPT + 99 others); Mon, 23 Aug 2021 07:24:39 -0400 Received: from smtp-out2.suse.de ([195.135.220.29]:37646 "EHLO smtp-out2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236437AbhHWLYg (ORCPT ); Mon, 23 Aug 2021 07:24:36 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id EE62D1FFAD; Mon, 23 Aug 2021 11:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1629717832; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RA4HTkvFglG0/CjS1mPXjBNeKgRNmXs+Fgd4zJqlWOY=; b=tZsekKYxNsz1gmeaRFut4Yf7gU5dL2iwHK112uE7+EnjDDEgtbgq20z07l4Gdpwt7oOGxT GQzAuOpLlqsannzW3QEDzOL2fjWoGfpydugYU347DWAMxoJvEI4NEq9Avan2O+hkDgUYhM SgXnh1bK3Ng8xTiY0tJK6aS2pWX1Ywc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1629717832; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=RA4HTkvFglG0/CjS1mPXjBNeKgRNmXs+Fgd4zJqlWOY=; b=UQNBtlDCCBMGHvDx97dwJ/vtfdFiAVVkfqqEbcQ3G3G+Ienj2HTqOegYiBjYi/mpnxUvUL M6ZtkMsqrD0F+wBA== Received: from adalid.arch.suse.de (adalid.arch.suse.de [10.161.8.13]) by relay2.suse.de (Postfix) with ESMTP id 2AF4FA3BB8; Mon, 23 Aug 2021 11:23:52 +0000 (UTC) Received: by adalid.arch.suse.de (Postfix, from userid 17828) id 18E83518D889; Mon, 23 Aug 2021 13:23:52 +0200 (CEST) From: Daniel Wagner To: linux-nvme@lists.infradead.org Cc: linux-kernel@vger.kernel.org, James Smart , Keith Busch , Ming Lei , Sagi Grimberg , Hannes Reinecke , Wen Xiong , Himanshu Madhani , Daniel Wagner Subject: [PATCH v6 0/3] Handle update hardware queues and queue freeze more carefully Date: Mon, 23 Aug 2021 13:23:48 +0200 Message-Id: <20210823112351.82899-1-dwagner@suse.de> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, After our last discussion in v5, the nvme_freeze_start() is gone (James provided a new patch). I also updated the commit message of the first patch which adds the imported bit why we need to update the number queues first. Anyway, I think we figured out the details in this path and I am quiet confident that we nailed it now (yeah, famous last words). Daniel v1: - https://lore.kernel.org/linux-nvme/20210625101649.49296-1-dwagner@suse.de/ v2: - https://lore.kernel.org/linux-nvme/20210708092755.15660-1-dwagner@suse.de/ - reviewed tags collected - added 'update hardware queues' for all transport - added fix for fc hanger in nvme_wait_freeze_timeout v3: - https://lore.kernel.org/linux-nvme/20210720124353.127959-1-dwagner@suse.de/ - dropped 'nvme-fc: Freeze queues before destroying them' - added James' two patches v4: - https://lore.kernel.org/linux-nvme/20210802112658.75875-1-dwagner@suse.de/ - added 'nvme-*: Unfreeze queues on reconnect' - added Hannes' reviewed tags v5: - https://lore.kernel.org/linux-nvme/20210818120530.130501-1-dwagner@suse.de/ - dropped non nvme-fc patches - updated 'nvme-fc: fix controller reset hang during traffic' v6: - updated commit message 'nvme-fc: Update hardware queues before using them' - dropped 'nvme-fc: fix controller reset hang during traffic' - added 'nvme-fc: Remove freeze/unfreeze around update_nr_hw_queues' Daniel Wagner (1): nvme-fc: Update hardware queues before using them James Smart (2): nvme-fc: avoid race between time out and tear down nvme-fc: Remove freeze/unfreeze around update_nr_hw_queues drivers/nvme/host/fc.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) -- 2.29.2