All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: qemu-devel@nongnu.org
Cc: kwolf@redhat.com, stefanha@redhat.com
Subject: Re: [Qemu-devel] [PATCH reformat] block: move I/O request processing to block/io.c
Date: Wed, 04 Feb 2015 11:15:45 -0700	[thread overview]
Message-ID: <54D261D1.3090905@redhat.com> (raw)
In-Reply-To: <54D25E82.8010000@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]

On 02/04/2015 11:01 AM, Eric Blake wrote:
> On 02/04/2015 10:51 AM, Eric Blake wrote:
>> From: Stefan Hajnoczi <stefanha@redhat.com>
>>
>> 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.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  reply	other threads:[~2015-02-04 18:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-04 15:31 [Qemu-devel] [PATCH] block: move I/O request processing to block/io.c Stefan Hajnoczi
2015-02-04 17:51 ` [Qemu-devel] [PATCH reformat] " Eric Blake
2015-02-04 18:01   ` Eric Blake
2015-02-04 18:15     ` Eric Blake [this message]
2015-02-05 10:17       ` Stefan Hajnoczi
2015-02-05 12:22   ` Kevin Wolf
2015-02-17 10:21     ` Stefan Hajnoczi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54D261D1.3090905@redhat.com \
    --to=eblake@redhat.com \
    --cc=kwolf@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.