[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c4560059-002a-0aa7-0d42-8e293b43033d@fb.com>
Date: Tue, 14 Feb 2017 08:31:28 -0700
From: Jens Axboe <axboe@...com>
To: Ming Lei <tom.leiming@...il.com>, Shaohua Li <shli@...nel.org>,
<linux-kernel@...r.kernel.org>, <linux-raid@...r.kernel.org>,
<linux-block@...r.kernel.org>,
Christoph Hellwig <hch@...radead.org>,
NeilBrown <neilb@...e.com>
Subject: Re: [PATCH v2 0/5] md: use bio_clone_fast()
On 02/14/2017 08:28 AM, Ming Lei wrote:
> Hi,
>
> This patches replaces bio_clone() with bio_fast_clone() in
> bio_clone_mddev() because:
>
> 1) bio_clone_mddev() is used in raid normal I/O and isn't in
> resync I/O path, and all the direct access to bvec table in
> raid happens on resync I/O only except for write behind of raid1.
> Write behind is treated specially, so the replacement is safe.
>
> 2) for write behind, bio_clone() is kept, but this patchset
> introduces bio_clone_bioset_partial() to just clone one specific
> bvecs range instead of whole table. Then write behind is improved
> too.
You can add my reviewed-by to the first patch. Shaohua, I'm fine
with you carrying this in the md tree, that would be the easiest
way forward.
--
Jens Axboe
Powered by blists - more mailing lists