From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762774AbXHPLTR (ORCPT ); Thu, 16 Aug 2007 07:19:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754973AbXHPLTI (ORCPT ); Thu, 16 Aug 2007 07:19:08 -0400 Received: from brick.kernel.dk ([87.55.233.238]:16032 "EHLO kernel.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755136AbXHPLTH (ORCPT ); Thu, 16 Aug 2007 07:19:07 -0400 Date: Thu, 16 Aug 2007 13:19:03 +0200 From: Jens Axboe To: Neil Brown Cc: linux-kernel@vger.kernel.org, Tejun Heo Subject: Re: [PATCH 002 of 5] Replace bio_data with blk_rq_data Message-ID: <20070816111903.GU23758@kernel.dk> References: <20070816150445.30843.patches@notabene> <1070816051337.31344@suse.de> <20070816070255.GJ23758@kernel.dk> <18115.63917.990694.904646@notabene.brown> <20070816072114.GK23758@kernel.dk> <18116.12755.587269.111597@notabene.brown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18116.12755.587269.111597@notabene.brown> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 16 2007, Neil Brown wrote: > On Thursday August 16, jens.axboe@oracle.com wrote: > > > 2 and 3 are very simple changes that - I think - make it clearer what > > > is happening. > > > > To be honest, I don't see much win in using blk_rq_data() over > > bio_data() at all. I'd much much rather just see it go away! > > > > Well, as it is always the data at the (current) head of the request... > > But I can make it go a way if you like.. What does it become? > bvec_kmap ?? Yeah, it then just becomes a kmap. And ->buffer goes away completely. > > > And I felt 5 was a sufficient improvement to justify it and 4... > > > > 5 is nice, I would like to apply that :-) > > > > OK, here comes '5' at the top of a small set of patches. Take it and > any of the following that you like. Thanks. -- Jens Axboe