summaryrefslogtreecommitdiff
path: root/sys/scsi/mpath_emc.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2013-08-26 07:38:57 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2013-08-26 07:38:57 +0000
commit6d3b5b7f64a763108227fa99adfe438fdfadc513 (patch)
tree74fbfad7114639e9f893d199de4285ac6552e0c7 /sys/scsi/mpath_emc.c
parent650aad2853775cba19d670d6a7a2b36abbb28841 (diff)
checksense handlers in path drivers can return MPATH_SENSE_DECLINED
(who can tell ive spent time in web servers) to say they decline interpreting the sense data, or MPATH_SENSE_FAILOVER to say the sense data is from the controller saying its failed over. all path drivers currently decline handling sense data.
Diffstat (limited to 'sys/scsi/mpath_emc.c')
-rw-r--r--sys/scsi/mpath_emc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/mpath_emc.c b/sys/scsi/mpath_emc.c
index 1d61690f29f..626006ac240 100644
--- a/sys/scsi/mpath_emc.c
+++ b/sys/scsi/mpath_emc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpath_emc.c,v 1.9 2013/08/26 07:29:45 dlg Exp $ */
+/* $OpenBSD: mpath_emc.c,v 1.10 2013/08/26 07:38:56 dlg Exp $ */
/*
* Copyright (c) 2011 David Gwynne <dlg@openbsd.org>
@@ -215,7 +215,7 @@ emc_mpath_start(struct scsi_xfer *xs)
int
emc_mpath_checksense(struct scsi_xfer *xs)
{
- return (0);
+ return (MPATH_SENSE_DECLINED);
}
int