Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10350823rwr; Fri, 12 May 2023 07:07:32 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6cK8YNfNw6hEN7tqEEhn2Cmd2aO6qjcSrc7DEHV3aPB4nBeUFkBphULLJie8g/i0be5Jev X-Received: by 2002:a17:903:41ca:b0:1ac:3fe0:d6ad with SMTP id u10-20020a17090341ca00b001ac3fe0d6admr29421645ple.65.1683900451577; Fri, 12 May 2023 07:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683900451; cv=none; d=google.com; s=arc-20160816; b=j+PyHb2a7/wUN0gTOecnOd9pMNAuBPyZHdr70WDB5ErzP7mxkTSNbw9a7JbxmrB+y8 UfBvWGRiJvKrA+sUjC1ApiZv16w3Q+wgrrFOAZxsukIccc6ShRmmPiOR1RYO2t5XQd94 lIoJX4rU2Rz/3WH20oosGgVjbEFWUR1o2ZKXVP3V1rGPfs6haGJ+w0jzFMUQy7Mv03yO /Fg6S1+TXlVnaOPhxowvkDSgTsxcH+50zo+nz9WvscyKg/vrwFI3nQ2x0UeXATDPeyCc YPCwG1Fmh4jEun0M3L5IkpFv1nzD2yAXF0On3DvQUpRwJQGaX8Q6GlcACrI6UkCXDLCp yajA== 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=o42bYRiGDYv0oiaZby38uYs2JfHiCSTG+EB2+ilcPVk=; b=RtzcE+r2azg+2CaOW/pXsESUHxIxKtjh/vD4rPsYNEwefljxijskhQnEgEajYm/ovy SLihicdPvjmVn5XmAOb+/bawHjrY+TrRgp00ZDCmy2y8MkzIT4eGSqPEFzK5fQU5Uh0O kQqw7g7GLF/OifbOLuU9LuEVaZpB0ioiy10VvZWjGUDv6OGR0ZSBOO11vo2CBXul86N0 oq2PqJWk2MjhYOyvxikoV9ozifg2wqZhq3mnolor1rQ4tp+Gva7+QJGPkZFnzHh7rtcO dZurLoQ6UqCilgQaXubaPTo8B/fZM2WOYUF8EUbVFl+FaVP+WCTPcx80BNb7zT836cND l1Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Map3vAxf; 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 y12-20020a1709027c8c00b001ab045ac4fbsi8762235pll.183.2023.05.12.07.07.13; Fri, 12 May 2023 07:07:31 -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; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Map3vAxf; 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 S241323AbjELOC0 (ORCPT + 99 others); Fri, 12 May 2023 10:02:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39144 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241363AbjELOCU (ORCPT ); Fri, 12 May 2023 10:02:20 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 322AF19B2; Fri, 12 May 2023 07:02:18 -0700 (PDT) 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=o42bYRiGDYv0oiaZby38uYs2JfHiCSTG+EB2+ilcPVk=; b=Map3vAxfT7tsVfbMF/gNeenRuo KLBR5Nzp0laRWmmdiRmjCrUlwA2qAl2I9ItANArxroeXiXYWVIQKCXqA1zKVKZIHbFCa2jdB2eoOd 7NPmfhfqDnrBzTmDZVBK0b7kTX+Qr5X1wq/bOjeTsvgleSOBxSD6XyINFlYfsMmt/g1nEac2cRso2 IrnQVXP1ccbFFx+1s5K2CZWW7IZ1uH17gFTL5Fxd4TQeXKVTK5wUaDeiBo47CboZmU19YBfNgGUKM CSmE1z8PhialJ38FDh3KbtUju36Wft/LvaFTf52a4CRl9uo1nIuxkjpR6h4T4ByriElFSaL6RyP6f DSL5qX3w==; Received: from hch by bombadil.infradead.org with local (Exim 4.96 #2 (Red Hat Linux)) id 1pxTLb-00C6TY-1i; Fri, 12 May 2023 14:02:15 +0000 Date: Fri, 12 May 2023 07:02:15 -0700 From: Christoph Hellwig To: Bart Van Assche Cc: Christoph Hellwig , Ed Tsai , axboe@kernel.dk, linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, martin.petersen@oracle.com, stanley.chu@mediatek.com, peter.wang@mediatek.com, chun-hung.wu@mediatek.com, alice.chao@mediatek.com, powen.kao@mediatek.com, naomi.chu@mediatek.com, wsd_upstream@mediatek.com Subject: Re: [PATCH 2/2] ufs: don't use the fair tag sharings Message-ID: References: <20230509065230.32552-1-ed.tsai@mediatek.com> <20230509065230.32552-3-ed.tsai@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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,URIBL_BLOCKED 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, May 11, 2023 at 08:38:04AM -0700, Bart Van Assche wrote: > For which devices is the fair sharing algorithm useful? As far as I know the > legacy block layer did not have an equivalent of the fair sharing algorithm > and I'm not aware of any complaints about the legacy block layer regarding > to fairness. This is why I proposed in January to remove the fair sharing > code entirely. See also https://lore.kernel.org/linux-block/20230103195337.158625-1-bvanassche@acm.org/. Because the old code did not do tag allocation itself? Either way I don't think a "I'll opt out for a random driver" is the proper approach when you think it's not needed. Especially not without any data explaining why just that driver is a special snowflake.