Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1570904pxp; Thu, 10 Mar 2022 08:01:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwZ+r5B2+Xvlxls4dau60sur/DxejQA92/wLkgHtuMeNhkY0En/JXOmAYM3xJOvI21QH4RL X-Received: by 2002:a17:907:7f8d:b0:6db:7227:daea with SMTP id qk13-20020a1709077f8d00b006db7227daeamr4784476ejc.100.1646928064320; Thu, 10 Mar 2022 08:01:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646928064; cv=none; d=google.com; s=arc-20160816; b=HC18crIJS4jKKEFcv46dmWWyTqYWqxAcashq1WoZcswB6DlLHIh2AxBVuAZR4G5T3y ftFUpBnfHzeBmgRySGNOQRZ3QTiYdRBthcl4QGKgMIxFtlC1TkyWwnnhAgnStDOku3/Y DbyZ6K9OBMFYPINrrPB5q05+ZnZ87Tg+UFwZgQ4cN8/GYNSVR9Nt1+SmOPgHP6qYpMDR TrUlr88zeHSHtWeP+ouoJM4cAq24fAZwI6e0ttPhuRmhkNbBCu7eC1NqRjGFFbJLOu5U Nr8RkT4nAFY0QaM+n+c/ov8YOwu155utJHvSjtNNfJjHd1SW61OK2bpQXa1jS3BENfWK H8cA== 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; bh=MtFPNUJOKihK1AuLv4ZBIl0Bz4OcJZ6RUVMYCdOXqgQ=; b=D1txMB+MqNEF2DDfbKIb8WtWHo5aOlcJzrMUI8VBcmfnya7aIaAILLS+c06m5WVMcj VXnuvfAIiznL9iP9IaxmdNDGn7yvrzh1lDtV+iBWkciz6g3z5RvZuSmOQchAm9Z7w5aC fK2ASL66Bvd5QlceBSaLasEmSk2DKzkNvgmTu/rF66KUu7B8iVF9UgIj5AfdbNB1d9cO 0wMxLrkd6VWpX9GxSG7pEIjK514mqJMFKrsv4OEq11cqSdREBCZ6qubRIpUIKgGwQjEn 0ry6uXfS7gxDMUwOXKzsBBzo1QHnN+iyXliVT1f9EczRf+ZV7brAfjkl8EjvKpghLzjV 6mxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RAQL1AaE; 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 d1-20020a50ea81000000b00404ac2ac3a2si3663159edo.390.2022.03.10.08.00.36; Thu, 10 Mar 2022 08:01:04 -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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=RAQL1AaE; 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 S237988AbiCJPas (ORCPT + 99 others); Thu, 10 Mar 2022 10:30:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236035AbiCJPar (ORCPT ); Thu, 10 Mar 2022 10:30:47 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4905159EA8; Thu, 10 Mar 2022 07:29:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=MtFPNUJOKihK1AuLv4ZBIl0Bz4OcJZ6RUVMYCdOXqgQ=; b=RAQL1AaEp/b8GSIkEy8r45ozgC nyWQnnHRgqBEY2b5NhwRj0sRE6jUHJAHoNgKc8lEXMXfbxZtpqSqCj3frnsMLHdgGrendhw9z31di tEMpBy/f8IebZ/FRy9LJiWOGiWurDk9rmXLy4YooFUxKDyqXgvX3mTQgdUPcUMSMd03R8VgWUoMbS esIFSiuE3iEfs2Kucm6o4uiBMIgd3I9Xys4KyDuyn9AATYwHTF2STYmcObDxR4I+y8C0eJ/IPMCBa XdiPmCX+gjPlP/Bf+PfGs/llzqF6Dlq6Xt9uqBIGAFDEmbfVk7F9v0OIm+aqPfaRcQ9111bSHIdsW bBnAQCvQ==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nSKjY-00DLde-PC; Thu, 10 Mar 2022 15:29:44 +0000 Date: Thu, 10 Mar 2022 07:29:44 -0800 From: Christoph Hellwig To: Valentin Kleibel Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Justin Sanders , Jens Axboe Subject: Re: [PATCH] block: aoe: handle device timeouts atomic-safe Message-ID: References: <07bafc71-a6d2-ad6d-4706-7c99047b3228@vrvis.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <07bafc71-a6d2-ad6d-4706-7c99047b3228@vrvis.at> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 Thu, Mar 10, 2022 at 04:17:37PM +0100, Valentin Kleibel wrote: > If an aoe device does not respond to any packet on the network layer within > aoe_deadsecs, the driver tries to mark the device as down, fail all I/O and > clean out the queue. I think the problem is that aoe even tries to queue up request internally. It really needs to switch to use BLK_MQ_F_BLOCKING and stop queuing up the requests internall at all.