• Steven Whitehouse's avatar
    [GFS2] Don't add glocks to the journal · 2bcd610d
    Steven Whitehouse authored
    The only reason for adding glocks to the journal was to keep track
    of which locks required a log flush prior to release. We add a
    flag to the glock to allow this check to be made in a simpler way.
    
    This reduces the size of a glock (by 12 bytes on i386, 24 on x86_64)
    and means that we can avoid extra work during the journal flush.
    Signed-off-by: default avatarSteven Whitehouse <swhiteho@redhat.com>
    2bcd610d
trans.c 4.16 KB