From: "Luis R. Rodriguez" <mcg...@suse.com>

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 deferred probe workqueue
to allow long init sequences to complete.

[0] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1276705

Cc: Tetsuo Handa <penguin-ker...@i-love.sakura.ne.jp>
Cc: Joseph Salisbury <joseph.salisb...@canonical.com>
Cc: One Thousand Gnomes <gno...@lxorguk.ukuu.org.uk>
Cc: Tim Gardner <tim.gard...@canonical.com>
Cc: Pierre Fersing <pierre-fers...@pierref.org>
Cc: Andrew Morton <a...@linux-foundation.org>
Cc: Oleg Nesterov <o...@redhat.com>
Cc: Benjamin Poirier <bpoir...@suse.de>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
Cc: Nagalakshmi Nandigama <nagalakshmi.nandig...@avagotech.com>
Cc: Praveen Krishnamoorthy <praveen.krishnamoor...@avagotech.com>
Cc: Sreekanth Reddy <sreekanth.re...@avagotech.com>
Cc: Abhijit Mahajan <abhijit.maha...@avagotech.com>
Cc: Hariprasad S <haripra...@chelsio.com>
Cc: Santosh Rastapur <sant...@chelsio.com>
Cc: mpt-fusionlinux....@avagotech.com
Cc: linux-scsi@vger.kernel.org
Cc: linux-ker...@vger.kernel.org
Cc: net...@vger.kernel.org
Signed-off-by: Luis R. Rodriguez <mcg...@suse.com>
---
 drivers/message/fusion/mptsas.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c
index 711fcb5..3859ac3 100644
--- a/drivers/message/fusion/mptsas.c
+++ b/drivers/message/fusion/mptsas.c
@@ -5382,6 +5382,9 @@ MODULE_DEVICE_TABLE(pci, mptsas_pci_table);
 
 
 static struct pci_driver mptsas_driver = {
+       .driver = {
+               .delay_probe = true,
+       },
        .name           = "mptsas",
        .id_table       = mptsas_pci_table,
        .probe          = mptsas_probe,
-- 
2.0.1

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to