|
From: | Max Reitz |
Subject: | Re: [Qemu-block] [PATCH 3/6] block: never cancel a streaming job without running stream_complete() |
Date: | Wed, 15 Apr 2015 17:29:45 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 08.04.2015 16:43, Alberto Garcia wrote:
We need to call stream_complete() in order to do all the necessary clean-ups, even if there's an early failure. At the moment it's only useful to make sure that s->backing_file_str is not leaked,
Which is important enough on its own.
but it will become more important as we introduce support for streaming to any intermediate node. Signed-off-by: Alberto Garcia <address@hidden> --- block/stream.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
Reviewed-by: Max Reitz <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |