[PATCH 0/2] blk-mq: two fixes about updating hw queues

From: Jianchao Wang
Date: Thu Sep 27 2018 - 06:41:19 EST


Hi Jens

This patch set fixes two defects during update hw queues.

1st patch refactor the blk-mq debugfs and sysfs register during
blk_mq_update_nr_hw_queues.

2nd patch should be able to fix the panic reported in follwing link
https://marc.info/?l=linux-block&m=153799465603723&w=2

Jianchao Wang (2)
blk-mq: adjust debugfs and sysfs register when updating nr_hw_queues
blk-mq: fallback to previous nr_hw_queues when updating fails

block/blk-mq.c | 79 ++++++++++++++++++++++++++++++++++------------------------
1 file changed, 47 insertions(+), 32 deletions(-)

Thanks
Jianchao