1. 24 5月, 2014 1 次提交
  2. 22 2月, 2014 3 次提交
  3. 16 12月, 2013 1 次提交
  4. 06 9月, 2013 1 次提交
  5. 23 8月, 2013 1 次提交
  6. 03 5月, 2013 2 次提交
    • S
      nbd: support large NBD requests · 2d821488
      Stefan Hajnoczi 提交于
      The Linux nbd driver recently increased the maximum supported request
      size up to 32 MB:
      
        commit 078be02b80359a541928c899c2631f39628f56df
        Author: Michal Belczyk <belczyk@bsd.krakow.pl>
        Date:   Tue Apr 30 15:28:28 2013 -0700
      
            nbd: increase default and max request sizes
      
            Raise the default max request size for nbd to 128KB (from 127KB) to get it
            4KB aligned.  This patch also allows the max request size to be increased
            (via /sys/block/nbd<x>/queue/max_sectors_kb) to 32MB.
      
      QEMU's 1 MB buffers are too small to handle these requests.
      
      This patch allocates data buffers dynamically and allows up to 32 MB per
      request.
      Reported-by: NNick Thomas <nick@bytemark.co.uk>
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      2d821488
    • S
      nbd: use g_slice_new() instead of a freelist · e1adb27a
      Stefan Hajnoczi 提交于
      Use GLib's efficient slice allocator instead of open-coding the request
      freelist.  This patch simplifies the NBDRequest code.
      
      Now we qemu_blockalign() the req->data buffer each time but the next
      patch switches from a fixed size buffer to a dynamic size anyway.
      Signed-off-by: NStefan Hajnoczi <stefanha@redhat.com>
      e1adb27a
  7. 02 4月, 2013 1 次提交
  8. 23 3月, 2013 2 次提交
  9. 19 12月, 2012 2 次提交
  10. 28 11月, 2012 1 次提交
  11. 13 11月, 2012 1 次提交
  12. 23 10月, 2012 2 次提交
  13. 26 9月, 2012 1 次提交
  14. 19 9月, 2012 10 次提交
  15. 18 9月, 2012 1 次提交
  16. 14 8月, 2012 1 次提交
  17. 11 5月, 2012 2 次提交
  18. 19 4月, 2012 6 次提交
  19. 16 4月, 2012 1 次提交