Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1236711pxj; Fri, 4 Jun 2021 09:15:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz+G+2AIdKyV/rpnkKzSSmXSrPf5txyHPNpmCMrVBrK0101/xbkwt4yN8xrSJ2d361FscZB X-Received: by 2002:a17:906:6ad0:: with SMTP id q16mr5076618ejs.286.1622823313906; Fri, 04 Jun 2021 09:15:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622823313; cv=none; d=google.com; s=arc-20160816; b=E0DxvnPOJYN8QwylDLNrdflHf6Sp5gjdciiJpwFhi/6gqqaOacYWse5ncWnsTWHgQI gp0VwCSOmj/dCxNV5JfoEtKWc8QbOZq8WwsK4phDVaCj+CtfocUwoHF76TXWhtNiMGQK S9yGRvODpUiDqbYVpO+i1WPaYhGekgRCW7D37sEk3eAjVgVYGmz6nnBvP5G3qw0I18cc qgQIGCklOrZGpeXkqETTOhaK6naGBZPSY2T+o4jjy0q2KKc04y5+LeIVxaNlQplPanR1 aJ4xPerpz7kVs4TxcaK6VZXz/g6fuscyDHNxs0/aMB1Lg0yspFK9Qr6rmvPovoPD/2rN 4epw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=gmm8KlnIo/nuK5ud9oSk0ktzCTOuNeA4tmOo0gRaut8=; b=nDaFW/sq4TqV8RmfM+wtILd+WnGGdZ13X+YB1v7TPCSpGdrnskMu0zrpxcCKGOMKI+ mqpDJHxO9uNOOGbsp51kzh2FHOu4lTpPmfRvXVwoiXJ35EtCbqfeDCQy4hCQEf8z6yXn amSpV9rvuS13YMRGKpv90DpDG5HB/95i6aKsJA2Q9quDaDHYROIewpNgR8edGzqKIxTo XtQdST3st05MzmeHAbQoKSX1TfkwXYf2j2jx0Qp7tTcm0a7rZ5n9E0oBLYAnFY2sT1Do TVPMt5tt0sWxsPvd49QiNBxOOiRsmhaOuvoTOvgfhe17GgyMipJGYx2hUPbjEEA9TqhH ndRg== ARC-Authentication-Results: i=1; mx.google.com; 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 e16si5236728ejm.5.2021.06.04.09.14.49; Fri, 04 Jun 2021 09:15:13 -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; 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 S231461AbhFDQPJ (ORCPT + 99 others); Fri, 4 Jun 2021 12:15:09 -0400 Received: from mail-pj1-f50.google.com ([209.85.216.50]:35476 "EHLO mail-pj1-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229961AbhFDQPJ (ORCPT ); Fri, 4 Jun 2021 12:15:09 -0400 Received: by mail-pj1-f50.google.com with SMTP id fy24-20020a17090b0218b029016c5a59021fso1184061pjb.0; Fri, 04 Jun 2021 09:13:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=gmm8KlnIo/nuK5ud9oSk0ktzCTOuNeA4tmOo0gRaut8=; b=mYocplnxAY6qMT6hyyPnGbI98DszmDXfL4MHG+HRgkaLE0OXUyu7SS5/wqeW7SF5yt 6ZhuFax6RdyOITzuWrKAVyJpKaXVIi9UA3fNnk091r6hQfbFmNIIGsXYYO8SD5WvYHcI 9yD3pFoZheJlRBH7fFdeSe9BEIJVhPk3mT+6ssmWt40s2fQ9vNTYOkEMZyioNvNaRMBA ZDVu+CGU3yn27w474c8yI8++7eAqZFGU8poAJJ729iPu+CE3wOAewEVx04yMhaw0Stli Py3jaI0VrVYc4dgdjaqB+5N4Co76nWCD5ZRDsMd5J1+cQhUqwn99yUJvY//DFPqRj3PA eZ8g== X-Gm-Message-State: AOAM533DtWirHB4kPlCAbizd67m6805Ou3c7m1IbjLsrAcjbwURpLQFB 5+3yJxR/V5glFh02HOnyqRI= X-Received: by 2002:a17:90a:520f:: with SMTP id v15mr5558604pjh.23.1622823186456; Fri, 04 Jun 2021 09:13:06 -0700 (PDT) Received: from [192.168.3.217] (c-73-241-217-19.hsd1.ca.comcast.net. [73.241.217.19]) by smtp.gmail.com with ESMTPSA id 190sm2439582pgd.1.2021.06.04.09.13.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Jun 2021 09:13:05 -0700 (PDT) Subject: Re: [PATCH v12 0/3] bio: control bio max size To: Changheun Lee , Johannes.Thumshirn@wdc.com, alex_y_xu@yahoo.ca, asml.silence@gmail.com, axboe@kernel.dk, bgoncalv@redhat.com, jejb@linux.ibm.com, martin.petersen@oracle.com, cang@codeaurora.org, avri.altman@wdc.com, alim.akhtar@samsung.com, damien.lemoal@wdc.com, gregkh@linuxfoundation.org, hch@infradead.org, jaegeuk@kernel.org, linux-block@vger.kernel.org, linux-scsi@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, yi.zhang@redhat.com Cc: 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 References: <20210604050324.28670-1-nanich.lee@samsung.com> From: Bart Van Assche Message-ID: <9e1c43a8-1c6d-95c6-ce4c-34ac194b9022@acm.org> Date: Fri, 4 Jun 2021 09:13:02 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 MIME-Version: 1.0 In-Reply-To: <20210604050324.28670-1-nanich.lee@samsung.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/3/21 10:03 PM, Changheun Lee wrote: > bio size can grow up to 4GB after muli-page bvec has been enabled. > But sometimes large size of bio would lead to inefficient behaviors. > Control of bio max size will be helpful to improve inefficiency. > > blk_queue_max_bio_bytes() is added to enable be set the max_bio_bytes in > each driver layer. And max_bio_bytes sysfs is added to show current > max_bio_bytes for each request queue. > bio size can be controlled via max_bio_bytes. Where is the version history for this patch series? Has this patch series been tested in combination with dm-crypt? Bart.