]> git.hungrycats.org Git - linux/commitdiff
balance-resume: cover: failed item writes undo no work, but the rest needs a new...
authorZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Mon, 9 Nov 2026 04:02:04 +0000 (23:02 -0500)
committerZygo Blaxell <ce3g8jdj@umail.furryterror.org>
Mon, 9 Nov 2026 04:02:04 +0000 (23:02 -0500)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
topics/balance-resume/0000-cover-letter.patch

index 475d4f92381a564a8e89891f3cbb66a52dcd7d6d..35c2e72145a4b08c2d6bb49dac04e8540349a518 100644 (file)
@@ -94,9 +94,11 @@ patch 2), the balance ends with the error and its item is deleted, the
 same as for any other error at that point in the existing code.  We
 considered keeping the item and leaving the balance paused so the
 resume could be retried, but chose to stay consistent with the existing
-error handling.  Nothing is lost by ending the balance: a failed
-write-back at resume happens before anything is relocated, and after a
-failed limit update the chunks already relocated stay relocated.  The
+error handling.  Ending the balance undoes no completed work: a failed
+write-back at resume happens before the resumed balance relocates
+anything, and after a failed limit update the chunks already relocated
+stay relocated.  The remaining work is not done, and the user has to
+start a new balance for it, as after any other balance error.  The
 failed write-back at resume is logged, because the mount-time resume
 thread would otherwise drop the error silently.