diff options
author | Mike Miller <mike.miller@hp.com> | 2009-04-02 15:50:55 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-07 02:12:38 -0400 |
commit | 0a9279cc7cbe726e995c44a1acae81d446775816 (patch) | |
tree | 80b7eb06a7629f6e0ab0c865f791b6a421a0ef6e /drivers/block/cciss.h | |
parent | ac44e5b2ed62bf4acf9df84575d3f18c7a6fdf22 (diff) |
cciss: kernel scan thread for MSA2012
The MSA2012 cannot inform the driver of configuration changes since all
management is out of band. This is a departure from any storage we have
supported in the past. We need some way to detect changes on the topology
so we implement this kernel thread. In some instances there's nothing we
can do from the driver (like LUN failure) so just print out a message. In
the case where logical volumes are added or deleted we call
rebuild_lun_table to refresh the driver's view of the world.
Signed-off-by: Mike Miller <mike.miller@hp.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/cciss.h')
-rw-r--r-- | drivers/block/cciss.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/cciss.h b/drivers/block/cciss.h index 15e2b84734e3..703e08038fb9 100644 --- a/drivers/block/cciss.h +++ b/drivers/block/cciss.h | |||
@@ -121,6 +121,8 @@ struct ctlr_info | |||
121 | struct sendcmd_reject_list scsi_rejects; | 121 | struct sendcmd_reject_list scsi_rejects; |
122 | #endif | 122 | #endif |
123 | unsigned char alive; | 123 | unsigned char alive; |
124 | struct completion *rescan_wait; | ||
125 | struct task_struct *cciss_scan_thread; | ||
124 | }; | 126 | }; |
125 | 127 | ||
126 | /* Defining the diffent access_menthods */ | 128 | /* Defining the diffent access_menthods */ |