1. 30 1月, 2007 1 次提交
  2. 19 12月, 2006 1 次提交
    • J
      [PATCH] Fixup blk_rq_unmap_user() API · 8e5cfc45
      Jens Axboe 提交于
      The blk_rq_unmap_user() API is not very nice. It expects the caller to
      know that rq->bio has to be reset to the original bio, and it will
      silently do nothing if that is not done. Instead make it explicit that
      we need to pass in the first bio, by expecting a bio argument.
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      8e5cfc45
  3. 12 12月, 2006 2 次提交
  4. 01 12月, 2006 1 次提交
  5. 17 11月, 2006 1 次提交
  6. 16 11月, 2006 1 次提交
  7. 14 11月, 2006 1 次提交
  8. 01 10月, 2006 1 次提交
    • J
      [PATCH] Split struct request ->flags into two parts · 4aff5e23
      Jens Axboe 提交于
      Right now ->flags is a bit of a mess: some are request types, and
      others are just modifiers. Clean this up by splitting it into
      ->cmd_type and ->cmd_flags. This allows introduction of generic
      Linux block message types, useful for sending generic Linux commands
      to block devices.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      4aff5e23
  9. 13 4月, 2006 1 次提交
    • C
      [SCSI] unify SCSI_IOCTL_SEND_COMMAND implementations · 21b2f0c8
      Christoph Hellwig 提交于
      We currently have two implementations of this obsolete ioctl, one in
      the block layer and one in the scsi code.  Both of them have drawbacks.
      
      This patch kills the scsi layer version after updating the block version
      with the missing bits:
      
       - argument checking
       - use scatterlist I/O
       - set number of retries based on the submitted command
      
      This is the last user of non-S/G I/O except for the gdth driver, so
      getting this in ASAP and through the scsi tree would be nie to kill
      the non-S/G I/O path.  Jens, what do you think about adding a check
      for non-S/G I/O in the midlayer?
      
      Thanks to  Or Gerlitz for testing this patch.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      21b2f0c8
  10. 08 2月, 2006 1 次提交
  11. 12 1月, 2006 1 次提交
  12. 09 1月, 2006 1 次提交
  13. 06 1月, 2006 1 次提交
  14. 20 12月, 2005 1 次提交
  15. 16 12月, 2005 1 次提交
    • M
      [SCSI] seperate max_sectors from max_hw_sectors · defd94b7
      Mike Christie 提交于
      - export __blk_put_request and blk_execute_rq_nowait
      needed for async REQ_BLOCK_PC requests
      - seperate max_hw_sectors and max_sectors for block/scsi_ioctl.c and
      SG_IO bio.c helpers per Jens's last comments. Since block/scsi_ioctl.c SG_IO was
      already testing against max_sectors and SCSI-ml was setting max_sectors and
      max_hw_sectors to the same value this does not change any scsi SG_IO behavior. It only
      prepares ll_rw_blk.c, scsi_ioctl.c and bio.c for when SCSI-ml begins to set
      a valid max_hw_sectors for all LLDs. Today if a LLD does not set it
      SCSI-ml sets it to a safe default and some LLDs set it to a artificial low
      value to overcome memory and feedback issues.
      
      Note: Since we now cap max_sectors to BLK_DEF_MAX_SECTORS, which is 1024,
      drivers that used to call blk_queue_max_sectors with a large value of
      max_sectors will now see the fs requests capped to BLK_DEF_MAX_SECTORS.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      defd94b7
  16. 04 11月, 2005 1 次提交
  17. 09 10月, 2005 1 次提交
  18. 18 9月, 2005 1 次提交
  19. 10 9月, 2005 1 次提交
    • D
      [SCSI] permit READ DEFECT DATA in block/scsi_ioctl · 942fc2fb
      Douglas Gilbert 提交于
      The soon to be released smartmontools 5.34 uses the
      READ DEFECT DATA command on SCSI disks. A disk that
      has defect list entries (or worse, an increasing number
      of them) is at risk.
      
      Currently the first invocation of smartctl causes this:
         scsi: unknown opcode 0x37
      message to appear the console and in the log.
      
      The READ DEFECT DATA SCSI command does not change
      the state of a disk. Its opcode (0x37) is valid for
      SBC devices (e.g. disks) and SMC-2 devices (media
      changers) where it is called INITIALIZE STATUS ELEMENT
      WITH RANGE and again doesn't change the external state
      of the device.
      
      Changelog:
        - mark SCSI opcode 0x37 (READ DEFECT DATA) as
          safe_for_read
      Signed-off-by: NDouglas Gilbert <dougg@torque.net>
      Acked-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      942fc2fb
  20. 20 6月, 2005 5 次提交
  21. 19 4月, 2005 1 次提交
  22. 17 4月, 2005 2 次提交
    • [PATCH] consolidate timeout defintions in scsi.h · 0890d74f
      提交于
      Adapted from a patch in SuSE's kernel SRPM.
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      0890d74f
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4