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. V2: - allocate 'blk_mq_ctx' inside blk_mq_init_allocated_queue() - allocate q->mq_kobj directly 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 | 51 ++++++++++++++++++++++++----------------- block/blk-mq.c | 61 +++++++++++++++++++++++++++++++++++++++++--------- block/blk-mq.h | 4 ++-- include/linux/blkdev.h | 4 ++-- 4 files changed, 84 insertions(+), 36 deletions(-) Cc: "jianchao.wang" <jianchao.w.w...@oracle.com> Cc: Guenter Roeck <li...@roeck-us.net> Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> -- 2.9.5