Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3815606pxj; Mon, 7 Jun 2021 22:24:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzslR0JxuAqvavLVKE9yjxOsvemXfF09b1Xu9gideGbSUKWftvmHnd8hM0hmCM8XICedPy/ X-Received: by 2002:a17:906:f849:: with SMTP id ks9mr20718525ejb.402.1623129882311; Mon, 07 Jun 2021 22:24:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623129882; cv=none; d=google.com; s=arc-20160816; b=iNs+e+r6Sq6f/mOxEEuIeOZDCWl/M1ebhJ4pPrEccXSKIMXIkgZSPl66Wf0+KI4X7u 3/emHdLehNzUAVvlGFzaSxzSEGx938dIGI9yKD7+ns39ocrGahEbd2dF8rpxvBc+v+OQ JtKhSpEKn9iUz8qWoNWJuryoLk3W7bHRYX+U4KqwFgEJHxN6vP4FtCr7XWxVsjrQxFik HcLJauv8+W+ukqLPjhx+UotAvK1ckYKAFR2UKuI5WaT13nv8ZNbF6BazEyqVUMLQdrRL rlxAMoih0NQFS11B1eZ5lVP1t63z+yIq3+S2cHTNs+ZPxhbX6QIXJUe+eGeqOawr1CBH nxxA== 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=qr65buNId8cP7B428HOi/lrezQZJN+Wrw8UApPCn9jQ=; b=F079u+1e0ALIbkVQrlWVNNiRbSPMomOPNeZeGjA0tRyHOG3Oiy5R3do+jGhHtfTy08 IJvE6IHhCN4i9zIXw0P3oO8yDttAUFy2Ql4e5B7eR4O6umJ2DwZ8mzDszy62aHge10gW T6Gs+Y/aqhtpyzKkbMDF2ibPVpqR43gsvp4IW0VHd+MCidQeZWK31QhAmphFTWWuadAt k3hdi7eJUWnC4WDjyT1iOjb+A8zSfqEabv9Xwrtq5BTk3NsNFT9XUo1ol8vc0qHx1xcI ZKu2qpJ+ZnYkotKggT/CNykb6mapu63ffRu8jNp1xw7yvcnVnmuhbkqvUHrED2b34+g7 bjrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=iZg7obBb; 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 dz22si8422088edb.470.2021.06.07.22.24.19; Mon, 07 Jun 2021 22:24:42 -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=iZg7obBb; 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 S230266AbhFHFZN (ORCPT + 99 others); Tue, 8 Jun 2021 01:25:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbhFHFZM (ORCPT ); Tue, 8 Jun 2021 01:25:12 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEC88C061574; Mon, 7 Jun 2021 22:23:19 -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=qr65buNId8cP7B428HOi/lrezQZJN+Wrw8UApPCn9jQ=; b=iZg7obBbT6sHTgAMJocvGLkqoe BeSvqRnXxrGz6Tu9GjjRwJ+xr1QKvWjk+fFrJuViYBhRMs1MaYl+UNgvmfCfKpCWFFGXsAe65tGuP i4WB6K1H4/vfrKA+XkV/mMLTegPIGDKW2pj2dq/ge9pA6zliGkOdw0ifvNyGB23wMUi0mWhXTMpB7 yBw8bacAWq3yEQRwC8C5/WUqNVYsOBzPgyKI+3/drIIhxDx/ZM/gAnfX3FkC9c3n99FXVUr9d2Zev E9Q1Fk5WwJ01rqxoSdhIKkXcOrZFlUF6brPkx5G2UiJqdz5f5DAvwqsr0DQHr9CNq+FnkcH0z6lzz lUOaEfTA==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lqUBw-00Gada-19; Tue, 08 Jun 2021 05:22:22 +0000 Date: Tue, 8 Jun 2021 06:22:20 +0100 From: Christoph Hellwig To: Bart Van Assche Cc: Christoph Hellwig , Changheun Lee , damien.lemoal@wdc.com, Avri.Altman@wdc.com, Johannes.Thumshirn@wdc.com, alex_y_xu@yahoo.ca, alim.akhtar@samsung.com, asml.silence@gmail.com, axboe@kernel.dk, bgoncalv@redhat.com, cang@codeaurora.org, gregkh@linuxfoundation.org, jaegeuk@kernel.org, jejb@linux.ibm.com, jisoo2146.oh@samsung.com, junho89.kim@samsung.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, martin.petersen@oracle.com, ming.lei@redhat.com, mj0123.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, yi.zhang@redhat.com, yt0928.kim@samsung.com Subject: Re: [PATCH v12 1/3] bio: control bio max size Message-ID: References: <20210604073459.29235-1-nanich.lee@samsung.com> <63afd2d3-9fa3-9f90-a2b3-37235739f5e2@acm.org> <221377e3-05d1-f250-1ad8-6e5c9485d756@acm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <221377e3-05d1-f250-1ad8-6e5c9485d756@acm.org> 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 On Mon, Jun 07, 2021 at 09:46:56AM -0700, Bart Van Assche wrote: > In case you would not yet have had the time to do this, please take a > look at the call trace available on > https://lore.kernel.org/linux-block/20210425043020.30065-1-bvanassche@acm.org/. > That call trace shows how bio_add_pc_page() is called by the SCSI core > before alloc_disk() is called. I think that sending a SCSI command > before alloc_disk() is called is fundamental in the SCSI core because > the SCSI INQUIRY command has to be sent before it is known whether or > not a SCSI LUN represents a disk. I have a plan for that as well, stay tuned :)