Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp342297imm; Fri, 1 Jun 2018 01:45:52 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLIypv/r0zBEI+HyF4WHSMJok+iMb48Vo3f5Gzc4Ut+COaUDoz5fCm8f8879cZkQQjED9OX X-Received: by 2002:a17:902:bd95:: with SMTP id q21-v6mr9934248pls.237.1527842752160; Fri, 01 Jun 2018 01:45:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527842752; cv=none; d=google.com; s=arc-20160816; b=P/iXfwDot12ufe4UZH6MmAx2T9g53REKlrUOyVXwSzlwzaB0mmEATFh0ESpJvp3LhN 9w6llRN8xOuiK7gg1y5ndhj6jYHdrQdpokNN5jL9ibrGaHxQSHHFUMDjDMPLEJBNxWQ0 8pb9XrIdWXmi4+FXwD4oddmCXRd/LFyqWKd/8VnGuE6OxfDuba7Ldd8kTAm72PHIYTtH Wzj/3YdcjXt5TMU/PgeO5jefcQTcJqBbtKk2bmA2G/HzjPOy+Q+pnKnkkqAJfYldAZnl vlvxCag6XC81b9jQMWrq0argfyp9U6nnXIjsgnrQ51hCjmnHmmMQT2JtnhgEX7mlZNnk AeOQ== 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=4yZaYTD4/Voi0VaDOFVJyeWnlwnyqBuWCmmjhsYfg4I=; b=I9sa6kfG8fWP4n45H3H04rlzt+OsDwfoyFZ3PyHsxjKOyIs8OOPU2ppek1ta+Jxcyd SM9nDQrbSMy1FTQQR5DHekQP0JnJBaFeFVciXr/klfFP/n0b+2VnJFQsteGW9vOQ2b5F F3ha7ckfK5hJUXySEbVfLyK6LQ7LLnEh9g9sz4tE5pvBY6mewUqrFPOSb7LyDF8vrtSc 8A3febEhkj6C+MKLgIi/01BMHImrDMc1XraTkxvuz+voNjbpfIuUTtzk3iIIZ+AHeB8S PuTZ02WpBsKlXlZAM2Apk7oSgD/pdI3GdFMUicfpdjGXgVy3EtmzM9WPUINo118mRk8i 6Srw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=rZSSXCtV; 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 142-v6si14052527pga.694.2018.06.01.01.45.36; Fri, 01 Jun 2018 01:45:52 -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=rZSSXCtV; 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 S1751507AbeFAInS (ORCPT + 99 others); Fri, 1 Jun 2018 04:43:18 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:42586 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750794AbeFAInQ (ORCPT ); Fri, 1 Jun 2018 04:43:16 -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=4yZaYTD4/Voi0VaDOFVJyeWnlwnyqBuWCmmjhsYfg4I=; b=rZSSXCtVz21PqM7bP7WvRZRCO hkF52Lq9mQ/uwLvkOsmK0pMKCrrhRliyqc9DgQRvgB7Vim2Z1+sL2SoM9EcnemSfT1mLWsG+2Ki6f 60FmuT3HevRlz2dfDWljP/2HLX79L8fxVokFq1V35H5T+JZ5DMRc8FRyTCiglznzecYycofRCOXZ7 icDBGGA3O2XG79jm4A17zTOJD5xzIZBaOWX0ZdwIORMT6A3WcCHOYTcIv0VloxtvSPlmdHZEBwV5s zLweVEZOensQFMhC+zTUwuuclay8QM8V99tIElX1CF6XPH76hJyiZiB55VfmB4x0K/ZTV0wG3zCDN 4LgTtp64A==; Received: from hch by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1fOfeI-0004l6-IJ; Fri, 01 Jun 2018 08:43:02 +0000 Date: Fri, 1 Jun 2018 01:43:02 -0700 From: Christoph Hellwig To: Ming Lei Cc: Jens Axboe , 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: <20180601084302.GB30694@infradead.org> References: <20180525034621.31147-1-ming.lei@redhat.com> <20180525045306.GB8740@kmo-pixel> <8aa4276d-c0bc-3266-aa53-bf08a2e5ab5c@kernel.dk> <20180527072332.GA18240@ming.t460p> <20180528023042.GC26790@ming.t460p> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180528023042.GC26790@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 Mon, May 28, 2018 at 10:30:43AM +0800, Ming Lei wrote: > I hate the conversion too, but looks it can't be avoided since > bio_for_each_segment_all() has to be changed. I guess you mean what is currently bio_for_each_page_all in your tree which now takes a bvec_iter_all agument? We could just try to hide the bia variable initially under an unlike to be used name, and then slowly move to the proper bio_for_each_page_all API unhiding it with the rename. But I think your current bio_for_each_segment_all should just go away. All three users really should be using better abstractions.