doc/compression: fix diagrams
They were not interpreted as "code" blocks and looked really broken on spdk.io. Fix it by explicitly wrapping them with code tags (```). Change-Id: Ia880f67124dda6f8c0cb24d7e2e138d9f297958f Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/456299 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: John Kariuki <John.K.Kariuki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
9fda9814b7
commit
0dd5f32ebe
@ -88,6 +88,7 @@ In these examples, the value "X" will represent the special value (2^64-1) descr
|
||||
|
||||
### Initial Creation
|
||||
|
||||
```
|
||||
+--------------------+
|
||||
Backing Device | |
|
||||
+--------------------+
|
||||
@ -103,6 +104,7 @@ In these examples, the value "X" will represent the special value (2^64-1) descr
|
||||
+---+---+---+---+
|
||||
Logical Map | X | X | X | X |
|
||||
+---+---+---+---+
|
||||
```
|
||||
|
||||
### Write 16KB at Offset 32KB
|
||||
|
||||
@ -121,6 +123,7 @@ In these examples, the value "X" will represent the special value (2^64-1) descr
|
||||
store the 16KB of data.
|
||||
* Write the chunk map index to entry 2 in the logical map.
|
||||
|
||||
```
|
||||
+--------------------+
|
||||
Backing Device |01 |
|
||||
+--------------------+
|
||||
@ -136,6 +139,7 @@ In these examples, the value "X" will represent the special value (2^64-1) descr
|
||||
+---+---+---+---+
|
||||
Logical Map | X | X | 0 | X |
|
||||
+---+---+---+---+
|
||||
```
|
||||
|
||||
### Write 4KB at Offset 8KB
|
||||
|
||||
@ -153,6 +157,7 @@ In these examples, the value "X" will represent the special value (2^64-1) descr
|
||||
* Write (2, X, X, X) to the chunk map.
|
||||
* Write the chunk map index to entry 0 in the logical map.
|
||||
|
||||
```
|
||||
+--------------------+
|
||||
Backing Device |012 |
|
||||
+--------------------+
|
||||
@ -168,6 +173,7 @@ In these examples, the value "X" will represent the special value (2^64-1) descr
|
||||
+---+---+---+---+
|
||||
Logical Map | 1 | X | 0 | X |
|
||||
+---+---+---+---+
|
||||
```
|
||||
|
||||
### Read 16KB at Offset 16KB
|
||||
|
||||
@ -199,6 +205,7 @@ In these examples, the value "X" will represent the special value (2^64-1) descr
|
||||
* Free chunk map 1 back to the free chunk map list.
|
||||
* Free backing IO unit 2 back to the free backing IO unit list.
|
||||
|
||||
```
|
||||
+--------------------+
|
||||
Backing Device |01 34 |
|
||||
+--------------------+
|
||||
@ -214,6 +221,7 @@ In these examples, the value "X" will represent the special value (2^64-1) descr
|
||||
+---+---+---+---+
|
||||
Logical Map | 2 | X | 0 | X |
|
||||
+---+---+---+---+
|
||||
```
|
||||
|
||||
### Operations that span across multiple chunks
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user