As more customers are starting to use GFS in a shared root environment its becoming more difficult to troubleshoot gfs hangs, as we cannot run gfs_tool lockdump because a GFS hang usually means the entire box is hung and the only way to get information is via sysrq. This patch dumps glock information via sysrq. I've tested this patch on my cluster and doesn't appear to blow anything up.
Created attachment 160362 [details] patch that implements this functionality.
While I still feel this would be useful, it requires registering a new sysrq sequence. Since the sysrq sequences are designed and implemented by the upstream community, and gfs1 is not upstream (nor will it ever be) the decision was made to not implement this fix. It would be too easy for upstream to make changes that are not compatible with the fix. So let's keep it a patch for now.