1. 26 4月, 2013 2 次提交
  2. 22 4月, 2013 2 次提交
  3. 15 4月, 2013 1 次提交
  4. 02 4月, 2013 1 次提交
  5. 23 3月, 2013 1 次提交
  6. 19 3月, 2013 1 次提交
  7. 15 3月, 2013 2 次提交
  8. 04 3月, 2013 4 次提交
  9. 01 2月, 2013 1 次提交
  10. 15 1月, 2013 2 次提交
  11. 14 1月, 2013 1 次提交
    • L
      sheepdog: implement direct write semantics · 0e7106d8
      Liu Yuan 提交于
      Sheepdog supports both writeback/writethrough write but has not yet supported
      DIRECTIO semantics which bypass the cache completely even if Sheepdog daemon is
      set up with cache enabled.
      
      Suppose cache is enabled on Sheepdog daemon size, the new cache control is
      
      cache=writeback # enable the writeback semantics for write
      cache=writethrough # enable the emulated writethrough semantics for write
      cache=directsync # disable cache competely
      
      Guest WCE toggling on the run time to toggle writeback/writethrough is also
      supported.
      
      Cc: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
      Cc: Kevin Wolf <kwolf@redhat.com>
      Cc: Stefan Hajnoczi <stefanha@gmail.com>
      Signed-off-by: NLiu Yuan <tailai.ly@taobao.com>
      Reviewed-by: NStefan Hajnoczi <stefanha@redhat.com>
      Reviewed-by: NMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
      Signed-off-by: NKevin Wolf <kwolf@redhat.com>
      0e7106d8
  12. 02 1月, 2013 2 次提交
  13. 19 12月, 2012 2 次提交
  14. 15 11月, 2012 1 次提交
  15. 12 10月, 2012 1 次提交
  16. 05 10月, 2012 1 次提交
    • J
      sheepdog: avoid a few buffer overruns · 3178e275
      Jim Meyering 提交于
      * parse_vdiname: Use pstrcpy, not strncpy, when the destination
      buffer must be NUL-terminated.
      * sd_open: Likewise, avoid buffer overrun.
      * do_sd_create: Likewise.  Leave the preceding memset, since
      pstrcpy does not NUL-fill, and filename needs that.
      * sd_snapshot_create: Add a comment/question.
      * find_vdi_name: Remove a useless memset.
      * sd_snapshot_goto: Remove a useless memset.
      Use pstrcpy to NUL-terminate, because find_vdi_name requires
      that its vdi arg (filename parameter) be NUL-terminated.
      It seems ok not to NUL-fill the buffer.
      Do the same for snapid: remove useless memset-0 (instead,
      zero tag[0]).  Use pstrcpy, not strncpy.
      * sd_snapshot_list: Use pstrcpy, not strncpy to write
      into the ->name member.  Each must be NUL-terminated.
      Acked-by: NKevin Wolf <kwolf@redhat.com>
      Acked-by: NMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
      Signed-off-by: NJim Meyering <meyering@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      3178e275
  17. 24 9月, 2012 1 次提交
  18. 12 9月, 2012 1 次提交
  19. 22 8月, 2012 1 次提交
  20. 17 7月, 2012 2 次提交
  21. 09 7月, 2012 6 次提交
  22. 15 6月, 2012 1 次提交
  23. 12 6月, 2012 1 次提交
    • M
      cleanup qemu_co_sendv(), qemu_co_recvv() and friends · 2fc8ae1d
      Michael Tokarev 提交于
      The same as for non-coroutine versions in previous
      patches: rename arguments to be more obvious, change
      type of arguments from int to size_t where appropriate,
      and use common code for send and receive paths (with
      one extra argument) since these are exactly the same.
      Use common iov_send_recv() directly.
      
      qemu_co_sendv(), qemu_co_recvv(), and qemu_co_recv()
      are now trivial #define's merely adding one extra arg.
      
      qemu_co_sendv() and qemu_co_recvv() callers are
      converted to different argument order and extra
      `iov_cnt' argument.
      Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
      2fc8ae1d
  24. 30 5月, 2012 1 次提交
  25. 26 5月, 2012 1 次提交