public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH BUGFIX] attempt to fix wrong scheduler selection
@ 2017-02-13 21:01 Paolo Valente
  2017-02-13 21:01 ` [PATCH BUGFIX] block: make elevator_get robust against cross blk/blk-mq choice Paolo Valente
  0 siblings, 1 reply; 13+ messages in thread
From: Paolo Valente @ 2017-02-13 21:01 UTC (permalink / raw)
  To: Jens Axboe, Tejun Heo
  Cc: linux-block, linux-kernel, ulf.hansson, linus.walleij, broonie,
	Paolo Valente

Hi,
if, at boot, a legacy I/O scheduler is chosen for a device using
blk-mq, or, viceversa, a blk-mq scheduler is chosen for a device using
blk, then that scheduler is set and initialized without any check,
driving the system into an inconsistent state.

The purpose of this message is, first, to report this issue, and,
second, to propose a possible fix in case you do consider this as a
bug.

Thanks,
Paolo

Paolo Valente (1):
  block: make elevator_get robust against cross blk/blk-mq choice

 block/elevator.c | 26 ++++++++++++++++++--------
 1 file changed, 18 insertions(+), 8 deletions(-)

--
2.10.0

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2017-02-14 15:49 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-13 21:01 [PATCH BUGFIX] attempt to fix wrong scheduler selection Paolo Valente
2017-02-13 21:01 ` [PATCH BUGFIX] block: make elevator_get robust against cross blk/blk-mq choice Paolo Valente
2017-02-13 21:12   ` Bart Van Assche
2017-02-13 22:09   ` Omar Sandoval
2017-02-13 22:28     ` Jens Axboe
2017-02-13 23:10       ` Jens Axboe
2017-02-14  8:14         ` Paolo Valente
2017-02-14 15:16           ` Jens Axboe
2017-02-14 15:48             ` Paolo Valente
2017-02-14  6:58       ` Hannes Reinecke
2017-02-14  7:07         ` Omar Sandoval
2017-02-14  7:11           ` Hannes Reinecke
2017-02-14 15:13         ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox