diff options
author | Brian King <brking@linux.vnet.ibm.com> | 2014-12-02 12:47:37 -0600 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-12-15 13:34:28 +0100 |
commit | f688f96d86794600686e2c11745ee3ffa3e6554e (patch) | |
tree | c6c65dcaee38a548c763602e76479b1fa74c9841 /drivers/scsi/ipr.h | |
parent | f49accf1eb398102d722a89fdbb76ad17c5c5220 (diff) | |
download | linux-f688f96d86794600686e2c11745ee3ffa3e6554e.tar.gz linux-f688f96d86794600686e2c11745ee3ffa3e6554e.tar.bz2 linux-f688f96d86794600686e2c11745ee3ffa3e6554e.zip |
ipr: add support for async scanning to speed up boot
Switch device scanning logic in the ipr driver to use
the async scan API. This speeds up boot times, particularly
on large systems.
Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Wen Xiong<wenxiong@linux.vnet.ibm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r-- | drivers/scsi/ipr.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h index 9ebdebd944e7..b4f3eec51bc9 100644 --- a/drivers/scsi/ipr.h +++ b/drivers/scsi/ipr.h @@ -157,13 +157,11 @@ #define IPR_MAX_NUM_TARGETS_PER_BUS 256 #define IPR_MAX_NUM_LUNS_PER_TARGET 256 -#define IPR_MAX_NUM_VSET_LUNS_PER_TARGET 8 #define IPR_VSET_BUS 0xff #define IPR_IOA_BUS 0xff #define IPR_IOA_TARGET 0xff #define IPR_IOA_LUN 0xff #define IPR_MAX_NUM_BUSES 16 -#define IPR_MAX_BUS_TO_SCAN IPR_MAX_NUM_BUSES #define IPR_NUM_RESET_RELOAD_RETRIES 3 @@ -1453,7 +1451,7 @@ struct ipr_ioa_cfg { u8 in_ioa_bringdown:1; u8 ioa_unit_checked:1; u8 dump_taken:1; - u8 allow_ml_add_del:1; + u8 scan_done:1; u8 needs_hard_reset:1; u8 dual_raid:1; u8 needs_warm_reset:1; |