1. 05 1月, 2011 6 次提交
  2. 25 10月, 2010 2 次提交
  3. 26 9月, 2010 1 次提交
    • A
      s390/block: kill the big kernel lock · cfdb00a7
      Arnd Bergmann 提交于
      The dasd and dcssblk drivers gained the big
      kernel lock in the recent pushdown from the
      block layer, but they don't really need it,
      so remove the calls without a replacement.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: Heiko Carstens <heiko.carstens@de.ibm.com>
      Cc: linux-s390@vger.kernel.org
      cfdb00a7
  4. 10 9月, 2010 1 次提交
    • T
      block: deprecate barrier and replace blk_queue_ordered() with blk_queue_flush() · 4913efe4
      Tejun Heo 提交于
      Barrier is deemed too heavy and will soon be replaced by FLUSH/FUA
      requests.  Deprecate barrier.  All REQ_HARDBARRIERs are failed with
      -EOPNOTSUPP and blk_queue_ordered() is replaced with simpler
      blk_queue_flush().
      
      blk_queue_flush() takes combinations of REQ_FLUSH and FUA.  If a
      device has write cache and can flush it, it should set REQ_FLUSH.  If
      the device can handle FUA writes, it should also set REQ_FUA.
      
      All blk_queue_ordered() users are converted.
      
      * ORDERED_DRAIN is mapped to 0 which is the default value.
      * ORDERED_DRAIN_FLUSH is mapped to REQ_FLUSH.
      * ORDERED_DRAIN_FLUSH_FUA is mapped to REQ_FLUSH | REQ_FUA.
      Signed-off-by: NTejun Heo <tj@kernel.org>
      Acked-by: NBoaz Harrosh <bharrosh@panasas.com>
      Cc: Christoph Hellwig <hch@infradead.org>
      Cc: Nick Piggin <npiggin@kernel.dk>
      Cc: Michael S. Tsirkin <mst@redhat.com>
      Cc: Jeremy Fitzhardinge <jeremy@xensource.com>
      Cc: Chris Wright <chrisw@sous-sol.org>
      Cc: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
      Cc: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: Alasdair G Kergon <agk@redhat.com>
      Cc: Pierre Ossman <drzeus@drzeus.cx>
      Cc: Stefan Weinhuber <wein@de.ibm.com>
      Signed-off-by: NJens Axboe <jaxboe@fusionio.com>
      4913efe4
  5. 13 8月, 2010 1 次提交
  6. 08 8月, 2010 2 次提交
  7. 27 5月, 2010 1 次提交
  8. 17 5月, 2010 1 次提交
  9. 12 5月, 2010 1 次提交
    • S
      [S390] dasd: fix race between tasklet and dasd_sleep_on · 1c1e093c
      Stefan Weinhuber 提交于
      The various dasd_sleep_on functions use a global wait queue when
      waiting for a cqr. The wait condition checks the status and devlist
      fields of the cqr to determine if it is safe to continue. This
      evaluation may return true, although the tasklet has not finished
      processing of the cqr and the callback function has not been called
      yet. When the callback is finally called, the data in the cqr may
      already be invalid. The sleep_on wait condition needs a safe way to
      determine if the tasklet has finished processing. Use the
      callback_data field of the cqr to store a token, which is set by
      the callback function itself.
      
      Cc: <stable@kernel.org>
      Signed-off-by: NStefan Weinhuber <wein@de.ibm.com>
      Signed-off-by: NHeiko Carstens <heiko.carstens@de.ibm.com>
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      1c1e093c
  10. 22 4月, 2010 1 次提交
  11. 08 3月, 2010 1 次提交
  12. 27 2月, 2010 3 次提交
  13. 26 2月, 2010 2 次提交
  14. 27 1月, 2010 1 次提交
  15. 07 12月, 2009 4 次提交
  16. 14 10月, 2009 1 次提交
  17. 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
  18. 22 9月, 2009 1 次提交
  19. 11 9月, 2009 2 次提交
  20. 24 8月, 2009 1 次提交
  21. 22 6月, 2009 2 次提交
  22. 16 6月, 2009 1 次提交
  23. 12 6月, 2009 2 次提交
  24. 23 5月, 2009 1 次提交