Re: [PATCH v3 08/14] block: introduce bio_copy_data_partial

2017-03-24 Thread Jens Axboe
On 03/16/2017 10:12 AM, Ming Lei wrote: > Turns out we can use bio_copy_data in raid1's write behind, > and we can make alloc_behind_pages() more clean/efficient, > but we need to partial version of bio_copy_data(). > > Signed-off-by: Ming Lei Reviewed-by: Jens Axboe

Re: [PATCH v3 08/14] block: introduce bio_copy_data_partial

2017-03-23 Thread Shaohua Li
Jens, can you look at this patch? If it's ok, I'd like to route it through md tree. Thanks, Shaohua On Fri, Mar 17, 2017 at 12:12:29AM +0800, Ming Lei wrote: > Turns out we can use bio_copy_data in raid1's write behind, > and we can make alloc_behind_pages() more clean/efficient, > but we need

[PATCH v3 08/14] block: introduce bio_copy_data_partial

2017-03-16 Thread Ming Lei
Turns out we can use bio_copy_data in raid1's write behind, and we can make alloc_behind_pages() more clean/efficient, but we need to partial version of bio_copy_data(). Signed-off-by: Ming Lei --- block/bio.c | 60