From mboxrd@z Thu Jan 1 00:00:00 1970 From: Webb Scales Subject: Re: [PATCH v2 10/12] IB/srp: Use block layer tags Date: Fri, 24 Oct 2014 11:40:31 -0400 Message-ID: <544A72EF.702@hp.com> References: <5433E43D.3010107@acm.org> <5433E557.3010505@acm.org> <94D0CD8314A33A4D9D801C0FE68B4029593212E0@G4W3296.americas.hpqcorp.net> <5448AB4F.40507@acm.org> <54493E5A.7050803@hp.com> <5449F571.7080308@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5449F571.7080308-HInyCGIudOg@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Bart Van Assche , "Elliott, Robert (Server Storage)" , Christoph Hellwig Cc: Jens Axboe , Sagi Grimberg , Sebastian Parschauer , Ming Lei , "linux-scsi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org" , linux-rdma , "Don Brace (PMC)" List-Id: linux-scsi@vger.kernel.org On 10/24/14 2:45 AM, Bart Van Assche wrote: > On 10/23/14 19:43, Webb Scales wrote: >> On 10/23/14 3:16 AM, Bart Van Assche wrote: >>> All my tests with use_blk_mq=n were run with a WARN_ON_ONCE(req->tag < >>> 0) statement present in srp_queuecommand(). I haven't seen any kernel >>> warning being triggered during the tests I ran. >> >> Bart, what's the data type of "req->tag", here? (E.g., if it >> "unsigned", it will never be less than zero, right?) > > Hello Webb, > > This is what I found in "struct request" in : > > struct request { > [ ... ] > int tag; > [ ... ] > }; > > Bart. Good: I just wanted to make sure that you weren't referencing the "tag" field in the "scsi_cmnd" struct (which _is_ unsigned). Webb -- 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