qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH v6 06/10] blkdebug: Refactor error injection


From: Max Reitz
Subject: Re: [Qemu-block] [PATCH v6 06/10] blkdebug: Refactor error injection
Date: Mon, 13 Mar 2017 23:16:55 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1

On 08.03.2017 03:54, Eric Blake wrote:
> Rather than repeat the logic at each caller of checking if a Rule
> exists that warrants an error injection, fold that logic into
> inject_error(); and rename it to rule_check() for legibility.
> This will help the next patch, which adds two more callers that
> need to check rules for the potential of injecting errors.
> 
> Signed-off-by: Eric Blake <address@hidden>
> 
> ---
> v6: new patch
> ---
>  block/blkdebug.c | 74 
> +++++++++++++++++++++++++-------------------------------
>  1 file changed, 33 insertions(+), 41 deletions(-)
> 
> diff --git a/block/blkdebug.c b/block/blkdebug.c
> index 7c804b2..f721bcb 100644
> --- a/block/blkdebug.c
> +++ b/block/blkdebug.c

Reviewed-by: Max Reitz <address@hidden>

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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