usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/asym_sun.c
changeset 7298 b69e27387f74
parent 4851 5e98cf4c2164
child 9304 ff96a286a5d4
equal deleted inserted replaced
7297:e4b614b9dc04 7298:b69e27387f74
    16  * fields enclosed by brackets "[]" replaced with your own identifying
    16  * fields enclosed by brackets "[]" replaced with your own identifying
    17  * information: Portions Copyright [yyyy] [name of copyright owner]
    17  * information: Portions Copyright [yyyy] [name of copyright owner]
    18  *
    18  *
    19  * CDDL HEADER END
    19  * CDDL HEADER END
    20  */
    20  */
       
    21 
    21 /*
    22 /*
    22  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
    23  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
    23  * Use is subject to license terms.
    24  * Use is subject to license terms.
    24  */
    25  */
    25 #pragma ident	"%Z%%M%	%I%	%E% SMI"
       
    26 
    26 
    27 /*
    27 /*
    28  * Implementation of "scsi_vhci_f_asym_sun" asymmetric failover_ops.
    28  * Implementation of "scsi_vhci_f_asym_sun" asymmetric failover_ops.
    29  *
    29  *
    30  * Note : f_asym_sun method is the same as the one originally used by SUN's
    30  * Note : f_asym_sun method is the same as the one originally used by SUN's
    48 	"SUN     T4              ",
    48 	"SUN     T4              ",
    49 	NULL,
    49 	NULL,
    50 };
    50 };
    51 
    51 
    52 /* Failover module plumbing. */
    52 /* Failover module plumbing. */
    53 SCSI_FAILOVER_OP("f_asym_sun", purple, "%I%");
    53 SCSI_FAILOVER_OP("f_asym_sun", purple);
    54 
    54 
    55 #define	PURPLE_FO_CMD_RETRY_DELAY	1000000 /* 1 seconds */
    55 #define	PURPLE_FO_CMD_RETRY_DELAY	1000000 /* 1 seconds */
    56 #define	PURPLE_FO_RETRY_DELAY		2000000 /* 2 seconds */
    56 #define	PURPLE_FO_RETRY_DELAY		2000000 /* 2 seconds */
    57 /*
    57 /*
    58  * max time for failover to complete is 3 minutes.  Compute
    58  * max time for failover to complete is 3 minutes.  Compute