Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp458603pxb; Tue, 15 Feb 2022 18:30:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwe77qwtAnMw2wt7WZEjAbB5r5pv1r7gdjqrxNOXxQ9yqOc5TPw0m6OBd6n/PlDkDBru9II X-Received: by 2002:a17:906:eb4a:b0:6cf:bb0e:69fb with SMTP id mc10-20020a170906eb4a00b006cfbb0e69fbmr630480ejb.149.1644978649332; Tue, 15 Feb 2022 18:30:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644978649; cv=none; d=google.com; s=arc-20160816; b=gL/PsjLB8T+EtSFPEjPM4p+a+cY079CeBMGzfZ8n5Tn+0P+Z7a9sdjMUiy8Xg5OUuR NBD4F18YrIiLR3GTLqV+EPiNzfafrudacC/bAINpdGgbhIEmuUutH0mtE8jY/45vOA29 RyaQIyTsDj7VCNOx15eXR5SdLKP6jwFD4dY/oimDnUR9UpgaFVAnb0rPL65Ltgf8E9+F J0HF3ZCzO3adrDU7n+B2ORr1dp+gy8FCvz3qGQ3hFtEyTl3l/6+rHwVbsFxMLqHMQzwW /8Exlqql6YtPZyic6sUCj9ljbTmd31UFG/OyshDIv46w0S7FDRMu6wdcTYWuaw73LNi2 ZaSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=nl4o5RxNNbIt1Z6dWO7pSY8Wjf8IseaJQhEsbr35n2E=; b=ejLWg5EEgGkBUQYJHePF4Y+uDkGZ3l4pfgXvW0/fDVyft4jzgtR/R753g2dRMuTFHQ g2gIJzURCZjju0F7/I3Liaz3zX5XDgmHeBPsckKnmQJelKc4TEBPUKgf1Ka+SZzJaD69 o3h6uymjZr4425QVYZ5TXSY562Vpz8Z0c7fkE/2Uvp95yRASI+GZUoz+J77wVl9ubBhg Zmgn4n5Ap6wd5I/V6raOxjpKq6qUUG/TbdvL0lN7aI38JJ7Wy/LSyADuj9CJdFh+//RS lhFfiNtckRAsQF5rwfhOROmLkNN/b5TaqRR2xQvDtBTI7jxn6onWQMfuVdc1I0xN1Mlh kMWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g24si1069016edv.6.2022.02.15.18.30.27; Tue, 15 Feb 2022 18:30:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238619AbiBOTRs (ORCPT + 99 others); Tue, 15 Feb 2022 14:17:48 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:45480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236277AbiBOTRp (ORCPT ); Tue, 15 Feb 2022 14:17:45 -0500 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9959C108BD4; Tue, 15 Feb 2022 11:17:34 -0800 (PST) Received: by verein.lst.de (Postfix, from userid 2407) id F2F2268AA6; Tue, 15 Feb 2022 20:17:31 +0100 (CET) Date: Tue, 15 Feb 2022 20:17:31 +0100 From: Christoph Hellwig To: Markus =?iso-8859-1?Q?Bl=F6chl?= Cc: Keith Busch , Jens Axboe , Christoph Hellwig , Sagi Grimberg , linux-nvme@lists.infradead.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Roese Subject: Re: [RFC PATCH] nvme: prevent hang on surprise removal of NVMe disk Message-ID: <20220215191731.GB25076@lst.de> References: <20220214095107.3t5en5a3tosaeoo6@ipetronik.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220214095107.3t5en5a3tosaeoo6@ipetronik.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 14, 2022 at 10:51:07AM +0100, Markus Bl?chl wrote: > After the surprise removal of a mounted NVMe disk the pciehp task > reliably hangs forever with a trace similar to this one: Do you have a specific reproducer? At least with doing a echo 1 > /sys/.../remove while running fsx on a file system I can't actually reproduce it.