[dm-devel] [PATCH 1/1] dm-cache writeback watermarks
Steven Wilton
swilton at fluentit.com.au
Sat Mar 5 16:11:08 UTC 2016
Hi,
Further to my previoulsy posted patch, I have developed a patch that
adds a high and low watermark as a percent of the cache disk, where
dm-cache will attempt to keep a percentage of the cache in a dirty state
to avoid writing so much data back to the slow disks.
It co-operates nicely with the other patch (although it may make it
redundant in some ways), and I have tested that it compiles and works,
and flushes all data when the watermarks are set to 0 using the
following commands:
dmsetup message <vgname>-<lvname> 0 "writeback_low_watermark 0"
dmsetup message <vgname>-<lvname> 0 "writeback_high_watermark 0"
regards
Steven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dm-cache-writeback-watermarks.patch
Type: text/x-patch
Size: 3468 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160306/a92d6d9b/attachment.bin>
More information about the dm-devel
mailing list