Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756629AbZIRRHz (ORCPT ); Fri, 18 Sep 2009 13:07:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755286AbZIRRHy (ORCPT ); Fri, 18 Sep 2009 13:07:54 -0400 Received: from TYO201.gate.nec.co.jp ([202.32.8.193]:62058 "EHLO tyo201.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752359AbZIRRHy (ORCPT ); Fri, 18 Sep 2009 13:07:54 -0400 Message-ID: <4AB3BDEE.8090800@ce.jp.nec.com> Date: Sat, 19 Sep 2009 02:05:50 +0900 From: "Jun'ichi Nomura" User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Jens Axboe , Alasdair G Kergon CC: linux-kernel@vger.kernel.org, device-mapper development , Li Zefan Subject: Re: [PATCH] Add a tracepoint for block request remapping References: <4AB2E57B.2090101@ce.jp.nec.com> <20090918104539.GX23126@kernel.dk> In-Reply-To: <20090918104539.GX23126@kernel.dk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1778 Lines: 42 Hi Jens, Alasdair, Jens Axboe wrote: > On Fri, Sep 18 2009, Jun'ichi Nomura wrote: >> Since 2.6.31 now has request-based device-mapper, it's useful to have >> a tracepoint for request-remapping as well as bio-remapping. >> >> This patch adds a tracepoint for request-remapping, trace_block_rq_remap(). >> Existing trace_block_remap() is left unchanged but it might be better to >> rename it to trace_block_bio_remap(). > > This looks good, we should definitely have a remap trace at that level > too. Apart from that, nothing further to add than acking the observation > that you need to make the ->device_to part of the trace endian clean. > > If you resend with that and just send the core bit (the dm part should > go through the dm branch), then I'll include it for 2.6.32. I resent a revised patchset but I'm afraid they might be confusing as the other patchset for max_sectors/queue_limits were also sent in parallel and I didn't make them look like a thread. For your reference, these are the revised patchset for tracing request-remap: [PATCH 1/3] block: Add a tracepoint for block request remapping https://www.redhat.com/archives/dm-devel/2009-September/msg00201.html [PATCH 2/3] block: Rename trace_block_remap to trace_block_bio_remap https://www.redhat.com/archives/dm-devel/2009-September/msg00202.html [PATCH 3/3] dm: Add a remapping trace to request-based dm https://www.redhat.com/archives/dm-devel/2009-September/msg00204.html The 3rd patch for dm depends on the 1st. -- Jun'ichi Nomura, NEC Corporation -- 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/