Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3670865imm; Fri, 25 May 2018 09:31:38 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqh14HnJvYnAwURknRLeOnW71GYnP9svWPow++zRqT4fTy8gGzk+qQmVOIKd89EyojZa2tH X-Received: by 2002:aa7:819a:: with SMTP id g26-v6mr3309559pfi.210.1527265898756; Fri, 25 May 2018 09:31:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527265898; cv=none; d=google.com; s=arc-20160816; b=03m83dvZUpz/M/6WtdZ8Ns0h7aFUKbYfX8yzB38K7G3OmeKdeYwi01ZLmtM+MeVwPM oDLPZla0diTWUdnZOlzly+VnXFg1BBMw614d6PA/dCDvhb3p8d0Yx8RGXUXLuBMNLP2m w7+l2P/SZiD5babPxUSD9U6Rve1zioNy1EzgzLfzSpuY9MsZSmkQabN5iezsnMlhVylO 7lqspbL8iNIXXO6Nc1EnJqb+VBuGCs9Y7bNDW4U7rywUtnRcRAj5Hfh3PXdGCmOIlBWY aTWba7c+ZOSdKDr6CUUNGlvDs4bPQ22q1Xek6dhzNJLXcBUSTUzhNytoIwAz0Ipuxaza 3gKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=vAYb339HbRaAmZ9/0tJ5+BGY6qrAakDLztyMMsCv8eo=; b=xbArHmvSAdztBOrv2rWgRMU8w20PjRvhgQyxWOkhLGEta/L0mdTdmi0ifG9BvGa5Pn Osux5wVxjDJUHdtAbZlQ3pRntueFSQe+QSlQNsBFcyR0mEsfp+bOGXxQgP6tOHQB4+vT oLgjCcH9uNCs2Y9DBm3oZFVtx1h42Q/HWh0MX3zwUEeTd8WZsTeVnclmOFFSVWD8KHPY lgiUuSYZioa27oFKcvSRAdJkU2xYHbM4bgclcQrRyAzyTv8PL6b60414jngfYCV7weiS vLvQZNZBj9G3wzjp5NdmjPXZ44PsAXRQ9GVujB7hK9cGN06YdLir7OuQ+QJNqey2JndP HdIQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=wA1YB/Ge; 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 v16-v6si23178824pfm.151.2018.05.25.09.31.19; Fri, 25 May 2018 09:31:38 -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=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=wA1YB/Ge; 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 S967230AbeEYQax (ORCPT + 99 others); Fri, 25 May 2018 12:30:53 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:35872 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967057AbeEYQau (ORCPT ); Fri, 25 May 2018 12:30:50 -0400 Received: by mail-io0-f196.google.com with SMTP id d73-v6so7037678iog.3 for ; Fri, 25 May 2018 09:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=vAYb339HbRaAmZ9/0tJ5+BGY6qrAakDLztyMMsCv8eo=; b=wA1YB/GeAlzW8Oo2E54/Jkb5mUphUTq2bNSaBtQaojh3A6ksO/xb7YZEbm/NJaG7+a /KX/9Y9mVW5Lgv3GwADKec6b7SBU7Qa0JLFNSnbvIfbky/YYs3ZASb4w/WKEkwHlR+If ob1Q3pxvSRed+gX6ixjBb9B8C7DHAsfnRmoDhjgmC2arpgDzP+gQPPda2YYIUBiXcHrY 7YmGgFzz5x6vbe1nBPS9mU3VMm/KS3Zs0E8rGOcEC2LcfPxo501n6fub1NBrib7zpTIh OjDT7sGqfrSH7L2i+Frtw3U0KA7hzrKc5yrqQYCtubMLv2QwwSvOOxNWN+JNg/XmaMmd RRUg== 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=vAYb339HbRaAmZ9/0tJ5+BGY6qrAakDLztyMMsCv8eo=; b=XMok47EqepFEA1NQT1WlzEMEw1faspIK0AynOgvGlEH2+Bx9hKIBES5KhzhcRPO24B 0FL/6gLKSjnSIPyd7WMvYxBRssh8C2mkkiluvaHUo0iWJhRuX0kLjInHyAabiDpxRaWU pzME61BDVUx1GRCRnH6H/n4lX/LbTJC6LmLBx8ws6fdB8b/QjxU6p5oUT7QD+uFIAMnl 5T8cj+Sb6+NeW5UO3yh3IYvZO1x9+c1hJjc9XdbcEAQmLffSwCevFU4gi9locJfb5Pk1 nxZ+7i7OCqarUFT23D9WNVMf6WRHTB1TiqGoHlbozES4CclbN4bm8JSSIzs7ax3o9OnN oPvQ== X-Gm-Message-State: ALKqPwdCitD8f8ODvvsYdFtkibANUR5WHaxr+6p8uTHx3veNW/JKi/nr 7pNtabrh0KrPB/jaYVDBefZVEQ== X-Received: by 2002:a6b:5d10:: with SMTP id r16-v6mr2774849iob.178.1527265849890; Fri, 25 May 2018 09:30:49 -0700 (PDT) Received: from [192.168.1.167] ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id a78-v6sm4323728itc.1.2018.05.25.09.30.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 May 2018 09:30:48 -0700 (PDT) Subject: Re: [RESEND PATCH V5 00/33] block: support multipage bvec To: Kent Overstreet , Ming Lei Cc: 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 References: <20180525034621.31147-1-ming.lei@redhat.com> <20180525045306.GB8740@kmo-pixel> From: Jens Axboe Message-ID: <8aa4276d-c0bc-3266-aa53-bf08a2e5ab5c@kernel.dk> Date: Fri, 25 May 2018 10:30:46 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180525045306.GB8740@kmo-pixel> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. > 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. -- Jens Axboe