From: Bob Peterson Date: Thu, 18 Jan 2018 11:09:01 -0500 (EST) Subject: [Cluster-devel] [GFS2 PATCH][v4] GFS2: Introduce new gfs2_log_header_v2 In-Reply-To: References: <831276753.3320025.1515084688898.JavaMail.zimbra@redhat.com> Message-ID: <1205530828.1687556.1516291741922.JavaMail.zimbra@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit ----- Original Message ----- | > + __be32 lh_crc; /* crc32 of whole block with this field 0 */ | Thinking about tools like fsck.gfs2, which will be built with the new | header but could be looking at older structures on-disk, how would it | know whether to treat the log header as a v1 or v2? | | Andy Hi, If lh_crc is 0, that's a pretty good indication that it's an old header. Is it possible to get a "normal" crc value of 0? If so, we could code another field just set to 1 to indicate the new style. Bob Peterson