Re: [Cluster-devel] [GFS2 PATCH 2/2] GFS2: Revert 35e478f Flush pending glock work when evicting an inode

2015-11-20 Thread Steven Whitehouse
Hi, On 19/11/15 18:42, Bob Peterson wrote: Commit 35e478f was added because there were cases where the inode's glock still had pending delayed work. The theory is that the delayed work referenced the inode after it had been deleted from memory by gfs2_evict_inode during its call to

Re: [Cluster-devel] [GFS2 PATCH 1/2] GFS2: Make gfs2_clear_inode() queue the final put

2015-11-20 Thread Steven Whitehouse
Hi, On 19/11/15 18:42, Bob Peterson wrote: This patch changes function gfs2_clear_inode() so that instead of calling gfs2_glock_put directly() most of the time, it queues the glock to the delayed work queue. That avoids a possible deadlock where it calls dlm during a fence operation: dlm waits