diff options
Diffstat (limited to 'Documentation/device-mapper/cache.txt')
-rw-r--r-- | Documentation/device-mapper/cache.txt | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/device-mapper/cache.txt b/Documentation/device-mapper/cache.txt index 68c0f517c60e..82960cffbad3 100644 --- a/Documentation/device-mapper/cache.txt +++ b/Documentation/device-mapper/cache.txt | |||
@@ -221,6 +221,7 @@ Status | |||
221 | <#read hits> <#read misses> <#write hits> <#write misses> | 221 | <#read hits> <#read misses> <#write hits> <#write misses> |
222 | <#demotions> <#promotions> <#dirty> <#features> <features>* | 222 | <#demotions> <#promotions> <#dirty> <#features> <features>* |
223 | <#core args> <core args>* <policy name> <#policy args> <policy args>* | 223 | <#core args> <core args>* <policy name> <#policy args> <policy args>* |
224 | <cache metadata mode> | ||
224 | 225 | ||
225 | metadata block size : Fixed block size for each metadata block in | 226 | metadata block size : Fixed block size for each metadata block in |
226 | sectors | 227 | sectors |
@@ -251,8 +252,12 @@ core args : Key/value pairs for tuning the core | |||
251 | e.g. migration_threshold | 252 | e.g. migration_threshold |
252 | policy name : Name of the policy | 253 | policy name : Name of the policy |
253 | #policy args : Number of policy arguments to follow (must be even) | 254 | #policy args : Number of policy arguments to follow (must be even) |
254 | policy args : Key/value pairs | 255 | policy args : Key/value pairs e.g. sequential_threshold |
255 | e.g. sequential_threshold | 256 | cache metadata mode : ro if read-only, rw if read-write |
257 | In serious cases where even a read-only mode is deemed unsafe | ||
258 | no further I/O will be permitted and the status will just | ||
259 | contain the string 'Fail'. The userspace recovery tools | ||
260 | should then be used. | ||
256 | 261 | ||
257 | Messages | 262 | Messages |
258 | -------- | 263 | -------- |