[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <167c2511-349f-a8e6-17d1-f7ce438b2f14@fb.com>
Date: Tue, 22 Nov 2016 08:53:00 -0700
From: Jens Axboe <axboe@...com>
To: Ming Lei <tom.leiming@...il.com>, <linux-kernel@...r.kernel.org>
CC: <linux-block@...r.kernel.org>, <linux-fsdevel@...r.kernel.org>,
"Christoph Hellwig" <hch@...radead.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Coly Li <colyli@...e.de>,
"open list:DEVICE-MAPPER (LVM)" <dm-devel@...hat.com>,
"open list:DRBD DRIVER" <drbd-dev@...ts.linbit.com>,
Eric Wheeler <git@...ux.ewheeler.net>,
Guoqing Jiang <gqjiang@...e.com>,
Hannes Reinecke <hare@...e.com>, Jiri Kosina <jkosina@...e.cz>,
Johannes Thumshirn <jthumshirn@...e.de>,
Keith Busch <keith.busch@...el.com>,
Kent Overstreet <kent.overstreet@...il.com>,
"open list:BCACHE (BLOCK LAYER CACHE)" <linux-bcache@...r.kernel.org>,
"open list:NVM EXPRESS TARGET DRIVER"
<linux-nvme@...ts.infradead.org>,
"open list:SOFTWARE RAID (Multiple Disks) SUPPORT"
<linux-raid@...r.kernel.org>,
"open list:TARGET SUBSYSTEM" <linux-scsi@...r.kernel.org>,
"open list:LogFS" <logfs@...fs.org>,
"Mike Christie" <mchristi@...hat.com>,
Mike Snitzer <snitzer@...hat.com>,
"Rasmus Villemoes" <linux@...musvillemoes.dk>,
"open list:TARGET SUBSYSTEM" <target-devel@...r.kernel.org>,
Yijing Wang <wangyijing@...wei.com>,
"Zheng Liu" <wenqing.lz@...bao.com>
Subject: Re: [PATCH 00/12] block: cleanup direct access to bvec table
On 11/11/2016 05:05 AM, Ming Lei wrote:
> Hi,
>
> This patchset cleans up direct access to bvec table.
>
> The 1st patch passes bvec table to bio_init(), so that
> direct access to bvec table in bio initialization is avoided.
>
> For other patches, most of them uses bio_add_page()
> to replace hardcode style of adding page to bvec,
> and others avoids to access bio->bi_vcnt.
>
> The most special one is to use bvec iterator helpers
> to implement .get_page/.next_page for dm-io.c
>
> One big motivation is to prepare for supporting multipage
> bvec, but this patchset is one good cleanup too even not
> for that purpose.
I've added the series, except 6-8, the dm parts. I updated some of the
descriptions/subjects to read a little better.
--
Jens Axboe
Powered by blists - more mailing lists