summaryrefslogtreecommitdiff
path: root/drivers/md/dm-cache-policy-internal.h
diff options
context:
space:
mode:
authorMikulas Patocka <mpatocka@redhat.com>2020-02-24 10:20:33 +0100
committerMike Snitzer <snitzer@redhat.com>2020-03-24 11:55:08 -0400
commit3923d4854e189d84c6ec22e66d536d3498f2747c (patch)
tree4366957741c615173d1f3da3e0fb1e3930235eee /drivers/md/dm-cache-policy-internal.h
parent93de44eb3fc8c3566f5315b0210630cc361526a7 (diff)
dm writecache: implement gradual cleanup
If a block is stored in the cache for too long, it will now be written to the underlying device and cleaned up. Add a new option "max_age" that specifies the maximum age of a block in milliseconds. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-cache-policy-internal.h')
0 files changed, 0 insertions, 0 deletions