[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH] mirror: Skip block_job_defer_to_main_loop if al
From: |
Fam Zheng |
Subject: |
Re: [Qemu-block] [PATCH] mirror: Skip block_job_defer_to_main_loop if already in the main context |
Date: |
Mon, 1 Jun 2015 09:46:39 +0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Fri, 05/29 13:37, Stefan Hajnoczi wrote:
> On Fri, May 29, 2015 at 10:22:13AM +0800, Fam Zheng wrote:
> > mirror_exit does the replacing, which requires source and target to be
> > in sync, unfortunately we can't guarantee that before we have a complete
> > block pause mechanism. So for non-dataplane block jobs, let's do the old
> > thing as pre commit 5a7e7a0ba (block: let mirror blockjob run in BDS
> > AioContext) - directly call mirror_exit().
> >
> > Dataplane case is taken care of in separate patches.
> >
> > Suggested-by: Paolo Bonzini <address@hidden>
> > Signed-off-by: Fam Zheng <address@hidden>
> > ---
> > block/mirror.c | 6 +++++-
> > 1 file changed, 5 insertions(+), 1 deletion(-)
>
> Please CC Jeff Cody <address@hidden> on blockjob patches.
Didn't I?
Fam