1. 23 6月, 2006 1 次提交
  2. 24 5月, 2006 1 次提交
  3. 12 5月, 2006 1 次提交
    • J
      [BLOCK] limit request_fn recursion · dac07ec1
      Jens Axboe 提交于
      Don't recurse back into the driver even if the unplug threshold is met,
      when the driver asks for a requeue. This is both silly from a logical
      point of view (requeues typically happen due to driver/hardware
      shortage), and also dangerous since we could hit an endless request_fn
      -> requeue -> unplug -> request_fn loop and crash on stack overrun.
      
      Also limit blk_run_queue() to one level of recursion, similar to how
      blk_start_queue() works.
      
      This patch fixed a real problem with SLES10 and lpfc, and it could hit
      any SCSI lld that returns non-zero from it's ->queuecommand() handler.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      dac07ec1
  4. 26 4月, 2006 1 次提交
  5. 20 4月, 2006 1 次提交
  6. 02 4月, 2006 1 次提交
  7. 29 3月, 2006 1 次提交
  8. 28 3月, 2006 3 次提交
  9. 27 3月, 2006 2 次提交
  10. 24 3月, 2006 1 次提交
  11. 19 3月, 2006 4 次提交
  12. 09 3月, 2006 1 次提交
  13. 08 2月, 2006 1 次提交
  14. 06 2月, 2006 2 次提交
  15. 02 2月, 2006 1 次提交
  16. 31 1月, 2006 1 次提交
  17. 24 1月, 2006 3 次提交
  18. 09 1月, 2006 3 次提交
  19. 06 1月, 2006 5 次提交
  20. 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
  21. 15 12月, 2005 1 次提交
  22. 19 11月, 2005 1 次提交
  23. 04 11月, 2005 1 次提交
  24. 01 11月, 2005 2 次提交