1. 04 6月, 2014 1 次提交
    • S
      blkdebug: use BlockDriverState's AioContext · 7e1efdf0
      Stefan Hajnoczi 提交于
      Drop the assumption that we're using the main AioContext.  Convert
      qemu_bh_new() to aio_bh_new() so we use the BlockDriverState's
      AioContext.
      
      The .bdrv_detach_aio_context() and .bdrv_attach_aio_context() interfaces
      are not needed since no fd handlers, timers, or BHs stay registered when
      requests have been drained.
      
      Cc: Kevin Wolf <kwolf@redhat.com>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      7e1efdf0
  2. 22 2月, 2014 2 次提交
  3. 18 2月, 2014 1 次提交
  4. 09 2月, 2014 1 次提交
  5. 25 1月, 2014 2 次提交
  6. 22 1月, 2014 6 次提交
  7. 07 1月, 2014 1 次提交
  8. 14 12月, 2013 1 次提交
  9. 29 11月, 2013 1 次提交
  10. 11 10月, 2013 1 次提交
  11. 12 9月, 2013 2 次提交
  12. 02 9月, 2013 1 次提交
  13. 06 6月, 2013 1 次提交
  14. 22 4月, 2013 2 次提交
  15. 23 3月, 2013 1 次提交
  16. 19 12月, 2012 3 次提交
  17. 12 12月, 2012 3 次提交
    • K
      blkdebug: Implement suspend/resume of AIO requests · 3c90c65d
      Kevin Wolf 提交于
      This allows more systematic AIO testing. The patch adds three new
      operations to blkdebug:
      
       * Setting a "breakpoint" on a blkdebug event. The next request that
         triggers this breakpoint is suspended and is tagged with a name.
         The breakpoint is removed after a request has triggered it.
      
       * A suspended request (identified by it's tag) can be resumed
      
       * It's possible to check whether a suspended request with a given
         tag exists. This can be used for waiting for an event.
      
      Ideally, we would instead tag requests right when they are created and
      set breakpoints for individual requests. However, at this point the
      block layer doesn't allow this easily, and breakpoints that trigger for
      any request already allow a lot of useful testing.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      3c90c65d
    • K
      blkdebug: Factor out remove_rule() · 9e35542b
      Kevin Wolf 提交于
      The cleanup work to remove a rule depends on the type of the rule. It's
      easy for the existing rules as there is no data that must be cleaned up
      and is specific to a type yet, but the next patch will change this.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      9e35542b
    • K
      blkdebug: Allow usage without config file · 312a2ba0
      Kevin Wolf 提交于
      As soon as new rules can be set during runtime, as introduced by the
      next patch, blkdebug makes sense even without a config file.
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      312a2ba0
  18. 15 11月, 2012 1 次提交
  19. 29 9月, 2012 1 次提交
  20. 09 7月, 2012 5 次提交
  21. 05 4月, 2012 1 次提交
  22. 26 1月, 2012 1 次提交
  23. 21 10月, 2011 1 次提交