Public bug reported: On every boot an entire dm-cache resyncs to an origin device, even if it was clean before on shutdown. It takes time and full bandwidth of an origin device. There is the simple solution from the upstream:
commit 7e0a9739fd9e72dc51490bdff92796400b12a34f Author: Joe Thornber <ejt redhat com> Date: Thu Oct 22 18:10:55 2015 +0100 [dm-cache] The CLEAN_SHUTDOWN flag was not being set or rather, it was being set on the disk, then immediately cleared again. If the CLEAN_SHUTDOWN flag is not set when a cache is loaded then all cache blocks are marked as dirty and a full writeback occurs. ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Patch added: "dm-cache-metadata.patch" https://bugs.launchpad.net/bugs/1509237/+attachment/4502948/+files/dm-cache-metadata.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1509237 Title: dm-cache: clean cache resyncs to origin on every boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1509237/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs