lkml.org 
[lkml]   [2015]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] blk-mq: fix oops caused by CPU hotplug
Date
Hi Guys,

Dongsu Park reported[1] that kernel oops can be triggered easily by
CPU plug when there is pending I/O on virtio-scsi.

Turns out two problems exist and both can trigger oops by CPU plug:
- timeout handling vs CPU hotplug, especially unmapped hw queue tags
is still touched by timeout handler
- in case of shared tags, there is one bug about setting and checking
hctx->tags during CPU hotplug

The two patches fix the two problem, and in my virtio-scsi test
oops does disapper with the change.

[1], http://marc.info/?t=142926389200008&r=1&w=2

Thanks,
Ming Lei




\
 
 \ /
  Last update: 2015-04-19 18:01    [W:0.036 / U:0.396 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site