From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: [PATCH v3 08/14] block: introduce bio_copy_data_partial Date: Fri, 24 Mar 2017 10:41:29 -0600 Message-ID: References: <20170316161235.27110-1-tom.leiming@gmail.com> <20170316161235.27110-9-tom.leiming@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20170316161235.27110-9-tom.leiming@gmail.com> Sender: linux-raid-owner@vger.kernel.org To: Ming Lei , Shaohua Li , linux-raid@vger.kernel.org, linux-block@vger.kernel.org, Christoph Hellwig List-Id: linux-raid.ids 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 Shaohua, feel free to pull this through the md tree, that will be much easier. -- Jens Axboe From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:50477 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751554AbdCXQmP (ORCPT ); Fri, 24 Mar 2017 12:42:15 -0400 Subject: Re: [PATCH v3 08/14] block: introduce bio_copy_data_partial To: Ming Lei , Shaohua Li , , , "Christoph Hellwig" References: <20170316161235.27110-1-tom.leiming@gmail.com> <20170316161235.27110-9-tom.leiming@gmail.com> From: Jens Axboe Message-ID: Date: Fri, 24 Mar 2017 10:41:29 -0600 MIME-Version: 1.0 In-Reply-To: <20170316161235.27110-9-tom.leiming@gmail.com> Content-Type: text/plain; charset="windows-1252" Sender: linux-block-owner@vger.kernel.org List-Id: linux-block@vger.kernel.org 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 Shaohua, feel free to pull this through the md tree, that will be much easier. -- Jens Axboe