qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 01/26] block: remove incorrect coroutine_fn annotations


From: Stefan Hajnoczi
Subject: Re: [PATCH 01/26] block: remove incorrect coroutine_fn annotations
Date: Thu, 21 Apr 2022 12:21:15 +0200

On Tue, Apr 19, 2022 at 12:57:54PM -0500, Eric Blake wrote:
> On Fri, Apr 15, 2022 at 03:18:35PM +0200, Paolo Bonzini wrote:
> > Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> 
> Might be nice to document in the commit message why the annotation was
> incorrect, so someone stumbling across this commit in a bisect but
> otherwise unfamiliar with the rules of when to annotate doesn't get
> lost.  If I understand right, the argument is more-or-less:
> 
> This function defers to the generated blk_do_pwritev_part, which is
> safe to call outside coroutine context.
> 
> But although the commit message is weak, the change itself appears
> correct from what I have observed with the annotation in other places.
> 
> Reviewed-by: Eric Blake <eblake@redhat.com>

Yes, please! I'm also wondering how to review a patch like this because
I can only infer the meaning and audit the code myself to check my guess.

Stefan

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]