Re: [Cluster-devel] [PATCH v2] gfs2: fix race between gfs2_freeze_func and unmount

2019-04-30 Thread Andreas Gruenbacher
On Tue, 30 Apr 2019 at 23:54, Abhi Das wrote: > As part of the freeze operation, gfs2_freeze_func() is left blocking > on a request to hold the sd_freeze_gl in SH. This glock is held in EX > by the gfs2_freeze() code. > > A subsequent call to gfs2_unfreeze() releases the EXclusively held > sd_free

[Cluster-devel] [PATCH v2] gfs2: fix race between gfs2_freeze_func and unmount

2019-04-30 Thread Abhi Das
As part of the freeze operation, gfs2_freeze_func() is left blocking on a request to hold the sd_freeze_gl in SH. This glock is held in EX by the gfs2_freeze() code. A subsequent call to gfs2_unfreeze() releases the EXclusively held sd_freeze_gl, which allows gfs2_freeze_func() to acquire it in SH