1. 24 3月, 2006 1 次提交
    • N
      [PATCH] Make libata not powerdown drivers on PM_EVENT_FREEZE. · 082776e4
      Nigel Cunningham 提交于
      At the moment libata doesn't pass pm_message_t down ata_device_suspend.
      This causes drives to be powered down when we just want a freeze,
      causing unnecessary wear and tear. This patch gets pm_message_t passed
      down so that it can be used to determine whether to power down the
      drive.
      Signed-off-by: NNigel Cunningham <nigel@suspend2.net>
      
       drivers/scsi/libata-core.c |    5 +++--
       drivers/scsi/libata-scsi.c |    4 ++--
       drivers/scsi/scsi_sysfs.c  |    2 +-
       include/linux/libata.h     |    4 ++--
       include/scsi/scsi_host.h   |    2 +-
       5 files changed, 9 insertions(+), 8 deletions(-)
      Signed-off-by: NJeff Garzik <jeff@garzik.org>
      082776e4
  2. 20 3月, 2006 2 次提交
  3. 15 3月, 2006 2 次提交
    • J
      [SCSI] add scsi_reprobe_device · e28482c5
      James Bottomley 提交于
      Original from Christoph Hellwig and Eric Moore.  This version exports
      the scsi_reprobe_device() function as an inline.
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      e28482c5
    • J
      [SCSI] add preliminary expander support to the sas transport class · 79cb1819
      James Bottomley 提交于
      This patch makes expanders appear as labelled objects with properties in
      the SAS tree.
      
      I've also modified the phy code to make expander phys appear labelled by
      host number, expander number and phy index.
      
      So, for my current config, you see something like this in sysfs:
      
      /sys/class/scsi_host/host1/device/phy-1:4/expander-1:0/phy-1-0:12/rphy-1:0-12/target1:0:1
      
      And the expander properties are:
      
      jejb@sparkweed> cd /sys/class/sas_expander/expander-1\:0/
      jejb@sparkweed> for f in *; do echo -n $f ": "; cat $f; done
      component_id : 29024
      component_revision_id : 4
      component_vendor_id : VITESSE
      device : cat: device: Is a directory
      level : 0
      product_id : VSC7160 Eval Brd
      product_rev : 4
      uevent : cat: uevent: Permission denied
      vendor_id : VITESSE
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      79cb1819
  4. 13 3月, 2006 1 次提交
  5. 06 3月, 2006 1 次提交
  6. 03 3月, 2006 1 次提交
  7. 28 2月, 2006 6 次提交
  8. 15 2月, 2006 1 次提交
    • J
      [PATCH] add scsi_execute_in_process_context() API · faead26d
      James Bottomley 提交于
      We have several points in the SCSI stack (primarily for our device
      functions) where we need to guarantee process context, but (given the
      place where the last reference was released) we cannot guarantee this.
      
      This API gets around the issue by executing the function directly if
      the caller has process context, but scheduling a workqueue to execute
      in process context if the caller doesn't have it.  Unfortunately, it
      requires memory allocation in interrupt context, but it's better than
      what we have previously.  The true solution will require a bit of
      re-engineering, so isn't appropriate for 2.6.16.
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      faead26d
  9. 05 2月, 2006 1 次提交
  10. 27 1月, 2006 2 次提交
  11. 25 1月, 2006 1 次提交
  12. 19 1月, 2006 1 次提交
  13. 15 1月, 2006 5 次提交
  14. 13 1月, 2006 1 次提交
  15. 07 1月, 2006 1 次提交
    • J
      [PATCH] Suspend support for libata · 9b847548
      Jens Axboe 提交于
      This patch adds suspend patch to libata, and ata_piix in particular. For
      most low level drivers, they should just need to add the 4 hooks to
      work. As I can only test ata_piix, I didn't enable it for more
      though.
      
      Suspend support is the single most important feature on a notebook, and
      most new notebooks have sata drives. It's quite embarrassing that we
      _still_ do not support this. Right now, it's perfectly possible to
      suspend the drive in mid-transfer.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      9b847548
  16. 06 1月, 2006 1 次提交
  17. 16 12月, 2005 3 次提交
  18. 15 12月, 2005 1 次提交
    • M
      [SCSI] Convert SCSI mid-layer to scsi_execute_async · 6e68af66
      Mike Christie 提交于
      Add scsi helpers to create really-large-requests and convert
      scsi-ml to scsi_execute_async().
      
      Per Jens's previous comments, I placed this function in scsi_lib.c.
      I made it follow all the queue's limits - I think I did at least :), so
      I removed the warning on the function header.
      
      I think the scsi_execute_* functions should eventually take a request_queue
      and be placed some place where the dm-multipath hw_handler can use them
      if that failover code is going to stay in the kernel. That conversion
      patch will be sent in another mail though.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      6e68af66
  19. 14 12月, 2005 3 次提交
  20. 07 11月, 2005 3 次提交
  21. 03 11月, 2005 1 次提交
  22. 31 10月, 2005 1 次提交
    • T
      [PATCH] fix missing includes · 4e57b681
      Tim Schmielau 提交于
      I recently picked up my older work to remove unnecessary #includes of
      sched.h, starting from a patch by Dave Jones to not include sched.h
      from module.h. This reduces the number of indirect includes of sched.h
      by ~300. Another ~400 pointless direct includes can be removed after
      this disentangling (patch to follow later).
      However, quite a few indirect includes need to be fixed up for this.
      
      In order to feed the patches through -mm with as little disturbance as
      possible, I've split out the fixes I accumulated up to now (complete for
      i386 and x86_64, more archs to follow later) and post them before the real
      patch.  This way this large part of the patch is kept simple with only
      adding #includes, and all hunks are independent of each other.  So if any
      hunk rejects or gets in the way of other patches, just drop it.  My scripts
      will pick it up again in the next round.
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      4e57b681