← Back to team overview

kernel-packages team mailing list archive

[Bug 1509237] Re: dm-cache: clean cache resyncs to origin on every boot

 

** Changed in: linux (Ubuntu)
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1509237

Title:
  dm-cache: clean cache resyncs to origin on every boot

Status in linux package in Ubuntu:
  New

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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1509237/+subscriptions


References