diff options
author | Krishna Mohan <krmohan@cisco.com> | 2013-02-14 00:33:04 (GMT) |
---|---|---|
committer | Robert Love <robert.w.love@intel.com> | 2013-02-15 17:33:27 (GMT) |
commit | a586069b0f56a700d6f6249a64cbc313dd4a97e0 (patch) | |
tree | 868b4fef75995e05e498f4a483f3ec082b27e215 /drivers/scsi | |
parent | b2593cbe18c4f50c9acacd88860b051f567654d7 (diff) | |
download | linux-fsl-qoriq-a586069b0f56a700d6f6249a64cbc313dd4a97e0.tar.xz |
libfc: XenServer fails to mount root filesystem.
schedule_delayed_work() is using msec instead of jiffies. On PLOGI
reject from target, remote port retry is scheduled @ 20 sec instead
of 2sec(FC_DEF_E_D_TOV).
XenServer dom0 kernel is configured with CONFIG_HZ=100Hz
Signed-off-by: Krishna Mohan <krmohan@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/libfc/fc_rport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c index 83aa1ef..d518d17 100644 --- a/drivers/scsi/libfc/fc_rport.c +++ b/drivers/scsi/libfc/fc_rport.c @@ -582,7 +582,7 @@ static void fc_rport_error(struct fc_rport_priv *rdata, struct fc_frame *fp) static void fc_rport_error_retry(struct fc_rport_priv *rdata, struct fc_frame *fp) { - unsigned long delay = FC_DEF_E_D_TOV; + unsigned long delay = msecs_to_jiffies(FC_DEF_E_D_TOV); /* make sure this isn't an FC_EX_CLOSED error, never retry those */ if (PTR_ERR(fp) == -FC_EX_CLOSED) |