Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 304affaa authored by Joe Thornber's avatar Joe Thornber Committed by Mike Snitzer
Browse files

dm cache: fail migrations in the do_worker error path



Signed-off-by: default avatarJoe Thornber <ejt@redhat.com>
Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
parent 8c081b52
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1720,6 +1720,7 @@ static void do_worker(struct work_struct *ws)

		if (commit_if_needed(cache)) {
			process_deferred_flush_bios(cache, false);
			process_migrations(cache, &cache->need_commit_migrations, migration_failure);

			/*
			 * FIXME: rollback metadata or just go into a