From: Ian Jackson Subject: Re: [PATCH v2 for-4.6 2/3] tools/libxl: Do not fire the stream callback multiple times Date: Tue, 28 Jul 2015 11:27:22 +0100 Message-ID: <21943.22794.347540.557136@mariner.uk.xensource.com> References: <1438015647-25377-1-git-send-email-andrew.cooper3@citrix.com> <1438015647-25377-3-git-send-email-andrew.cooper3@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1438015647-25377-3-git-send-email-andrew.cooper3@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andrew Cooper Cc: Wei Liu , Ian Campbell , Xen-devel List-Id: xen-devel@lists.xenproject.org Andrew Cooper writes ("[PATCH v2 for-4.6 2/3] tools/libxl: Do not fire the stream callback multiple times"): > Avoid stacking of check_all_finished() via synchronous teardown of > tasks. If the _abort() functions call back synchronously, > stream->completion_callback() ends up getting called twice, as first > and last check_all_finished() frames observe each task being finished. Acked-by: Ian Jackson