aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/dmesg.py
diff options
context:
space:
mode:
authorBob Peterson <[email protected]>2021-10-28 11:53:10 -0500
committerAndreas Gruenbacher <[email protected]>2021-11-06 10:25:31 +0100
commit49462e2be119d38c5eb5759d0d1b712df3a41239 (patch)
treec63de98635a35bf1964af15b1e0dc0e795d0ad6f /scripts/gdb/linux/dmesg.py
parent7a92deaae613c3b95f0fd02814bb09be7f7a5820 (diff)
gfs2: release iopen glock early in evict
Before this patch, evict would clear the iopen glock's gl_object after releasing the inode glock. In the meantime, another process could reuse the same block and thus glocks for a new inode. It would lock the inode glock (exclusively), and then the iopen glock (shared). The shared locking mode doesn't provide any ordering against the evict, so by the time the iopen glock is reused, evict may not have gotten to setting gl_object to NULL. Fix that by releasing the iopen glock before the inode glock in gfs2_evict_inode. Signed-off-by: Bob Peterson <[email protected]>gl_object Signed-off-by: Andreas Gruenbacher <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions