Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S944130AbcJaPbz (ORCPT ); Mon, 31 Oct 2016 11:31:55 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:54371 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S944043AbcJaPbx (ORCPT ); Mon, 31 Oct 2016 11:31:53 -0400 Date: Mon, 31 Oct 2016 08:31:49 -0700 From: Christoph Hellwig To: Ming Lei Cc: Jens Axboe , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, Christoph Hellwig , "Kirill A . Shutemov" , Hannes Reinecke , Mike Christie , Minfei Huang , Petr Mladek Subject: Re: [PATCH 15/60] block: loop: comment on direct access to bvec table Message-ID: <20161031153149.GH30919@infradead.org> References: <1477728600-12938-1-git-send-email-tom.leiming@gmail.com> <1477728600-12938-16-git-send-email-tom.leiming@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1477728600-12938-16-git-send-email-tom.leiming@gmail.com> User-Agent: Mutt/1.6.1 (2016-04-27) 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 List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 212 Lines: 4 Btw, the lib/iov_iter.c code that iterates over bvec currently expects single-page segments. Is the loop code fine with that? Even if it is I think we'd be much better off if it becomes multipage segment aware.