1. 09 11月, 2016 2 次提交
  2. 13 7月, 2016 2 次提交
  3. 05 9月, 2013 2 次提交
  4. 20 7月, 2012 4 次提交
  5. 10 5月, 2012 1 次提交
    • V
      [SCSI] libfc: flush lport worker after its disabled · 061446a1
      Vasu Dev 提交于
      The lport could get timeout armed while its getting disabled,
      so flush lport worker after its disabled and ignore lport
      retry in that case instead of WARN_ON.
      
       [13192.936858] WARNING: at drivers/scsi/libfc/fc_lport.c:1573 fc_lport_timeout+0x53/0xa9 [libfc]()
       [13192.938026] Hardware name: Bochs
       [13192.938620] Modules linked in: fcoe libfcoe libfc scsi_transport_fc scsi_tgt fuse 8021q garp stp llc sunrpc ipv6 uinput microcode joydev pcspkr ixgbe e1000 i2c_piix4 i2c_core virtio_balloon dca mdio virtio_blk virtio_pci virtio_ring virtio floppy [last unloaded: speedstep_lib]
       [13192.942589] Pid: 23605, comm: kworker/0:6 Tainted: G        W    3.2.0+ #71
       [13192.943587] Call Trace:
       [13192.944052]  [<ffffffff810403f4>] warn_slowpath_common+0x85/0x9d
       [13192.944940]  [<ffffffff81040426>] warn_slowpath_null+0x1a/0x1c
       [13192.945734]  [<ffffffffa02746eb>] fc_lport_timeout+0x53/0xa9 [libfc]
       [13192.946665]  [<ffffffff81058d88>] process_one_work+0x20c/0x3ad
       [13192.947541]  [<ffffffff81058cbe>] ? process_one_work+0x142/0x3ad
       [13192.948423]  [<ffffffffa0274698>] ? fc_lport_enter_ns+0x178/0x178 [libfc]
       [13192.949363]  [<ffffffff8105a313>] worker_thread+0xfd/0x181
       [13192.950191]  [<ffffffff8105a216>] ? manage_workers.clone.15+0x173/0x173
       [13192.951100]  [<ffffffff8105e19b>] kthread+0xa4/0xac
       [13192.951755]  [<ffffffff814edbb4>] kernel_thread_helper+0x4/0x10
       [13192.952520]  [<ffffffff814e5cb4>] ? retint_restore_args+0x13/0x13
       [13192.953398]  [<ffffffff8105e0f7>] ? __init_kthread_worker+0x5b/0x5b
       [13192.954278]  [<ffffffff814edbb0>] ? gs_change+0x13/0x13
       [13192.954911] ---[ end trace 9763213b95bbd803 ]---
      Signed-off-by: NVasu Dev <vasu.dev@intel.com>
      Acked-by: NNeil Horman <nhorman@tuxdriver.com>
      Tested-by: NRoss Brattain <ross.b.brattain@intel.com>
      Signed-off-by: NRobert Love <robert.w.love@intel.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      061446a1
  6. 25 4月, 2012 1 次提交
  7. 28 3月, 2012 1 次提交
  8. 20 3月, 2012 1 次提交
  9. 19 2月, 2012 1 次提交
  10. 16 1月, 2012 1 次提交
  11. 01 11月, 2011 1 次提交
  12. 31 10月, 2011 2 次提交
  13. 29 8月, 2011 1 次提交
    • V
      [SCSI] libfc: fix fc_eh_host_reset · 77a2b73a
      Vasu Dev 提交于
      Current fc_eh_host_reset leaves lport offline
      permanently  due to FLOGI response getting
      handled by LOGO response from last reset as both
      had same exchange id.
      
      So fix this by having end to end exches clean-up
      using exchange abort along exches reset
      done from fc_eh_host_reset. This would avoid
      exchanges collision between the sessions across
      the reset. In this case implicit login should have
      done that but no aborting support for FIP
      frames, so just wait till lport->r_a_tov before
      restarting next flogi to ensure all exchanges
      are good to use again for next session.
      
      Below is the trace of LOGO from older session
      coming ahead of FLOGI response with same exche id
      0x203:-
      
      617  86.435165     4e.00.0b -> ff.ff.fc     FC ELS LOGO 0x203
      618  86.435195     4e.00.0b -> b6.02.00     FC ELS LOGO 0x213
      619  86.435220     4e.00.0b -> 18.03.00     FC ELS LOGO 0x223
      620  86.435244     4e.00.0b -> 18.02.00     FC ELS LOGO 0x233
      621  86.435267     4e.00.0b -> 18.01.00     FC ELS LOGO 0x243
      622  86.435349     00.00.00 -> ff.ff.fe     FC ELS FLOGI 0x203
      623  86.435549     ff.ff.fc -> 4e.00.0b     FC ELS ACC (LOGO) 0x203
      624  86.438721     ff.ff.fe -> 4e.00.0b     FC ELS ACC (FLOGI) 0x203
      625  86.442059     18.03.00 -> 4e.00.0b     FC ELS ACC (LOGO) 0x223
      626  86.443683     b6.02.00 -> 4e.00.0b     FC ELS ACC (LOGO) 0x213
      627  86.447693     18.01.00 -> 4e.00.0b     FC ELS ACC (LOGO) 0x243
      628  86.453499     18.02.00 -> 4e.00.0b     FC ELS ACC (LOGO) 0x233
      Signed-off-by: NVasu Dev <vasu.dev@intel.com>
      Tested-by: NRoss Brattain <ross.b.brattain@intel.com>
      Reviewed-by: NYi Zou <yi.zou@intel.com>
      Signed-off-by: NRobert Love <robert.w.love@intel.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      77a2b73a
  14. 28 7月, 2011 1 次提交
  15. 30 6月, 2011 1 次提交
  16. 01 5月, 2011 1 次提交
  17. 31 3月, 2011 1 次提交
  18. 01 3月, 2011 1 次提交
  19. 13 2月, 2011 3 次提交
  20. 22 12月, 2010 3 次提交
  21. 26 10月, 2010 1 次提交
  22. 28 7月, 2010 6 次提交
  23. 17 6月, 2010 1 次提交
  24. 17 5月, 2010 1 次提交
    • R
      [SCSI] libfc: Move the port_id into lport · 7b2787ec
      Robert Love 提交于
      This patch creates a port_id member in struct fc_lport.
      This allows libfc to just deal with fc_lport instances
      instead of calling into the fc_host to get the port_id.
      
      This change helps in only using symbols necessary for
      operation from the libfc structures. libfc still needs
      to change the fc_host_port_id() if the port_id changes
      so the presentation layer (scsi_transport_fc) can provide
      the user with the correct value, but libfc shouldn't
      rely on the presentation layer for operational values.
      Signed-off-by: NRobert Love <robert.w.love@intel.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      7b2787ec