diff options
| author | Mike Snitzer <snitzer@redhat.com> | 2013-11-26 11:03:54 -0500 |
|---|---|---|
| committer | Mike Snitzer <snitzer@redhat.com> | 2013-11-26 11:10:53 -0500 |
| commit | f0417b93a59e8f2089df0501d80b24062faa2750 (patch) | |
| tree | 0fbc29c472f69ea7dc87b44d24eaee8580b4de05 | |
| parent | c00c25d0b694150d5fba718532fd95333eb339e1 (diff) | |
| download | linux-dm-f0417b93a59e8f2.tar.gz | |
dm cache: update Documentation for invalidate_cblocks's range syntax
Notice: this object is not reachable from any branch.
The cache target's invalidate_cblocks message allows cache block
(cblock) ranges to be expressed with: <cblock start>-<cblock end>
The range's <cblock end> value is "one past the end", so the range
includes <cblock start> through <cblock end>-1.
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Notice: this object is not reachable from any branch.
| -rw-r--r-- | Documentation/device-mapper/cache.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Documentation/device-mapper/cache.txt b/Documentation/device-mapper/cache.txt index 274752f8bdf96..719320b5ed3f3 100644 --- a/Documentation/device-mapper/cache.txt +++ b/Documentation/device-mapper/cache.txt @@ -266,10 +266,12 @@ E.g. Invalidation is removing an entry from the cache without writing it back. Cache blocks can be invalidated via the invalidate_cblocks message, which takes an arbitrary number of cblock ranges. Each cblock -must be expressed as a decimal value, in the future a variant message -that takes cblock ranges expressed in hexidecimal may be needed to -better support efficient invalidation of larger caches. The cache must -be in passthrough mode when invalidate_cblocks is used. +range's end value is "one past the end", meaning 5-10 expresses a range +of values from 5 to 9. Each cblock must be expressed as a decimal +value, in the future a variant message that takes cblock ranges +expressed in hexidecimal may be needed to better support efficient +invalidation of larger caches. The cache must be in passthrough mode +when invalidate_cblocks is used. invalidate_cblocks [<cblock>|<cblock begin>-<cblock end>]* |
