From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53285) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj8QJ-00014f-0o for qemu-devel@nongnu.org; Fri, 17 Apr 2015 11:43:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yj8QB-0008U7-OQ for qemu-devel@nongnu.org; Fri, 17 Apr 2015 11:43:18 -0400 Message-ID: <55312A09.8070804@redhat.com> Date: Fri, 17 Apr 2015 17:43:05 +0200 From: Max Reitz MIME-Version: 1.0 References: <1427484005-31120-1-git-send-email-jsnow@redhat.com> <1427484005-31120-7-git-send-email-jsnow@redhat.com> In-Reply-To: <1427484005-31120-7-git-send-email-jsnow@redhat.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 06/11] block: add refcount to Job object List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: John Snow , qemu-block@nongnu.org Cc: kwolf@redhat.com, famz@redhat.com, qemu-devel@nongnu.org, vsementsov@parallels.com, stefanha@redhat.com On 27.03.2015 20:20, John Snow wrote: > If we want to get at the job after the life of the job, > we'll need a refcount for this object. > > This may occur for example if we wish to inspect the actions > taken by a particular job after a transactional group of jobs > runs, and further actions are required. > > Signed-off-by: John Snow > --- > blockjob.c | 18 ++++++++++++++++-- > include/block/blockjob.h | 21 +++++++++++++++++++++ > 2 files changed, 37 insertions(+), 2 deletions(-) Reviewed-by: Max Reitz