[Cluster-devel] [PATCH gfs2-utils 0/2] glocktop: dlmwaiters above 100 fixes

Alexander Aring aahringo at redhat.com
Thu Mar 11 19:20:34 UTC 2021


Hi,

these patches fixes issues for me with glocktop. I got a:


*** buffer overflow detected ***: terminated
Aborted (core dumped)

debugging with gdb figured out that there are some maximum limitation to
handle dlm waiters which was in my case 117. This patches increased the
maximum allowed dlm waiters. These limitations are still static and
should be changed to dynamic allocation in due courses otherwise buffer
overflow happens again.

- Alex

Alexander Aring (2):
  glocktop: use MAX_LINES for dlmwlines
  glocktop: allocate fsdlm dynamically

 gfs2/glocktop/glocktop.c | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

-- 
2.26.2




More information about the Cluster-devel mailing list