1. 16 Nov, 2004 4 commits
    • Mike Christie's avatar
      [PATCH] iSCSI transport class · 57ef63e0
      Mike Christie authored
      The attached patch adds an iSCSI transport class. It was
      built against scsi-misc-2.6. It allows the software/virtual
      iSCSI driver to remove at least one of its ioctl commands.
      The patch also assumes the no multipath/failover rule in
      llds applies to iSCSI drivers, so when we remove our
      portal/portal_group failover support it will allow us to
      kill all our ioctl commands execpt the session creation one
      (that will take more thought).
      
      We would like to build some functions like the
      unblock/block capabilites into the iscsi transport class
      like James Smart has done with FC class. but initially we
      would like to begin with this smaller patch that only provides
      an iscsi sysfs interface.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      57ef63e0
    • James Bottomley's avatar
      SCSI: Add transport destructors · 6c3c58d9
      James Bottomley authored
      From: 	James.Smart@Emulex.Com
      
      This patch adds host/target/sdev destructor functions to the transport
      template. The FC transport is updated to utilize them to cancel any
      outstanding timer. It slightly rearranges the slave_xxx functions so
      the transport is always involved prior to the LLDD.
      
      Minor rejection fixes and
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      6c3c58d9
    • James Bottomley's avatar
      SCSI: updates to constants.c · e2a65cc5
      James Bottomley authored
      From: 	Douglas Gilbert <dougg@torque.net>
      
        - bring opcode names, asc/ascq strings and sense format
          into line with SPC-3 rev 21 (22 September 2004)
        - drop SCSI-1 sense buffer decoding [still output it in hex]
        - opcode names include those that depend on service actions
          including variable length commands **
        - decodes both fixed and descriptor sense data formats
        - use KERN_INFO on printk()s that start on new lines
        - flag vendor specific asc and acsq codes
        - print all bytes of a cdb after the name (previously skipped
          the first byte)
        - cleanup file, tab to 8 spaces
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      e2a65cc5
    • James Bottomley's avatar
      update the fc_transport_class to use a workqueue instead of a timeout · 08addb4b
      James Bottomley authored
      The amount of work that has to be done in the timeout routines is really
      a bit much if there's a large number of LUNS.  Plus the
      device_for_each_child needs user context to get the bus semaphore, so
      the solution is to migrate them from a timer to delayed work.
      
      There's still a race here in that the timer may still be ticking when
      the device is destroyed ... To fix this, I think we may need to
      introduce a destroy callback to the transport class.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      08addb4b
  2. 15 Nov, 2004 1 commit
  3. 14 Nov, 2004 3 commits
  4. 15 Nov, 2004 1 commit
  5. 14 Nov, 2004 28 commits
  6. 13 Nov, 2004 3 commits