Skip to contentSkip to conversation

Final block fixes for 3.19

GIT PULL Jens Axboe 1 participant 1 message Feb 3, 2015

lore
Share & tools
lore

Jens Axboe

author
#0 lore raw

Hi Linus,

Unfortunately the hctx/ctx lifetime fix from last pull had some issues. This pull request contains a revert of the problematic commit, and a proper rewrite of it. The rewrite has been tested by the users complaining about the regression, and it works fine now. Additionally, I've run testing on all the blk-mq use cases for it and it passes. So we should definitely get this into 3.19, to avoid regression for some cases.

Please pull!

git://git.kernel.dk/linux-block.git for-linus

for you to fetch changes up to e09aae7edec1d20824c60a6f0ca4589f99ada17b:

blk-mq: release mq's kobjects in blk_release_queue() (2015-01-29 08:30:51 -0800)

----------------------------------------------------------------
Ming Lei (2):
Revert "blk-mq: fix hctx/ctx kobject use-after-free"
blk-mq: release mq's kobjects in blk_release_queue()

 block/blk-mq-sysfs.c | 25 ++-----------------------
 block/blk-mq.c       | 23 +++++++++++++++++++++--
 block/blk-mq.h       |  2 ++
 block/blk-sysfs.c    |  2 ++
 4 files changed, 27 insertions(+), 25 deletions(-)
Signature · 1 line
Jens Axboe