Commit c6ef4d2
committed
CA-403297: when storing read-through do not mirror
When the lcache driver has read from the remote storage and returned
the data to the caller it then stores the data into the local vhdcache
by forwarding a write to the vhdcache file. As the vhdcache file is
opened in TD_VBD_SECONDARY_MIRROR mode this also results in the data
being unnecessarily written back to the remote where it has just been
read from.
Signed-off-by: Mark Syms <[email protected]>1 parent 522971d commit c6ef4d2
3 files changed
+21
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
287 | 288 | | |
288 | 289 | | |
289 | 290 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1552 | 1552 | | |
1553 | 1553 | | |
1554 | 1554 | | |
1555 | | - | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
1556 | 1558 | | |
1557 | 1559 | | |
1558 | 1560 | | |
1559 | 1561 | | |
1560 | 1562 | | |
1561 | 1563 | | |
1562 | 1564 | | |
1563 | | - | |
| 1565 | + | |
1564 | 1566 | | |
1565 | | - | |
1566 | | - | |
1567 | | - | |
1568 | | - | |
1569 | | - | |
1570 | | - | |
1571 | | - | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
1572 | 1576 | | |
1573 | | - | |
1574 | | - | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
1575 | 1582 | | |
1576 | 1583 | | |
1577 | 1584 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
| 180 | + | |
| 181 | + | |
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
| |||
0 commit comments