Skip to content
  • Mikulas Patocka's avatar
    dm: add writecache target · 48debafe
    Mikulas Patocka authored
    The writecache target caches writes on persistent memory or SSD.
    It is intended for databases or other programs that need extremely low
    commit latency.
    The writecache target doesn't cache reads because reads are supposed to
    be cached in page cache in normal RAM.
    If persistent memory isn't available this target can still be used in
    SSD mode.
    Signed-off-by: default avatarMikulas Patocka <>
    Signed-off-by: Colin Ian King <> # fix missing goto
    Signed-off-by: Ross Zwisler <> # fix compilation issue with !DAX
    Signed-off-by: Dan Carpenter <> # use msecs_to_jiffies
    Acked-by: Dan Williams <> # reworks to unify ARM and x86 flushing
    Signed-off-by: default avatarMike Snitzer <>