• Qu Wenruo's avatar
    btrfs: relocation: Output current relocation stage at btrfs_relocate_block_group() · 430640e3
    Qu Wenruo authored
    There are two relocation stages but both print the same message. Add the
    description of the stage. This can help debugging or provides
    informative message to users.
    
      BTRFS info (device dm-5): balance: start -d -m -s
      BTRFS info (device dm-5): relocating block group 30408704 flags metadata|dup
      BTRFS info (device dm-5): found 2 extents, stage: move data extents
      BTRFS info (device dm-5): relocating block group 22020096 flags system|dup
      BTRFS info (device dm-5): found 1 extents, stage: move data extents
      BTRFS info (device dm-5): relocating block group 13631488 flags data
      BTRFS info (device dm-5): found 1 extents, stage: move data extents
      BTRFS info (device dm-5): found 1 extents, stage: update data pointers
      BTRFS info (device dm-5): balance: ended with status: 0
    Signed-off-by: default avatarQu Wenruo <wqu@suse.com>
    Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    430640e3
relocation.c 116 KB