Re: [Cluster-devel] [PATCH 28/32] gfs2: Eliminate GFS2_RDF_UPTODATE flag in favor of buffer existence

2019-11-14 Thread Bob Peterson
- Original Message - > These are two different things... the buffer_head flags signal whether > the buffer head is up to date with respect to what is on disk. The > GFS2_RDF_UPTODATE flag is there to indicate whether the internal copy of > the various fields in the resource group is up to

Re: [Cluster-devel] [PATCH 28/32] gfs2: Eliminate GFS2_RDF_UPTODATE flag in favor of buffer existence

2019-11-14 Thread Steven Whitehouse
Hi, On 13/11/2019 21:30, Bob Peterson wrote: Before this patch, the rgrp code used two different methods to check if the rgrp information was up-to-date: (1) The GFS2_RDF_UPTODATE flag in the rgrp and (2) the existence (or not) of valid buffer_head pointers in the first bitmap. When the

[Cluster-devel] [PATCH 28/32] gfs2: Eliminate GFS2_RDF_UPTODATE flag in favor of buffer existence

2019-11-13 Thread Bob Peterson
Before this patch, the rgrp code used two different methods to check if the rgrp information was up-to-date: (1) The GFS2_RDF_UPTODATE flag in the rgrp and (2) the existence (or not) of valid buffer_head pointers in the first bitmap. When the buffer_heads are read in from media, the rgrp is, by