[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v3 3/5] blkdebug: Simplify override logic
From: |
Max Reitz |
Subject: |
Re: [Qemu-block] [PATCH v3 3/5] blkdebug: Simplify override logic |
Date: |
Tue, 6 Dec 2016 23:10:58 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0 |
On 02.12.2016 20:22, Eric Blake wrote:
> Rather than store into a local variable, the copy to the struct
> if the value is valid, then reporting errors otherwise,
It is rather difficult to part this sentence starting from "the copy".
> it is
> simpler to just store into the struct and report errors if the
> value is invalid. This however requires that the struct store
> a 64-bit number, rather than a narrower type.
>
> Signed-off-by: Eric Blake <address@hidden>
>
> ---
> v3: new patch
> ---
> block/blkdebug.c | 11 ++++-------
> 1 file changed, 4 insertions(+), 7 deletions(-)
Anyway, thanks! If you can explain to me how to parse the commit message
or make it easier to read:
Reviewed-by: Max Reitz <address@hidden>
signature.asc
Description: OpenPGP digital signature
- [Qemu-block] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support, (continued)
- [Qemu-block] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support, Eric Blake, 2016/12/02
- Re: [Qemu-block] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support, Max Reitz, 2016/12/06
- Re: [Qemu-block] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support, Eric Blake, 2016/12/06
- Re: [Qemu-block] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support, Max Reitz, 2016/12/06
- Re: [Qemu-block] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support, Eric Blake, 2016/12/06
- Re: [Qemu-block] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support, Max Reitz, 2016/12/06
- Re: [Qemu-block] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support, Eric Blake, 2016/12/06
Re: [Qemu-block] [PATCH v3 2/5] blkdebug: Add pass-through write_zero and discard support, Kevin Wolf, 2016/12/07
[Qemu-block] [PATCH v3 3/5] blkdebug: Simplify override logic, Eric Blake, 2016/12/02
[Qemu-block] [PATCH v3 4/5] blkdebug: Add ability to override unmap geometries, Eric Blake, 2016/12/02
[Qemu-block] [PATCH v3 5/5] tests: Add coverage for recent block geometry fixes, Eric Blake, 2016/12/02