diff options
author | 2013-07-02 15:05:26 +0200 | |
---|---|---|
committer | 2013-07-09 12:14:08 +0100 | |
commit | e2eb7244bc9e4fd130fc8a961224968e22ba48ee (patch) | |
tree | a1ba31c44721a9a106967e16b6065d4b98c0abeb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | [SCSI] megaraid_sas: fix a bug for 64 bit arches (diff) | |
download | linux-dev-e2eb7244bc9e4fd130fc8a961224968e22ba48ee.tar.xz linux-dev-e2eb7244bc9e4fd130fc8a961224968e22ba48ee.zip |
[SCSI] Fix race between starved list and device removal
scsi_run_queue() examines all SCSI devices that are present on
the starved list. Since scsi_run_queue() unlocks the SCSI host
lock a SCSI device can get removed after it has been removed
from the starved list and before its queue is run. Protect
against that race condition by holding a reference on the
queue while running it.
Reported-by: Chanho Min <chanho.min@lge.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions