]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/scsi/hpsa.h
[SCSI] hpsa: allow user to disable accelerated i/o path
authorScott Teel <scott.teel@hp.com>
Tue, 18 Feb 2014 19:57:00 +0000 (13:57 -0600)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 15 Mar 2014 17:19:07 +0000 (10:19 -0700)
commitda0697bd3075598f7990002dc46f208d722b6160
tree64682fc16ed80050cf60c4f116384cb649502e44
parent6b80b18fe51540baf7f0c76b7d68df02f69db58c
[SCSI] hpsa: allow user to disable accelerated i/o path

Allow SSD Smart Path for a controller to be disabled by
the user, regardless of settings in controller firmware
or array configuration.

To disable:     echo 0 > /sys/class/scsi_host/host<id>/acciopath_status
To re-enable:   echo 1 > /sys/class/scsi_host/host<id>/acciopath_status
To check state: cat /sys/class/scsi_host/host<id>/acciopath_status

Signed-off-by: Scott Teel <scott.teel@hp.com>
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Documentation/ABI/testing/sysfs-class-scsi_host
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h