Received: by 2002:a05:6512:2355:0:0:0:0 with SMTP id p21csp5518888lfu; Mon, 28 Mar 2022 15:51:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOkEomo0fMBCe9HpfC4ujMn9UGmO4BWbXHxak1sScRHBwLXq07rqk7+PFfyjw/1ZZBb7sz X-Received: by 2002:a17:90b:4c8c:b0:1c6:f86d:a6f5 with SMTP id my12-20020a17090b4c8c00b001c6f86da6f5mr1401283pjb.15.1648507901689; Mon, 28 Mar 2022 15:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648507901; cv=none; d=google.com; s=arc-20160816; b=DD31M+rmuMsyMabjWWq5Qig7pARHw+FWBBUIQmTl1ZmtjScnB/JM7LEtztj2ujVkR1 1s6C+YHUFOukyRFxaTz7yFHFzz8Ra26SOETpvlJsRE67zickET8GAIalCXJC3g2eZ9B7 c1uwG7Fq8Fa3hqyygrKxw2PYNwe4meXffYz9ZfAXb+JFEz+7zm/XCXBM+guqbnBmsGmR IAwTcl26l4dErh29W8415ZpDuDV25GBYI4HxCbxsGaaZ6gDK6OqzaS944MXb5WrOHGaL FbnFHiwewfSlrhFMpKhkXRYaEQ9JeeA/550LbH8i54psO3N3ZqFmc6xAzXdUGIzkvAAW xPow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:in-reply-to :from:references:to:content-language:cc:user-agent:mime-version:date :message-id; bh=Nr1h/lMvsxdgNilGJVmuaI9j0Hj89F+MCciZtJ3J+dU=; b=orZ1YVr3xi7PNsNcnH6WEp0oTqUwLIkeKI79n/fhrezeJ0T29h62VyQ4IhyhWZ0OXJ A2uzrT8onnVTL+RETYulUSImz2iJGb4TZ6E42DL79IIq3LHgKyb7++oDhlsJUG8Kl/ky DXxo2qAFph/xQy82ApppbRmvimL/EU78MQfjoV//A8zMVID1NXic0opPCS1yjH6lLeOs SousehbffwIHDt1ClSNtZwrkTffqX5QdmriOac26H+KSR+aDJ5k3rWkQZMtVaehvpblw bCZDcIMbuHSBxy37d+wgn7R14cTKNi5jqSYHbAZOVmdUAzQXr3R8uPAIpbNJ2sxF8uLl wvPw== 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:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id w13-20020a63474d000000b00384b2898db2si15087038pgk.434.2022.03.28.15.51.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 15:51:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0F01A39805; Mon, 28 Mar 2022 14:54:55 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244231AbiC1PII (ORCPT + 99 others); Mon, 28 Mar 2022 11:08:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48514 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244244AbiC1PIA (ORCPT ); Mon, 28 Mar 2022 11:08:00 -0400 Received: from iris.vrvis.at (iris.vrvis.at [92.60.8.8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EAE9642493; Mon, 28 Mar 2022 08:06:17 -0700 (PDT) Received: from [10.42.99.207] by iris.vrvis.at with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nYqvu-0002xb-Pi; Mon, 28 Mar 2022 17:05:27 +0200 Message-ID: Date: Mon, 28 Mar 2022 17:06:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, Justin Sanders , Jens Axboe Content-Language: en-US To: Christoph Hellwig References: <07bafc71-a6d2-ad6d-4706-7c99047b3228@vrvis.at> From: Valentin Kleibel In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 Subject: Re: [PATCH] block: aoe: handle device timeouts atomic-safe 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 10/03/2022 16:29, Christoph Hellwig wrote: > 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. Unfortunately I'm not able to assess this. It would be a more complicated change than I'd be able to provide and the proposed patch fixes the existing issue. Cheers, Valentin