public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Ming Lei <ming.lei@canonical.com>
Cc: Christoph Hellwig <hch@lst.de>, Jens Axboe <axboe@kernel.dk>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v4 06/10] block: remove blk_init_flush() and its pair
Date: Wed, 24 Sep 2014 16:54:41 +0200	[thread overview]
Message-ID: <20140924145441.GA9713@lst.de> (raw)
In-Reply-To: <CACVXFVMv-mb8LJuJHMJA-3LWYHhV3Cki6fc+_OK3kzXXB2WXnA@mail.gmail.com>

On Wed, Sep 24, 2014 at 10:49:00PM +0800, Ming Lei wrote:
> Simpler to merge, but more difficult to split. It is for easier review,
> since patch 5 is a bit big and each patch still does one thing.

I defintively find the current version hard to review - it moves
code around a few times before it setlles, so it requires a lot of
memory or applying patches one after another to a tree.  And while
this might be useful in some cases this is one where merging the
patches doesn't seem to have much of a downside.  We'd still move
various fields into a structure, and add helpers to init it, just
with a tiny bit more changes on the initialization side.

That being said if you really prefer the split that's fine with me,
but it doesn't really seem helpful.

  reply	other threads:[~2014-09-24 14:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-15 13:11 [PATCH v4 0/10] block: per-distpatch_queue flush machinery Ming Lei
2014-09-15 13:11 ` [PATCH v4 01/10] blk-mq: allocate flush_rq in blk_mq_init_flush() Ming Lei
2014-09-15 13:11 ` [PATCH v4 02/10] block: introduce blk_init_flush and its pair Ming Lei
2014-09-24 10:18   ` Christoph Hellwig
2014-09-24 14:46     ` Ming Lei
2014-09-15 13:11 ` [PATCH v4 03/10] block: move flush initialization to blk_flush_init Ming Lei
2014-09-15 13:11 ` [PATCH v4 04/10] block: avoid to use q->flush_rq directly Ming Lei
2014-09-15 13:11 ` [PATCH v4 05/10] block: introduce blk_flush_queue to drive flush machinery Ming Lei
2014-09-15 13:11 ` [PATCH v4 06/10] block: remove blk_init_flush() and its pair Ming Lei
2014-09-24 10:20   ` Christoph Hellwig
2014-09-24 14:49     ` Ming Lei
2014-09-24 14:54       ` Christoph Hellwig [this message]
2014-09-15 13:11 ` [PATCH v4 07/10] block: flush: avoid to figure out flush queue unnecessarily Ming Lei
2014-09-15 13:11 ` [PATCH v4 08/10] block: introduce 'blk_mq_ctx' parameter to blk_get_flush_queue Ming Lei
2014-09-24 10:21   ` Christoph Hellwig
2014-09-24 14:56     ` Ming Lei
2014-09-15 13:11 ` [PATCH v4 09/10] blk-mq: handle failure path for initializing hctx Ming Lei
2014-09-24 10:22   ` Christoph Hellwig
2014-09-24 14:17     ` Jens Axboe
2014-09-24 15:01       ` Ming Lei
2014-09-24 15:03         ` Christoph Hellwig
2014-09-15 13:11 ` [PATCH v4 10/10] blk-mq: support per-distpatch_queue flush machinery Ming Lei
2014-09-24 10:26   ` Christoph Hellwig
2014-09-24 15:21     ` Ming Lei

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=20140924145441.GA9713@lst.de \
    --to=hch@lst.de \
    --cc=axboe@kernel.dk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ming.lei@canonical.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox