Commit 611c3e1
dm writecache: add optional "metadata_only" parameter
Add a "metadata_only" parameter that when present: only metadata is
promoted to the cache. This option improves performance for heavier
REQ_META workloads (e.g. device-mapper-test-suite's "git clone and
checkout" benchmark improves from 341s to 312s).
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>1 parent cd039af commit 611c3e1
2 files changed
Lines changed: 15 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| 174 | + | |
174 | 175 | | |
175 | 176 | | |
176 | 177 | | |
| |||
1301 | 1302 | | |
1302 | 1303 | | |
1303 | 1304 | | |
1304 | | - | |
| 1305 | + | |
1305 | 1306 | | |
1306 | 1307 | | |
1307 | 1308 | | |
| |||
1380 | 1381 | | |
1381 | 1382 | | |
1382 | 1383 | | |
1383 | | - | |
| 1384 | + | |
| 1385 | + | |
1384 | 1386 | | |
1385 | 1387 | | |
1386 | 1388 | | |
| |||
2094 | 2096 | | |
2095 | 2097 | | |
2096 | 2098 | | |
2097 | | - | |
| 2099 | + | |
2098 | 2100 | | |
2099 | 2101 | | |
2100 | 2102 | | |
| |||
2321 | 2323 | | |
2322 | 2324 | | |
2323 | 2325 | | |
| 2326 | + | |
| 2327 | + | |
2324 | 2328 | | |
2325 | 2329 | | |
2326 | 2330 | | |
| |||
2544 | 2548 | | |
2545 | 2549 | | |
2546 | 2550 | | |
| 2551 | + | |
| 2552 | + | |
2547 | 2553 | | |
2548 | 2554 | | |
2549 | 2555 | | |
| |||
2564 | 2570 | | |
2565 | 2571 | | |
2566 | 2572 | | |
| 2573 | + | |
| 2574 | + | |
2567 | 2575 | | |
2568 | 2576 | | |
2569 | 2577 | | |
2570 | 2578 | | |
2571 | 2579 | | |
2572 | 2580 | | |
2573 | | - | |
| 2581 | + | |
2574 | 2582 | | |
2575 | 2583 | | |
2576 | 2584 | | |
| |||
0 commit comments