summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorBob Peterson <rpeterso@redhat.com>2020-02-17 23:15:05 +0300
committerBob Peterson <rpeterso@redhat.com>2020-02-27 16:53:18 +0300
commitc9ebc4b737999ab1f3264c42431f7be80ac2efbf (patch)
tree018f1b3a5884c1c3be8cae99a19a3ec45dcbf0dc /scripts/gdb/linux/utils.py
parent019dd669bde14bc0748bc43af2f96e2c5e37d3f8 (diff)
downloadlinux-c9ebc4b737999ab1f3264c42431f7be80ac2efbf.tar.xz
gfs2: allow journal replay to hold sd_log_flush_lock
Before this patch, journal replays could stomp on log flushes and each other because both log flushes and journal replays used the same sd_log_bio. Function gfs2_log_flush prevents other log flushes from interfering by taking the sd_log_flush_lock rwsem during the flush. However, it does not protect against journal replays. This patch allows the journal replay to take the same sd_log_flush_lock rwsem so use of the sd_log_bio is not stomped. Signed-off-by: Bob Peterson <rpeterso@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions