Received: by 2002:a05:622a:251a:b0:39a:b4a2:e86 with SMTP id cm26csp678437qtb; Wed, 19 Oct 2022 11:58:50 -0700 (PDT) X-Google-Smtp-Source: AMsMyM74y3VJryJa0JfKrFOtAJPVh5j4DrR0qxPqMG/cbVT8eYIrpojzohEi1I3lD3pri7wmrudP X-Received: by 2002:a05:6402:35c9:b0:45c:de2e:ae1c with SMTP id z9-20020a05640235c900b0045cde2eae1cmr8824628edc.393.1666205930162; Wed, 19 Oct 2022 11:58:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666205930; cv=none; d=google.com; s=arc-20160816; b=tnCKjjA8N/tyuhf/OCD1kacBcaMRj1zdYnn2RJPzpsXnRnoq4OY0F+ZUo6pxCwJhFO cElW06PDRntSyuAX+NpoLqUrj9AkcBA1OzrU+l4CSGPnm1EPAQfFYuD+ioLwp+mSGBrf OlYKX3QRON3dMb07bApM/K061cTYgKMJQxrCbyt+knkrfUeLQySFEF486BKxkXEo/qOR rFERS5WQmYDHww0EIHPtID5Go6mc91+JBHDN4NIsBhw08cv5Q2+9pFip1LbTMxnQh/3i Wqfv9vmc3oGDSMI3ETbGQtjBVYkkYxZj3FmBKDb0mWg4vcjdIau7d3YnZ5W1xhzULTtt rtIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=ibazVU8VEWiKjzH5tdP3qJYeOezJN/1hV2XwUlu7gXQ=; b=BYs6fuB56xsljG2PYRFeteRZanyBuCfm2qeLWhGo5vNEDSByXkceRW9uhL/ETTIs3B POK+u9+zbQXOtn+cvaG2lP5iSBiPWQWV+vJ/KB3TRMvl7/eR4WihwDBk7KpDQssicK1a Bq814OH/ZDpdP/biAeY95KTqItbmgZdpE8M+vaOuP6N8YX9jkpFJVmy6JA7qhdZpQCtH jQsvPtMAFhS/2dw8Zj9NoIgAP3YV9ympEVvjRx/CHtaj5bevbsaFhOK0RDE891zvnGxX OA615VgJiIBVwuIHo7xqFn7ibD+YriFgbhj6UlQMUaku190SNw9QS3CPSm2FOWRKzh+H aJPw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m19-20020a17090679d300b0078b8bc456dcsi12734000ejo.315.2022.10.19.11.58.16; Wed, 19 Oct 2022 11:58:50 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=acm.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231331AbiJSRlZ (ORCPT + 99 others); Wed, 19 Oct 2022 13:41:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231218AbiJSRlX (ORCPT ); Wed, 19 Oct 2022 13:41:23 -0400 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4179190469; Wed, 19 Oct 2022 10:41:22 -0700 (PDT) Received: by mail-pj1-f50.google.com with SMTP id pb15so634651pjb.5; Wed, 19 Oct 2022 10:41:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ibazVU8VEWiKjzH5tdP3qJYeOezJN/1hV2XwUlu7gXQ=; b=ruK9PbxcCpCfLDahmXQss+5aP1CNhgBTBXb38XLXG7eZzQna9gvIvBVXoj/b4xx6x1 ZoiursHj9+udLBP+8mzt2zmsf36TenfxfpsQ9gHacPrGQi+I3F2SOo0ep2RDFJK79VKr vY7irfw7yhbw3FJOAmllfxqQEOp4klJGcpaAuJV4HMal5bFeTdJCGD+pMfPJPvGDobDi IA60wGPUN86afUE1SlCcsO0mGTvrvCzwdU/UtWbZghtaJwgFCwuqbXY0KXg1EqJCO3tj i4oKlYUQtNOed6GDAYHEGiO6s6mBnyOC7WWlITklo0lIep+DLrqi+zKhYeavJB5YaHFT xtUA== X-Gm-Message-State: ACrzQf3hYivM5dVv9j61OtJofwi15aB+nda1MffX7Di03trkHepkNfqT nSdRVixcBDBVtUSfx7TBQTE= X-Received: by 2002:a17:90b:1808:b0:20d:4e7f:5f53 with SMTP id lw8-20020a17090b180800b0020d4e7f5f53mr45790427pjb.170.1666201282060; Wed, 19 Oct 2022 10:41:22 -0700 (PDT) Received: from ?IPV6:2620:15c:211:201:8280:2606:af57:d34? ([2620:15c:211:201:8280:2606:af57:d34]) by smtp.gmail.com with ESMTPSA id u5-20020a170903124500b00174c0dd29f0sm11128116plh.144.2022.10.19.10.41.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 19 Oct 2022 10:41:21 -0700 (PDT) Message-ID: Date: Wed, 19 Oct 2022 10:41:18 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH] null_blk: allow teardown on request timeout Content-Language: en-US To: Chaitanya Kulkarni , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" Cc: "axboe@kernel.dk" , "damien.lemoal@opensource.wdc.com" , "johannes.thumshirn@wdc.com" , "ming.lei@redhat.com" , "shinichiro.kawasaki@wdc.com" , "vincent.fu@samsung.com" , "yukuai3@huawei.com" References: <20221016052006.11126-1-kch@nvidia.com> From: Bart Van Assche In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=no 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 10/18/22 21:19, Chaitanya Kulkarni wrote: > Also, I've listed the problem that I've seen first hand for keeping the > device in the system that is non-responsive due to request timeouts, in > that case we should let user decide whether user wants to remove or keep > the device in the system instead of forcing user to keep the device in > the system bringing down whole system, and these problems are really > hard to debug even with Teledyne LeCroy [1]. This patch follows the same > philosophy where user can decide to opt in for removal with module > parameter. Once opt-in user knows what he is getting into. Hi Chaitanya, From commit f2298c0403b0 ("null_blk: multi queue aware block test driver"): "Written to facilitate testing of the blk-mq code". I'm not sure of this but adding a mechanism like the one in this patch may fall outside the original scope of the null_blk driver. Thanks, Bart.