Re: [PATCH 1/2] target: Move MAINTENANCE_[IN,OUT] from pscsi_parse_cdb -> spc_parse_cdb

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-05-31 at 07:41 +0200, Christoph Hellwig wrote:
> On Wed, May 30, 2012 at 10:39:43PM +0000, Nicholas A. Bellinger wrote:
> > From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>
> > 
> > The MAINTENANCE_[IN,OUT] CDB parsing required for generic ALUA emulation
> > needs to be in spc_parse_cdb() to function for virtual TYPE_DISK exports,
> > instead of in backend pscsi_parse_cdb() code used only for passthrough ops.
> 
> Can you add a comment why this is the case?  I can't find a defintion of
> these commands in my copies of the SPC spec.
> 

The two MI/MO CDB+SAs that are defined in SPC-4 for fabric independent
ALUA usage are:

MI / REPORT_TARGET_PORT_GROUP CDB: 0xa3, ServiceAction: 0x0a
MO / SET_TARGET_PORT_GROUP CDB: 0xa4, ServiceAction: 0x0a

IIRC the complete set of fabric dependent Maintenance In/Out
ServiceAction(s) are supposed to be defined in SCC-2.





--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux