Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1418457

Re: [PATCH v6 0/8] block: prepare for multipage bvecs

Path csiph.com!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Jens Axboe <axboe@kernel.dk>
Newsgroups linux.kernel
Subject Re: [PATCH v6 0/8] block: prepare for multipage bvecs
Date Thu, 09 Jun 2016 18:10:01 +0200
Message-ID <rIaGR-ec-3@gated-at.bofh.it> (permalink)
References <rEvAe-4Ni-11@gated-at.bofh.it>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=gEjnzXH80ke3Z0QlPkKEkAYlOSZ2ssT1AlEiKc/dgLk=; b=S2D/NtJKMi78v5rYNGoaGIp6gYOA/77pr43nNpMHO/5xP1PIrDKifkt4cM6OiulSyH hDBzIjLuxuOOWcpBWoH15h0P5x4+Rr/8U6cXbz459tI0fCdSvuw/lA1aDpzfqJlftGCM eEo6XpBAajGm1N55HL0uYPnNybAmkf+mjXH51zWVGW3CkJuzI/zHH6OlswuNL6uxpLQz 3BwPNcSzWcqiyvHqoNhoBRC2UzAzkd1Ow6B8wjeC2/ZGe839xWl5mY4t5BKFa/gKTrjv r3BKeCGf+kqXnrsW8MIcREYNyY1MjqDB4GreP9q0KbJE07vYKxI4/DT8DqHUFNcEjMFT eM5w==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=gEjnzXH80ke3Z0QlPkKEkAYlOSZ2ssT1AlEiKc/dgLk=; b=JNkyd5e5LIsb5oabJQREZZSCKHghf2d57tMDl86Tpu9YuPPajnWJiVh7e0Do8giuHm JH1YJoNRtzdpbX1QCyk3B+NoWGgywn0EAjLbVoqH7a+lk8JUF/p3zyBPtxPsYHxeehAY +3b8+O52udjR1nNtKlLqVv/9tfSFbHXJDxylHfVLpbLm45jA3sBybj3NeS74pZNQTmnW 4I+j4hrmgTMUVQUQiPucOfqe5chLlJotQB9BupncKuRhErMdkgZiCbyiKeYK/bIsWq9M E87qEwI2kUxTEN2fiULgeG7122tJVC7BYeSGE7vU5QtKiu1NZS+r3jGH2teqsYfAKM4n xaZg==
X-Gm-Message-State ALyK8tKJo9e5X7RxcII8sv1h4M1TS0cerThLHZ1DX1ffVLksnL6EG05Q8s+CTrSP+rSFEg==
X-Received by 10.107.153.71 with SMTP id b68mr19393747ioe.105.1465488365885; Thu, 09 Jun 2016 09:06:05 -0700 (PDT)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
MIME-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 25
Organization linux.* mail to news gateway
X-Original-Cc linux-block@vger.kernel.org, Christoph Hellwig <hch@infradead.org>, Al Viro <viro@zeniv.linux.org.uk>, "open list:DRBD DRIVER" <drbd-dev@lists.linbit.com>, Jan Kara <jack@suse.cz>, Joe Thornber <ejt@redhat.com>, Keith Busch <keith.busch@intel.com>, Kent Overstreet <kent.overstreet@gmail.com>, "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>, "Martin K. Petersen" <martin.petersen@oracle.com>, Michal Hocko <mhocko@suse.com>, Mike Snitzer <snitzer@redhat.com>, NeilBrown <neilb@suse.com>, Sagi Grimberg <sagig@mellanox.com>, Shaohua Li <shli@fb.com>, Steven Whitehouse <swhiteho@redhat.com>, Tejun Heo <tj@kernel.org>, "open list:XFS FILESYSTEM" <xfs@oss.sgi.com>
X-Original-Date Thu, 9 Jun 2016 10:06:02 -0600
X-Original-Message-ID <575993EA.3010005@kernel.dk>
X-Original-References <1464615294-9946-1-git-send-email-ming.lei@canonical.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1418457

Show key headers only | View raw


On 05/30/2016 07:34 AM, Ming Lei wrote:
> Hi,
>
> Interests[1] have been shown in multipage bvecs, so this patchset
> try to prepare for the support and do two things:
>
> 1) the 1st 4 patches use bvec iterator to implement iterate_bvec(),
> then we can drop the non-standard way for iterating bvec, which
> can be thought as a good cleanup for lib/iov_iter.c
>
> 2) remove BIO_MAX_SECTORS and makre BIO_MAX_SIZE as obsolete, and
> now there is only one user for each. Once multipage bvecs is introduced,
> one bio may hold lots of sectors, and we should always use sort of
> BIO_MAX_VECS which should be introduced in future and is similiar
> with current BIO_MAX_PAGES.
>
> The only functional change is iterate_bvec():lib/iov_iter.c
>
> xfstests(-a auto) over loop aio is run for ext4/xfs to verify
> the change and no regression found with this patchset.

Added patches 1-7, still waiting for an answer on my reply to #8.

-- 
Jens Axboe

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v6 0/8] block: prepare for multipage bvecs Jens Axboe <axboe@kernel.dk> - 2016-06-09 18:10 +0200
  Re: [PATCH v6 0/8] block: prepare for multipage bvecs Ming Lei <ming.lei@canonical.com> - 2016-06-10 04:50 +0200

csiph-web