aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorMd Haris Iqbal <[email protected]>2022-07-07 16:31:21 +0200
committerJens Axboe <[email protected]>2022-08-02 17:14:50 -0600
commit4bc14f3101364877dd59085f39e068a2a7ec9f2d (patch)
tree84ba1c800f62dec5503a16c3f217d8f699ca9288 /tools/perf/scripts/python/exported-sql-viewer.py
parent1a70200f404ae210b4f0334e3936e84f8edb6bc8 (diff)
block/rnbd-srv: Set keep_id to true after mutex_trylock
After setting keep_id if the mutex trylock fails, the keep_id stays set for the rest of the sess_dev lifetime. Therefore, set keep_id to true after mutex_trylock succeeds, so that a failure of trylock does'nt touch keep_id. Fixes: b168e1d85cf3 ("block/rnbd-srv: Prevent a deadlock generated by accessing sysfs in parallel") Cc: [email protected] Signed-off-by: Md Haris Iqbal <[email protected]> Signed-off-by: Jack Wang <[email protected]> Link: https://lore.kernel.org/r/[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