On 19/01/18 20:06, Andrew Price wrote:
On 19/01/18 14:31, Andrew Price wrote:> I've pushed a gfs2-utils patch with basic support for the new log header
format to the andyp-lhv2 branch. I need to test it some more but it should be useful for testing these patches already. I'll finalise it once the v2 patches are in for-next.

So the gfs2-utils patch is completely broken in that it isn't using crc32c for lh_crc. I'm looking into finding a userspace crc32c implementation now.

I have pushed a new version of the patch to the andyp-lhv2 branch of gfs2-utils. It includes a crc32c implementation that originated in the kernel and was brought to user-space in btrfs-progs. It uses hardware support if it can.

The patch also uses fiemap in gfs2_jadd to set lh_addr, as Andreas suggested.

Cheers,
Andy

Reply via email to