diff options
| author | Brian King <[email protected]> | 2016-08-24 12:56:51 -0500 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2016-08-25 23:39:15 -0400 |
| commit | afc3f83cb4a5bb3c8f18380bdeca6b65a6ff9543 (patch) | |
| tree | d7fef8ffde79690a471775c0205d91d449bb3571 /tools/perf/scripts/python/compaction-times.py | |
| parent | 6328d9030f0fcf9935a00b1cd9d90c1129526a9c (diff) | |
scsi: ipr: Add asynchronous error notification
This patch implements functions for pushing HCAM (host controlled
asynchronous messages) error buffers to userspace through sysfs
attributes. Reads to the "async_err_log" attribute will result in a
single HCAM buffer being copied to userspace; one can process the next
HCAM buffer by writing any string to the same attribute.
A new list was added to the ioa_cfg structure to store the HCAM buffers
for later reporting. We also send a KOBJ_CHANGE event whenever a new
HCAM buffer is made available to userspace.
Signed-off-by: Heitor Ricardo Alves de Siqueira <[email protected]>
Signed-off-by: Gabriel Krisman Bertazi <[email protected]>
Signed-off-by: Brian King <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions