• Bob Peterson's avatar
    gfs2: log which portion of the journal is replayed · 49eb776e
    Bob Peterson authored
    When a journal is replayed, gfs2 logs a message similar to:
    
    jid=X: Replaying journal...
    
    This patch adds the tail and block number so that the range of the
    replayed block is also printed. These values will match the values
    shown if the journal is dumped with gfs2_edit -p journalX. The
    resulting output looks something like this:
    
    jid=1: Replaying journal...0x28b7 to 0x2beb
    
    This will allow us to better debug file system corruption problems.
    Signed-off-by: default avatarBob Peterson <rpeterso@redhat.com>
    Signed-off-by: default avatarAndreas Gruenbacher <agruenba@redhat.com>
    49eb776e
recovery.c 11 KB