diff options
Diffstat (limited to 'Documentation/md.txt')
-rw-r--r-- | Documentation/md.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/md.txt b/Documentation/md.txt index 18fad6876228..21d26fb5d02b 100644 --- a/Documentation/md.txt +++ b/Documentation/md.txt | |||
@@ -322,6 +322,22 @@ All md devices contain: | |||
322 | 'backlog' sets a limit on the number of concurrent background | 322 | 'backlog' sets a limit on the number of concurrent background |
323 | writes. If there are more than this, new writes will by | 323 | writes. If there are more than this, new writes will by |
324 | synchronous. | 324 | synchronous. |
325 | bitmap/metadata | ||
326 | This can be either 'internal' or 'external'. | ||
327 | 'internal' is the default and means the metadata for the bitmap | ||
328 | is stored in the first 256 bytes of the allocated space and is | ||
329 | managed by the md module. | ||
330 | 'external' means that bitmap metadata is managed externally to | ||
331 | the kernel (i.e. by some userspace program) | ||
332 | bitmap/can_clear | ||
333 | This is either 'true' or 'false'. If 'true', then bits in the | ||
334 | bitmap will be cleared when the corresponding blocks are thought | ||
335 | to be in-sync. If 'false', bits will never be cleared. | ||
336 | This is automatically set to 'false' if a write happens on a | ||
337 | degraded array, or if the array becomes degraded during a write. | ||
338 | When metadata is managed externally, it should be set to true | ||
339 | once the array becomes non-degraded, and this fact has been | ||
340 | recorded in the metadata. | ||
325 | 341 | ||
326 | 342 | ||
327 | 343 | ||