qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH reformat] block: move I/O request processing to


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH reformat] block: move I/O request processing to block/io.c
Date: Thu, 5 Feb 2015 10:17:15 +0000

On Wed, Feb 4, 2015 at 6:15 PM, Eric Blake <address@hidden> wrote:
> On 02/04/2015 11:01 AM, Eric Blake wrote:
>> On 02/04/2015 10:51 AM, Eric Blake wrote:
>>> From: Stefan Hajnoczi <address@hidden>
>>>
>>> The block.c file has grown to over 6000 lines.  It is time to split this
>>> file so there are fewer conflicts and the code is easier to maintain.
>>>
>
>>> This patch produces identical results to Stefan's email, but is
>>> MUCH more readable (hint: git config diff.algorithm patience)
>>>
>>>  block.c                   | 1980 
>>> +-------------------------------------------
>>>  block/Makefile.objs       |    1 +
>>>  block/io.c                | 1997 
>>> +++++++++++++++++++++++++++++++++++++++++++++
>>>  include/block/block_int.h |   14 +
>>>  4 files changed, 2015 insertions(+), 1977 deletions(-)
>>>  create mode 100644 block/io.c
>>
>> And here's how I reviewed it:
>> $ git format-patch --stdout -1 > patch
>> $ diff -u <(sed -n 's/^-//p' patch) <(sed -n 's/^\+//p' patch)
>
> I've updated http://wiki.qemu.org/Contribute/SubmitAPatch with this hint.

Thanks for posting the clearer diff and sharing your review tricks :).

Stefan



reply via email to

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