Features/QED/ScanAvoidance

From QEMU
Revision as of 14:45, 11 October 2016 by Paolo Bonzini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Change flush routine to the following. This will reduce the window for when a scan is required to within 5 minutes of a cluster allocation assuming no flushes have occurred.

  1. clear scheduled flush (if necessary)
  2. opportunistic flush (for whatever reason)
  3. mark clean
  4. no intervening metadata changes
  5. mark dirty
  6. flush
  7. schedule flush (in 5 minutes)
  8. metadata changes