Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp583398pxj; Thu, 13 May 2021 11:49:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPL2g4dqby7CRR7g+ZTM48Z0YGr4NcIWDtfUHQ5U+6ey/moMlah2fEq74s5igCrJ7iJhHQ X-Received: by 2002:a9d:1d01:: with SMTP id m1mr37093821otm.155.1620931789951; Thu, 13 May 2021 11:49:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620931789; cv=none; d=google.com; s=arc-20160816; b=suIfxAeY8zxSbHHO3Imfh7cCOUDA1IT7rGqWlzts2s4OOOrvhkOXFGnT4+dGpu4Mg5 /LS3U8AqtqQvHQ6dW4ZAMntB7UWrE0cE0Iqe0GopP4Qx2H8fAAQIErHZc8Zf71xJ85K5 191/5rIbK1tqLqZu3xaoW22aHkWXcd7JNRANqx0MJV6la7vm1jTbEYJXHAAdpqaFHWrQ tKsujn7CBivlDlawH9w3cE29qkJGH18AnCAkPbQTwZ7DtTvFVyPqvF2JAPEelaE0tHW9 qSYqTWlJQ1OnE/A4PnmaAqLgqXzv1rRmilEnvqC3sdetYNckC1EcUFJzz8k8qpJmUMlB tSbA== 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=r9oN4rAfYVkltFP1nqUdIrhELASwJQF3sOXiPvRVsQo=; b=moqA3rchxug99tcgr5guhZhYe1ccmNhuK+/DNtVE+9mUXw5Jwg4r1XXM6k2CmDpWF5 X4WL8E1475D7cD67g2LVLsuB4Vp/uLkq14dG09MbzzPbverTHK5PrRhANSC4VB/3en8Y cFCxa4HRBQQK2WVbqrIzV96cqjbQJkyoXP3q3ZSnfsL4K5te8Q0uYPDQ2wzZjIl35xN1 3G1orB0UJzHpuVVIXtzEobWEgSCgptHSXR2WbmIhyLh8X0hZvfq35vtdnRYAiYOl3xzO rMnH0vEFtiT8xQPsoULTMeJCdxf+oBEKkjATa8C9NYkQUtDmW/3N95RoRQRKMaQVzwur 0qOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=hDwMX6WO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c14si4185960oib.113.2021.05.13.11.49.36; Thu, 13 May 2021 11:49:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=hDwMX6WO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232473AbhEML1V (ORCPT + 99 others); Thu, 13 May 2021 07:27:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58612 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232340AbhEML1S (ORCPT ); Thu, 13 May 2021 07:27:18 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CAA59C06174A; Thu, 13 May 2021 04:26:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; 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=r9oN4rAfYVkltFP1nqUdIrhELASwJQF3sOXiPvRVsQo=; b=hDwMX6WOwOcFiVtmwICnmhPT+f IgyOnHKvIq+Pt8H/edI/WB7n/lztayeU4Mzk9luE9yim4lGtdFWhPd4MY07tBJg2MZvZR2ckXCof4 zWZBjhX8kPT9Jk9x0alASXqpFgR4/srMCq88LEesSW6tVk1snu/PfnKfZkdRwFXESkppIx8+QjkX2 p/ob8iqQzdp5+tu3DFh+banaV3Mg1DYLsm3R5Albl0A2gMnDdfIGauty8LkIhxoQ/ofiSqlLxH/z5 4r+mo1P0pAsA+PNQ+U6Fi12UdEpMraXjpKw61260jrfn3HYoF8wqWmfnmm2nU5cjYKyFYwP483hTT M1fnf/IA==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lh9Qz-009NfE-A0; Thu, 13 May 2021 11:23:23 +0000 Date: Thu, 13 May 2021 12:23:17 +0100 From: Christoph Hellwig To: Changheun Lee Cc: alex_y_xu@yahoo.ca, yi.zhang@redhat.com, jaegeuk@kernel.org, bgoncalv@redhat.com, Johannes.Thumshirn@wdc.com, asml.silence@gmail.com, axboe@kernel.dk, bvanassche@acm.org, damien.lemoal@wdc.com, gregkh@linuxfoundation.org, hch@infradead.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, ming.lei@redhat.com, osandov@fb.com, patchwork-bot@kernel.org, tj@kernel.org, tom.leiming@gmail.com, jisoo2146.oh@samsung.com, junho89.kim@samsung.com, mj0123.lee@samsung.com, seunghwan.hyun@samsung.com, sookwan7.kim@samsung.com, woosung2.lee@samsung.com, yt0928.kim@samsung.com Subject: Re: [PATCH v10 0/1] bio: limit bio max size Message-ID: References: <20210513100205.17965-1-nanich.lee@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210513100205.17965-1-nanich.lee@samsung.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org FYI, I still think this whole limit is a bad idea, and instead we need to fix the algorithms to not waste time iterating over the bios again and again in non-optimal ways. I still haven't seen an answer if your original latency problems are reproducable with the iomap direct I/O implementation, and we've also not even started the work on making some of the common iterators less stupid.