[PATCH 0/2] blk-mq: fix kobject lifetime issue

Ming Lei
2018-11-16T03:28:41Z

Hi Jens,

The 1st patch fixes the kobject lifetime issue which is triggerd when
DEBUG_KOBJECT_RELEASE is enabled.

The 2nd patch can be thought as one follow-up cleanup.

Ming Lei (2):
blk-mq: not embed .mq_kobj and ctx->kobj into queue instance
blk-mq: alloc q->queue_ctx as normal array

block/blk-mq-sysfs.c | 59 +++++++++++++++++++++++++++++++++++++++-----------
block/blk-mq.c | 19 ++++++++++------
block/blk-mq.h | 4 ++--
include/linux/blkdev.h | 4 ++--
4 files changed, 62 insertions(+), 24 deletions(-)

Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

--
2.9.5