• Kent Overstreet's avatar
    bcachefs: Log more messages in the journal · 5bbe3f2d
    Kent Overstreet authored
    This patch
    
     - Adds a mechanism for queuing up journal entries prior to the journal
       being started, which will be used for early journal log messages
    
     - Adds bch2_fs_log_msg() and improves bch2_trans_log_msg(), which now
       take format strings. bch2_fs_log_msg() can be used before or after
       the journal has been started, and will use the appropriate mechanism.
    
     - Deletes the now obsolete bch2_journal_log_msg()
    
     - And adds more log messages to the recovery path - messages for
       journal/filesystem started, journal entries being blacklisted, and
       journal replay starting/finishing.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    5bbe3f2d
recovery.c 38 KB