]> git.hungrycats.org Git - linux/commitdiff
Revert "zygo: btrfs: only clean one snapshot per run of cleaner thread"
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sun, 5 Dec 2021 08:26:05 +0000 (03:26 -0500)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sun, 5 Dec 2021 08:26:05 +0000 (03:26 -0500)
This reverts commit 790629e3904615d86e99f8b0efdd19840f198273.

fs/btrfs/disk-io.c

index d6e5ef05804d9978e8cc6434658b043e95a7ef26..1fb639ff06530e5c39bb6b9f5b66a0b5fc4cfdec 100644 (file)
@@ -1797,7 +1797,7 @@ static int cleaner_kthread(void *arg)
 
                btrfs_run_delayed_iputs(fs_info);
 
-               btrfs_clean_one_deleted_snapshot(root);
+               again = btrfs_clean_one_deleted_snapshot(root);
                mutex_unlock(&fs_info->cleaner_mutex);
 
                /*