• A
    gfs2: Add rindex fields to rgrp headers · 166725d9
    Andrew Price 提交于
    Add rg_data0, rg_data and rg_bitbytes to struct gfs2_rgrp. The fields
    are identical to their counterparts in struct gfs2_rindex and are
    intended to reduce the use of the rindex. For now the fields are only
    written back as the in-memory equivalents in struct gfs2_rgrpd are set
    using values from the rindex. However, they are needed at this point so
    that userspace can make use of them, allowing a migration away from the
    rindex over time.
    
    The new fields take up previously reserved space which was explicitly
    zeroed on write so, in clusters with mixed kernels, these fields could
    get zeroed after being set and this should not be treated as an error.
    Signed-off-by: NAndrew Price <anprice@redhat.com>
    Signed-off-by: NBob Peterson <rpeterso@redhat.com>
    166725d9
gfs2_ondisk.h 12.4 KB