[Cluster-devel] [PATCH] gfs2: clear journal live bit in gfs2_log_flush

2015-12-08 Thread Benjamin Marzinski
When gfs2 was unmounting filesystems or changing them to read-only it was clearing the SDF_JOURNAL_LIVE bit before the final log flush. This caused a race. If an inode glock got demoted in the gap between clearing the bit and the shutdown flush, it would be unable to reserve log space to clear ou

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

2015-12-08 Thread Steven Whitehouse
Hi, On 08/12/15 07:57, Dave Chinner wrote: On Wed, Dec 02, 2015 at 11:42:13AM -0500, Bob Peterson wrote: - Original Message - (snip) Please take a look at this again and figure out what the problematic cycle of events is, and then work out how to avoid that happening in the first place