diff options
author | Jens Axboe <[email protected]> | 2018-11-07 14:34:05 -0700 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2018-11-07 14:34:05 -0700 |
commit | 6961cd4d0fde97f1cdb798ba21cf124ecfa0bf95 (patch) | |
tree | 4c7e07de3f4fc24b0e494e457232a996afb68435 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | df376b2ed51a2777c3398e038992f62523c0f932 (diff) |
ubd: fix missing lock around request issue
We need to hold the device lock (and disable interrupts) while
writing new commands, or we could be interrupted while that
is happening and read invalid requests in the completion path.
Fixes: 4e6da0fe8058 ("um: Convert ubd driver to blk-mq")
Tested-by: Richard Weinberger <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions