[lkml]   [2017]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v1 1/5] block: introduce bio_clone_bioset_partial()
On Mon, Feb 13, 2017 at 9:46 PM, Christoph Hellwig <> wrote:
> On Fri, Feb 10, 2017 at 06:56:13PM +0800, Ming Lei wrote:
>> md still need bio clone(not the fast version) for behind write,
>> and it is more efficient to use bio_clone_bioset_partial().
>> The idea is simple and just copy the bvecs range specified from
>> parameters.
> Given how few users bio_clone_bioset has I wonder if we shouldn't
> simply add the two new arguments to it instead of adding another
> indirection.

For md write-behind, looks we have to provide the two arguments,
could you explain a bit how we can do that by adding another indirection?

> Otherwise looks fine:
> Reviewed-by: Christoph Hellwig <>


Ming Lei

 \ /
  Last update: 2017-02-14 02:04    [W:2.145 / U:0.716 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site