1. 06 1月, 2006 1 次提交
    • T
      [BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn() · 8ffdc655
      Tejun Heo 提交于
      add @uptodate argument to end_that_request_last() and @error
      to rq_end_io_fn().  there's no generic way to pass error code
      to request completion function, making generic error handling
      of non-fs request difficult (rq->errors is driver-specific and
      each driver uses it differently).  this patch adds @uptodate
      to end_that_request_last() and @error to rq_end_io_fn().
      
      for fs requests, this doesn't really matter, so just using the
      same uptodate argument used in the last call to
      end_that_request_first() should suffice.  imho, this can also
      help the generic command-carrying request jens is working on.
      Signed-off-by: Ntejun heo <htejun@gmail.com>
      Signed-Off-By: NJens Axboe <axboe@suse.de>
      8ffdc655
  2. 05 1月, 2006 3 次提交
  3. 04 1月, 2006 3 次提交
  4. 23 12月, 2005 1 次提交
    • R
      [MMC] Set correct capacity for 1024-byte block cards · d2b18394
      Russell King 提交于
      We were passing set_capacity() the capacity we calculated in terms of
      the number of blocks on the card, which happened to be the right units
      for 512-byte block cards.  However, with 1024-byte block cards, we
      end up setting the capacity to half the number of blocks.  Fix this
      by shifting by the appropriate amount.
      
      Thanks to Todd Blumer for pointing this out.
      
      Use get_capacity() to report the card capacity, rather than
      recalculating it from the CSD information.
      
      Finally, use our chosen IO block size for the SET_BLOCKLEN command
      rather than the CSD read block size.  Currently these are equivalent,
      but will not be in the future.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d2b18394
  5. 14 12月, 2005 1 次提交
  6. 05 12月, 2005 1 次提交
  7. 29 11月, 2005 1 次提交
  8. 13 11月, 2005 1 次提交
  9. 10 11月, 2005 4 次提交
  10. 08 11月, 2005 1 次提交
  11. 07 11月, 2005 1 次提交
  12. 05 11月, 2005 3 次提交
  13. 30 10月, 2005 4 次提交
  14. 29 10月, 2005 2 次提交
  15. 28 10月, 2005 1 次提交
  16. 13 9月, 2005 2 次提交
  17. 12 9月, 2005 1 次提交
  18. 10 9月, 2005 1 次提交
  19. 09 9月, 2005 2 次提交
  20. 08 9月, 2005 6 次提交