• Steven Whitehouse's avatar
    [GFS2] Don't copy meta_header for rgrp in and out · f6e58f01
    Steven Whitehouse authored
    The meta_header for an ondisk rgrp never changes, so there is no point
    copying it in and back out to disk. Also there is no reason to keep
    a copy for each rgrp in memory.
    
    The code already checks to ensure that the header is correct before
    it calls the routine to copy the data in, so that we don't even need
    to check whether its correct on disk in the functions in ondisk.c
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    f6e58f01
ondisk.c 7.49 KB