BTRFS_FS_RELOC_RUNNING
if (test_bit(BTRFS_FS_RELOC_RUNNING, &fs_info->flags))
wait_on_bit(&fs_info->flags, BTRFS_FS_RELOC_RUNNING,
if (test_and_set_bit(BTRFS_FS_RELOC_RUNNING, &fs_info->flags)) {
clear_and_wake_up_bit(BTRFS_FS_RELOC_RUNNING, &fs_info->flags);
ASSERT(test_bit(BTRFS_FS_RELOC_RUNNING, &fs_info->flags));
clear_and_wake_up_bit(BTRFS_FS_RELOC_RUNNING, &fs_info->flags);
if (test_bit(BTRFS_FS_RELOC_RUNNING, &fs_info->flags))
if (!test_bit(BTRFS_FS_RELOC_RUNNING, &fs_info->flags))