dm-cache: clean cache resyncs to origin on every boot
Bug #1509237 reported by
Bogdan Vasiliev
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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 7e0a9739fd9e72d
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.
tags: | added: patch |
Changed in linux (Ubuntu): | |
status: | Incomplete → New |
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
To post a comment you must log in.
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1509237
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.