[dm-devel] [PATCH v3] dm-cache watermarks
Steven Wilton
swilton at fluentit.com.au
Sun Mar 6 09:39:55 UTC 2016
I realised that I over-thought the original logic. The attached patch
is much simpler - write back dirty cache entries at the migration
threshold rate when we are over the low watermark, and we write back as
fast as possible when we go over the high watermark.
The current behaviour can be replicated by setting the high watermark to
100, and the low watermark to 0.
regards
Steven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dm-cache-writeback-watermarks.patch
Type: text/x-patch
Size: 3117 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160306/2d24fbb8/attachment.bin>
More information about the dm-devel
mailing list