Skip to content

Commit e8294f2

Browse files
committed
btrfs: print message when tree-log replay starts
There's no logged information about tree-log replay although this is something that points to previous unclean unmount. Other filesystems report that as well. Suggested-by: Chris Murphy <[email protected]> CC: [email protected] # 4.4+ Reviewed-by: Anand Jain <[email protected]> Reviewed-by: Johannes Thumshirn <[email protected]> Signed-off-by: David Sterba <[email protected]>
1 parent ac05ca9 commit e8294f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/btrfs/disk-io.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3164,6 +3164,7 @@ int __cold open_ctree(struct super_block *sb,
31643164
/* do not make disk changes in broken FS or nologreplay is given */
31653165
if (btrfs_super_log_root(disk_super) != 0 &&
31663166
!btrfs_test_opt(fs_info, NOLOGREPLAY)) {
3167+
btrfs_info(fs_info, "start tree-log replay");
31673168
ret = btrfs_replay_log(fs_info, fs_devices);
31683169
if (ret) {
31693170
err = ret;

0 commit comments

Comments
 (0)