diff options
author | Liu Yuan <tailai.ly@taobao.com> | 2013-04-23 14:03:33 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-04-26 13:26:27 +0200 |
commit | cac8f4a60fc5c372bacd59eeff0646955fb4f246 (patch) | |
tree | 1ba46116073d65151a104a302ee6bd23b4743fd9 /qemu-img.c | |
parent | 4fc16838b8392a29644d4d2c01495e6ff447a6f0 (diff) |
sheepdog: add discard/trim support for sheepdog
The 'TRIM' command from VM that is to release underlying data storage for
better thin-provision is already supported by the Sheepdog.
This patch adds the TRIM support at QEMU part.
For older Sheepdog that doesn't support it, we return 0(success) to upper layer.
Cc: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Liu Yuan <tailai.ly@taobao.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'qemu-img.c')
0 files changed, 0 insertions, 0 deletions