aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorMike Christie <mchristi@redhat.com>2017-11-28 12:40:30 -0600
committerNicholas Bellinger <nab@linux-iscsi.org>2018-01-12 15:07:12 -0800
commit9972cebb59a653cca735178a70c8ab09a5f4de1a (patch)
treeb112dbd69e692dbffe3f2acecc7c888fbfbce7ca /tools/perf/scripts/python/bin/stackcollapse-report
parenttcmu: split unmap_thread_fn (diff)
downloadlinux-9972cebb59a653cca735178a70c8ab09a5f4de1a.tar.gz
linux-9972cebb59a653cca735178a70c8ab09a5f4de1a.zip
tcmu: fix unmap thread race
If the unmap thread has already run find_free_blocks but not yet run prepare_to_wait when a wake_up(&unmap_wait) call is done, the unmap thread is going to miss the wake call. Instead of adding checks for if new waiters were added this just has us use a work queue which will run us again in this type of case. Signed-off-by: Mike Christie <mchristi@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions