An error occurred fetching the project authors.
  1. 07 May, 2003 2 commits
    • Christoph Hellwig's avatar
      [PATCH] first batch of shost sysfs fixes · fecb256b
      Christoph Hellwig authored
      (a) scsi_check_device_busy() is unused now, kill it.  Btw, although I
          love to see this this really means we need to imply a
          scsi_set_device_offline (or even better scsi_set_host_offline)
          in scsi_remove_host now..
      (b) make shost_class static to scsi_sysfs.c, with the new device model
          changes no LLDD needs this anymore
      (c) move private prototypes where they belong.
      
      BTW, Mike, did I miss something or will your changes make every driver
      converted to scsi_add_host & co OOPS on removal now?
      fecb256b
    • Christoph Hellwig's avatar
      [PATCH] remove scsi_slave_attach/scsi_slave_detach · af1cbdf2
      Christoph Hellwig authored
      I added those two to factor out common code from the upper drivers
      a long time ago, but after Doug & Lubens nice work there's nothing
      left but incrementing/decrementing a counter in struct scsi_device
      that's never used except in the case were we not it must be NULL
      because we just walked the chain of drivers to detach every single
      one..
      af1cbdf2
  2. 29 Apr, 2003 3 commits
  3. 28 Apr, 2003 1 commit
  4. 21 Apr, 2003 1 commit
  5. 25 Mar, 2003 1 commit
  6. 23 Feb, 2003 1 commit
    • Christoph Hellwig's avatar
      [PATCH] some scsi_scan.c restructuring for ieee1394 hotplugging · 1ad65843
      Christoph Hellwig authored
      I had some discussion with Ben Collins on ow to properly allow
      hotplugging of ieee1394 storage device (sbp2).  While the scsi_add_host/
      scsi_remove_host interface allows hotpluging of ieee1394 adapters we
      need a way to register the actual devices with the scsi layer when
      they're plugged in.  I've restructured the code to handle the
      /proc/scsi/scsi code to add/remove devices a bit to have an interface
      the ieee1394 driver can use, and created the following new interface:
      
      	struct scsi_device *scsi_add_device(struct Scsi_Host *shost,
      			uint channel, uint id, uint lun)
      	int scsi_remove_device(struct scsi_device *sdev)
      
      in addition scsi_probe_and_add_lun() got some overhaul to become
      readable and can now return the struct scsi_device it probed as an
      optional argument.
      1ad65843
  7. 21 Feb, 2003 1 commit
  8. 12 Feb, 2003 1 commit
    • Mike Anderson's avatar
      [PATCH] scsi_error handler update. (4/4) · 0166205d
      Mike Anderson authored
      This patch series is against scsi-misc-2.5.
      
      03_serror-dev-offline-1.diff:
      	- Add scsi_set_device_offline interface.
      
      -andmike
      --
      Michael Anderson
      andmike@us.ibm.com
      
       scsi.c      |   38 ++++++++++++++++++++++++++++++++++++++
       scsi.h      |    1 +
       scsi_syms.c |    1 +
       3 files changed, 40 insertions(+)
      0166205d
  9. 04 Feb, 2003 1 commit
    • Christoph Hellwig's avatar
      [PATCH] fixes and cleanups for the new command allocation code · 21cd9dc6
      Christoph Hellwig authored
      On Tue, Feb 04, 2003 at 12:33:23PM -0600, James Bottomley wrote:
      > I agree with this.  It is a guarantee the mid-layer makes to the LLD
      > (and there are some LLDs with static issue queues for which this is a
      > hard requirement).  I think (once the dust has settled and we've agreed
      > which field holds the current queue depth) what's needed is a check in
      > the scsi_request_fn() to see if we're over the LLD's current depth for
      > the device and plug the queue and exit if we are.  The next returning
      > command will unplug and send.
      >
      > This way of doing things means that we're free to prep as many commands
      > as we can, but we guarantee only to have the correct number outstanding
      > to the LLD.
      
      Okay, here's a new versin of the patch.  Changes:
      
      * throttel on number of inflight command blocks
      * rename scsi_cmnd->new_queue_depth to scsi_cmnd->queue_depth
      * remove scsi_do_cmd
      * serialize pool handling
      21cd9dc6
  10. 28 Jan, 2003 1 commit
    • Luben Tuikov's avatar
      cmd_alloc54-3.patch [3/3] · cf638122
      Luben Tuikov authored
      this patch implements the new command allocation scheme for SCSI
      Core, using the slab cache and a free_list for each host for a
      backup store of one command (or many).
      
       o The three (3) subversion means that it has been updated to use
         ISA DMA and PCI DMA memory for scsi command allocation,
         i.e. there's two scsi command caches now.
      
       o The interface is, of course, unchanged; and this is the whole
         point of making this allocation scheme -- i.e. the allocator
         is abstracted.
      cf638122
  11. 23 Dec, 2002 1 commit
    • Christoph Hellwig's avatar
      [PATCH] Re: scsi_scan.c complaints... · b7ccbd3e
      Christoph Hellwig authored
      On Fri, Dec 20, 2002 at 08:29:23PM -0500, Doug Ledford wrote:
      > And I was right.  One little q = NULL; is all that was missing.  Anyway,
      > here's a printout of what startup looks like with this patch in place
      > under 2.5.52.  This should make you happy Justin ;-)
      
      Okay, I looked at the patches that are in mainline and they look pretty
      cool to me.  When looking over the code (in preparation of implementing
      Justin's suggestion to get rid of the highmem_io flag) I found quite
      a bit small stuff to make the code in that area a lot cleaner:
      
      - new helper scsi_calculate_bounce_limit to calculate the bounce
        limit for a scsi host, remove a copy of that code ni st.c
      - scsi_initialize_queue gets replace with scsi_alloc_queue, this
        one now takes only a struct Scsi_Host and returns the request queue,
        it's paired with a small scsi_free_queue helper.
      
      Diffstat:
      
       hosts.h     |    3 -
       scsi.c      |   43 ----------------------
       scsi.h      |    1
       scsi_scan.c |  113 ++++++++++++++++++++++++++++++++++--------------------------
       scsi_syms.c |    5 ++
       st.c        |   16 +-------
       6 files changed, 73 insertions(+), 108 deletions(-)
      b7ccbd3e
  12. 28 Nov, 2002 1 commit
    • Christoph Hellwig's avatar
      [PATCH] abstract out more scsi_device acess out of the low-level drivers · ee89063d
      Christoph Hellwig authored
      Two new helpers: scsi_device_get and scsi_device_put that get/release a
      reference to the underlying HBA driver and increment/decrement
      ->access_count.  Cleanup ->attach/->detach routines in the upper layer
      drivers a bit to consolidate the error pathes once we're cleaning them
      up.
      
      ->attach and ->detach in upper layer drivers are mandatory now (not
      having them would be rather pointless).
      
      (note that the sd.c changes are not in this patch, it'll be part of
      my next, bigger patch)
      ee89063d
  13. 27 Nov, 2002 1 commit
    • Mike Anderson's avatar
      scsi sysfs update 3 · e9167d31
      Mike Anderson authored
      I have attached an updated combined patch of my previously posted sysfs
      changes. 
      
      This patch is against linux-scsi.bkbits.net/scsi-misc-2.5
      
      This patch contains these updates:
      	- update to osst.c to support sysfs cleanups.
      	- oops fix in osst.c detach if no device attached. A better
      	  method than this quick fix is needed.
      	- removed scsi_bus_hotplug function do to bug and not really
      	  needed now as default gives path data. If needed in future can
      	  be added with better definition.
      
      -andmike
      e9167d31
  14. 21 Nov, 2002 1 commit
  15. 20 Nov, 2002 1 commit
  16. 16 Nov, 2002 1 commit
    • Christoph Hellwig's avatar
      move all procfs code to scsi_proc · ed54ad08
      Christoph Hellwig authored
      scsi.c gets really far too big, and having all code that depends on
      CONFIG_PROC_FS in scsi_proc.c is a nice cleanup.  Note that much of
      the procfs code is really really ugly and wants a rewrite to at
      least use the seq_file interface and probably moving to sysfs.
      ed54ad08
  17. 06 Nov, 2002 1 commit
    • Patrick Mansfield's avatar
      Re: [PATCH] fix 2.5 scsi queue depth setting · f4e01df0
      Patrick Mansfield authored
      On Wed, Nov 06, 2002 at 01:50:00PM -0500, J.E.J. Bottomley wrote:
      > I'm OK with that, since the drivers can be audited as they're moved over to 
      > slave attach.  It also works for drivers that use older hardware (like the 
      > 53c700) which don't call adjust_queue_depth from slave attach, but slightly 
      > later on when they've really verified the device will accept tags.  In this 
      > case, I don't want the mid layer to call adjust_queue_depth for me even if I 
      > leave slave_attach with only one command allocated.
      
      OK, here it is again, as discussed, plus it calls scsi_release_commandblocks
      on slave_attach failure.
      f4e01df0
  18. 05 Nov, 2002 1 commit
    • Christoph Hellwig's avatar
      [PATCH] allow registering individual HBAs · c877e091
      Christoph Hellwig authored
      Yes, this is the patch every maintainer of a modern HBA waited for the
      last years </shameless plug>.
      
      With all my recent changes there's no more reason to call scsi_register_host
      except for the intialization it performs to every host found in
      scsi_register.  But a driver can aswell do that at the end of it's
      per-HBA detection routine (i.e. in ->probe for a modern PCI driver), so
      export that code as scsi_add_host to drivers.  Do the same for the
      release path (scsi_remove_host).  Such a new-style driver needs neither
      ->detect or ->release and is in theory hotplug-capable (well, once all
      the races in the scsi midlayer are fixed..)
      c877e091
  19. 04 Nov, 2002 1 commit
    • Christoph Hellwig's avatar
      [PATCH] proper scsi_devicelist handling · 4365d624
      Christoph Hellwig authored
      Factor out code calling methods of all device template on a scsi_device
      out to three helper functions in scsi.c, make scsi_devicelist static to
      it and add a r/w semaphore to protect it.
      
      Make scsi_host_list and scsi_host_hn_list static to hosts.c and remove
      the never used scsi_host_tmpl_list (we only add to it and remove from
      it but never traverse it)
      4365d624
  20. 29 Oct, 2002 1 commit
  21. 25 Oct, 2002 1 commit
    • Christoph Hellwig's avatar
      [PATCH] sanitize ->bios_param prototype · 496a57cb
      Christoph Hellwig authored
      Currnetly the ->bios_param for host drivers exposes struct scsi_disk
      (aka Scsi_Disk or Disk) to each and every lowlevel driver, although
      this structure should be privated to the sd driver.
      
      All bios_param implementation do only use two fields:  .device and
      .capacity.  This patch passes down those two directly and gets
      rid of 99% of the sd.h inclusions (*).
      
      I've tried to not break any driver with this patch, but given the
      number of compiler errors in the current tree I might have missed
      one or two.
      
      (*) a bunch of drivers needed sd.h to get to scsi.h, I've fixed those.
      496a57cb
  22. 17 Oct, 2002 1 commit
    • Mike Anderson's avatar
      [PATCH] scsi host cleanup 2/3 (mid lvl changes) · 68fe1e0f
      Mike Anderson authored
      This is a resend of my previous patch clean ups to the scsi_host lists.
      
      	* Made function naming consistent with rest of SCSI
      	* Corrected a problem with driverfs registration to early. Also
      	  changed from put_device to device_unregister.
              * Fixed a regression in my previous patch that the scsi_host
                list was not sorted by host number. When we get some device
                naming this hack can be removed.
              * Switch scsi host template, name, host lists to struct
                list_head's.
              * Moved all scsi_host related register / unregister functions
                into hosts.c
              * Added list accessor interface and created a function similar
                to driverfs bus_for_each_dev.
      
      The full patch is available at:
      http://www-124.ibm.com/storageio/patches/2.5/scsi-host
      
      -andmike
      --
      Michael Anderson
      andmike@us.ibm.com
      
       scsi.c      |  456 +++---------------------------------------------------------
       scsi_proc.c |   57 ++++---
       scsi_syms.c |    5
       sg.c        |    6
       4 files changed, 63 insertions(+), 461 deletions(-)
      68fe1e0f
  23. 12 Oct, 2002 1 commit
  24. 08 Oct, 2002 1 commit
    • Doug Ledford's avatar
      [PATCH] Updated scsi patch · 8e12e1f9
      Doug Ledford authored
      scsi_syms.c:
        Missing export
      drivers/scsi/aic7xxx_old.c:
         More updates for the slave_attach stuff
      drivers/scsi/scsi_scan.c:
         Make scsi_scan.c call hostt->slave_attach after we have set the
         sdev->tagged_supported variable
      8e12e1f9
  25. 02 Jul, 2002 1 commit
  26. 15 Jun, 2002 1 commit
    • Andries E. Brouwer's avatar
      [PATCH] SCSI stuff part 2 · 0b2c0d4f
      Andries E. Brouwer authored
      Below a patch removing the list of sense codes from usb/storage/debug.h
      since the same list is already found in scsi/constants.c.
      This also brings this list up to date with SCSI-3.
      0b2c0d4f
  27. 01 Mar, 2002 1 commit
    • James Bottomley's avatar
      scsi-reset-2.4.18.diff · 6e7c838c
      James Bottomley authored
      SCSI reservation/reset handling
      
      - Make both the old and the new error handlers respond correctly
        to reservation conflicts (i.e. return an I/O error).
      
      - Add a scsi_reset_provider() function for use by the sg driver
        SCSI reset facility.
      6e7c838c
  28. 05 Feb, 2002 7 commits
    • Linus Torvalds's avatar
      v2.5.1.11 -> v2.5.2 · 5fb612aa
      Linus Torvalds authored
      - Matt Domsch: combine common crc32 library
      - Pete Zaitcev: ymfpci update
      - Davide Libenzi: scheduler improvements
      - Al Viro: almost there: "struct block_device *" everywhere
      - Richard Gooch: devfs cpqarray update, race fix
      - Rusty Russell: PATH_MAX should include the final '0' count
      - David Miller: various random updates (mainly net and sparc)
      5fb612aa
    • Linus Torvalds's avatar
      v2.5.1.2 -> v2.5.1.3 · 25aa595a
      Linus Torvalds authored
      - Christoph Hellwig: scsi_register_module cleanup
      - Mikael Pettersson: apic.c LVTERR fixes
      - Russell King: ARM update (including bio update for icside)
      - Jens Axboe: more bio updates
      - Al Viro: make ready to switch bread away from kdev_t..
      - Davide Libenzi: scheduler cleanups
      - Anders Gustafsson: LVM fixes for bio
      - Richard Gooch: devfs update
      25aa595a
    • Linus Torvalds's avatar
      v2.5.0.11 -> v2.5.1 · 51f4a834
      Linus Torvalds authored
      - Al Viro: floppy_eject cleanup, mount cleanups
      - Jens Axboe: bio updates
      - Ingo Molnar: mempool fixes
      - GOTO Masanori: Fix O_DIRECT error handling
      51f4a834
    • Linus Torvalds's avatar
      v2.5.0.2 -> v2.5.0.3 · 4d6c7b36
      Linus Torvalds authored
      - Al Viro: more superblock cleanups
      - Jens Axboe: more patches for new block IO layer
      - Christoph Hellwig: get rid of the old, long- deprecated SCSI error
      handling
      4d6c7b36
    • Linus Torvalds's avatar
      v2.4.5.8 -> v2.4.5.9 · 2d80cb2a
      Linus Torvalds authored
        - make sure "sync()" doesn't effectively lock up the machine by
        overloading all the IO resources
        - fix up some network memory allocations that don't wan tto wait on IO.
        - merge with Alan (including MIPS update)
        - Jeff Garzik: network driver updates.
        - Al Viro: System V FS update (write capability, page cache, mondo cleanups)
        - Kai Germaschewski: ISDN cleanups, TURBOPAM driver by Stelian Pop
        - Ben Fennema: UDF update (time handling, i_blocks fix)
        - Neil Brown: md error handling improvements, knfsd file handle compatibility
        - Paul Mackerras: PPC update
        - Jakub Jelinek: fix up kernel linker scripts to accept .rodata better
        - Patrick Mochel: fix PME handling in pci_enable_wake()
        - Chris Mason: reiserfs PF_MEMALLOC handling
      2d80cb2a
    • Linus Torvalds's avatar
      v2.4.1.2 -> v2.4.1.3 · c8ebfc88
      Linus Torvalds authored
        - Jens: better ordering of requests when unable to merge
        - Neil Brown: make md work as a module again (we cannot autodetect
        in modules, not enough background information)
        - Neil Brown: raid5 SMP locking cleanups
        - Neil Brown: nfsd: handle Irix NFS clients named pipe behavior and
        dentry leak fix
        - maestro3 shutdown fix
        - fix dcache hash calculation that could cause bad hashes under certain
        circumstances (Dean Gaudet)
        - David Miller: networking and sparc updates
        - Jeff Garzik: include file cleanups
        - Andy Grover: ACPI update
        - Coda-fs error return fixes
        - rth: alpha Jensen update
      c8ebfc88
    • Linus Torvalds's avatar
      Import changeset · 7a2deb32
      Linus Torvalds authored
      7a2deb32