Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932176AbbBTQSI (ORCPT ); Fri, 20 Feb 2015 11:18:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44204 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752281AbbBTQSF (ORCPT ); Fri, 20 Feb 2015 11:18:05 -0500 Date: Fri, 20 Feb 2015 16:17:59 +0000 From: Joe Thornber To: Akira Hayakawa Cc: ejt@redhat.com, Greg KH , snitzer@redhat.com, dm-devel@redhat.com, driverdev-devel@linuxdriverproject.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] staging: writeboost: Add dm-writeboost Message-ID: <20150220161759.GC4740@debian> Mail-Followup-To: Akira Hayakawa , ejt@redhat.com, Greg KH , snitzer@redhat.com, dm-devel@redhat.com, driverdev-devel@linuxdriverproject.org, linux-kernel@vger.kernel.org References: <54A508F7.1020207@gmail.com> <20150118000952.GB26160@kroah.com> <20150220174401.4badb3cbad7be3eed449f4c1@gmail.com> <20150220150614.GA4740@debian> <54E75201.9030202@gmail.com> <20150220155036.GB4740@debian> <54E75B70.1010007@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54E75B70.1010007@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 809 Lines: 20 On Sat, Feb 21, 2015 at 01:06:08AM +0900, Akira Hayakawa wrote: > The size is configurable but typically 512KB (that's the default). > > Refer to bio payload sounds really dangerous but it may be possible > in some tricky way. but at the moment I am not sure how the > implementation would be. > > Is there some fancy function that is like memcpy but actually "move" > the ownership? When building up your log chunk bio copy the bio_vecs (not the data) from the original bios. You can't complete the original bios until your log chunk has been written. - Joe -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/