Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1764360AbZDARTY (ORCPT ); Wed, 1 Apr 2009 13:19:24 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754410AbZDARTL (ORCPT ); Wed, 1 Apr 2009 13:19:11 -0400 Received: from gw-ca.panasas.com ([209.116.51.66]:31800 "EHLO laguna.int.panasas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752705AbZDARTK (ORCPT ); Wed, 1 Apr 2009 13:19:10 -0400 Message-ID: <49D3A191.2040000@panasas.com> Date: Wed, 01 Apr 2009 20:17:05 +0300 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090315 Remi/3.0-0.b2.fc10.remi Thunderbird/3.0b2 MIME-Version: 1.0 To: James Bottomley CC: Tejun Heo , linux-scsi , axboe@kernel.dk, linux-kernel@vger.kernel.org, fujita.tomonori@lab.ntt.co.jp Subject: Re: [PATCH 14/17] scsi: replace custom rq mapping with blk_rq_map_kern_sgl() References: <1238593472-30360-1-git-send-email-tj@kernel.org> <1238593472-30360-15-git-send-email-tj@kernel.org> <49D39DBC.3000206@panasas.com> <1238605538.3318.63.camel@mulgrave.int.hansenpartnership.com> In-Reply-To: <1238605538.3318.63.camel@mulgrave.int.hansenpartnership.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Apr 2009 17:19:07.0401 (UTC) FILETIME=[F6C72790:01C9B2ED] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1616 Lines: 45 On 04/01/2009 08:05 PM, James Bottomley wrote: > On Wed, 2009-04-01 at 20:00 +0300, Boaz Harrosh wrote: >> On 04/01/2009 04:44 PM, Tejun Heo wrote: >>> Impact: hack removal >>> >>> SCSI needs to map sgl into rq for kernel PC requests; however, block >>> API didn't have such feature so it used its own rq mapping function >>> which hooked into block/bio internals and is generally considered an >>> ugly hack. The private function may also produce requests which are >>> bigger than queue per-rq limits. >>> >>> Block blk_rq_map_kern_sgl(). Kill the private implementation and use >>> it. >>> >>> Signed-off-by: Tejun Heo >> James, TOMO >> >> what happened to Tomo's patches that removes all this after fixing up >> all users (sg.c)? >> >> I thought that was agreed and done? What is left to do for that to go >> in. > > They couldn't go in because they would break libosd. You were going to > send patches to fix libosd so it no longer relied on the exported > function ... did that happen and I missed it? > That's not related. I'm asking about the scsi ULD patches and finally the patch to scsi_lib.c. libosd only conflicts with the very last patch to block layer. I don't see how that prevents the cleanups to scsi? And BTW, I did send RFC patches that removes usage of blk_rq_append_bio() and did not receive any comments > James > > Boaz -- 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/