Delivered-To: snitzer@gmail.com Received: by 10.224.60.85 with SMTP id o21cs278597qah; Thu, 19 Mar 2009 01:06:08 -0700 (PDT) Received: by 10.224.73.140 with SMTP id q12mr3401777qaj.188.1237449958952; Thu, 19 Mar 2009 01:05:58 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by mx.google.com with ESMTP id 33si2728502yxr.17.2009.03.19.01.05.57; Thu, 19 Mar 2009 01:05:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.176.167 as permitted sender) client-ip=209.132.176.167; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-scsi-owner@vger.kernel.org designates 209.132.176.167 as permitted sender) smtp.mail=linux-scsi-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750900AbZCSIF4 (ORCPT + 99 others); Thu, 19 Mar 2009 04:05:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751165AbZCSIF4 (ORCPT ); Thu, 19 Mar 2009 04:05:56 -0400 Received: from cantor.suse.de ([195.135.220.2]:36082 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750900AbZCSIFz (ORCPT ); Thu, 19 Mar 2009 04:05:55 -0400 Received: from Relay2.suse.de (relay-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 24E545C80D; Thu, 19 Mar 2009 09:05:53 +0100 (CET) Message-ID: <49C1FCE0.3040808@suse.de> Date: Thu, 19 Mar 2009 09:05:52 +0100 From: Hannes Reinecke User-Agent: Thunderbird 2.0.0.12 (X11/20080226) MIME-Version: 1.0 To: James Bottomley Cc: SCSI Mailing List Subject: [PATCH 0/2] Evaluate TPGS setting for ALUA device handler X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org The ALUA device handler should only be attached if the 'TPGS' setting in the inquiry structure indicates so. So we should be evaluating the 'tpgs' setting when trying to attach the ALUA device handler. This way we can get rid of the explicit device table in scsi_dh_alua and will support any ALUA capable device out-of-the-box. This is a repost of the patchset send yesterday, including the suggestions from James B. to just pull the tpgs setting off the inquiry data instead of adding a new field in the scsi_device structure. Signed-off-by: Hannes Reinecke -- Dr. Hannes Reinecke zSeries & Storage hare@suse.de +49 911 74053 688 SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html