At Tue, 16 Apr 2013 00:15:04 +0800, Liu Yuan wrote: > > From: Liu Yuan <[email protected]> > > 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 <[email protected]> > Cc: Kevin Wolf <[email protected]> > Cc: Stefan Hajnoczi <[email protected]> > Cc: Paolo Bonzini <[email protected]> > Signed-off-by: Liu Yuan <[email protected]> > --- > v5: > - adjust macro numbering > v4: > - adjust discard macro > - return success when operation is not supported by sheep > - add coroutine_fn marker > v3: > - fix a silly accidental deletion of 'default' in switch clause. > v2: > - skip the object when it is not allocated > > block/sheepdog.c | 56 > +++++++++++++++++++++++++++++++++++++++++++++++++++++- > 1 file changed, 55 insertions(+), 1 deletion(-)
Reviewed-by: MORITA Kazutaka <[email protected]> -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
