Commit 72263db
committed
os/bluestore: Add health warning for bluestore fragmentation
Changed "bluestore/fragmentation_micros" from quick imprecise to
slow but more representative score.
Introduced config "bluestore_warn_on_free_fragmentation" that controls
when free space fragmentation score becomes a health warning.
Currently calculation of fragmentation score might be non-instant for
severly fragmented disks. It might induce stalls to write IO.
Config value "bluestore_fragmentation_check_period" control score
calculation period.
In future, costly score calculation will be replaced with method that
continously updates score.
Signed-off-by: Adam Kupczyk <[email protected]>1 parent 862ed6e commit 72263db
File tree
3 files changed
+48
-4
lines changed- src
- common/options
- os/bluestore
3 files changed
+48
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5482 | 5482 | | |
5483 | 5483 | | |
5484 | 5484 | | |
| 5485 | + | |
| 5486 | + | |
| 5487 | + | |
| 5488 | + | |
| 5489 | + | |
| 5490 | + | |
| 5491 | + | |
| 5492 | + | |
| 5493 | + | |
| 5494 | + | |
| 5495 | + | |
| 5496 | + | |
| 5497 | + | |
| 5498 | + | |
| 5499 | + | |
| 5500 | + | |
| 5501 | + | |
| 5502 | + | |
| 5503 | + | |
| 5504 | + | |
| 5505 | + | |
| 5506 | + | |
| 5507 | + | |
5485 | 5508 | | |
5486 | 5509 | | |
5487 | 5510 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5270 | 5270 | | |
5271 | 5271 | | |
5272 | 5272 | | |
5273 | | - | |
| 5273 | + | |
5274 | 5274 | | |
5275 | 5275 | | |
5276 | 5276 | | |
| |||
5397 | 5397 | | |
5398 | 5398 | | |
5399 | 5399 | | |
| 5400 | + | |
| 5401 | + | |
| 5402 | + | |
| 5403 | + | |
| 5404 | + | |
| 5405 | + | |
| 5406 | + | |
| 5407 | + | |
| 5408 | + | |
| 5409 | + | |
| 5410 | + | |
| 5411 | + | |
| 5412 | + | |
| 5413 | + | |
| 5414 | + | |
| 5415 | + | |
| 5416 | + | |
5400 | 5417 | | |
5401 | 5418 | | |
5402 | 5419 | | |
| |||
15024 | 15041 | | |
15025 | 15042 | | |
15026 | 15043 | | |
15027 | | - | |
15028 | | - | |
15029 | | - | |
15030 | 15044 | | |
15031 | 15045 | | |
15032 | 15046 | | |
| |||
19016 | 19030 | | |
19017 | 19031 | | |
19018 | 19032 | | |
| 19033 | + | |
| 19034 | + | |
| 19035 | + | |
| 19036 | + | |
| 19037 | + | |
19019 | 19038 | | |
19020 | 19039 | | |
19021 | 19040 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2768 | 2768 | | |
2769 | 2769 | | |
2770 | 2770 | | |
| 2771 | + | |
| 2772 | + | |
2771 | 2773 | | |
2772 | 2774 | | |
2773 | 2775 | | |
| |||
0 commit comments