public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] blk-mq: fix kobject lifetime issue
@ 2018-11-16  3:28 Ming Lei
  2018-11-16  3:28 ` [PATCH 1/2] blk-mq: not embed .mq_kobj and ctx->kobj into queue instance Ming Lei
  2018-11-16  3:28 ` [PATCH 2/2] blk-mq: alloc q->queue_ctx as normal array Ming Lei
  0 siblings, 2 replies; 8+ messages in thread
From: Ming Lei @ 2018-11-16  3:28 UTC (permalink / raw)
  To: Jens Axboe; +Cc: linux-block, Ming Lei, Guenter Roeck, Greg Kroah-Hartman

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


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

end of thread, other threads:[~2018-11-16 16:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-16  3:28 [PATCH 0/2] blk-mq: fix kobject lifetime issue Ming Lei
2018-11-16  3:28 ` [PATCH 1/2] blk-mq: not embed .mq_kobj and ctx->kobj into queue instance Ming Lei
2018-11-16  6:11   ` jianchao.wang
2018-11-16  7:52     ` Ming Lei
2018-11-16  6:52   ` Sasha Levin
2018-11-16  7:49     ` Ming Lei
2018-11-16 16:07       ` Sasha Levin
2018-11-16  3:28 ` [PATCH 2/2] blk-mq: alloc q->queue_ctx as normal array Ming Lei

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