Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp1154565imm; Fri, 1 Jun 2018 16:56:58 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK6kabmuM/q/DxqMgKfH0YCn4qQr7xgZfkf0qApoglw4XEsTD8G7LobbDMqxivNjpu4G6FZ X-Received: by 2002:a62:db05:: with SMTP id f5-v6mr7395128pfg.123.1527897417961; Fri, 01 Jun 2018 16:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527897417; cv=none; d=google.com; s=arc-20160816; b=Ft+RMyS55i2QIMxBZK+/7dLk5fNB7I6nNijdJakA9L5AkggjQnbGsllcbGxn6GJUtt BhHQ5gK3rZlqawHmq14c92oFJBdyI2GXTYTp+JvbzRJpuWXp0MzhCBwvIr8aCCzD+/WB MkAWfJsKFIuFWicfFSxDeaTRPaGONICWo7m8FDLMXpro+u46gjQN6+h02jeryfXptHGS fCoWq8iDjmGhdlFWtClNuSqTvwFz8g2zd+ehfD/9yfYa4Y/94iFA+ZWA9d19obZsQgVP k4v06Hmcvk0Ibqy5SEAVHmqlTjgX0k4x1ZR94W5NGvqV8Q1rOj9W9mxATmEMuEqzncNI L4jA== 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=rkEYjKbPRA6rBPaimnBFo8dPGCXBc59pfInOCeaGlwY=; b=KrAFN17VSK64gzvpcZyNlC8jBnKu4PVpaXFUYvBgSM0ftrCgUmgJoEN0DTTC9fNoCt vc+R7BWIehjjaQwa2IaYOjAJUFU+czD7eg61tpJlcymlES1XC98CCONWu7hdcAoVog+n SLMs3JJ78Di7d1B7TBY7I9EzScO0NXrw4PON2ypXJuMl85gNfPxT021KVFJTNjWxn/ue AVBijYkxuFB3+YfcqDls95SS7NQ00/JnRtmvVm10nn2K2L5b75R/Zy7eoQspDjP0XrmP PbxcUtROiTRR4S/N+FbSVMrZDEb7dXHL0siOYk+0yNKdogJukpXWzVgaJz6fx+Lnpygy 4XLA== 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 u28-v6si40678069pfl.143.2018.06.01.16.56.42; Fri, 01 Jun 2018 16:56:57 -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 S1751183AbeFAX4R (ORCPT + 99 others); Fri, 1 Jun 2018 19:56:17 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:58410 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750927AbeFAX4P (ORCPT ); Fri, 1 Jun 2018 19:56:15 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 94C19854E2; Fri, 1 Jun 2018 23:56:14 +0000 (UTC) Received: from ming.t460p (ovpn-12-20.pek2.redhat.com [10.72.12.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 347721C5BD; Fri, 1 Jun 2018 23:55:58 +0000 (UTC) Date: Sat, 2 Jun 2018 07:55:54 +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: <20180601235553.GB655@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> <20180528023042.GC26790@ming.t460p> <20180601084302.GB30694@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180601084302.GB30694@infradead.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Fri, 01 Jun 2018 23:56:14 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Fri, 01 Jun 2018 23:56:14 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.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:43:02AM -0700, Christoph Hellwig wrote: > 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. I tried that way at the beginning, it will cause gcc warning, since the variable will be defined in the middle of one function, and even worse it might break nested iterator case. Thanks, Ming