From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751706AbdAYNcJ (ORCPT ); Wed, 25 Jan 2017 08:32:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:56709 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751549AbdAYNcH (ORCPT ); Wed, 25 Jan 2017 08:32:07 -0500 From: Jeff Layton To: viro@zeniv.linux.org.uk Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-nfs@vger.kernel.org, ceph-devel@vger.kernel.org, lustre-devel@lists.lustre.org, v9fs-developer@lists.sourceforge.net Subject: [PATCH v3 0/2] iov_iter: allow iov_iter_get_pages_alloc to allocate more pages per call Date: Wed, 25 Jan 2017 08:32:03 -0500 Message-Id: <20170125133205.21704-1-jlayton@redhat.com> In-Reply-To: <20170124212327.14517-1-jlayton@redhat.com> References: <20170124212327.14517-1-jlayton@redhat.com> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 25 Jan 2017 13:32:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Small respin of the patch that I sent yesterday for the same thing. This moves the maxsize handling into iov_iter_pvec_size, so that we don't end up iterating past the max size we'll use anyway when trying to determine the pagevec length. Also, a respun patch to make ceph use iov_iter_get_pages_alloc instead of trying to do it via its own routine. Al, if these look ok, do you want to pick these up or shall I ask Ilya to merge them via the ceph tree? Jeff Layton (2): iov_iter: allow iov_iter_get_pages_alloc to allocate more pages per call ceph: switch DIO code to use iov_iter_get_pages_alloc fs/ceph/file.c | 75 ++---------------------------- lib/iov_iter.c | 142 +++++++++++++++++++++++++++++++++++++++++++++------------ 2 files changed, 116 insertions(+), 101 deletions(-) -- 2.9.3