Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp59948pxy; Wed, 21 Apr 2021 18:29:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfPzu9l+E820KfagpgxJibAsqSiovkeFG7N81mF0WwHduWhUfauLN3NV0wsTXV6nD/Uq8m X-Received: by 2002:a17:90a:4290:: with SMTP id p16mr14550638pjg.120.1619054985565; Wed, 21 Apr 2021 18:29:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619054985; cv=none; d=google.com; s=arc-20160816; b=dkR+GQzr+159hI9+gv+kQei6eaiSGUlZKZhJX5DH0GW1eB7Z2LNTyVUDDHJEuMdq/K wYdILk5f3hNvezKIENWXPQDEXkgwE5pMgk8+UWk96ZFhaBKek8z6/9dkAYqM4kvEmRPt 5nx4Z7542aEEDVOPUvmHu56FOrDQHW+5CbeVr6o2Z1fglRXCeI3aySzJkxbVGZw7kS3O P9fSklLc4WnzXhNfAB6/u7BU+X790P3+rntuSr2YwM065ShHg7TiUb8jX5ZTdbmWDYKD 1RIGNRJKkjLGrKA8SY1wDE0m9qEqvlvVJQrGtPTTRncgiNPmNtxwGhBpyZg7qrnGtSyb gJnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:mime-version:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=iYCZTsdmadjPtS4tIrWvSpCZs4fnSJ67N85memmxcSs=; b=Ji9/QkrznvJWSNVRFEXEsg/hpoadpDsmpWCDyMWonyaKtpN7m/zfI0j1dsN4ZIvUyZ EdECmqxBm35ocGKWX6/e9T4z50vVcPHknkBdaTMNg9PGAXFcp1dEz2ssvkwCmquMZYvU IMkYjIHABbiGb1dXmRN5HU5qfW1S9w2mLxmT9oR4RY1kRkiNa8HInxka2MY/nRIh3FHH ZpQYC1VwdY4Z+WB8QaEou8ok/fQA5sdXtX5twolby6vrdIlal7z/qJKSN6yzkUA7cXMK 0zElJsXhsyfrcNoZMHVbvtG5b3aXt/LaoY7Otqgk6GHTGl6tUP8dajtcIFML89N/46WU dxIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=LYf3yya+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 19si1332393pgx.504.2021.04.21.18.29.34; Wed, 21 Apr 2021 18:29:45 -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=@samsung.com header.s=mail20170921 header.b=LYf3yya+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235043AbhDVAKC (ORCPT + 99 others); Wed, 21 Apr 2021 20:10:02 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:20419 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234761AbhDVAKB (ORCPT ); Wed, 21 Apr 2021 20:10:01 -0400 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20210422000926epoutp02e9b4725f1d4a3a0b005cde18561b22c4~4BYxVfrOb2562625626epoutp02K for ; Thu, 22 Apr 2021 00:09:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20210422000926epoutp02e9b4725f1d4a3a0b005cde18561b22c4~4BYxVfrOb2562625626epoutp02K DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1619050166; bh=iYCZTsdmadjPtS4tIrWvSpCZs4fnSJ67N85memmxcSs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LYf3yya+d7apaWRopFnSEaFkkhNjBuFMbrRD2k2gqyHfno7g1D44rI3rAr98UxCh7 5ndAfBozM3zB2GEF9U2+li33oQwNX+3cW0NrVUXdZS1qDYZELkFTTyyrPv5vkfJce0 lc4latxGNovLjnS6cVyYUNkB8V8jFCcKeRQMxo+E= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20210422000925epcas1p1baef0367eebb0f1638c572c4a10fd7f8~4BYwV6RL30712807128epcas1p1T; Thu, 22 Apr 2021 00:09:25 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.40.162]) by epsnrtp4.localdomain (Postfix) with ESMTP id 4FQd834Q3fz4x9Pq; Thu, 22 Apr 2021 00:09:23 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id FB.54.09824.3BEB0806; Thu, 22 Apr 2021 09:09:23 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20210422000922epcas1p4bb2d0220652f3c497f063719f82bc829~4BYuK4_1_0631206312epcas1p4Z; Thu, 22 Apr 2021 00:09:22 +0000 (GMT) Received: from epsmgms1p2.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20210422000922epsmtrp15c42b0eed21fc791ec58eaff67834661~4BYuJvxTX0831008310epsmtrp1I; Thu, 22 Apr 2021 00:09:22 +0000 (GMT) X-AuditID: b6c32a37-04bff70000002660-3c-6080beb32333 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2.samsung.com (Symantec Messaging Gateway) with SMTP id DE.87.08163.2BEB0806; Thu, 22 Apr 2021 09:09:22 +0900 (KST) Received: from localhost.localdomain (unknown [10.253.99.105]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20210422000922epsmtip1c0d079da380b74ce0e61bedc44b94f4f~4BYt18qss0645406454epsmtip1X; Thu, 22 Apr 2021 00:09:22 +0000 (GMT) From: Changheun Lee To: bvanassche@acm.org Cc: Johannes.Thumshirn@wdc.com, asml.silence@gmail.com, axboe@kernel.dk, damien.lemoal@wdc.com, gregkh@linuxfoundation.org, hch@infradead.org, jisoo2146.oh@samsung.com, junho89.kim@samsung.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, ming.lei@redhat.com, mj0123.lee@samsung.com, nanich.lee@samsung.com, osandov@fb.com, patchwork-bot@kernel.org, seunghwan.hyun@samsung.com, sookwan7.kim@samsung.com, tj@kernel.org, tom.leiming@gmail.com, woosung2.lee@samsung.com, yt0928.kim@samsung.com Subject: Re: [PATCH v8] bio: limit bio max size Date: Thu, 22 Apr 2021 08:51:24 +0900 Message-Id: <20210421235124.31579-1-nanich.lee@samsung.com> X-Mailer: git-send-email 2.29.0 In-Reply-To: <55adfb07-7f10-7ad6-e05d-7aeb7d9c3b29@acm.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA02Tf0xbVRTHue+1r+VHzVsHeMUwu6dGYQLtusIdDoX9YC/DJShmMcu0vMAL RUtb+4qZcxqkha1AaLETtDDcYENBobOwDRoLSxecbBNC2KZBB6sQl5nwYyCEARNLC8p/58fn nu85594rxMUPiShhvsbA6jWMmiJCeJeuxkjj2ruLsqVt7dGoruUSQN/etRCoevoRjkpOzGPI 2Ogg0A1rA4Yqxov56HHZCIbmvBxyD29DQ646AnlsRgzVtNfh6M7oTQG6OnKbh7znqnDU3zfD R/VjqWjx616AphZ+EaDrnTYcOdyPiNRIeuhWBl1lnBTQXfa7Arr9m1h66OdC2tliJuie098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210422000922epcas1p4bb2d0220652f3c497f063719f82bc829 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20210422000922epcas1p4bb2d0220652f3c497f063719f82bc829 References: <55adfb07-7f10-7ad6-e05d-7aeb7d9c3b29@acm.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On 4/21/21 2:47 AM, Changheun Lee wrote: > > bio size can grow up to 4GB when muli-page bvec is enabled. > > but sometimes it would lead to inefficient behaviors. > > in case of large chunk direct I/O, - 32MB chunk read in user space - > > This patch looks good to me, hence: > > Reviewed-by: Bart Van Assche > > Do you plan to submit a dm-crypt patch that limits the bio size when > using dm-crypt to the bio size of the underling device? > > Thanks, > > Bart. Yes, I'm preparing a dm-crypt patch. I'll upstream after applying of this. Thank you for your review, and advice. :) Thanks, Changheun Lee.