commit | 3923d4854e189d84c6ec22e66d536d3498f2747c | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Mon Feb 24 10:20:33 2020 +0100 |
committer | Mike Snitzer <snitzer@redhat.com> | Tue Mar 24 11:55:08 2020 -0400 |
tree | 4366957741c615173d1f3da3e0fb1e3930235eee | |
parent | 93de44eb3fc8c3566f5315b0210630cc361526a7 [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>