aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/scsi/hpsa.txt
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2011-03-09 18:00:06 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-03-14 19:44:41 -0400
commit941b1cdae83039c99fc5c1884a98d2afd39760e5 (patch)
tree050d9853589eb142b9edf292399e574d919c9151 /Documentation/scsi/hpsa.txt
parent3f5eac3a040a2ea61a575f713aabedecdd23c3f8 (diff)
[SCSI] hpsa: export resettable host attribute
This attribute, requested by Redhat, allows kexec-tools to know whether the controller can honor the reset_devices kernel parameter and actually reset the controller. For kdump to work properly it is necessary that the reset_devices parameter be honored. This attribute enables kexec-tools to warn the user if they attempt to designate a non-resettable controller as the dump device. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'Documentation/scsi/hpsa.txt')
-rw-r--r--Documentation/scsi/hpsa.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/scsi/hpsa.txt b/Documentation/scsi/hpsa.txt
index 880c085b951b..891435a72fce 100644
--- a/Documentation/scsi/hpsa.txt
+++ b/Documentation/scsi/hpsa.txt
@@ -45,6 +45,7 @@ HPSA specific entries in /sys
45 45
46 /sys/class/scsi_host/host*/rescan 46 /sys/class/scsi_host/host*/rescan
47 /sys/class/scsi_host/host*/firmware_revision 47 /sys/class/scsi_host/host*/firmware_revision
48 /sys/class/scsi_host/host*/resettable
48 /sys/class/scsi_host/host*/transport_mode 49 /sys/class/scsi_host/host*/transport_mode
49 50
50 the host "rescan" attribute is a write only attribute. Writing to this 51 the host "rescan" attribute is a write only attribute. Writing to this
@@ -66,6 +67,17 @@ HPSA specific entries in /sys
66 or "simple" mode. This is controlled by the "hpsa_simple_mode" module 67 or "simple" mode. This is controlled by the "hpsa_simple_mode" module
67 parameter. 68 parameter.
68 69
70 The "resettable" read-only attribute indicates whether a particular
71 controller is able to honor the "reset_devices" kernel parameter. If the
72 device is resettable, this file will contain a "1", otherwise, a "0". This
73 parameter is used by kdump, for example, to reset the controller at driver
74 load time to eliminate any outstanding commands on the controller and get the
75 controller into a known state so that the kdump initiated i/o will work right
76 and not be disrupted in any way by stale commands or other stale state
77 remaining on the controller from the previous kernel. This attribute enables
78 kexec tools to warn the user if they attempt to designate a device which is
79 unable to honor the reset_devices kernel parameter as a dump device.
80
69 HPSA specific disk attributes: 81 HPSA specific disk attributes:
70 ------------------------------ 82 ------------------------------
71 83