From: "Luis R. Rodriguez" <[email protected]> Its reported that mptsas can at times take over 30 seconds to recognize SCSI storage devices [0], this is done on the driver's probe path. Use the the new module_long_probe_init() to annotate this driver's probe is broken and require some love, but makes the driver operational until that is fixed.
[0] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1276705 Cc: Tetsuo Handa <[email protected]> Cc: Joseph Salisbury <[email protected]> Cc: One Thousand Gnomes <[email protected]> Cc: Tim Gardner <[email protected]> Cc: Pierre Fersing <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Benjamin Poirier <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Nagalakshmi Nandigama <[email protected]> Cc: Praveen Krishnamoorthy <[email protected]> Cc: Sreekanth Reddy <[email protected]> Cc: Abhijit Mahajan <[email protected]> Cc: Hariprasad S <[email protected]> Cc: Santosh Rastapur <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Luis R. Rodriguez <[email protected]> --- drivers/message/fusion/mptsas.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index 0707fa2..c2bb72b 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c @@ -43,6 +43,7 @@ */ /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ +#include <linux/kthread.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/slab.h> @@ -5439,5 +5440,5 @@ mptsas_exit(void) mpt_deregister(mptsasDeviceResetCtx); } -module_init(mptsas_init); -module_exit(mptsas_exit); +module_long_probe_init(mptsas_init); +module_long_probe_exit(mptsas_exit); -- 2.0.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

