From: "Nicholas A. Bellinger" Subject: Re: [PATCH 07/13] target: Inline struct se_tmr_req into se_cmd Date: Thu, 16 Feb 2012 00:08:07 -0800 Message-ID: <1329379687.5093.184.camel@haakon2.linux-iscsi.org> References: <1327009163-10177-1-git-send-email-agrover@redhat.com> <1327009163-10177-8-git-send-email-agrover@redhat.com> <20120120161209.GA22481@infradead.org> <4F19A80B.6000902@redhat.com> <1329350733.5093.128.camel@haakon2.linux-iscsi.org> <4F3CA268.2040403@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F3CA268.2040403@redhat.com> Sender: target-devel-owner@vger.kernel.org To: Andy Grover Cc: Christoph Hellwig , target-devel@vger.kernel.org, linux-scsi@vger.kernel.org, kiran.patil@intel.com List-Id: linux-scsi@vger.kernel.org On Wed, 2012-02-15 at 22:30 -0800, Andy Grover wrote: > On 02/15/2012 04:05 PM, Nicholas A. Bellinger wrote: > > On Fri, 2012-01-20 at 09:44 -0800, Andy Grover wrote: > >> On 01/20/2012 08:12 AM, Christoph Hellwig wrote: > >>> On Thu, Jan 19, 2012 at 01:39:17PM -0800, Andy Grover wrote: > >>>> This saves all fabrics from calling core_tmr_alloc_req() and > >>>> having to check the result. The downside is se_cmd gets bigger for all > >>>> requests, but hopefully later patches will reduce it. > >>> > >>> Without patches to void the overhead it's not acceptable. Fortunately > >>> it should be doable fairly simply by using an union for command vs > >>> TMR fields. > >> > >> This was my thought too. We should be able to move cmd variables into a > >> union w/tmr struct very soon, with a low risk of introducing bugs. > >> > > > > Hi Andy, > > > > Ping on this..? I've been merging patches from lio-core into > > target-pending/for-next the past week, and i've stopped ahead of this > > patch to inline se_tmr_req into se_cmd due of the extra overhead in > > question here.. > > > > I'd really like to get this resolved in v3.4 for-next, so would you mind > > taking care of the lio-core conversion to union for command vs > > TMR fields so this can be squashed into for-next..? > > Hi Nick, > > Haven't had a chance to make further progress. You can drop it and I'll > resubmit it later with the supplementary work. > Hi Andy, Ok, I'll go ahead and re-add allocation of se_tmr_req into lio-core, and drop this patch from my for-next queue for now. --nab