[Cluster-devel] [GFS2 PATCH v2 14/15] GFS2: Hold onto iopen glock longer when dinode creation fails

Bob Peterson rpeterso at redhat.com
Fri Oct 16 14:02:36 UTC 2015


----- Original Message -----
> > Hi Andy,
> >
> > Thanks. I'll investigate it.
> >
> > BTW, I haven't found any more blatant bugs during testing, however I'm
> > debugging another issue. It seems as if I still have a reference counter
> > issue somewhere because if I slam GFS2 hard enough, I can get it to
> > accumulate millions of glocks that are never freed (unless memory pressure
> > causes the glock shrinker to be called). Having the extra glocks is causing
> > undue strain on the dlm, to the point where dlm can't keep up.
> > So it seems likely that I'll do another revision here anyway.
> > I'll keep you posted.
> 
> Bob,
> 
>   Would that resemble something like this?
> 
> S    glocks  nondisk    inode    rgrp   iopen   flock quota j;rnl    Total
> S  --------- ------- -------- ------- ------- ------- ----- ---- --------
> S  Unlocked:       1    67677     304       0       0   460    0    68442
> S    Locked:       2  1638575     630 1637848       0   780    1  3277836
> S     Total:       3  1706252     934 1637848       0  1240    1  3346278
> S
> S   Held EX:       0        1       0       0       0     0    1        2
> S   Held SH:       1        1       0 1637847       0     0    0  1637849
> S   Held DF:       0        0       0       0       0     0    0        0
> S G Waiting:       0        0       0       0       0     0    0        0
> S P Waiting:       0        0       0       0       0     0    0        0
> S  DLM wait:       0
> 
> Thanks,
> 
> Andy

Yeah, seems likely.

Bob




More information about the Cluster-devel mailing list