Skip to content

Commit 74382e2

Browse files
AstralBobAndreas Gruenbacher
authored andcommitted
gfs2: dump inode object for iopen glocks
Before this patch, glock dumps would not dump the gl_object for iopen glocks. This information can help us debug problems related to eviction: when AN iopen glock is blocked we can see the status of its underlying inode and its flags, etc. Signed-off-by: Bob Peterson <[email protected]> Signed-off-by: Andreas Gruenbacher <[email protected]>
1 parent 3c5c67e commit 74382e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/gfs2/glops.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,7 @@ const struct gfs2_glock_operations gfs2_freeze_glops = {
763763
const struct gfs2_glock_operations gfs2_iopen_glops = {
764764
.go_type = LM_TYPE_IOPEN,
765765
.go_callback = iopen_go_callback,
766+
.go_dump = inode_go_dump,
766767
.go_demote_ok = iopen_go_demote_ok,
767768
.go_flags = GLOF_LRU | GLOF_NONDISK,
768769
.go_subclass = 1,

0 commit comments

Comments
 (0)