From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bart Van Assche Subject: Re: [PATCH 8/8] IB/srp: Add multichannel support Date: Fri, 19 Sep 2014 17:21:16 +0200 Message-ID: <541C49EC.6030404@acm.org> References: <541C27BF.6070609@acm.org> <541C28E0.7010705@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Ming Lei Cc: "linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-rdma , Christoph Hellwig , Jens Axboe , Robert Elliott List-Id: linux-rdma@vger.kernel.org On 09/19/14 16:28, Ming Lei wrote: > On Fri, Sep 19, 2014 at 9:00 PM, Bart Van Assche wrote: >> @@ -2643,7 +2754,8 @@ static struct scsi_host_template srp_template = { >> .proc_name = DRV_NAME, >> .slave_configure = srp_slave_configure, >> .info = srp_target_info, >> - .queuecommand = srp_queuecommand, >> + .queuecommand = srp_sq_queuecommand, >> + .mq_queuecommand = srp_mq_queuecommand, > > Another choice is to obtain hctx from request directly, then mq can > reuse the .queuecommand interface too. Hello Ming, Is the hctx information already available in the request data structure ? I have found a mq_ctx member but no hctx member. Did I perhaps overlook something ? Thanks, Bart. -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html