]> git.hungrycats.org Git - linux/commitdiff
Revert "btrfs: relocation: Check cancel request after each extent found"
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Mon, 30 Mar 2020 16:25:32 +0000 (12:25 -0400)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Mon, 30 Mar 2020 16:25:32 +0000 (12:25 -0400)
This reverts commit 400faee53af2f9f1d0d4a0e0f92ea3d08fe53d59.

fs/btrfs/relocation.c

index 39422a38b12c5b7a1fa1c2f547e181d154110a76..cc881009e5467c7cfb468cf32cb1f920c2ab8f08 100644 (file)
@@ -4172,10 +4172,6 @@ restart:
                                break;
                        }
                }
-               if (should_cancel_balance(fs_info)) {
-                       err = -ECANCELED;
-                       break;
-               }
        }
        if (trans && progress && err == -ENOSPC) {
                ret = btrfs_force_chunk_alloc(trans, rc->block_group->flags);