1. 24 3月, 2010 1 次提交
  2. 08 3月, 2010 2 次提交
  3. 27 1月, 2010 1 次提交
  4. 14 1月, 2010 1 次提交
  5. 07 12月, 2009 6 次提交
  6. 14 10月, 2009 1 次提交
  7. 06 10月, 2009 1 次提交
    • S
      [S390] dasd: fix race condition in resume code · 6fca97a9
      Stefan Haberland 提交于
      There is a race while re-reading the device characteristics. After
      cleaning the memory area a cqr is build which reads the device
      characteristics. This may take a rather long time and the device
      characteristics structure is zero during this. Now it could be
      possible that the block tasklet starts working and a new cqr will be
      build. The build_cp command refers to the device characteristics
      structure and this may lead into a divide by zero exception.
      Fix this by re-reading the device characteristics into a temporary
      structur and copy the data to the original structure. Also take the
      ccwdev_lock.
      Signed-off-by: NStefan Haberland <stefan.haberland@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      6fca97a9
  8. 23 9月, 2009 1 次提交
  9. 21 9月, 2009 1 次提交
  10. 11 9月, 2009 2 次提交
  11. 07 7月, 2009 1 次提交
  12. 22 6月, 2009 1 次提交
  13. 16 6月, 2009 1 次提交
  14. 12 6月, 2009 4 次提交
  15. 11 5月, 2009 1 次提交
    • T
      block: convert to pos and nr_sectors accessors · 83096ebf
      Tejun Heo 提交于
      With recent cleanups, there is no place where low level driver
      directly manipulates request fields.  This means that the 'hard'
      request fields always equal the !hard fields.  Convert all
      rq->sectors, nr_sectors and current_nr_sectors references to
      accessors.
      
      While at it, drop superflous blk_rq_pos() < 0 test in swim.c.
      
      [ Impact: use pos and nr_sectors accessors ]
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Acked-by: NGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
      Tested-by: NGrant Likely <grant.likely@secretlab.ca>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Tested-by: NAdrian McMenamin <adrian@mcmen.demon.co.uk>
      Acked-by: NAdrian McMenamin <adrian@mcmen.demon.co.uk>
      Acked-by: NMike Miller <mike.miller@hp.com>
      Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
      Cc: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
      Cc: Borislav Petkov <petkovbb@googlemail.com>
      Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
      Cc: Eric Moore <Eric.Moore@lsi.com>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Cc: Pete Zaitcev <zaitcev@redhat.com>
      Cc: Stephen Rothwell <sfr@canb.auug.org.au>
      Cc: Paul Clements <paul.clements@steeleye.com>
      Cc: Tim Waugh <tim@cyberelk.net>
      Cc: Jeff Garzik <jgarzik@pobox.com>
      Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
      Cc: Alex Dubov <oakad@yahoo.com>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Dario Ballabio <ballabio_dario@emc.com>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Rusty Russell <rusty@rustcorp.com.au>
      Cc: unsik Kim <donari75@gmail.com>
      Cc: Laurent Vivier <Laurent@lvivier.info>
      Signed-off-by: NJens Axboe <jens.axboe@oracle.com>
      83096ebf
  16. 14 4月, 2009 1 次提交
  17. 26 3月, 2009 4 次提交
  18. 09 1月, 2009 1 次提交
  19. 25 12月, 2008 1 次提交
  20. 13 10月, 2008 1 次提交
    • M
      [SCSI] block: separate failfast into multiple bits. · 6000a368
      Mike Christie 提交于
      Multipath is best at handling transport errors. If it gets a device
      error then there is not much the multipath layer can do. It will just
      access the same device but from a different path.
      
      This patch breaks up failfast into device, transport and driver errors.
      The multipath layers (md and dm mutlipath) only ask the lower levels to
      fast fail transport errors. The user of failfast, read ahead, will ask
      to fast fail on all errors.
      
      Note that blk_noretry_request will return true if any failfast bit
      is set. This allows drivers that do not support the multipath failfast
      bits to continue to fail on any failfast error like before. Drivers
      like scsi that are able to fail fast specific errors can check
      for the specific fail fast type. In the next patch I will convert
      scsi.
      Signed-off-by: NMike Christie <michaelc@cs.wisc.edu>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      6000a368
  21. 11 10月, 2008 3 次提交
  22. 01 8月, 2008 1 次提交
  23. 17 7月, 2008 1 次提交
  24. 14 7月, 2008 1 次提交
  25. 17 4月, 2008 1 次提交