]> git.hungrycats.org Git - linux/commitdiff
zygo: btrfs: only clean one snapshot per run of cleaner thread
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Sun, 25 Jul 2021 10:14:28 +0000 (06:14 -0400)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Wed, 4 Aug 2021 23:56:05 +0000 (19:56 -0400)
(cherry picked from commit 5d2b6ba5af2c9e9b3aa2a7b980995643ea65855b)
(cherry picked from commit 18d15cd042c6390774524f9b8051b840cda24706)

fs/btrfs/disk-io.c

index 49f0f349a0ed54a2d62b8e204901867ff331f3dc..1644273db0b119a6e30d748b776a9f4c696be158 100644 (file)
@@ -1710,7 +1710,7 @@ static int cleaner_kthread(void *arg)
 
                btrfs_run_delayed_iputs(fs_info);
 
-               again = btrfs_clean_one_deleted_snapshot(root);
+               btrfs_clean_one_deleted_snapshot(root);
                mutex_unlock(&fs_info->cleaner_mutex);
 
                /*