From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754804Ab0IRCvJ (ORCPT ); Fri, 17 Sep 2010 22:51:09 -0400 Received: from sabe.cs.wisc.edu ([128.105.6.20]:44136 "EHLO sabe.cs.wisc.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753826Ab0IRCvH (ORCPT ); Fri, 17 Sep 2010 22:51:07 -0400 Message-ID: <4C942A5D.5040109@cs.wisc.edu> Date: Fri, 17 Sep 2010 21:56:29 -0500 From: Mike Christie User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7 MIME-Version: 1.0 To: Joe Eykholt CC: "Nicholas A. Bellinger" , linux-scsi , linux-kernel , Vasu Dev , Tim Chen , Andi Kleen , Matthew Wilcox , James Bottomley , James Smart , Andrew Vasquez , FUJITA Tomonori , Hannes Reinecke , Christoph Hellwig Subject: Re: [PATCH v2 01/11] scsi: Convert struct Scsi_Host->cmd_serial_number to atomic_t References: <1284747709-20862-1-git-send-email-nab@linux-iscsi.org> <4C93BB8E.2080501@cisco.com> <4C9427B6.9050404@cs.wisc.edu> In-Reply-To: <4C9427B6.9050404@cs.wisc.edu> 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 On 09/17/2010 09:45 PM, Mike Christie wrote: > The comments for serial_number say that it is only supposed to be used > for debugging printks and most drivers use it for that. However, it > looks like mpt and dpt_i2o are using it for error handling and/or lookup > type of operations. I think the mpt* uses are not needed in the abort > checks. Oh yeah, forgot to say, for dpt I think you could just replace the serial_number with the host wide tagging.