[SCSI] hpsa: poll controller to detect device change event
For shared SAS configurations, hosts need to poll Smart Arrays periodically in order to be able to detect configuration changes such as logical drives being added or removed from remote hosts. A register on the controller indicates when such events have occurred, and the driver polls the register via a workqueue and kicks off a rescan of devices if such an event is detected. Additionally, changes to logical drive raid offload eligibility are autodetected in this way. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Scott Teel <scott.teel@hp.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:

committed by
James Bottomley

parent
250fb125ff
commit
76438d087f
@@ -176,6 +176,7 @@ struct ctlr_info {
|
||||
#define HPSATMF_LOG_QRY_TASK (1 << 23)
|
||||
#define HPSATMF_LOG_QRY_TSET (1 << 24)
|
||||
#define HPSATMF_LOG_QRY_ASYNC (1 << 25)
|
||||
u32 events;
|
||||
};
|
||||
#define HPSA_ABORT_MSG 0
|
||||
#define HPSA_DEVICE_RESET_MSG 1
|
||||
|
Reference in New Issue
Block a user