Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1552131imm; Wed, 13 Jun 2018 23:19:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIuGw2vYSHnyDwbru6IxNYPdYz3u7AYqA+1tIRcoM0JyFbWWiToJEWCwc03yvQRvgQTGu5u X-Received: by 2002:a17:902:1081:: with SMTP id c1-v6mr1474922pla.153.1528957193591; Wed, 13 Jun 2018 23:19:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528957193; cv=none; d=google.com; s=arc-20160816; b=c72NSjoCRa2orY3Kx1AMsSWaA1YKkj9iR1o78TQ9hezkn0N4ulIrgFokyd6L/gKP+l a3Aj/BgQrvmkT85PNHcXns2mzYM+E9HzLeD/tNPpgFCDD4O8JVuT5DqGmt169CIl/ov1 Bd1vOYFqveW5gpl71M+8TR/oMeihjbKaqIW8LqJJIQWDNeuDSoCQSckc/nm6toVy+Er4 SPZf8xZUUpiMc7A1b49VFigAx5T5k0DoSj4fYJycvgd9KHIrmRwylZWQGgGUFyo+enml uTsuHRr9BJo7hFw72axR8QSaAKHRSvulmh4SLHZncLLDIJfiUv0lM6tFtVncHRAl+kNi hT/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=9K7FV9X0MPjgmD5lb0FsyWDZbryU4QhsFMyLvlYYWT0=; b=W3jzh9Gd7y3UeLBodudZH5+/JF1HqxYDoGf13Gi9gV1O973ryqldQubAhYOEiz+bhB JeoX3rzzYYewnmXtdHbEWiPaOP/AVmr0KWFbHp7T9n8wgGC8YjZ5SoD51YRj9Mx5GeMz hX+kSIN3+GOJK8Di7yyVq08DyfilG5TByD3fgsF3D7igdw8ONaZ5FS0WlyH7ywxcGuXB +sj7vtUXW/8r+k7D86Kg58yU+EMiJQ4LyPRLoU1rCSNDDLGjwMSMR973CSZCBKOlnbrk mIUWyuSTXAW1p8MmMugG+j1eq+aYQSZiB3t1NBFS2gBPT3UO0jbl81Gl9HbPo97hUV13 YZ2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=cxU4Z8Ag; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a24-v6si4600324pls.129.2018.06.13.23.19.38; Wed, 13 Jun 2018 23:19:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=cxU4Z8Ag; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752822AbeFNGTK (ORCPT + 99 others); Thu, 14 Jun 2018 02:19:10 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:54476 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752420AbeFNGTI (ORCPT ); Thu, 14 Jun 2018 02:19:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=9K7FV9X0MPjgmD5lb0FsyWDZbryU4QhsFMyLvlYYWT0=; b=cxU4Z8Agm2J0JpLGIt/hj4REo rHnK8Ny9BLGoZJbpwFYB55gpjPHTGkechC/rdm1YspZMzb1AAUqch310ZqUuaxD17aw3vo5No4A9+ s67TX/TRdMRiSPZtjuSuEUi7mDCUQ7e9yW7VRHrhw6v5dkODdIwJsXcRgI481hM+uMVWp8it8Q2xD AcEDCKUmlS2BEyDpja0p9yCBgVvpwmLyaqnsNb1b8hZo7Xkeq/qgqNkWYqddETkr8IJHm5R2ieNA8 0Q91dD5pikWolRL9SFVbzT84GSD/QH2Yqpsxpg13MnsEKIMh/yL0JWHMM7dMerxF+Uclk7B5UD9HQ hFC5ndegg==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fTLb1-0001ZR-CZ; Thu, 14 Jun 2018 06:18:59 +0000 Date: Wed, 13 Jun 2018 23:18:59 -0700 From: Christoph Hellwig To: Ming Lei Cc: Christoph Hellwig , Jens Axboe , Alexander Viro , Kent Overstreet , David Sterba , Huang Ying , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Theodore Ts'o , "Darrick J . Wong" , Coly Li , Filipe Manana , Randy Dunlap Subject: Re: [PATCH V6 00/30] block: support multipage bvec Message-ID: <20180614061858.GA3336@infradead.org> References: <20180609123014.8861-1-ming.lei@redhat.com> <20180611164806.GA7452@infradead.org> <20180612034242.GC26412@ming.t460p> <20180613144253.GA4693@infradead.org> <20180614011852.GA19828@ming.t460p> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180614011852.GA19828@ming.t460p> User-Agent: Mutt/1.9.2 (2017-12-15) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 14, 2018 at 09:18:58AM +0800, Ming Lei wrote: > This one may cause confusing, since we iterate over pages via > bio_for_each_segment(), but the _all version takes another name > of page, still iterate over pages. > > So could we change it in the following way? > > OLD: bio_for_each_segment_all > NEW(page): bio_for_each_segment_all (update prototype in one tree-wide & > big patch, to be renamed bio_for_each_page_all) > NEW(bvec): (no bvec version needed once bcache is fixed up) Fine with me, but I thought Jens didn't like that sweeping change?