aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/device-mapper
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/device-mapper')
-rw-r--r--Documentation/device-mapper/cache.txt50
1 files changed, 28 insertions, 22 deletions
diff --git a/Documentation/device-mapper/cache.txt b/Documentation/device-mapper/cache.txt
index 719320b5ed3f..63fd7cfa4cf1 100644
--- a/Documentation/device-mapper/cache.txt
+++ b/Documentation/device-mapper/cache.txt
@@ -217,36 +217,42 @@ the characteristics of a specific policy, always request it by name.
217Status 217Status
218------ 218------
219 219
220<#used metadata blocks>/<#total metadata blocks> <#read hits> <#read misses> 220<metadata block size> <#used metadata blocks>/<#total metadata blocks>
221<#write hits> <#write misses> <#demotions> <#promotions> <#blocks in cache> 221<cache block size> <#used cache blocks>/<#total cache blocks>
222<#dirty> <#features> <features>* <#core args> <core args>* <#policy args> 222<#read hits> <#read misses> <#write hits> <#write misses>
223<policy args>* 223<#demotions> <#promotions> <#dirty> <#features> <features>*
224 224<#core args> <core args>* <#policy args> <policy args>*
225#used metadata blocks : Number of metadata blocks used 225
226#total metadata blocks : Total number of metadata blocks 226metadata block size : Fixed block size for each metadata block in
227#read hits : Number of times a READ bio has been mapped 227 sectors
228#used metadata blocks : Number of metadata blocks used
229#total metadata blocks : Total number of metadata blocks
230cache block size : Configurable block size for the cache device
231 in sectors
232#used cache blocks : Number of blocks resident in the cache
233#total cache blocks : Total number of cache blocks
234#read hits : Number of times a READ bio has been mapped
228 to the cache 235 to the cache
229#read misses : Number of times a READ bio has been mapped 236#read misses : Number of times a READ bio has been mapped
230 to the origin 237 to the origin
231#write hits : Number of times a WRITE bio has been mapped 238#write hits : Number of times a WRITE bio has been mapped
232 to the cache 239 to the cache
233#write misses : Number of times a WRITE bio has been 240#write misses : Number of times a WRITE bio has been
234 mapped to the origin 241 mapped to the origin
235#demotions : Number of times a block has been removed 242#demotions : Number of times a block has been removed
236 from the cache 243 from the cache
237#promotions : Number of times a block has been moved to 244#promotions : Number of times a block has been moved to
238 the cache 245 the cache
239#blocks in cache : Number of blocks resident in the cache 246#dirty : Number of blocks in the cache that differ
240#dirty : Number of blocks in the cache that differ
241 from the origin 247 from the origin
242#feature args : Number of feature args to follow 248#feature args : Number of feature args to follow
243feature args : 'writethrough' (optional) 249feature args : 'writethrough' (optional)
244#core args : Number of core arguments (must be even) 250#core args : Number of core arguments (must be even)
245core args : Key/value pairs for tuning the core 251core args : Key/value pairs for tuning the core
246 e.g. migration_threshold 252 e.g. migration_threshold
247#policy args : Number of policy arguments to follow (must be even) 253#policy args : Number of policy arguments to follow (must be even)
248policy args : Key/value pairs 254policy args : Key/value pairs
249 e.g. 'sequential_threshold 1024 255 e.g. sequential_threshold
250 256
251Messages 257Messages
252-------- 258--------