btrfs: update debug message when checking seq number of a delayed ref
authorFilipe Manana <fdmanana@suse.com>
Thu, 11 Mar 2021 14:31:13 +0000 (14:31 +0000)
committerDavid Sterba <dsterba@suse.com>
Mon, 19 Apr 2021 15:25:17 +0000 (17:25 +0200)
We used to encode two different numbers in the tree mod log counter used
for sequence numbers, one in the upper 32 bits and the other one in the
lower 32 bits. However that is no longer the case, we stopped doing that
since commit fcebe4562dec83 ("Btrfs: rework qgroup accounting").

So update the debug message at btrfs_check_delayed_seq to stop extracting
the two 32 bits counters and print instead the 64 bits sequence numbers.

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/delayed-ref.c

index 1c46d9b..c92d9d4 100644 (file)
@@ -514,9 +514,8 @@ int btrfs_check_delayed_seq(struct btrfs_fs_info *fs_info, u64 seq)
 
        if (min_seq != 0 && seq >= min_seq) {
                btrfs_debug(fs_info,
-                           "holding back delayed_ref %#x.%x, lowest is %#x.%x",
-                           (u32)(seq >> 32), (u32)seq,
-                           (u32)(min_seq >> 32), (u32)min_seq);
+                           "holding back delayed_ref %llu, lowest is %llu",
+                           seq, min_seq);
                ret = 1;
        }