Received: from [140.186.70.92] (port=55714 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJVoq-00028Q-A2 for qemu-devel@nongnu.org; Fri, 19 Nov 2010 13:36:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJVoo-0006aO-Kj for qemu-devel@nongnu.org; Fri, 19 Nov 2010 13:36:20 -0500 Received: from verein.lst.de ([213.95.11.210]:48604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJVoo-0006a4-BF for qemu-devel@nongnu.org; Fri, 19 Nov 2010 13:36:18 -0500 Date: Fri, 19 Nov 2010 19:36:15 +0100 From: Christoph Hellwig Subject: Re: [Qemu-devel] [PATCH 07/16] scsi: Update sense code handling Message-ID: <20101119183615.GH32461@lst.de> References: <20101118144714.4D542F90AB@ochil.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101118144714.4D542F90AB@ochil.suse.de> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hannes Reinecke Cc: stefanha@gmail.com, qemu-devel@nongnu.org, nab@linux-iscsi.org, kraxel@redhat.com On Thu, Nov 18, 2010 at 03:47:14PM +0100, Hannes Reinecke wrote: > > The SCSI spec has a quite detailed list of sense codes available. > It even mandates the use of specific ones for some failure cases. > The current implementation just has one type of 'generic' error > which is actually a violation of the spec in certain cases. > This patch introduces various predefined sense codes to have the > sense code reporting more in line with the spec. Looks good.