« Previous | Next » 

Revision cac8f4a6

IDcac8f4a60fc5c372bacd59eeff0646955fb4f246

Added by Liu Yuan almost 11 years ago

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 <>
Cc: Kevin Wolf <>
Cc: Stefan Hajnoczi <>
Cc: Paolo Bonzini <>
Signed-off-by: Liu Yuan <>
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences