[PATCH 03/13] blk: make the bioset rescue_workqueue optional.

2017-06-17 Thread NeilBrown
This patch converts bioset_create() to not create a workqueue by default, so alloctions will never trigger punt_bios_to_rescuer(). It also introduces a new flag BIOSET_NEED_RESCUER which tells bioset_create() to preserve the old behavior. All callers of bioset_create() that are inside block devic

Re: [PATCH 03/13] blk: make the bioset rescue_workqueue optional.

2017-05-02 Thread NeilBrown
On Tue, May 02 2017, Ming Lei wrote: > On Tue, May 02, 2017 at 01:42:24PM +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(

Re: [PATCH 03/13] blk: make the bioset rescue_workqueue optional.

2017-05-02 Thread Ming Lei
On Tue, May 02, 2017 at 01:42:24PM +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

Re: [PATCH 03/13] blk: make the bioset rescue_workqueue optional.

2017-05-02 Thread Christoph Hellwig
On Tue, May 02, 2017 at 01:42:24PM +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

[PATCH 03/13] blk: make the bioset rescue_workqueue optional.

2017-05-01 Thread NeilBrown
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. All callers of bioset_create() and bios