aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2021-05-18 09:12:10 -0400
committerAndreas Gruenbacher <agruenba@redhat.com>2021-05-20 13:31:37 +0200
commit20265d9a67e40eafd39a8884658ca2e36f05985d (patch)
treef944efab603c456faf64c95ae23c783ba011dd3e /tools/perf/scripts/python/exported-sql-viewer.py
parent4194dec4b4169e5a9a5171db60c2ec00c4d8cf16 (diff)
gfs2: fix scheduling while atomic bug in glocks
Before this patch, in the unlikely event that gfs2_glock_dq encountered a withdraw, it would do a wait_on_bit to wait for its journal to be recovered, but it never released the glock's spin_lock, which caused a scheduling-while-atomic error. This patch unlocks the lockref spin_lock before waiting for recovery. Fixes: 601ef0d52e96 ("gfs2: Force withdraw to replay journals and wait for it to finish") Cc: stable@vger.kernel.org # v5.7+ Reported-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: Bob Peterson <rpeterso@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions