Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1287751imm; Fri, 1 Jun 2018 20:32:22 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJZdgWgn1VEu/WWKWf6ZxQyZo3twncRddVhfgV8567TEfw8Oraj2cdXnqJpr9keRWAjryIX X-Received: by 2002:a62:4a0c:: with SMTP id x12-v6mr13312363pfa.142.1527910342795; Fri, 01 Jun 2018 20:32:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527910342; cv=none; d=google.com; s=arc-20160816; b=S+vow6MieSy111TXujKRsG/kgysh8e0YGbIwWZHMSlBy/n6FI52rJnl3SNoXAeGBXr DngMFWkfgJdgs1Ic80QErvzFMkBq44yCCnAWlMM0EF3sjAdpbOgZEdGlAIWMRzqkxhHP 1mfMqieBFIfvBAcCzxiGkhIJs98fog0RTw4Mi6PntSTh5k2Vh/GT3HDN10q0jUQAGovu /3VDBVVGWcFCuzQTmaapw37CWdEdYDRvN4LJORXpElc6ohrWHnenc7bM936yfVqaujMI OLU4ruR7GALWLopjnqxqJJZsf17Wc8TTgrYS/m6OGKui0PNnoc/mVEUG64OByQFfmMCO b1Pg== 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:arc-authentication-results; bh=FYMu/4RsLRpRFF9MfmYWynLMfPVctQG5DooEcIjNrqk=; b=mdKTFV/dd0H+3zWlD9gpcLvc0ByXB+paCEnXcbJ8CRQmjl0sgVIIbGngV2uemhTRI3 UQ5FofbE0EPGgibqRZe03Z/kGVn3e4W93nOxWQGYyrWq/EZuTpOI7VrSRvmMExEyV0R8 5r0n9cZBSHbO0bbecfreBUdp3Mddl/Ak66JP5DB5Fj+1Sl1UtlMGI6B3oE9rzbioAP5L 6Y4LgoB3/xwm3O60vWXXwwQFdGSuXNybiqFAlgU2HDQcWxJ9efiwrn2dvPWsMuNVhCuO cJbg+AF3KQ2nFRVTxVh4pLnNoYqdKoXUwn/Wn/qhVqdAluEuz5g/sohUUUjY8jnvtFiL NIOQ== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x5-v6si1486345pll.278.2018.06.01.20.32.08; Fri, 01 Jun 2018 20:32:22 -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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752016AbeFBDaH (ORCPT + 99 others); Fri, 1 Jun 2018 23:30:07 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:44272 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751877AbeFBDaD (ORCPT ); Fri, 1 Jun 2018 23:30:03 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8ECE840214E2; Sat, 2 Jun 2018 03:30:02 +0000 (UTC) Received: from ming.t460p (ovpn-12-47.pek2.redhat.com [10.72.12.47]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5D0E81002943; Sat, 2 Jun 2018 03:29:46 +0000 (UTC) Date: Sat, 2 Jun 2018 11:29:42 +0800 From: Ming Lei To: Christoph Hellwig Cc: Jens Axboe , Kent Overstreet , Alexander Viro , 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 Subject: Re: [RESEND PATCH V5 00/33] block: support multipage bvec Message-ID: <20180602032941.GB2306@ming.t460p> References: <20180525034621.31147-1-ming.lei@redhat.com> <20180525045306.GB8740@kmo-pixel> <8aa4276d-c0bc-3266-aa53-bf08a2e5ab5c@kernel.dk> <20180527072332.GA18240@ming.t460p> <20180601083557.GA30694@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180601083557.GA30694@infradead.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Sat, 02 Jun 2018 03:30:02 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Sat, 02 Jun 2018 03:30:02 +0000 (UTC) for IP:'10.11.54.3' DOMAIN:'int-mx03.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'ming.lei@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 01, 2018 at 01:35:57AM -0700, Christoph Hellwig wrote: > On Sun, May 27, 2018 at 07:44:52PM -0600, Jens Axboe wrote: > > Yes, we discussed exactly this, which is why I'm surprised you went > > ahead with the same approach. I told you I don't like tree wide renames, > > if they can be avoided. I'd rather suffer some pain wrt page vs segments > > naming, and then later do a rename (if it bothers us) once the dust has > > settled on the interesting part of the changes. > > > > I'm very well away of our current naming and what it signifies. With > > #1, you are really splitting hairs, imho. Find a decent name for > > multiple segment. Chunk? > > vec? > > bio_for_each_segment (page) > bio_for_each_vec (whole bvec) IMO, either vec or chunk should be fine, but one thing is that there isn't obvious difference between segment and vec/chunk, especially the difference is much less obvious than between page and vec/chunk/segment. That is why I tried to suggest to introduce bio_for_each_page_* before. Thanks, Ming