Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1628151

Re: [PATCH 02/11] blk: make the bioset rescue_workqueue optional.

From Christoph Hellwig <hch@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH 02/11] blk: make the bioset rescue_workqueue optional.
Date 2017-04-21 13:30 +0200
Message-ID <tyEVb-5ck-3@gated-at.bofh.it> (permalink)
References <tyd8C-4Wq-7@gated-at.bofh.it> <tyd8C-4Wq-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Apr 20, 2017 at 03:38:48PM +1000, NeilBrown wrote:
> This patch converts bioset_create() and
> bioset_create_nobvec() to not create a workqueue so
> alloctions will never trigger punt_bios_to_rescuer().  It
> also introduces bioset_create_rescued() and
> bioset_create_nobvec_rescued() which preserve the old
> behaviour.

Why these super-early line breaks in the committ message?  They make
the text much more awkware compared to say:

This patch converts bioset_create() and bioset_create_nobvec() to not
create a workqueue so alloctions will never trigger
punt_bios_to_rescuer(). It also introduces bioset_create_rescued() and
bioset_create_nobvec_rescued() which preserve the old behaviour.

>  static struct bio_set *__bioset_create(unsigned int pool_size,
>  				       unsigned int front_pad,
> -				       bool create_bvec_pool)
> +				       bool create_bvec_pool,
> +				       bool create_rescue_workqueue)

I'd much prefer a single new bioset_create with a bunch of flags
arguments over the number of new functions and these bool arguments.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 02/11] blk: make the bioset rescue_workqueue optional. NeilBrown <neilb@suse.com> - 2017-04-20 07:50 +0200
  Re: [PATCH 02/11] blk: make the bioset rescue_workqueue optional. Christoph Hellwig <hch@infradead.org> - 2017-04-21 13:30 +0200
    Re: [PATCH 02/11] blk: make the bioset rescue_workqueue optional. NeilBrown <neilb@suse.com> - 2017-04-24 04:00 +0200
      Re: [PATCH 02/11] blk: make the bioset rescue_workqueue optional. Christoph Hellwig <hch@infradead.org> - 2017-04-24 17:20 +0200

csiph-web