1. 28 3月, 2012 1 次提交
  2. 11 1月, 2012 1 次提交
    • K
      [SCSI] bfa: Implement LUN Masking feature using the SCSI Slave Callouts. · 5b7db7af
      Krishna Gudipati 提交于
      This patch re-implements LUN Masking feature using SCSI Slave Callouts.  With
      the new design in the slave_alloc entry point; for each new LUN discovered we
      check with our internal LUN Masking config whether to expose or to mask this
      particular LUN. We return -ENXIO (No such device or address) from slave_alloc
      for the LUNs we don't want to be exposed.  We also notify the SCSI mid-layer
      to do a sequential LUN scan rather than REPORT_LUNS based scan if LUN masking
      is enabled on our HBA port, since a -ENXIO from any LUN in REPORT_LUNS based
      scan translates to a scan abort.  This patch also handles the dynamic lun
      masking config change from enable to disable or vice-versa by resetting
      sdev_bflags of LUN 0 appropriately.
      Signed-off-by: NKrishna Gudipati <kgudipat@brocade.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      5b7db7af
  3. 15 9月, 2011 1 次提交
  4. 27 7月, 2011 2 次提交
  5. 30 6月, 2011 9 次提交
  6. 22 12月, 2010 3 次提交
  7. 21 12月, 2010 1 次提交
  8. 26 10月, 2010 2 次提交
  9. 17 9月, 2010 1 次提交
  10. 28 7月, 2010 5 次提交
  11. 11 4月, 2010 3 次提交
  12. 07 3月, 2010 4 次提交
  13. 04 3月, 2010 1 次提交
    • K
      [SCSI] bfa: Resume BFA operations after firmware mismatch is resolved. · e6714324
      Krishna Gudipati 提交于
      bfad.c & bfad_drv.h:
        * Created a kernel thread from pci_probe that does the bfad start
          operations after BFA init done on a firmware mismatch.
        * The kernel thread on a fw mismatch waits for an event from IOC
          call back and is woken up from bfa_cb_init() on BFA init success.
        * In normal cases of no firmware mismatch this thread is terminated
          in pci_probe.
      
      bfa_fcs_lport.c, fabric.c, fcs_lport.h & vport.c:
        * Split the lport init to attach time and init time code, so that
          proper config attributes are set after firmware mismatch.
      
      bfa_iocfc.c:
        * Handle an IOC timer issue, where the IOC timer would expire before
          the init completion and send Init fail event to the driver,
          however IOC init continues and completes successfully at the later
          stage. The bfa and driver were not handling this kind of deferred
          init completion.
      Signed-off-by: NKrishna Gudipati <kgudipat@brocade.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      e6714324
  14. 02 10月, 2009 1 次提交