Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1195082imm; Sun, 27 May 2018 00:24:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIxS7D2KehVx17eT6Vp4bh8XQFmcyYP1F7swnjBdr4JltUFlo4wRLZFcRDggfAUOQLfWivi X-Received: by 2002:a17:902:b598:: with SMTP id a24-v6mr4970432pls.183.1527405899413; Sun, 27 May 2018 00:24:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527405899; cv=none; d=google.com; s=arc-20160816; b=nw1HFhnDqU8ViU3NTg1+B+DYeA5hBkJ4SdukU2gyuRnPRpAHkrBM/lW+OGoRXW4ouU JA2ZO8jSrF09AuasRSsCwyqeAH/l3AU4czNBj1p9jzag3BboaJ0I73I3DYQAN5WLoTcr RJQAbz7s+8QtgqqZ94Fes/02cr/OZ1f6VRkyW6DuWq3WyLbU+mzKPEn8TATpuXZNC24V kgllBnkckWJDx2znFc3ERFshmQxi8OG78IGoqrbGTGnH4qT2phG33SH3BG0Ha64px5dU XLY5Hm6//2faNDfuxVM5XYC0Djn3apc+z+IlMp4KhlnfVMHuwTDl/w7ngC0FJ7alxnMI R1lA== 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=BdkH0s5BRrsydQLCui6vPo9+lDz5kaajEu8eysqyH5s=; b=XhRTiuXxcVQph0ZS65/H48mwdZPabcHh8oFy+lNn7OhiLgIJBi985SoPHe1SmeLI6F 5fZPZsP7/qi8ctS29SZKnKTbZQdz9ax97zsKCglyEtn8A2kon+zWWpp7uwEP0WEzf15M oeVxleQakuR/pUL2/4ASB44Iao8TewspT3Usmg4EcB06xl8VLWa+SF57tgzY4v5nqnhE ln0ymmDL5Lhk9LI3MP2Twchu9fW3/vyUHV+2HZijFmD+dgTi07ZEby++8RTANAG8vDiZ 56ETLZjkviE6xTcVObceMObgFOZ60prmGwf0k60uqKLWq/pEZbtffTsPbcmHS2JaxrTr S32A== 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 z14-v6si21535659pgc.617.2018.05.27.00.24.13; Sun, 27 May 2018 00:24:59 -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 S934568AbeE0HYC (ORCPT + 99 others); Sun, 27 May 2018 03:24:02 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:38110 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932993AbeE0HYA (ORCPT ); Sun, 27 May 2018 03:24:00 -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 BBB725B5EC; Sun, 27 May 2018 07:23:59 +0000 (UTC) Received: from ming.t460p (ovpn-12-35.pek2.redhat.com [10.72.12.35]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 2CB62111DD0A; Sun, 27 May 2018 07:23:43 +0000 (UTC) Date: Sun, 27 May 2018 15:23:38 +0800 From: Ming Lei To: Jens Axboe Cc: Kent Overstreet , Christoph Hellwig , 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: <20180527072332.GA18240@ming.t460p> References: <20180525034621.31147-1-ming.lei@redhat.com> <20180525045306.GB8740@kmo-pixel> <8aa4276d-c0bc-3266-aa53-bf08a2e5ab5c@kernel.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8aa4276d-c0bc-3266-aa53-bf08a2e5ab5c@kernel.dk> 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.2]); Sun, 27 May 2018 07:23:59 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Sun, 27 May 2018 07:23:59 +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, May 25, 2018 at 10:30:46AM -0600, Jens Axboe wrote: > On 5/24/18 10:53 PM, Kent Overstreet wrote: > > On Fri, May 25, 2018 at 11:45:48AM +0800, Ming Lei wrote: > >> Hi, > >> > >> This patchset brings multipage bvec into block layer: > > > > patch series looks sane to me. goddamn that's a lot of renaming. > > Indeed... I actually objected to some of the segment -> page renaming, > but it's still in there. The foo2() temporary functions also concern me, > we all know there's nothing more permanent than a temporary fixup. Jens, I remember I explained the renaming story to you in lsfmm a bit: 1) the current naming of segment is actually wrong, since every segment only stores one single-page vector 2) the most important part is that once multipage bvec is introduced, if the old _segment naming is still kept, it can be very confusing, especially no good name is left for the helpers of dealing with real segment. For the foo2() temporary change, that is only for avoiding tree-wide change in one single tree, with this way, we can change sub-system one by one, but if you think it is good to do tree-wide conversion in one patch, I am fine to do it in next version. > > > Things are going to get interesting when we start sticking compound pages in the > > page cache, there'll be some interesting questions of semantics to deal with > > then but I think getting this will only help w.r.t. plumbing that through and > > not dealing with 4k pages unnecessarily - but I think even if we were to decide > > that merging in bio_add_page() is not the way to go when the upper layers are > > passing compound pages around already, this patch series helps because > > regardless at some point everything under generic_make_request() is going to > > have to deal with segments that are more than one page, and this patch series > > makes that happen. So incremental progress. > > > > Jens, any objections to getting this in? > > I like most of it, but I'd much rather get this way earlier in the series. > We're basically just one week away from the merge window, it needs more simmer > and testing time than that. On top of that, it hasn't received much review > yet. > > So as far as I'm concerned, we can kick off the 4.19 block branch with > iterated versions of this patchset. OK, I will post out again once v4.19 is started. Thanks, Ming