summaryrefslogtreecommitdiffstats
path: root/src/common/options/global.yaml.in
blob: f0eaedf5af9b556142cb83f0766b2fd454cff545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
# -*- mode: YAML -*-
---

options:
- name: host
  type: str
  level: basic
  desc: local hostname
  long_desc: if blank, ceph assumes the short hostname (hostname -s)
  tags:
  - network
  services:
  - common
  flags:
  - no_mon_update
  with_legacy: true
- name: fsid
  type: uuid
  level: basic
  desc: cluster fsid (uuid)
  fmt_desc: The cluster ID. One per cluster.
    May be generated by a deployment tool if not specified.
  note: Do not set this value if you use a deployment tool that does
    it for you.
  tags:
  - service
  services:
  - common
  flags:
  - no_mon_update
  - startup
- name: public_addr
  type: addr
  level: basic
  desc: public-facing address to bind to
  fmt_desc: The IP address for the public (front-side) network.
   Set for each daemon.
  services:
  - mon
  - mds
  - osd
  - mgr
  flags:
  - startup
  with_legacy: true
- name: public_addrv
  type: addrvec
  level: basic
  desc: public-facing address to bind to
  services:
  - mon
  - mds
  - osd
  - mgr
  flags:
  - startup
  with_legacy: true
- name: public_bind_addr
  type: addr
  level: advanced
  services:
  - mon
  flags:
  - startup
  fmt_desc: In some dynamic deployments the Ceph MON daemon might bind
   to an IP address locally that is different from the ``public_addr``
   advertised to other peers in the network. The environment must ensure
   that routing rules are set correctly. If ``public_bind_addr`` is set
   the Ceph Monitor daemon will bind to it locally and use ``public_addr``
   in the monmaps to advertise its address to peers. This behavior is limited
   to the Monitor daemon.
  with_legacy: true
- name: cluster_addr
  type: addr
  level: basic
  desc: cluster-facing address to bind to
  fmt_desc: The IP address for the cluster (back-side) network.
   Set for each daemon.
  tags:
  - network
  services:
  - osd
  flags:
  - startup
  with_legacy: true
- name: public_network
  type: str
  level: advanced
  desc: Network(s) from which to choose a public address to bind to
  fmt_desc: The IP address and netmask of the public (front-side) network
   (e.g., ``192.168.0.0/24``). Set in ``[global]``. You may specify
   comma-separated subnets. The format of it looks like
   ``{ip-address}/{netmask} [, {ip-address}/{netmask}]``
  tags:
  - network
  services:
  - mon
  - mds
  - osd
  - mgr
  flags:
  - startup
  with_legacy: true
- name: public_network_interface
  type: str
  level: advanced
  desc: Interface name(s) from which to choose an address from a public_network to
    bind to; public_network must also be specified.
  tags:
  - network
  services:
  - mon
  - mds
  - osd
  - mgr
  see_also:
  - public_network
  flags:
  - startup
- name: cluster_network
  type: str
  level: advanced
  desc: Network(s) from which to choose a cluster address to bind to
  fmt_desc: The IP address and netmask of the cluster (back-side) network
   (e.g., ``10.0.0.0/24``).  Set in ``[global]``. You may specify
   comma-separated subnets. The format of it looks like
   ``{ip-address}/{netmask} [, {ip-address}/{netmask}]``
  tags:
  - network
  services:
  - osd
  flags:
  - startup
  with_legacy: true
- name: cluster_network_interface
  type: str
  level: advanced
  desc: Interface name(s) from which to choose an address from a cluster_network to
    bind to; cluster_network must also be specified.
  tags:
  - network
  services:
  - mon
  - mds
  - osd
  - mgr
  see_also:
  - cluster_network
  flags:
  - startup
- name: monmap
  type: str
  level: advanced
  desc: path to MonMap file
  long_desc: This option is normally used during mkfs, but can also be used to identify
    which monitors to connect to.
  services:
  - mon
  flags:
  - no_mon_update
  - create
- name: mon_host
  type: str
  level: basic
  desc: list of hosts or addresses to search for a monitor
  long_desc: This is a list of IP addresses or hostnames that are separated by commas, whitespace, or semicolons. Hostnames are resolved via DNS. All A and AAAA records are included in the search list.
  services:
  - common
  flags:
  - no_mon_update
  - startup
- name: mon_host_override
  type: str
  level: advanced
  desc: monitor(s) to use overriding the MonMap
  fmt_desc: This is the list of monitors that the Ceph process **initially** contacts when first establishing communication with the Ceph cluster. This overrides the known monitor list that is derived from MonMap updates sent to older Ceph instances (like librados cluster handles). This option is expected to be useful primarily for debugging.
  services:
  - common
  flags:
  - no_mon_update
  - startup
- name: mon_dns_srv_name
  type: str
  level: advanced
  desc: name of DNS SRV record to check for monitor addresses
  fmt_desc: the service name used querying the DNS for the monitor hosts/addresses
  default: ceph-mon
  tags:
  - network
  services:
  - common
  see_also:
  - mon_host
  flags:
  - startup
- name: container_image
  type: str
  level: basic
  desc: container image (used by cephadm orchestrator)
  default: docker.io/ceph/daemon-base:latest-master-devel
  flags:
  - startup
- name: no_config_file
  type: bool
  level: advanced
  desc: signal that we don't require a config file to be present
  long_desc: When specified, we won't be looking for a configuration file, and will
    instead expect that whatever options or values are required for us to work will
    be passed as arguments.
  default: false
  tags:
  - config
  services:
  - common
  flags:
  - no_mon_update
  - startup
- name: lockdep
  type: bool
  level: dev
  desc: enable lockdep lock dependency analyzer
  default: false
  services:
  - common
  flags:
  - no_mon_update
  - startup
  with_legacy: true
- name: lockdep_force_backtrace
  type: bool
  level: dev
  desc: always gather current backtrace at every lock
  default: false
  services:
  - common
  see_also:
  - lockdep
  flags:
  - startup
  with_legacy: true
- name: run_dir
  type: str
  level: advanced
  desc: path for the 'run' directory for storing pid and socket files
  default: /var/run/ceph
  services:
  - common
  see_also:
  - admin_socket
  flags:
  - startup
  with_legacy: true
- name: admin_socket
  type: str
  level: advanced
  desc: path for the runtime control socket file, used by the 'ceph daemon' command
  fmt_desc: The socket for executing administrative commands on a daemon,
    irrespective of whether Ceph Monitors have established a quorum.
  daemon_default: $run_dir/$cluster-$name.asok
  services:
  - common
  flags:
  - startup
  # default changed by common_preinit()
  with_legacy: true
- name: admin_socket_mode
  type: str
  level: advanced
  desc: file mode to set for the admin socket file, e.g, '0755'
  services:
  - common
  see_also:
  - admin_socket
  flags:
  - startup
  with_legacy: true
- name: daemonize
  type: bool
  level: advanced
  desc: whether to daemonize (background) after startup
  default: false
  daemon_default: true
  tags:
  - service
  services:
  - mon
  - mgr
  - osd
  - mds
  see_also:
  - pid_file
  - chdir
  flags:
  - no_mon_update
  - startup
  # default changed by common_preinit()
  with_legacy: true
- name: setuser
  type: str
  level: advanced
  desc: uid or user name to switch to on startup
  long_desc: This is normally specified by the systemd unit file.
  tags:
  - service
  services:
  - mon
  - mgr
  - osd
  - mds
  see_also:
  - setgroup
  flags:
  - startup
  with_legacy: true
- name: setgroup
  type: str
  level: advanced
  desc: gid or group name to switch to on startup
  long_desc: This is normally specified by the systemd unit file.
  tags:
  - service
  services:
  - mon
  - mgr
  - osd
  - mds
  see_also:
  - setuser
  flags:
  - startup
  with_legacy: true
- name: setuser_match_path
  type: str
  level: advanced
  desc: if set, setuser/setgroup is condition on this path matching ownership
  long_desc: If setuser or setgroup are specified, and this option is non-empty, then
    the uid/gid of the daemon will only be changed if the file or directory specified
    by this option has a matching uid and/or gid.  This exists primarily to allow
    switching to user ceph for OSDs to be conditional on whether the osd data contents
    have also been chowned after an upgrade.  This is normally specified by the systemd
    unit file.
  tags:
  - service
  services:
  - mon
  - mgr
  - osd
  - mds
  see_also:
  - setuser
  - setgroup
  flags:
  - startup
  with_legacy: true
- name: pid_file
  type: str
  level: advanced
  desc: path to write a pid file (if any)
  fmt_desc: The file in which the mon, osd or mds will write its
    PID.  For instance, ``/var/run/$cluster/$type.$id.pid``
    will create /var/run/ceph/mon.a.pid for the ``mon`` with
    id ``a`` running in the ``ceph`` cluster. The ``pid
    file`` is removed when the daemon stops gracefully. If
    the process is not daemonized (i.e. runs with the ``-f``
    or ``-d`` option), the ``pid file`` is not created.
  tags:
  - service
  services:
  - mon
  - mgr
  - osd
  - mds
  flags:
  - startup
  with_legacy: true
- name: chdir
  type: str
  level: advanced
  desc: path to chdir(2) to after daemonizing
  fmt_desc: The directory Ceph daemons change to once they are
    up and running. Default ``/`` directory recommended.
  tags:
  - service
  services:
  - mon
  - mgr
  - osd
  - mds
  see_also:
  - daemonize
  flags:
  - no_mon_update
  - startup
  with_legacy: true
- name: fatal_signal_handlers
  type: bool
  level: advanced
  desc: whether to register signal handlers for SIGABRT etc that dump a stack trace
  long_desc: This is normally true for daemons and values for libraries.
  fmt_desc: If set, we will install signal handlers for SEGV, ABRT, BUS, ILL,
    FPE, XCPU, XFSZ, SYS signals to generate a useful log message
  default: true
  tags:
  - service
  services:
  - mon
  - mgr
  - osd
  - mds
  flags:
  - startup
  with_legacy: true
- name: crash_dir
  type: str
  level: advanced
  desc: Directory where crash reports are archived
  default: /var/lib/ceph/crash
  flags:
  - startup
  with_legacy: true
- name: restapi_log_level
  type: str
  level: advanced
  desc: default set by python code
  with_legacy: true
- name: restapi_base_url
  type: str
  level: advanced
  desc: default set by python code
  with_legacy: true
- name: erasure_code_dir
  type: str
  level: advanced
  desc: directory where erasure-code plugins can be found
  default: @CEPH_INSTALL_FULL_PKGLIBDIR@/erasure-code
  services:
  - mon
  - osd
  flags:
  - startup
  with_legacy: true
- name: log_file
  type: str
  level: basic
  desc: path to log file
  fmt_desc: The location of the logging file for your cluster.
  daemon_default: /var/log/ceph/$cluster-$name.log
  see_also:
  - log_to_file
  - log_to_stderr
  - err_to_stderr
  - log_to_syslog
  - err_to_syslog
  # default changed by common_preinit()
  with_legacy: true
- name: log_max_new
  type: int
  level: advanced
  desc: max unwritten log entries to allow before waiting to flush to the log
  fmt_desc: The maximum number of new log files.
  default: 1000
  see_also:
  - log_max_recent
  # default changed by common_preinit()
  with_legacy: true
- name: log_max_recent
  type: int
  level: advanced
  desc: recent log entries to keep in memory to dump in the event of a crash
  long_desc: The purpose of this option is to log at a higher debug level only to
    the in-memory buffer, and write out the detailed log messages only if there is
    a crash.  Only log entries below the lower log level will be written unconditionally
    to the log.  For example, debug_osd=1/5 will write everything <= 1 to the log
    unconditionally but keep entries at levels 2-5 in memory.  If there is a seg fault
    or assertion failure, all entries will be dumped to the log.
  min: 1
  default: 500
  daemon_default: 10000
  # default changed by common_preinit()
  with_legacy: true
- name: log_to_file
  type: bool
  level: basic
  desc: send log lines to a file
  fmt_desc: Determines if logging messages should appear in a file.
  default: true
  see_also:
  - log_file
  with_legacy: true
- name: log_to_stderr
  type: bool
  level: basic
  desc: send log lines to stderr
  fmt_desc: Determines if logging messages should appear in ``stderr``.
  default: true
  daemon_default: false
  with_legacy: true
- name: err_to_stderr
  type: bool
  level: basic
  desc: send critical error log lines to stderr
  fmt_desc: Determines if error messages should appear in ``stderr``.
  default: false
  daemon_default: true
  with_legacy: true
- name: log_stderr_prefix
  type: str
  level: advanced
  desc: String to prefix log messages with when sent to stderr
  long_desc: This is useful in container environments when combined with mon_cluster_log_to_stderr.  The
    mon log prefixes each line with the channel name (e.g., 'default', 'audit'), while
    log_stderr_prefix can be set to 'debug '.
  see_also:
  - mon_cluster_log_to_stderr
- name: log_to_syslog
  type: bool
  level: basic
  desc: send log lines to syslog facility
  fmt_desc: Determines if logging messages should appear in ``syslog``.
  default: false
  with_legacy: true
- name: err_to_syslog
  type: bool
  level: basic
  desc: send critical error log lines to syslog facility
  fmt_desc: Determines if error messages should appear in ``syslog``.
  default: false
  with_legacy: true
- name: log_flush_on_exit
  type: bool
  level: advanced
  desc: set a process exit handler to ensure the log is flushed on exit
  fmt_desc: Determines if Ceph should flush the log files after exit.
  default: false
  with_legacy: true
- name: log_stop_at_utilization
  type: float
  level: basic
  desc: stop writing to the log file when device utilization reaches this ratio
  default: 0.97
  see_also:
  - log_file
  min: 0
  max: 1
  with_legacy: true
- name: log_to_graylog
  type: bool
  level: basic
  desc: send log lines to remote graylog server
  default: false
  see_also:
  - err_to_graylog
  - log_graylog_host
  - log_graylog_port
  with_legacy: true
- name: err_to_graylog
  type: bool
  level: basic
  desc: send critical error log lines to remote graylog server
  default: false
  see_also:
  - log_to_graylog
  - log_graylog_host
  - log_graylog_port
  with_legacy: true
- name: log_graylog_host
  type: str
  level: basic
  desc: address or hostname of graylog server to log to
  default: 127.0.0.1
  see_also:
  - log_to_graylog
  - err_to_graylog
  - log_graylog_port
  with_legacy: true
- name: log_graylog_port
  type: int
  level: basic
  desc: port number for the remote graylog server
  default: 12201
  see_also:
  - log_graylog_host
  with_legacy: true
- name: log_to_journald
  type: bool
  level: basic
  desc: send log lines to journald
  default: false
  see_also:
  - err_to_journald
- name: err_to_journald
  type: bool
  level: basic
  desc: send critical error log lines to journald
  default: false
  see_also:
  - log_to_journald
- name: log_coarse_timestamps
  type: bool
  level: advanced
  desc: timestamp log entries from coarse system clock to improve performance
  default: true
  tags:
  - performance
  - service
  services:
  - common
# options will take k/v pairs, or single-item that will be assumed as general
# default for all, regardless of channel.
# e.g., "info" would be taken as the same as "default=info"
# also, "default=daemon audit=local0" would mean
#    "default all to 'daemon', override 'audit' with 'local0'
- name: clog_to_monitors
  type: str
  level: advanced
  desc: Make daemons send cluster log messages to monitors
  fmt_desc: Determines if ``clog`` messages should be sent to monitors.
  default: default=true
  flags:
  - runtime
  with_legacy: true
  services:
  - mgr
  - osd
  - mds
- name: clog_to_syslog
  type: str
  level: advanced
  desc: Make daemons send cluster log messages to syslog
  fmt_desc: Determines if ``clog`` messages should be sent to syslog.
  default: 'false'
  flags:
  - runtime
  with_legacy: true
  services:
  - mon
  - mgr
  - osd
  - mds
- name: clog_to_syslog_level
  type: str
  level: advanced
  desc: Syslog level for cluster log messages
  default: info
  see_also:
  - clog_to_syslog
  flags:
  - runtime
  with_legacy: true
  services:
  - mon
  - mgr
  - osd
  - mds
- name: clog_to_syslog_facility
  type: str
  level: advanced
  desc: Syslog facility for cluster log messages
  default: default=daemon audit=local0
  see_also:
  - clog_to_syslog
  flags:
  - runtime
  with_legacy: true
  services:
  - mon
  - mgr
  - osd
  - mds
- name: clog_to_graylog
  type: str
  level: advanced
  desc: Make daemons send cluster log to graylog
  default: 'false'
  flags:
  - runtime
  services:
  - mon
  - mgr
  - osd
  - mds
- name: clog_to_graylog_host
  type: str
  level: advanced
  desc: Graylog host to cluster log messages
  default: 127.0.0.1
  see_also:
  - clog_to_graylog
  flags:
  - runtime
  with_legacy: true
  services:
  - mon
  - mgr
  - osd
  - mds
- name: clog_to_graylog_port
  type: str
  level: advanced
  desc: Graylog port number for cluster log messages
  default: '12201'
  see_also:
  - clog_to_graylog
  flags:
  - runtime
  with_legacy: true
  services:
  - mon
  - mgr
  - osd
  - mds
- name: enable_experimental_unrecoverable_data_corrupting_features
  type: str
  level: advanced
  desc: Enable named (or all with '*') experimental features that may be untested,
    dangerous, and/or cause permanent data loss
  flags:
  - runtime
  with_legacy: true
- name: plugin_dir
  type: str
  level: advanced
  desc: Base directory for dynamically loaded plugins
  default: @CEPH_INSTALL_FULL_PKGLIBDIR@
  services:
  - mon
  - osd
  flags:
  - startup
- name: compressor_zlib_isal
  type: bool
  level: advanced
  desc: Use Intel ISA-L accelerated zlib implementation if available
  default: false
  with_legacy: true
# regular zlib compression level, not applicable to isa-l optimized version
- name: compressor_zlib_level
  type: int
  level: advanced
  desc: Zlib compression level to use
  default: 5
  with_legacy: true
# regular zlib compression winsize, not applicable to isa-l optimized version
- name: compressor_zlib_winsize
  type: int
  level: advanced
  desc: Zlib compression winsize to use
  default: -15
  min: -15
  max: 32
  with_legacy: true
# regular zstd compression level
- name: compressor_zstd_level
  type: int
  level: advanced
  desc: Zstd compression level to use
  default: 1
  with_legacy: true
- name: qat_compressor_enabled
  type: bool
  level: advanced
  desc: Enable Intel QAT acceleration support for compression if available
  default: false
  with_legacy: true
- name: qat_compressor_session_max_number
  type: uint
  level: advanced
  desc: Set the maximum number of session within Qatzip when using QAT compressor
  default: 256
- name: plugin_crypto_accelerator
  type: str
  level: advanced
  desc: Crypto accelerator library to use
  default: crypto_isal
  with_legacy: true
- name: openssl_engine_opts
  type: str
  level: advanced
  desc: Use engine for specific openssl algorithm
  long_desc: 'Pass opts in this way: engine_id=engine1,dynamic_path=/some/path/engine1.so,default_algorithms=DIGESTS:engine_id=engine2,dynamic_path=/some/path/engine2.so,default_algorithms=CIPHERS,other_ctrl=other_value'
  flags:
  - startup
  with_legacy: true
- name: mempool_debug
  type: bool
  level: dev
  default: false
  flags:
  - no_mon_update
  with_legacy: true
- name: thp
  type: bool
  level: dev
  desc: enable transparent huge page (THP) support
  long_desc: Ceph is known to suffer from memory fragmentation due to THP use. This
    is indicated by RSS usage above configured memory targets. Enabling THP is currently
    discouraged until selective use of THP by Ceph is implemented.
  default: false
  flags:
  - startup
- name: key
  type: str
  level: advanced
  desc: Authentication key
  long_desc: A CephX authentication key, base64 encoded.  It normally looks something
    like 'AQAtut9ZdMbNJBAAHz6yBAWyJyz2yYRyeMWDag=='.
  fmt_desc: The key (i.e., the text string of the key itself). Not recommended.
  see_also:
  - keyfile
  - keyring
  flags:
  - no_mon_update
  - startup
  with_legacy: true
- name: keyfile
  type: str
  level: advanced
  desc: Path to a file containing a key
  long_desc: The file should contain a CephX authentication key and optionally a trailing
    newline, but nothing else.
  fmt_desc: The path to a key file (i.e,. a file containing only the key).
  see_also:
  - key
  flags:
  - no_mon_update
  - startup
  with_legacy: true
- name: keyring
  type: str
  level: advanced
  desc: Path to a keyring file.
  long_desc: A keyring file is an INI-style formatted file where the section names
    are client or daemon names (e.g., 'osd.0') and each section contains a 'key' property
    with CephX authentication key as the value.
  # please note, document are generated without accessing to the CMake
  # variables, so please update the document manually with a representive
  # default value using the ":default:" option of ".. confval::" directive.
  default: @keyring_paths@
  see_also:
  - key
  - keyfile
  flags:
  - no_mon_update
  - startup
  with_legacy: true
- name: heartbeat_interval
  type: int
  level: advanced
  desc: Frequency of internal heartbeat checks (seconds)
  default: 5
  flags:
  - startup
  with_legacy: true
- name: heartbeat_file
  type: str
  level: advanced
  desc: File to touch on successful internal heartbeat
  long_desc: If set, this file will be touched every time an internal heartbeat check
    succeeds.
  see_also:
  - heartbeat_interval
  flags:
  - startup
  with_legacy: true
- name: heartbeat_inject_failure
  type: int
  level: dev
  default: 0
  with_legacy: true
- name: perf
  type: bool
  level: advanced
  desc: Enable internal performance metrics
  long_desc: If enabled, collect and expose internal health metrics
  default: true
  with_legacy: true
- name: ms_type
  type: str
  level: advanced
  desc: Messenger implementation to use for network communication
  fmt_desc: Transport type used by Async Messenger. Can be ``async+posix``,
    ``async+dpdk`` or ``async+rdma``. Posix uses standard TCP/IP networking and is
    default. Other transports may be experimental and support may be limited.
  default: async+posix
  flags:
  - startup
  with_legacy: true
- name: ms_public_type
  type: str
  level: advanced
  desc: Messenger implementation to use for the public network
  long_desc: If not specified, use ms_type
  see_also:
  - ms_type
  flags:
  - startup
  with_legacy: true
- name: ms_cluster_type
  type: str
  level: advanced
  desc: Messenger implementation to use for the internal cluster network
  long_desc: If not specified, use ms_type
  see_also:
  - ms_type
  flags:
  - startup
  with_legacy: true
- name: ms_mon_cluster_mode
  type: str
  level: basic
  desc: Connection modes (crc, secure) for intra-mon connections in order of preference
  fmt_desc: the connection mode (or permitted modes) to use between monitors.
  default: secure crc
  see_also:
  - ms_mon_service_mode
  - ms_mon_client_mode
  - ms_service_mode
  - ms_cluster_mode
  - ms_client_mode
  flags:
  - startup
- name: ms_mon_service_mode
  type: str
  level: basic
  desc: Allowed connection modes (crc, secure) for connections to mons
  fmt_desc: a list of permitted modes for clients or
    other Ceph daemons to use when connecting to monitors.
  default: secure crc
  see_also:
  - ms_service_mode
  - ms_mon_cluster_mode
  - ms_mon_client_mode
  - ms_cluster_mode
  - ms_client_mode
  flags:
  - startup
- name: ms_mon_client_mode
  type: str
  level: basic
  desc: Connection modes (crc, secure) for connections from clients to monitors in
    order of preference
  fmt_desc: a list of connection modes, in order of
    preference, for clients or non-monitor daemons to use when
    connecting to monitors.
  default: secure crc
  see_also:
  - ms_mon_service_mode
  - ms_mon_cluster_mode
  - ms_service_mode
  - ms_cluster_mode
  - ms_client_mode
  flags:
  - startup
- name: ms_cluster_mode
  type: str
  level: basic
  desc: Connection modes (crc, secure) for intra-cluster connections in order of preference
  fmt_desc: connection mode (or permitted modes) used
    for intra-cluster communication between Ceph daemons.  If multiple
    modes are listed, the modes listed first are preferred.
  default: crc secure
  see_also:
  - ms_service_mode
  - ms_client_mode
  flags:
  - startup
- name: ms_service_mode
  type: str
  level: basic
  desc: Allowed connection modes (crc, secure) for connections to daemons
  fmt_desc: a list of permitted modes for clients to use
    when connecting to the cluster.
  default: crc secure
  see_also:
  - ms_cluster_mode
  - ms_client_mode
  flags:
  - startup
- name: ms_client_mode
  type: str
  level: basic
  desc: Connection modes (crc, secure) for connections from clients in order of preference
  fmt_desc: a list of connection modes, in order of
    preference, for clients to use (or allow) when talking to a Ceph
    cluster.
  default: crc secure
  see_also:
  - ms_cluster_mode
  - ms_service_mode
  flags:
  - startup
- name: ms_osd_compress_mode
  type: str
  level: advanced
  desc: Compression policy to use in Messenger for communicating with OSD
  default: none
  services:
  - osd
  enum_values:
  - none
  - force
  see_also:
  - ms_compress_secure
  flags:
  - runtime
- name: ms_osd_compress_min_size
  type: uint
  level: advanced
  desc: Minimal message size eligable for on-wire compression
  default: 1_K
  services:
  - osd
  see_also:
  - ms_osd_compress_mode
  flags:
  - runtime
- name: ms_osd_compression_algorithm
  type: str
  level: advanced
  desc: Compression algorithm to use in Messenger when communicating with OSD
  long_desc: Compression algorithm for connections with OSD in order of preference 
    Although the default value is set to snappy, a list
    (like snappy zlib zstd etc.) is acceptable as well. 
  default: snappy
  services:
  - osd
  see_also:
  - ms_osd_compress_mode
  flags:
  - runtime
- name: ms_compress_secure
  type: bool
  level: advanced
  desc: Allowing compression when on-wire encryption is enabled
  long_desc: Combining encryption with compression reduces the level of security of
    messages between peers. In case both encryption and compression are enabled, 
    compression setting will be ignored and message will not be compressed. 
    This behaviour can be override using this setting. 
  default: false
  see_also: 
  - ms_osd_compress_mode
  flags:
  - runtime
- name: ms_learn_addr_from_peer
  type: bool
  level: advanced
  desc: Learn address from what IP our first peer thinks we connect from
  long_desc: Use the IP address our first peer (usually a monitor) sees that we are
    connecting from.  This is useful if a client is behind some sort of NAT and we
    want to see it identified by its local (not NATed) address.
  default: true
  with_legacy: true
- name: ms_tcp_nodelay
  type: bool
  level: advanced
  desc: Disable Nagle's algorithm and send queued network traffic immediately
  fmt_desc: Ceph enables ``ms_tcp_nodelay`` so that each request is sent
   immediately (no buffering). Disabling `Nagle's algorithm`_
   increases network traffic, which can introduce latency. If you
   experience large numbers of small packets, you may try
   disabling ``ms_tcp_nodelay``.
  default: true
  with_legacy: true
- name: ms_tcp_rcvbuf
  type: size
  level: advanced
  desc: Size of TCP socket receive buffer
  fmt_desc: The size of the socket buffer on the receiving end of a network
   connection. Disable by default.
  default: 0
  with_legacy: true
- name: ms_tcp_prefetch_max_size
  type: size
  level: advanced
  desc: Maximum amount of data to prefetch out of the socket receive buffer
  default: 4_K
  with_legacy: true
- name: ms_initial_backoff
  type: float
  level: advanced
  desc: Initial backoff after a network error is detected (seconds)
  fmt_desc: The initial time to wait before reconnecting on a fault.
  default: 0.2
  with_legacy: true
- name: ms_max_backoff
  type: float
  level: advanced
  desc: Maximum backoff after a network error before retrying (seconds)
  fmt_desc: The maximum time to wait before reconnecting on a fault.
  default: 15
  see_also:
  - ms_initial_backoff
  with_legacy: true
- name: ms_crc_data
  type: bool
  level: dev
  desc: Set and/or verify crc32c checksum on data payload sent over network
  default: true
  with_legacy: true
- name: ms_crc_header
  type: bool
  level: dev
  desc: Set and/or verify crc32c checksum on header payload sent over network
  default: true
  with_legacy: true
- name: ms_die_on_bad_msg
  type: bool
  level: dev
  desc: Induce a daemon crash/exit when a bad network message is received
  fmt_desc: Debug option; do not configure.
  default: false
  with_legacy: true
- name: ms_die_on_unhandled_msg
  type: bool
  level: dev
  desc: Induce a daemon crash/exit when an unrecognized message is received
  default: false
  with_legacy: true
- name: ms_die_on_old_message
  type: bool
  level: dev
  desc: Induce a daemon crash/exit when a old, undecodable message is received
  default: false
  with_legacy: true
- name: ms_die_on_skipped_message
  type: bool
  level: dev
  desc: Induce a daemon crash/exit if sender skips a message sequence number
  default: false
  with_legacy: true
- name: ms_die_on_bug
  type: bool
  level: dev
  desc: Induce a crash/exit on various bugs (for testing purposes)
  default: false
  with_legacy: true
- name: ms_dispatch_throttle_bytes
  type: size
  level: advanced
  desc: Limit messages that are read off the network but still being processed
  fmt_desc: Throttles total size of messages waiting to be dispatched.
  default: 100_M
  with_legacy: true
- name: ms_bind_ipv4
  type: bool
  level: advanced
  desc: Bind servers to IPv4 address(es)
  fmt_desc: Enables Ceph daemons to bind to IPv4 addresses.
  default: true
  see_also:
  - ms_bind_ipv6
- name: ms_bind_ipv6
  type: bool
  level: advanced
  desc: Bind servers to IPv6 address(es)
  fmt_desc: Enables Ceph daemons to bind to IPv6 addresses.
  default: false
  see_also:
  - ms_bind_ipv4
  with_legacy: true
- name: ms_bind_prefer_ipv4
  type: bool
  level: advanced
  desc: Prefer IPV4 over IPV6 address(es)
  default: false
- name: ms_bind_msgr1
  type: bool
  level: advanced
  desc: Bind servers to msgr1 (legacy) protocol address(es)
  default: true
  see_also:
  - ms_bind_msgr2
- name: ms_bind_msgr2
  type: bool
  level: advanced
  desc: Bind servers to msgr2 (nautilus+) protocol address(es)
  default: true
  see_also:
  - ms_bind_msgr1
- name: ms_bind_port_min
  type: int
  level: advanced
  desc: Lowest port number to bind daemon(s) to
  fmt_desc: The minimum port number to which an OSD or MDS daemon will bind.
  default: 6800
  with_legacy: true
- name: ms_bind_port_max
  type: int
  level: advanced
  desc: Highest port number to bind daemon(s) to
  fmt_desc: The maximum port number to which an OSD or MDS daemon will bind.
  default: 7568
  with_legacy: true
# FreeBSD does not use SO_REAUSEADDR so allow for a bit more time per default
- name: ms_bind_retry_count
  type: int
  level: advanced
  desc: Number of attempts to make while bind(2)ing to a port
  default: @ms_bind_retry_count@
  with_legacy: true
# FreeBSD does not use SO_REAUSEADDR so allow for a bit more time per default
- name: ms_bind_retry_delay
  type: int
  level: advanced
  desc: Delay between bind(2) attempts (seconds)
  default: @ms_bind_retry_delay@
  with_legacy: true
- name: ms_bind_before_connect
  type: bool
  level: advanced
  desc: Call bind(2) on client sockets
  default: false
  with_legacy: true
- name: ms_tcp_listen_backlog
  type: int
  level: advanced
  desc: Size of queue of incoming connections for accept(2)
  default: 512
  with_legacy: true
- name: ms_connection_ready_timeout
  type: uint
  level: advanced
  desc: Time before we declare a not yet ready connection as dead (seconds)
  default: 10
  with_legacy: true
- name: ms_connection_idle_timeout
  type: uint
  level: advanced
  desc: Time before an idle connection is closed (seconds)
  default: 900
  with_legacy: true
- name: ms_pq_max_tokens_per_priority
  type: uint
  level: dev
  default: 16_M
  with_legacy: true
- name: ms_pq_min_cost
  type: size
  level: dev
  default: 64_K
  with_legacy: true
- name: ms_inject_socket_failures
  type: uint
  level: dev
  desc: Inject a socket failure every Nth socket operation
  fmt_desc: Debug option; do not configure.
  default: 0
  with_legacy: true
- name: ms_inject_delay_type
  type: str
  level: dev
  desc: Entity type to inject delays for
  flags:
  - runtime
  with_legacy: true
- name: ms_inject_delay_max
  type: float
  level: dev
  desc: Max delay to inject
  default: 1
  with_legacy: true
- name: ms_inject_delay_probability
  type: float
  level: dev
  default: 0
  with_legacy: true
- name: ms_inject_internal_delays
  type: float
  level: dev
  desc: Inject various internal delays to induce races (seconds)
  default: 0
  with_legacy: true
- name: ms_inject_network_congestion
  type: uint
  level: dev
  desc: Inject a network congestions that stuck with N times operations
  default: 0
  with_legacy: true
- name: ms_blackhole_osd
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: ms_blackhole_mon
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: ms_blackhole_mds
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: ms_blackhole_mgr
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: ms_blackhole_client
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: ms_dump_on_send
  type: bool
  level: advanced
  desc: Hexdump message to debug log on message send
  default: false
  with_legacy: true
- name: ms_dump_corrupt_message_level
  type: int
  level: advanced
  desc: Log level at which to hexdump corrupt messages we receive
  default: 1
  with_legacy: true
# number of worker processing threads for async messenger created on init
- name: ms_async_op_threads
  type: uint
  level: advanced
  desc: Threadpool size for AsyncMessenger (ms_type=async)
  fmt_desc: Initial number of worker threads used by each Async Messenger instance.
    Should be at least equal to highest number of replicas, but you can
    decrease it if you are low on CPU core count and/or you host a lot of
    OSDs on single server.
  default: 3
  min: 1
  max: 24
  with_legacy: true
- name: ms_async_reap_threshold
  type: uint
  level: dev
  desc: number of deleted connections before we reap
  default: 5
  min: 1
  with_legacy: true
- name: ms_async_rdma_device_name
  type: str
  level: advanced
  with_legacy: true
- name: ms_async_rdma_enable_hugepage
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: ms_async_rdma_buffer_size
  type: size
  level: advanced
  default: 128_K
  with_legacy: true
- name: ms_async_rdma_send_buffers
  type: uint
  level: advanced
  default: 1_K
  with_legacy: true
# size of the receive buffer pool, 0 is unlimited
- name: ms_async_rdma_receive_buffers
  type: uint
  level: advanced
  default: 32_K
  with_legacy: true
# max number of wr in srq
- name: ms_async_rdma_receive_queue_len
  type: uint
  level: advanced
  default: 4_K
  with_legacy: true
# support srq
- name: ms_async_rdma_support_srq
  type: bool
  level: advanced
  default: true
  with_legacy: true
- name: ms_async_rdma_port_num
  type: uint
  level: advanced
  default: 1
  with_legacy: true
- name: ms_async_rdma_polling_us
  type: uint
  level: advanced
  default: 1000
  with_legacy: true
- name: ms_async_rdma_gid_idx
  type: int
  level: advanced
  desc: use gid_idx to select GID for choosing RoCEv1 or RoCEv2
  default: 0
  with_legacy: true
# GID format: "fe80:0000:0000:0000:7efe:90ff:fe72:6efe", no zero folding
- name: ms_async_rdma_local_gid
  type: str
  level: advanced
  with_legacy: true
# 0=RoCEv1, 1=RoCEv2, 2=RoCEv1.5
- name: ms_async_rdma_roce_ver
  type: int
  level: advanced
  default: 1
  with_legacy: true
# in RoCE, this means PCP
- name: ms_async_rdma_sl
  type: int
  level: advanced
  default: 3
  with_legacy: true
# in RoCE, this means DSCP
- name: ms_async_rdma_dscp
  type: int
  level: advanced
  default: 96
  with_legacy: true
# when there are enough accept failures, indicating there are unrecoverable failures,
# just do ceph_abort() . Here we make it configurable.
- name: ms_max_accept_failures
  type: int
  level: advanced
  desc: The maximum number of consecutive failed accept() calls before considering
    the daemon is misconfigured and abort it.
  default: 4
  with_legacy: true
# rdma connection management
- name: ms_async_rdma_cm
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: ms_async_rdma_type
  type: str
  level: advanced
  default: ib
  with_legacy: true
- name: ms_dpdk_port_id
  type: int
  level: advanced
  default: 0
  with_legacy: true
# it is modified in unittest so that use SAFE_OPTION to declare
- name: ms_dpdk_coremask
  type: str
  level: advanced
  default: '0xF'
  see_also:
  - ms_async_op_threads
  with_legacy: true
- name: ms_dpdk_memory_channel
  type: str
  level: advanced
  default: '4'
  with_legacy: true
- name: ms_dpdk_hugepages
  type: str
  level: advanced
  with_legacy: true
- name: ms_dpdk_pmd
  type: str
  level: advanced
  with_legacy: true
- name: ms_dpdk_devs_allowlist
  type: str
  level: advanced
  desc: NIC's PCIe address are allowed to use
  long_desc: for a single NIC use ms_dpdk_devs_allowlist=-a 0000:7d:010 or --allow=0000:7d:010;
    for a bond nics use ms_dpdk_devs_allowlist=--allow=0000:7d:01.0 --allow=0000:7d:02.6
    --vdev=net_bonding0,mode=2,slave=0000:7d:01.0,slave=0000:7d:02.6.
- name: ms_dpdk_host_ipv4_addr
  type: str
  level: advanced
  with_legacy: true
- name: ms_dpdk_gateway_ipv4_addr
  type: str
  level: advanced
  with_legacy: true
- name: ms_dpdk_netmask_ipv4_addr
  type: str
  level: advanced
  with_legacy: true
- name: ms_dpdk_lro
  type: bool
  level: advanced
  default: true
  with_legacy: true
- name: ms_dpdk_enable_tso
  type: bool
  level: advanced
  default: true
- name: ms_dpdk_hw_flow_control
  type: bool
  level: advanced
  default: true
  with_legacy: true
# Weighing of a hardware network queue relative to a software queue (0=no work, 1=     equal share)")
- name: ms_dpdk_hw_queue_weight
  type: float
  level: advanced
  default: 1
  with_legacy: true
- name: ms_dpdk_debug_allow_loopback
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: ms_dpdk_rx_buffer_count_per_core
  type: int
  level: advanced
  default: 8192
  with_legacy: true
- name: inject_early_sigterm
  type: bool
  level: dev
  desc: send ourselves a SIGTERM early during startup
  default: false
  with_legacy: true
# list of initial cluster mon ids; if specified, need majority to form initial quorum and create new cluster
- name: mon_initial_members
  type: str
  level: advanced
  fmt_desc: The IDs of initial monitors in a cluster during startup. If 
    specified, Ceph requires an odd number of monitors to form an 
    initial quorum (e.g., 3).
  note: A *majority* of monitors in your cluster must be able to reach 
    each other in order to establish a quorum. You can decrease the initial 
    number of monitors to establish a quorum with this setting.
  services:
  - mon
  flags:
  - no_mon_update
  - cluster_create
  with_legacy: true
- name: mon_max_pg_per_osd
  type: uint
  level: advanced
  desc: Max number of PGs per OSD the cluster will allow
  long_desc: If the number of PGs per OSD exceeds this, a health warning will be visible
    in `ceph status`.  This is also used in automated PG management, as the threshold
    at which some pools' pg_num may be shrunk in order to enable increasing the pg_num
    of others.
  default: 250
  flags:
  - runtime
  services:
  - mgr
  - mon
  min: 1
- name: mon_osd_full_ratio
  type: float
  level: advanced
  desc: full ratio of OSDs to be set during initial creation of the cluster
  default: 0.95
  flags:
  - no_mon_update
  - cluster_create
  with_legacy: true
- name: mon_osd_backfillfull_ratio
  type: float
  level: advanced
  default: 0.9
  flags:
  - no_mon_update
  - cluster_create
  with_legacy: true
- name: mon_osd_nearfull_ratio
  type: float
  level: advanced
  desc: nearfull ratio for OSDs to be set during initial creation of cluster
  default: 0.85
  flags:
  - no_mon_update
  - cluster_create
  with_legacy: true
- name: mon_osd_initial_require_min_compat_client
  type: str
  level: advanced
  default: luminous
  flags:
  - no_mon_update
  - cluster_create
  with_legacy: true
- name: mon_allow_pool_delete
  type: bool
  level: advanced
  desc: allow pool deletions
  fmt_desc: Should monitors allow pools to be removed, regardless of what the pool flags say?
  default: false
  services:
  - mon
  with_legacy: true
- name: mon_fake_pool_delete
  type: bool
  level: advanced
  desc: fake pool deletions by renaming the rados pool
  default: false
  services:
  - mon
  with_legacy: true
- name: mon_globalid_prealloc
  type: uint
  level: advanced
  desc: number of globalid values to preallocate
  long_desc: This setting caps how many new clients can authenticate with the cluster
    before the monitors have to perform a write to preallocate more.  Large values
    burn through the 64-bit ID space more quickly.
  fmt_desc: The number of global IDs to pre-allocate for clients and daemons in the cluster.
  default: 10000
  services:
  - mon
  with_legacy: true
- name: mon_osd_report_timeout
  type: int
  level: advanced
  desc: time before OSDs who do not report to the mons are marked down (seconds)
  fmt_desc: The grace period in seconds before declaring
              unresponsive Ceph OSD Daemons ``down``.
  default: 15_min
  services:
  - mon
  with_legacy: true
- name: mon_warn_on_insecure_global_id_reclaim
  type: bool
  level: advanced
  desc: issue AUTH_INSECURE_GLOBAL_ID_RECLAIM health warning if any connected
    clients are insecurely reclaiming global_id
  default: true
  services:
  - mon
  see_also:
  - mon_warn_on_insecure_global_id_reclaim_allowed
  - auth_allow_insecure_global_id_reclaim
  - auth_expose_insecure_global_id_reclaim
- name: mon_warn_on_insecure_global_id_reclaim_allowed
  type: bool
  level: advanced
  desc: issue AUTH_INSECURE_GLOBAL_ID_RECLAIM_ALLOWED health warning if insecure
    global_id reclaim is allowed
  default: true
  services:
  - mon
  see_also:
  - mon_warn_on_insecure_global_id_reclaim
  - auth_allow_insecure_global_id_reclaim
  - auth_expose_insecure_global_id_reclaim
- name: mon_warn_on_msgr2_not_enabled
  type: bool
  level: advanced
  desc: issue MON_MSGR2_NOT_ENABLED health warning if monitors are all running Nautilus
    but not all binding to a msgr2 port
  default: true
  services:
  - mon
  see_also:
  - ms_bind_msgr2
- name: mon_warn_on_slow_ping_time
  type: float
  level: advanced
  desc: Override mon_warn_on_slow_ping_ratio with specified threshold in milliseconds
  fmt_desc: Override ``mon_warn_on_slow_ping_ratio`` with a specific value.
    Raise ``HEALTH_WARN`` if any heartbeat between OSDs exceeds
    ``mon_warn_on_slow_ping_time`` milliseconds.  The default is 0 (disabled).
  default: 0
  services:
  - mgr
  - osd
  see_also:
  - mon_warn_on_slow_ping_ratio
- name: mon_warn_on_slow_ping_ratio
  type: float
  level: advanced
  desc: Issue a health warning if heartbeat ping longer than percentage of osd_heartbeat_grace
  fmt_desc: Raise ``HEALTH_WARN`` when any heartbeat between OSDs exceeds
    ``mon_warn_on_slow_ping_ratio`` of ``osd_heartbeat_grace``.
  default: 0.05
  services:
  - mgr
  - osd
  see_also:
  - osd_heartbeat_grace
  - mon_warn_on_slow_ping_time
- name: mon_max_snap_prune_per_epoch
  type: uint
  level: advanced
  desc: max number of pruned snaps we will process in a single OSDMap epoch
  default: 100
  services:
  - mon
- name: mon_min_osdmap_epochs
  type: int
  level: advanced
  desc: min number of OSDMaps to store
  fmt_desc: Minimum number of OSD map epochs to keep at all times.
  default: 500
  services:
  - mon
  with_legacy: true
- name: mon_max_log_epochs
  type: int
  level: advanced
  desc: max number of past cluster log epochs to store
  fmt_desc: Maximum number of Log epochs the monitor should keep.
  default: 500
  services:
  - mon
  with_legacy: true
- name: mon_max_mdsmap_epochs
  type: int
  level: advanced
  desc: max number of FSMaps/MDSMaps to store
  fmt_desc: The maximum number of mdsmap epochs to trim during a single proposal.
  default: 500
  services:
  - mon
  with_legacy: true
- name: mon_max_mgrmap_epochs
  type: int
  level: advanced
  desc: max number of MgrMaps to store
  default: 500
  services:
  - mon
- name: mon_max_osd
  type: int
  level: advanced
  desc: max number of OSDs in a cluster
  fmt_desc: The maximum number of OSDs allowed in the cluster.
  default: 10000
  services:
  - mon
  with_legacy: true
- name: mon_probe_timeout
  type: float
  level: advanced
  desc: timeout for querying other mons during bootstrap pre-election phase (seconds)
  fmt_desc: Number of seconds the monitor will wait to find peers before bootstrapping.
  default: 2
  services:
  - mon
  with_legacy: true
- name: mon_client_bytes
  type: size
  level: advanced
  desc: max bytes of outstanding client messages mon will read off the network
  fmt_desc: The amount of client message data allowed in memory (in bytes).
  default: 100_M
  services:
  - mon
  with_legacy: true
- name: mon_warn_pg_not_scrubbed_ratio
  type: float
  level: advanced
  desc: Percentage of the scrub max interval past the scrub max interval to warn
  default: 0.5
  see_also:
  - osd_scrub_max_interval
  min: 0
  with_legacy: true
- name: mon_warn_pg_not_deep_scrubbed_ratio
  type: float
  level: advanced
  desc: Percentage of the deep scrub interval past the deep scrub interval to warn
  default: 0.75
  see_also:
  - osd_deep_scrub_interval
  min: 0
  with_legacy: true
- name: mon_scrub_interval
  type: secs
  level: advanced
  desc: frequency for scrubbing mon database
  fmt_desc: How often the monitor scrubs its store by comparing
    the stored checksums with the computed ones for all stored
    keys. (0 disables it. dangerous, use with care)
  default: 1_day
  services:
  - mon
- name: mon_scrub_timeout
  type: int
  level: advanced
  desc: timeout to restart scrub of mon quorum participant does not respond for the
    latest chunk
  default: 5_min
  services:
  - mon
  with_legacy: true
- name: mon_scrub_max_keys
  type: int
  level: advanced
  desc: max keys per on scrub chunk/step
  fmt_desc: The maximum number of keys to scrub each time.
  default: 100
  services:
  - mon
  with_legacy: true
# probability of injected crc mismatch [0.0, 1.0]
- name: mon_scrub_inject_crc_mismatch
  type: float
  level: dev
  desc: probability for injecting crc mismatches into mon scrub
  default: 0
  services:
  - mon
  with_legacy: true
# probability of injected missing keys [0.0, 1.0]
- name: mon_scrub_inject_missing_keys
  type: float
  level: dev
  desc: probability for injecting missing keys into mon scrub
  default: 0
  services:
  - mon
  with_legacy: true
- name: mon_config_key_max_entry_size
  type: size
  level: advanced
  desc: Defines the number of bytes allowed to be held in a single config-key entry
  fmt_desc: The maximum size of config-key entry (in bytes)
  default: 64_K
  services:
  - mon
  with_legacy: true
- name: mon_sync_timeout
  type: float
  level: advanced
  desc: timeout before canceling sync if syncing mon does not respond
  fmt_desc: Number of seconds the monitor will wait for the next update
    message from its sync provider before it gives up and bootstrap
    again.
  default: 1_min
  services:
  - mon
  with_legacy: true
- name: mon_sync_max_payload_size
  type: size
  level: advanced
  desc: target max message payload for mon sync
  fmt_desc: The maximum size for a sync payload (in bytes).
  default: 1_M
  services:
  - mon
  with_legacy: true
- name: mon_sync_max_payload_keys
  type: int
  level: advanced
  desc: target max keys in message payload for mon sync
  default: 2000
  services:
  - mon
  with_legacy: true
- name: mon_sync_debug
  type: bool
  level: dev
  desc: enable extra debugging during mon sync
  default: false
  services:
  - mon
  with_legacy: true
- name: mon_inject_sync_get_chunk_delay
  type: float
  level: dev
  desc: inject delay during sync (seconds)
  default: 0
  services:
  - mon
  with_legacy: true
- name: mon_osd_min_down_reporters
  type: uint
  level: advanced
  desc: number of OSDs from different subtrees who need to report a down OSD for it
    to count
  fmt_desc: The minimum number of Ceph OSD Daemons required to report a
              ``down`` Ceph OSD Daemon.
  default: 2
  services:
  - mon
  see_also:
  - mon_osd_reporter_subtree_level
- name: mon_osd_reporter_subtree_level
  type: str
  level: advanced
  desc: in which level of parent bucket the reporters are counted
  fmt_desc: In which level of parent bucket the reporters are counted. The OSDs
              send failure reports to monitors if they find a peer that is not responsive.
              Monitors mark the reported ``OSD`` out and then ``down`` after a grace period.
  default: host
  services:
  - mon
  flags:
  - runtime
- name: mon_osd_snap_trim_queue_warn_on
  type: int
  level: advanced
  desc: Warn when snap trim queue is that large (or larger).
  long_desc: Warn when snap trim queue length for at least one PG crosses this value,
    as this is indicator of snap trimmer not keeping up, wasting disk space
  default: 32768
  services:
  - mon
  with_legacy: true
# force mon to trim maps to this point, regardless of min_last_epoch_clean (dangerous)
- name: mon_osd_force_trim_to
  type: int
  level: dev
  desc: force mons to trim osdmaps through this epoch
  fmt_desc: Force monitor to trim osdmaps to this point, even if there is
    PGs not clean at the specified epoch (0 disables it. dangerous,
    use with care)
  default: 0
  services:
  - mon
  with_legacy: true
- name: mon_debug_extra_checks
  type: bool
  level: dev
  desc: Enable some additional monitor checks
  long_desc: Enable some additional monitor checks that would be too expensive to
    run on production systems, or would only be relevant while testing or debugging.
  default: false
  services:
  - mon
- name: mon_debug_block_osdmap_trim
  type: bool
  level: dev
  desc: Block OSDMap trimming while the option is enabled.
  long_desc: Blocking OSDMap trimming may be quite helpful to easily reproduce states
    in which the monitor keeps (hundreds of) thousands of osdmaps.
  default: false
  services:
  - mon
- name: mon_debug_deprecated_as_obsolete
  type: bool
  level: dev
  desc: treat deprecated mon commands as obsolete
  default: false
  services:
  - mon
  with_legacy: true
- name: mon_debug_dump_transactions
  type: bool
  level: dev
  desc: dump paxos transactions to log
  default: false
  services:
  - mon
  see_also:
  - mon_debug_dump_location
  with_legacy: true
- name: mon_debug_dump_json
  type: bool
  level: dev
  desc: dump paxos transasctions to log as json
  default: false
  services:
  - mon
  see_also:
  - mon_debug_dump_transactions
  with_legacy: true
- name: mon_debug_dump_location
  type: str
  level: dev
  desc: file to dump paxos transactions to
  default: /var/log/ceph/$cluster-$name.tdump
  services:
  - mon
  see_also:
  - mon_debug_dump_transactions
  with_legacy: true
- name: mon_debug_no_require_quincy
  type: bool
  level: dev
  desc: do not set quincy feature for new mon clusters
  default: false
  services:
  - mon
  flags:
  - cluster_create
- name: mon_debug_no_require_reef
  type: bool
  level: dev
  desc: do not set reef feature for new mon clusters
  default: false
  services:
  - mon
  flags:
  - cluster_create
- name: mon_debug_no_require_bluestore_for_ec_overwrites
  type: bool
  level: dev
  desc: do not require bluestore OSDs to enable EC overwrites on a rados pool
  default: false
  services:
  - mon
  with_legacy: true
- name: mon_debug_no_initial_persistent_features
  type: bool
  level: dev
  desc: do not set any monmap features for new mon clusters
  default: false
  services:
  - mon
  flags:
  - cluster_create
  with_legacy: true
- name: mon_inject_transaction_delay_max
  type: float
  level: dev
  desc: max duration of injected delay in paxos
  default: 10
  services:
  - mon
  with_legacy: true
# range [0, 1]
- name: mon_inject_transaction_delay_probability
  type: float
  level: dev
  desc: probability of injecting a delay in paxos
  default: 0
  services:
  - mon
  with_legacy: true
- name: mon_inject_pg_merge_bounce_probability
  type: float
  level: dev
  desc: probability of failing and reverting a pg_num decrement
  default: 0
  services:
  - mon
# kill the sync provider at a specific point in the work flow
- name: mon_sync_provider_kill_at
  type: int
  level: dev
  desc: kill mon sync requester at specific point
  default: 0
  services:
  - mon
  with_legacy: true
# kill the sync requester at a specific point in the work flow
- name: mon_sync_requester_kill_at
  type: int
  level: dev
  desc: kill mon sync requestor at specific point
  default: 0
  services:
  - mon
  with_legacy: true
# force monitor to join quorum even if it has been previously removed from the map
- name: mon_force_quorum_join
  type: bool
  level: advanced
  desc: force mon to rejoin quorum even though it was just removed
  fmt_desc: Force monitor to join quorum even if it has been previously removed from the map
  default: false
  services:
  - mon
  with_legacy: true
# type of keyvaluedb backend
- name: mon_keyvaluedb
  type: str
  level: advanced
  desc: database backend to use for the mon database
  default: rocksdb
  services:
  - mon
  enum_values:
  - leveldb
  - rocksdb
  flags:
  - create
  with_legacy: true
# UNSAFE -- TESTING ONLY! Allows addition of a cache tier with preexisting snaps
- name: mon_debug_unsafe_allow_tier_with_nonempty_snaps
  type: bool
  level: dev
  default: false
  services:
  - mon
  with_legacy: true
# required of mon, mds, osd daemons
- name: auth_cluster_required
  type: str
  level: advanced
  desc: authentication methods required by the cluster
  fmt_desc: If enabled, the Ceph Storage Cluster daemons (i.e., ``ceph-mon``,
   ``ceph-osd``, ``ceph-mds`` and ``ceph-mgr``) must authenticate with
   each other. Valid settings are ``cephx`` or ``none``.
  default: cephx
  with_legacy: true
# required by daemons of clients
- name: auth_service_required
  type: str
  level: advanced
  desc: authentication methods required by service daemons
  fmt_desc: If enabled, the Ceph Storage Cluster daemons require Ceph Clients
   to authenticate with the Ceph Storage Cluster in order to access
   Ceph services. Valid settings are ``cephx`` or ``none``.
  default: cephx
  with_legacy: true
# what clients require of daemons
- name: auth_client_required
  type: str
  level: advanced
  desc: authentication methods allowed by clients
  fmt_desc: If enabled, the Ceph Client requires the Ceph Storage Cluster to
   authenticate with the Ceph Client. Valid settings are ``cephx``
   or ``none``.
  default: cephx, none
  with_legacy: true
# deprecated; default value for above if they are not defined.
- name: auth_supported
  type: str
  level: advanced
  desc: authentication methods required (deprecated)
  with_legacy: true
- name: max_rotating_auth_attempts
  type: int
  level: advanced
  desc: number of attempts to initialize rotating keys before giving up
  default: 10
  with_legacy: true
- name: rotating_keys_bootstrap_timeout
  type: int
  level: advanced
  desc: timeout for obtaining rotating keys during bootstrap phase (seconds)
  default: 30
- name: rotating_keys_renewal_timeout
  type: int
  level: advanced
  desc: timeout for updating rotating keys (seconds)
  default: 10
- name: cephx_require_signatures
  type: bool
  level: advanced
  default: false
  fmt_desc: If set to ``true``, Ceph requires signatures on all message
   traffic between the Ceph Client and the Ceph Storage Cluster, and
   between daemons comprising the Ceph Storage Cluster.

   Ceph Argonaut and Linux kernel versions prior to 3.19 do
   not support signatures; if such clients are in use this
   option can be turned off to allow them to connect.
  with_legacy: true
- name: cephx_require_version
  type: int
  level: advanced
  desc: Cephx version required (1 = pre-mimic, 2 = mimic+)
  default: 2
  with_legacy: true
- name: cephx_cluster_require_signatures
  type: bool
  level: advanced
  default: false
  fmt_desc:    If set to ``true``, Ceph requires signatures on all message
   traffic between Ceph daemons comprising the Ceph Storage Cluster.
  with_legacy: true
- name: cephx_cluster_require_version
  type: int
  level: advanced
  desc: Cephx version required by the cluster from clients (1 = pre-mimic, 2 = mimic+)
  default: 2
  with_legacy: true
- name: cephx_service_require_signatures
  type: bool
  level: advanced
  default: false
  fmt_desc: If set to ``true``, Ceph requires signatures on all message
   traffic between Ceph Clients and the Ceph Storage Cluster.
  with_legacy: true
- name: cephx_service_require_version
  type: int
  level: advanced
  desc: Cephx version required from ceph services (1 = pre-mimic, 2 = mimic+)
  default: 2
  with_legacy: true
# Default to signing session messages if supported
- name: cephx_sign_messages
  type: bool
  level: advanced
  default: true
  fmt_desc: If the Ceph version supports message signing, Ceph will sign
   all messages so they are more difficult to spoof.
  with_legacy: true
- name: auth_mon_ticket_ttl
  type: float
  level: advanced
  default: 72_hr
  with_legacy: true
- name: auth_service_ticket_ttl
  type: float
  level: advanced
  default: 1_hr
  fmt_desc: When the Ceph Storage Cluster sends a Ceph Client a ticket for
   authentication, the Ceph Storage Cluster assigns the ticket a
   time to live.
  with_legacy: true
- name: auth_allow_insecure_global_id_reclaim
  type: bool
  level: advanced
  desc: Allow reclaiming global_id without presenting a valid ticket proving
    previous possession of that global_id
  long_desc: Allowing unauthorized global_id (re)use poses a security risk.
    Unfortunately, older clients may omit their ticket on reconnects and
    therefore rely on this being allowed for preserving their global_id for
    the lifetime of the client instance. Setting this value to false would
    immediately prevent new connections from those clients (assuming
    auth_expose_insecure_global_id_reclaim set to true) and eventually break
    existing sessions as well (regardless of auth_expose_insecure_global_id_reclaim
    setting).
  default: true
  see_also:
  - mon_warn_on_insecure_global_id_reclaim
  - mon_warn_on_insecure_global_id_reclaim_allowed
  - auth_expose_insecure_global_id_reclaim
  with_legacy: true
- name: auth_expose_insecure_global_id_reclaim
  type: bool
  level: advanced
  desc: Force older clients that may omit their ticket on reconnects to
    reconnect as part of establishing a session
  long_desc: 'In permissive mode (auth_allow_insecure_global_id_reclaim set
    to true), this helps with identifying clients that are not patched. In
    enforcing mode (auth_allow_insecure_global_id_reclaim set to false), this
    is a fail-fast mechanism: don''t establish a session that will almost
    inevitably be broken later.'
  default: true
  see_also:
  - mon_warn_on_insecure_global_id_reclaim
  - mon_warn_on_insecure_global_id_reclaim_allowed
  - auth_allow_insecure_global_id_reclaim
  with_legacy: true
# if true, assert when weird things happen
- name: auth_debug
  type: bool
  level: dev
  default: false
  with_legacy: true
# how many mons to try to connect to in parallel during hunt
- name: mon_client_hunt_parallel
  type: uint
  level: advanced
  default: 3
  with_legacy: true
# try new mon every N seconds until we connect
- name: mon_client_hunt_interval
  type: float
  level: advanced
  default: 3
  fmt_desc: The client will try a new monitor every ``N`` seconds until it
    establishes a connection.
  with_legacy: true
# send logs every N seconds
- name: mon_client_log_interval
  type: float
  level: advanced
  desc: How frequently we send queued cluster log messages to mon
  default: 1
  with_legacy: true
# ping every N seconds
- name: mon_client_ping_interval
  type: float
  level: advanced
  default: 10
  fmt_desc: The client will ping the monitor every ``N`` seconds.
  with_legacy: true
# fail if we don't hear back
- name: mon_client_ping_timeout
  type: float
  level: advanced
  default: 30
  with_legacy: true
- name: mon_client_hunt_interval_backoff
  type: float
  level: advanced
  default: 1.5
  with_legacy: true
- name: mon_client_hunt_interval_min_multiple
  type: float
  level: advanced
  default: 1
  with_legacy: true
- name: mon_client_hunt_interval_max_multiple
  type: float
  level: advanced
  default: 10
  with_legacy: true
- name: mon_client_max_log_entries_per_message
  type: int
  level: advanced
  default: 1000
  fmt_desc: The maximum number of log entries a monitor will generate
    per client message.
  with_legacy: true
- name: mon_client_directed_command_retry
  type: int
  level: dev
  desc: Number of times to try sending a command directed at a specific monitor
  default: 2
  with_legacy: true
# whitespace-separated list of key=value pairs describing crush location
- name: crush_location
  type: str
  level: advanced
  with_legacy: true
- name: crush_location_hook
  type: str
  level: advanced
  with_legacy: true
- name: crush_location_hook_timeout
  type: int
  level: advanced
  default: 10
  with_legacy: true
- name: objecter_tick_interval
  type: float
  level: dev
  default: 5
  with_legacy: true
# before we ask for a map
- name: objecter_timeout
  type: float
  level: advanced
  desc: Seconds before in-flight op is considered 'laggy' and we query mon for the
    latest OSDMap
  default: 10
  with_legacy: true
- name: objecter_inflight_op_bytes
  type: size
  level: advanced
  desc: Max in-flight data in bytes (both directions)
  default: 100_M
  with_legacy: true
- name: objecter_inflight_ops
  type: uint
  level: advanced
  desc: Max in-flight operations
  default: 1_K
  with_legacy: true
# num of completion locks per each session, for serializing same object responses
- name: objecter_completion_locks_per_session
  type: uint
  level: dev
  default: 32
  with_legacy: true
# suppress watch pings
- name: objecter_inject_no_watch_ping
  type: bool
  level: dev
  default: false
  with_legacy: true
# ignore the first reply for each write, and resend the osd op instead
- name: objecter_retry_writes_after_first_reply
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: objecter_debug_inject_relock_delay
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: filer_max_purge_ops
  type: uint
  level: advanced
  desc: Max in-flight operations for purging a striped range (e.g., MDS journal)
  default: 10
  with_legacy: true
- name: filer_max_truncate_ops
  type: uint
  level: advanced
  desc: Max in-flight operations for truncating/deleting a striped sequence (e.g.,
    MDS journal)
  default: 128
  with_legacy: true
- name: journaler_write_head_interval
  type: int
  level: advanced
  desc: Interval in seconds between journal header updates (to help bound replay time)
  default: 15
# * journal object size
- name: journaler_prefetch_periods
  type: uint
  level: advanced
  desc: Number of striping periods to prefetch while reading MDS journal
  default: 10
  # we need at least 2 periods to make progress.
  min: 2
# * journal object size
- name: journaler_prezero_periods
  type: uint
  level: advanced
  desc: Number of striping periods to zero head of MDS journal write position
  default: 5
  # we need to zero at least two periods, minimum, to ensure that we
  # have a full empty object/period in front of us.
  min: 2
- name: osd_calc_pg_upmaps_aggressively
  type: bool
  level: advanced
  desc: try to calculate PG upmaps more aggressively, e.g., by doing a fairly exhaustive
    search of existing PGs that can be unmapped or upmapped
  default: true
  flags:
  - runtime
- name: osd_calc_pg_upmaps_aggressively_fast
  type: bool
  level: advanced
  desc: Prevent very long (>10 minutes) calculations in some extreme cases (applicable
    only to aggressive mode)
  default: true
  flags:
  - runtime
- name: osd_calc_pg_upmaps_local_fallback_retries
  type: uint
  level: advanced
  desc: 'Maximum number of PGs we can attempt to unmap or upmap for a specific overfull
    or underfull osd per iteration '
  default: 100
  flags:
  - runtime
# 1 = host
- name: osd_crush_chooseleaf_type
  type: int
  level: dev
  desc: default chooseleaf type for osdmaptool --create
  fmt_desc: The bucket type to use for ``chooseleaf`` in a CRUSH rule. Uses
    ordinal rank rather than name.
  default: 1
  flags:
  - cluster_create
  with_legacy: true
# try to use gmt for hitset archive names if all osds in cluster support it
- name: osd_pool_use_gmt_hitset
  type: bool
  level: dev
  desc: use UTC for hitset timestamps
  long_desc: This setting only exists for compatibility with hammer (and older) clusters.
  default: true
  with_legacy: true
# whether turn on fast read on the pool or not
- name: osd_pool_default_ec_fast_read
  type: bool
  level: advanced
  desc: set ec_fast_read for new erasure-coded pools
  fmt_desc: Whether to turn on fast read on the pool or not. It will be used as
    the default setting of newly created erasure coded pools if ``fast_read``
    is not specified at create time.
  default: false
  services:
  - mon
  with_legacy: true
- name: osd_pool_default_crush_rule
  type: int
  level: advanced
  desc: CRUSH rule for newly created pools
  fmt_desc: The default CRUSH rule to use when creating a replicated pool. The
    default value of ``-1`` means "pick the rule with the lowest numerical ID and
    use that".  This is to make pool creation work in the absence of rule 0.
  default: -1
  services:
  - mon
- name: osd_pool_default_size
  type: uint
  level: advanced
  desc: the number of copies of an object for new replicated pools
  fmt_desc: Sets the number of replicas for objects in the pool. The default
    value is the same as
    ``ceph osd pool set {pool-name} size {size}``.
  default: 3
  services:
  - mon
  min: 0
  max: 10
  flags:
  - runtime
- name: osd_pool_default_min_size
  type: uint
  level: advanced
  desc: the minimal number of copies allowed to write to a degraded pool for new replicated
    pools
  long_desc: 0 means no specific default; ceph will use size-size/2
  fmt_desc: Sets the minimum number of written replicas for objects in the
    pool in order to acknowledge an I/O operation to the client.  If
    minimum is not met, Ceph will not acknowledge the I/O to the
    client, **which may result in data loss**. This setting ensures
    a minimum number of replicas when operating in ``degraded`` mode.
    The default value is ``0`` which means no particular minimum. If ``0``,
    minimum is ``size - (size / 2)``.
  default: 0
  services:
  - mon
  see_also:
  - osd_pool_default_size
  min: 0
  max: 255
  flags:
  - runtime
- name: osd_pool_default_pg_num
  type: uint
  level: advanced
  desc: number of PGs for new pools
  fmt_desc: The default number of placement groups for a pool. The default
    value is the same as ``pg_num`` with ``mkpool``.
  long_desc: With default value of `osd_pool_default_pg_autoscale_mode` being 
    `on` the number of PGs for new pools will start out with 1 pg, unless the 
    user specifies the pg_num.
  default: 32
  services:
  - mon
  see_also: 
  - osd_pool_default_pg_autoscale_mode
  flags:
  - runtime
- name: osd_pool_default_pgp_num
  type: uint
  level: advanced
  desc: number of PGs for placement purposes (0 to match pg_num)
  fmt_desc: |
    The default number of placement groups for placement for a pool.
    The default value is the same as ``pgp_num`` with ``mkpool``.
    PG and PGP should be equal (for now). Note: should not be set unless
    autoscaling is disabled.
  default: 0
  services:
  - mon
  see_also:
  - osd_pool_default_pg_num
  - osd_pool_default_pg_autoscale_mode
  flags:
  - runtime
- name: osd_pool_default_type
  type: str
  level: advanced
  desc: default type of pool to create
  default: replicated
  services:
  - mon
  enum_values:
  - replicated
  - erasure
  flags:
  - runtime
- name: osd_pool_default_erasure_code_profile
  type: str
  level: advanced
  desc: default erasure code profile for new erasure-coded pools
  default: plugin=jerasure technique=reed_sol_van k=2 m=2
  services:
  - mon
  flags:
  - runtime
- name: osd_erasure_code_plugins
  type: str
  level: advanced
  desc: erasure code plugins to load
  default: @osd_erasure_code_plugins@
  services:
  - mon
  - osd
  flags:
  - startup
  with_legacy: true
- name: osd_pool_default_flags
  type: int
  level: dev
  desc: (integer) flags to set on new pools
  fmt_desc: The default flags for new pools.
  default: 0
  services:
  - mon
  with_legacy: true
# use new pg hashing to prevent pool/pg overlap
- name: osd_pool_default_flag_hashpspool
  type: bool
  level: advanced
  desc: set hashpspool (better hashing scheme) flag on new pools
  default: true
  services:
  - mon
  with_legacy: true
# pool can't be deleted
- name: osd_pool_default_flag_nodelete
  type: bool
  level: advanced
  desc: set nodelete flag on new pools
  fmt_desc: Set the ``nodelete`` flag on new pools, which prevents pool removal.
  default: false
  services:
  - mon
  with_legacy: true
# pool's pg and pgp num can't be changed
- name: osd_pool_default_flag_nopgchange
  type: bool
  level: advanced
  desc: set nopgchange flag on new pools
  fmt_desc: Set the ``nopgchange`` flag on new pools. Does not allow the number of PGs to be changed.
  default: false
  services:
  - mon
  with_legacy: true
# pool's size and min size can't be changed
- name: osd_pool_default_flag_nosizechange
  type: bool
  level: advanced
  desc: set nosizechange flag on new pools
  fmt_desc: Set the ``nosizechange`` flag on new pools. Does not allow the ``size`` to be changed.
  default: false
  services:
  - mon
  with_legacy: true
- name: osd_pool_default_flag_bulk
  type: bool
  level: advanced
  desc: set bulk flag on new pools
  fmt_desc: Set the ``bulk`` flag on new pools. Allowing autoscaler to use scale-down mode.
  default: false
  services:
  - mon
  with_legacy: true
- name: osd_pool_default_hit_set_bloom_fpp
  type: float
  level: advanced
  default: 0.05
  services:
  - mon
  see_also:
  - osd_tier_default_cache_hit_set_type
  with_legacy: true
- name: osd_pool_default_cache_target_dirty_ratio
  type: float
  level: advanced
  default: 0.4
  with_legacy: true
- name: osd_pool_default_cache_target_dirty_high_ratio
  type: float
  level: advanced
  default: 0.6
  with_legacy: true
- name: osd_pool_default_cache_target_full_ratio
  type: float
  level: advanced
  default: 0.8
  with_legacy: true
# seconds
- name: osd_pool_default_cache_min_flush_age
  type: int
  level: advanced
  default: 0
  with_legacy: true
# seconds
- name: osd_pool_default_cache_min_evict_age
  type: int
  level: advanced
  default: 0
  with_legacy: true
# max size to check for eviction
- name: osd_pool_default_cache_max_evict_check_size
  type: int
  level: advanced
  default: 10
  with_legacy: true
- name: osd_pool_default_pg_autoscale_mode
  type: str
  level: advanced
  desc: Default PG autoscaling behavior for new pools
  long_desc: With default value `on`, the autoscaler starts a new pool with 1
    pg, unless the user specifies the pg_num.
  default: 'on'
  enum_values:
  - 'off'
  - 'warn'
  - 'on'
  flags:
  - runtime
- name: osd_pool_default_read_lease_ratio
  type: float
  level: dev
  desc: Default read_lease_ratio for a pool, as a multiple of osd_heartbeat_grace
  long_desc: This should be <= 1.0 so that the read lease will have expired by the
    time we decide to mark a peer OSD down.
  default: 0.8
  see_also:
  - osd_heartbeat_grace
  flags:
  - runtime
  with_legacy: true
# min target size for a HitSet
- name: osd_hit_set_min_size
  type: int
  level: advanced
  default: 1000
  with_legacy: true
# max target size for a HitSet
- name: osd_hit_set_max_size
  type: int
  level: advanced
  default: 100000
  with_legacy: true
# rados namespace for hit_set tracking
- name: osd_hit_set_namespace
  type: str
  level: advanced
  default: .ceph-internal
  with_legacy: true
# conservative default throttling values
- name: osd_tier_promote_max_objects_sec
  type: uint
  level: advanced
  default: 25
  with_legacy: true
- name: osd_tier_promote_max_bytes_sec
  type: size
  level: advanced
  default: 5_M
  with_legacy: true
- name: osd_tier_default_cache_mode
  type: str
  level: advanced
  default: writeback
  enum_values:
  - none
  - writeback
  - forward
  - readonly
  - readforward
  - readproxy
  - proxy
  flags:
  - runtime
- name: osd_tier_default_cache_hit_set_count
  type: uint
  level: advanced
  default: 4
- name: osd_tier_default_cache_hit_set_period
  type: uint
  level: advanced
  default: 1200
- name: osd_tier_default_cache_hit_set_type
  type: str
  level: advanced
  default: bloom
  enum_values:
  - bloom
  - explicit_hash
  - explicit_object
  flags:
  - runtime
- name: osd_tier_default_cache_min_read_recency_for_promote
  type: uint
  level: advanced
  desc: number of recent HitSets the object must appear in to be promoted (on read)
  default: 1
- name: osd_tier_default_cache_min_write_recency_for_promote
  type: uint
  level: advanced
  desc: number of recent HitSets the object must appear in to be promoted (on write)
  default: 1
- name: osd_tier_default_cache_hit_set_grade_decay_rate
  type: uint
  level: advanced
  default: 20
- name: osd_tier_default_cache_hit_set_search_last_n
  type: uint
  level: advanced
  default: 1
- name: osd_objecter_finishers
  type: int
  level: advanced
  default: 1
  flags:
  - startup
  with_legacy: true
- name: osd_map_dedup
  type: bool
  level: advanced
  default: true
  fmt_desc: Enable removing duplicates in the OSD map.
  with_legacy: true
- name: osd_map_message_max
  type: int
  level: advanced
  desc: maximum number of OSDMaps to include in a single message
  fmt_desc: The maximum map entries allowed per MOSDMap message.
  default: 40
  services:
  - osd
  - mon
  with_legacy: true
- name: osd_map_message_max_bytes
  type: size
  level: advanced
  desc: maximum number of bytes worth of OSDMaps to include in a single message
  default: 10_M
  services:
  - osd
  - mon
  with_legacy: true
# do not assert on divergent_prior entries which aren't in the log and whose on-disk objects are newer
- name: osd_ignore_stale_divergent_priors
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: osd_heartbeat_interval
  type: int
  level: dev
  desc: Interval (in seconds) between peer pings
  fmt_desc: How often an Ceph OSD Daemon pings its peers (in seconds).
  default: 6
  min: 1
  max: 1_min
  with_legacy: true
# (seconds) how long before we decide a peer has failed
# This setting is read by the MONs and OSDs and has to be set to a equal value in both settings of the configuration
- name: osd_heartbeat_grace
  type: int
  level: advanced
  default: 20
  fmt_desc: The elapsed time when a Ceph OSD Daemon hasn't shown a heartbeat
              that the Ceph Storage Cluster considers it ``down``.
              This setting must be set in both the [mon] and [osd] or [global]
              sections so that it is read by both monitor and OSD daemons.
  with_legacy: true
- name: osd_heartbeat_stale
  type: int
  level: advanced
  desc: Interval (in seconds) we mark an unresponsive heartbeat peer as stale.
  long_desc: Automatically mark unresponsive heartbeat sessions as stale and tear
    them down. The primary benefit is that OSD doesn't need to keep a flood of blocked
    heartbeat messages around in memory.
  default: 10_min
# prio the heartbeat tcp socket and set dscp as CS6 on it if true
- name: osd_heartbeat_use_min_delay_socket
  type: bool
  level: advanced
  default: false
  with_legacy: true
# the minimum size of OSD heartbeat messages to send
- name: osd_heartbeat_min_size
  type: size
  level: advanced
  desc: Minimum heartbeat packet size in bytes. Will add dummy payload if heartbeat
    packet is smaller than this.
  default: 2000
  with_legacy: true
# max number of parallel snap trims/pg
- name: osd_pg_max_concurrent_snap_trims
  type: uint
  level: advanced
  default: 2
  min: 1
  with_legacy: true
# max number of trimming pgs
- name: osd_max_trimming_pgs
  type: uint
  level: advanced
  default: 2
  with_legacy: true
# minimum number of peers that must be reachable to mark ourselves
# back up after being wrongly marked down.
- name: osd_heartbeat_min_healthy_ratio
  type: float
  level: advanced
  default: 0.33
  with_legacy: true
# (seconds) how often to ping monitor if no peers
- name: osd_mon_heartbeat_interval
  type: int
  level: advanced
  default: 30
  fmt_desc: How often the Ceph OSD Daemon pings a Ceph Monitor if it has no
              Ceph OSD Daemon peers.
  with_legacy: true
- name: osd_mon_heartbeat_stat_stale
  type: int
  level: advanced
  desc: Stop reporting on heartbeat ping times not updated for this many seconds.
  long_desc: Stop reporting on old heartbeat information unless this is set to zero
  fmt_desc: Stop reporting on heartbeat ping times which haven't been updated for
              this many seconds.  Set to zero to disable this action.
  default: 1_hr
# failures, up_thru, boot.
- name: osd_mon_report_interval
  type: int
  level: advanced
  desc: Frequency of OSD reports to mon for peer failures, fullness status changes
  fmt_desc: The number of seconds a Ceph OSD Daemon may wait
              from startup or another reportable event before reporting
              to a Ceph Monitor.
  default: 5
  with_legacy: true
# max updates in flight
- name: osd_mon_report_max_in_flight
  type: int
  level: advanced
  default: 2
  with_legacy: true
# (second) how often to send beacon message to monitor
- name: osd_beacon_report_interval
  type: int
  level: advanced
  default: 5_min
  with_legacy: true
# report pg stats for any given pg at least this often
- name: osd_pg_stat_report_interval_max
  type: int
  level: advanced
  default: 500
  with_legacy: true
# Max number of snap intervals to report to mgr in pg_stat_t
- name: osd_max_snap_prune_intervals_per_epoch
  type: uint
  level: dev
  desc: Max number of snap intervals to report to mgr in pg_stat_t
  default: 512
  with_legacy: true
- name: osd_default_data_pool_replay_window
  type: int
  level: advanced
  default: 45
  fmt_desc: The time (in seconds) for an OSD to wait for a client to replay
    a request.
- name: osd_auto_mark_unfound_lost
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: osd_check_for_log_corruption
  type: bool
  level: advanced
  default: false
  fmt_desc: Check log files for corruption. Can be computationally expensive.
  with_legacy: true
- name: osd_use_stale_snap
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: osd_rollback_to_cluster_snap
  type: str
  level: advanced
  with_legacy: true
- name: osd_default_notify_timeout
  type: uint
  level: advanced
  desc: default number of seconds after which notify propagation times out. used if
    a client has not specified other value
  fmt_desc: The OSD default notification timeout (in seconds).
  default: 30
  with_legacy: true
- name: osd_kill_backfill_at
  type: int
  level: dev
  default: 0
  with_legacy: true
# Bounds how infrequently a new map epoch will be persisted for a pg
# make this < map_cache_size!
- name: osd_pg_epoch_persisted_max_stale
  type: uint
  level: advanced
  default: 40
  with_legacy: true
- name: osd_target_pg_log_entries_per_osd
  type: uint
  level: dev
  desc: target number of PG entries total on an OSD - limited per pg by the min and
    max options below
  default: 300000
  see_also:
  - osd_max_pg_log_entries
  - osd_min_pg_log_entries
  with_legacy: true
- name: osd_min_pg_log_entries
  type: uint
  level: dev
  desc: minimum number of entries to maintain in the PG log
  fmt_desc: The minimum number of placement group logs to maintain
    when trimming log files.
  default: 250
  services:
  - osd
  see_also:
  - osd_max_pg_log_entries
  - osd_pg_log_dups_tracked
  - osd_target_pg_log_entries_per_osd
  with_legacy: true
- name: osd_max_pg_log_entries
  type: uint
  level: dev
  desc: maximum number of entries to maintain in the PG log
  fmt_desc: The maximum number of placement group logs to maintain
    when trimming log files.
  default: 10000
  services:
  - osd
  see_also:
  - osd_min_pg_log_entries
  - osd_pg_log_dups_tracked
  - osd_target_pg_log_entries_per_osd
  with_legacy: true
- name: osd_pg_log_dups_tracked
  type: uint
  level: dev
  desc: how many versions back to track in order to detect duplicate ops; this is
    combined with both the regular pg log entries and additional minimal dup detection
    entries
  default: 3000
  services:
  - osd
  see_also:
  - osd_min_pg_log_entries
  - osd_max_pg_log_entries
  with_legacy: true
- name: osd_object_clean_region_max_num_intervals
  type: int
  level: dev
  desc: number of intervals in clean_offsets
  long_desc: partial recovery uses multiple intervals to record the clean part of
    the objectwhen the number of intervals is greater than osd_object_clean_region_max_num_intervals,
    minimum interval will be trimmed(0 will recovery the entire object data interval)
  default: 10
  services:
  - osd
  with_legacy: true
# max entries factor before force recovery
- name: osd_force_recovery_pg_log_entries_factor
  type: float
  level: dev
  default: 1.3
  with_legacy: true
- name: osd_pg_log_trim_min
  type: uint
  level: dev
  desc: Minimum number of log entries to trim at once. This lets us trim in larger
    batches rather than with each write.
  default: 100
  see_also:
  - osd_max_pg_log_entries
  - osd_min_pg_log_entries
  with_legacy: true
- name: osd_force_auth_primary_missing_objects
  type: uint
  level: advanced
  desc: Approximate missing objects above which to force auth_log_shard to be primary
    temporarily
  default: 100
- name: osd_async_recovery_min_cost
  type: uint
  level: advanced
  desc: A mixture measure of number of current log entries difference and historical
    missing objects,  above which we switch to use asynchronous recovery when appropriate
  default: 100
  flags:
  - runtime
- name: osd_max_pg_per_osd_hard_ratio
  type: float
  level: advanced
  desc: Maximum number of PG per OSD, a factor of 'mon_max_pg_per_osd'
  long_desc: OSD will refuse to instantiate PG if the number of PG it serves exceeds
    this number.
  fmt_desc: The ratio of number of PGs per OSD allowed by the cluster before the
    OSD refuses to create new PGs. An OSD stops creating new PGs if the number
    of PGs it serves exceeds
    ``osd_max_pg_per_osd_hard_ratio`` \* ``mon_max_pg_per_osd``.
  default: 3
  see_also:
  - mon_max_pg_per_osd
  min: 1
- name: osd_pg_log_trim_max
  type: uint
  level: advanced
  desc: maximum number of entries to remove at once from the PG log
  default: 10000
  services:
  - osd
  see_also:
  - osd_min_pg_log_entries
  - osd_max_pg_log_entries
  with_legacy: true
# how many seconds old makes an op complaint-worthy
- name: osd_op_complaint_time
  type: float
  level: advanced
  default: 30
  fmt_desc: An operation becomes complaint worthy after the specified number
    of seconds have elapsed.
  with_legacy: true
- name: osd_command_max_records
  type: int
  level: advanced
  default: 256
  fmt_desc: Limits the number of lost objects to return.
  with_legacy: true
# max peer osds to report that are blocking our progress
- name: osd_max_pg_blocked_by
  type: uint
  level: advanced
  default: 16
  with_legacy: true
- name: osd_op_log_threshold
  type: int
  level: advanced
  default: 5
  fmt_desc: How many operations logs to display at once.
  with_legacy: true
- name: osd_backoff_on_unfound
  type: bool
  level: advanced
  default: true
  with_legacy: true
# [mainly for debug?] object unreadable/writeable
- name: osd_backoff_on_degraded
  type: bool
  level: advanced
  default: false
  with_legacy: true
# [debug] pg peering
- name: osd_backoff_on_peering
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: osd_debug_shutdown
  type: bool
  level: dev
  desc: Turn up debug levels during shutdown
  default: false
  with_legacy: true
# crash osd if client ignores a backoff; useful for debugging
- name: osd_debug_crash_on_ignored_backoff
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_inject_dispatch_delay_probability
  type: float
  level: dev
  default: 0
  with_legacy: true
- name: osd_debug_inject_dispatch_delay_duration
  type: float
  level: dev
  default: 0.1
  with_legacy: true
- name: osd_debug_drop_ping_probability
  desc: N/A
  type: float
  level: dev
  default: 0
  with_legacy: true
- name: osd_debug_drop_ping_duration
  desc: N/A
  type: int
  level: dev
  default: 0
  with_legacy: true
- name: osd_debug_op_order
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_verify_missing_on_start
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_verify_snaps
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_verify_stray_on_activate
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_skip_full_check_in_backfill_reservation
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_reject_backfill_probability
  type: float
  level: dev
  default: 0
  with_legacy: true
# inject failure during copyfrom completion
- name: osd_debug_inject_copyfrom_error
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_misdirected_ops
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_skip_full_check_in_recovery
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_random_push_read_error
  type: float
  level: dev
  default: 0
  with_legacy: true
- name: osd_debug_verify_cached_snaps
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_deep_scrub_sleep
  type: float
  level: dev
  desc: Inject an expensive sleep during deep scrub IO to make it easier to induce
    preemption
  default: 0
  with_legacy: true
- name: osd_debug_no_acting_change
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_no_purge_strays
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: osd_debug_pretend_recovery_active
  type: bool
  level: dev
  default: false
  with_legacy: true
# enable/disable OSD op tracking
- name: osd_enable_op_tracker
  type: bool
  level: advanced
  default: true
  with_legacy: true
# The number of shards for holding the ops
- name: osd_num_op_tracker_shard
  type: uint
  level: advanced
  default: 32
  with_legacy: true
# Max number of completed ops to track
- name: osd_op_history_size
  type: uint
  level: advanced
  default: 20
  fmt_desc: The maximum number of completed operations to track.
  with_legacy: true
# Oldest completed op to track
- name: osd_op_history_duration
  type: uint
  level: advanced
  default: 600
  fmt_desc: The oldest completed operation to track.
  with_legacy: true
# Max number of slow ops to track
- name: osd_op_history_slow_op_size
  type: uint
  level: advanced
  default: 20
  with_legacy: true
# track the op if over this threshold
- name: osd_op_history_slow_op_threshold
  type: float
  level: advanced
  default: 10
  with_legacy: true
# to adjust various transactions that batch smaller items
- name: osd_target_transaction_size
  type: int
  level: advanced
  default: 30
  with_legacy: true
# what % full makes an OSD "full" (failsafe)
- name: osd_failsafe_full_ratio
  type: float
  level: advanced
  default: 0.97
  with_legacy: true
- name: osd_fast_shutdown
  type: bool
  level: advanced
  desc: Fast, immediate shutdown
  long_desc: Setting this to false makes the OSD do a slower teardown of all state
    when it receives a SIGINT or SIGTERM or when shutting down for any other reason.  That
    slow shutdown is primarilyy useful for doing memory leak checking with valgrind.
  default: true
  with_legacy: true
- name: osd_fast_shutdown_timeout
  type: int
  level: advanced
  desc: timeout in seconds for osd fast-shutdown (0 is unlimited)
  default: 15
  with_legacy: true
  min: 0
- name: osd_fast_shutdown_notify_mon
  type: bool
  level: advanced
  desc: Tell mon about OSD shutdown on immediate shutdown
  long_desc: Tell the monitor the OSD is shutting down on immediate shutdown. This
    helps with cluster log messages from other OSDs reporting it immediately failed.
  default: true
  see_also:
  - osd_fast_shutdown
  - osd_mon_shutdown_timeout
  with_legacy: true
# immediately mark OSDs as down once they refuse to accept connections
- name: osd_fast_fail_on_connection_refused
  type: bool
  level: advanced
  default: true
  fmt_desc: If this option is enabled, crashed OSDs are marked down
    immediately by connected peers and MONs (assuming that the
    crashed OSD host survives). Disable it to restore old
    behavior, at the expense of possible long I/O stalls when
    OSDs crash in the middle of I/O operations.
  with_legacy: true
- name: osd_pg_object_context_cache_count
  type: int
  level: advanced
  default: 64
  with_legacy: true
# true if LTTng-UST tracepoints should be enabled
- name: osd_tracing
  type: bool
  level: advanced
  default: false
  with_legacy: true
# true if function instrumentation should use LTTng
- name: osd_function_tracing
  type: bool
  level: advanced
  default: false
  with_legacy: true
# use fast info attr, if we can
- name: osd_fast_info
  type: bool
  level: advanced
  default: true
  with_legacy: true
# determines whether PGLog::check() compares written out log to stored log
- name: osd_debug_pg_log_writeout
  type: bool
  level: dev
  default: false
  with_legacy: true
# Max number of loop before we reset thread-pool's handle
- name: osd_loop_before_reset_tphandle
  type: uint
  level: advanced
  default: 64
  with_legacy: true
# default timeout while caling WaitInterval on an empty queue
- name: threadpool_default_timeout
  type: int
  level: advanced
  default: 1_min
  with_legacy: true
# default wait time for an empty queue before pinging the hb timeout
- name: threadpool_empty_queue_max_wait
  type: int
  level: advanced
  default: 2
  with_legacy: true
- name: leveldb_log_to_ceph_log
  type: bool
  level: advanced
  default: true
  with_legacy: true
- name: leveldb_write_buffer_size
  type: size
  level: advanced
  default: 8_M
  with_legacy: true
- name: leveldb_cache_size
  type: size
  level: advanced
  default: 128_M
  with_legacy: true
- name: leveldb_block_size
  type: size
  level: advanced
  default: 0
  with_legacy: true
- name: leveldb_bloom_size
  type: int
  level: advanced
  default: 0
  with_legacy: true
- name: leveldb_max_open_files
  type: int
  level: advanced
  default: 0
  with_legacy: true
- name: leveldb_compression
  type: bool
  level: advanced
  default: true
  with_legacy: true
- name: leveldb_paranoid
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: leveldb_log
  type: str
  level: advanced
  default: /dev/null
  with_legacy: true
- name: leveldb_compact_on_mount
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: rocksdb_log_to_ceph_log
  type: bool
  level: advanced
  default: true
  with_legacy: true
- name: rocksdb_cache_size
  type: size
  level: advanced
  default: 512_M
  flags:
  - runtime
  with_legacy: true
# ratio of cache for row (vs block)
- name: rocksdb_cache_row_ratio
  type: float
  level: advanced
  default: 0
  with_legacy: true
# rocksdb block cache shard bits, 4 bit -> 16 shards
- name: rocksdb_cache_shard_bits
  type: int
  level: advanced
  default: 4
  with_legacy: true
# 'lru' or 'clock'
- name: rocksdb_cache_type
  type: str
  level: advanced
  default: binned_lru
  with_legacy: true
- name: rocksdb_block_size
  type: size
  level: advanced
  default: 4_K
  with_legacy: true
# Enabling this will have 5-10% impact on performance for the stats collection
- name: rocksdb_perf
  type: bool
  level: advanced
  default: false
  with_legacy: true
# For rocksdb, this behavior will be an overhead of 5%~10%, collected only rocksdb_perf is enabled.
- name: rocksdb_collect_compaction_stats
  type: bool
  level: advanced
  default: false
  with_legacy: true
# For rocksdb, this behavior will be an overhead of 5%~10%, collected only rocksdb_perf is enabled.
- name: rocksdb_collect_extended_stats
  type: bool
  level: advanced
  default: false
  with_legacy: true
# For rocksdb, this behavior will be an overhead of 5%~10%, collected only rocksdb_perf is enabled.
- name: rocksdb_collect_memory_stats
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: rocksdb_delete_range_threshold
  type: uint
  level: advanced
  desc: The number of keys required to invoke DeleteRange when deleting muliple keys.
  default: 1_M
- name: rocksdb_bloom_bits_per_key
  type: uint
  level: advanced
  desc: Number of bits per key to use for RocksDB's bloom filters.
  long_desc: 'RocksDB bloom filters can be used to quickly answer the question of
    whether or not a key may exist or definitely does not exist in a given RocksDB
    SST file without having to read all keys into memory.  Using a higher bit value
    decreases the likelihood of false positives at the expense of additional disk
    space and memory consumption when the filter is loaded into RAM.  The current
    default value of 20 was found to provide significant performance gains when getattr
    calls are made (such as during new object creation in bluestore) without significant
    memory overhead or cache pollution when combined with rocksdb partitioned index
    filters.  See: https://github.com/facebook/rocksdb/wiki/Partitioned-Index-Filters
    for more information.'
  default: 20
- name: rocksdb_cache_index_and_filter_blocks
  type: bool
  level: dev
  desc: Whether to cache indices and filters in block cache
  long_desc: By default RocksDB will load an SST file's index and bloom filters into
    memory when it is opened and remove them from memory when an SST file is closed.  Thus,
    memory consumption by indices and bloom filters is directly tied to the number
    of concurrent SST files allowed to be kept open.  This option instead stores cached
    indicies and filters in the block cache where they directly compete with other
    cached data.  By default we set this option to true to better account for and
    bound rocksdb memory usage and keep filters in memory even when an SST file is
    closed.
  default: true
- name: rocksdb_cache_index_and_filter_blocks_with_high_priority
  type: bool
  level: dev
  desc: Whether to cache indices and filters in the block cache with high priority
  long_desc: A downside of setting rocksdb_cache_index_and_filter_blocks to true is
    that regular data can push indices and filters out of memory.  Setting this option
    to true means they are cached with higher priority than other data and should
    typically stay in the block cache.
  default: false
- name: rocksdb_pin_l0_filter_and_index_blocks_in_cache
  type: bool
  level: dev
  desc: Whether to pin Level 0 indices and bloom filters in the block cache
  long_desc: A downside of setting rocksdb_cache_index_and_filter_blocks to true is
    that regular data can push indices and filters out of memory.  Setting this option
    to true means that level 0 SST files will always have their indices and filters
    pinned in the block cache.
  default: false
- name: rocksdb_index_type
  type: str
  level: dev
  desc: 'Type of index for SST files: binary_search, hash_search, two_level'
  long_desc: 'This option controls the table index type.  binary_search is a space
    efficient index block that is optimized for block-search-based index. hash_search
    may improve prefix lookup performance at the expense of higher disk and memory
    usage and potentially slower compactions.  two_level is an experimental index
    type that uses two binary search indexes and works in conjunction with partition
    filters.  See: http://rocksdb.org/blog/2017/05/12/partitioned-index-filter.html'
  default: binary_search
- name: rocksdb_partition_filters
  type: bool
  level: dev
  desc: (experimental) partition SST index/filters into smaller blocks
  long_desc: 'This is an experimental option for rocksdb that works in conjunction
    with two_level indices to avoid having to keep the entire filter/index in cache
    when cache_index_and_filter_blocks is true.  The idea is to keep a much smaller
    top-level index in heap/cache and then opportunistically cache the lower level
    indices.  See: https://github.com/facebook/rocksdb/wiki/Partitioned-Index-Filters'
  default: false
- name: rocksdb_metadata_block_size
  type: size
  level: dev
  desc: The block size for index partitions. (0 = rocksdb default)
  default: 4_K
# osd_*_priority adjust the relative priority of client io, recovery io,
# snaptrim io, etc
#
# osd_*_priority determines the ratio of available io between client and
# recovery.  Each option may be set between
# 1..63.
- name: rocksdb_cf_compact_on_deletion
  type: bool
  level: dev
  desc: Compact the column family when a certain number of tombstones are observed within a given window.
  long_desc: 'This setting instructs RocksDB to compact a column family when a certain
    number of tombstones are observed during iteration within a certain sliding window.
    For instance if rocksdb_cf_compact_on_deletion_sliding_window is 8192 and
    rocksdb_cf_compact_on_deletion_trigger is 4096,  then once 4096 tombstones are
    observed after iteration over 8192 entries, the column family will be compacted.'
  default: true
  with_legacy: true
  see_also:
  - rocksdb_cf_compact_on_deletion_sliding_window
  - rocksdb_cf_compact_on_deletion_trigger
- name: rocksdb_cf_compact_on_deletion_sliding_window
  type: int
  level: dev
  desc: The sliding window to use when rocksdb_cf_compact_on_deletion is enabled.
  default: 32768
  with_legacy: true
  see_also:
  - rocksdb_cf_compact_on_deletion
- name: rocksdb_cf_compact_on_deletion_trigger
  type: int
  level: dev
  desc: The trigger to use when rocksdb_cf_compact_on_deletion is enabled.
  default: 16384
  with_legacy: true
  see_also:
  - rocksdb_cf_compact_on_deletion
- name: osd_client_op_priority
  type: uint
  level: advanced
  default: 63
  fmt_desc: The priority set for client operations.  This value is relative
    to that of ``osd_recovery_op_priority`` below.  The default
    strongly favors client ops over recovery.
  with_legacy: true
- name: osd_recovery_op_priority
  type: uint
  level: advanced
  desc: Priority to use for recovery operations if not specified for the pool
  fmt_desc: The priority of recovery operations vs client operations, if not specified by the
    pool's ``recovery_op_priority``.  The default value prioritizes client
    ops (see above) over recovery ops.  You may adjust the tradeoff of client
    impact against the time to restore cluster health by lowering this value
    for increased prioritization of client ops, or by increasing it to favor
    recovery.
  default: 3
  with_legacy: true
- name: osd_peering_op_priority
  type: uint
  level: dev
  default: 255
  with_legacy: true
- name: osd_snap_trim_priority
  type: uint
  level: advanced
  default: 5
  fmt_desc: The priority set for the snap trim work queue.
  with_legacy: true
- name: osd_snap_trim_cost
  type: size
  level: advanced
  default: 1_M
  with_legacy: true
- name: osd_pg_delete_priority
  type: uint
  level: advanced
  default: 5
  with_legacy: true
- name: osd_pg_delete_cost
  type: size
  level: advanced
  default: 1_M
  with_legacy: true
- name: osd_scrub_priority
  type: uint
  level: advanced
  desc: Priority for scrub operations in work queue
  fmt_desc: The default work queue priority for scheduled scrubs when the
    pool doesn't specify a value of ``scrub_priority``.  This can be
    boosted to the value of ``osd_client_op_priority`` when scrubs are
    blocking client operations.
  default: 5
  with_legacy: true
- name: osd_scrub_cost
  type: size
  level: advanced
  desc: Cost for scrub operations in work queue
  default: 50_M
  with_legacy: true
- name: osd_scrub_event_cost
  type: size
  level: advanced
  desc: Cost for each scrub operation, used when osd_op_queue=mclock_scheduler
  default: 4_K
  with_legacy: true
# set requested scrub priority higher than scrub priority to make the
# requested scrubs jump the queue of scheduled scrubs
- name: osd_requested_scrub_priority
  type: uint
  level: advanced
  default: 120
  fmt_desc: The priority set for user requested scrub on the work queue.  If
    this value were to be smaller than ``osd_client_op_priority`` it
    can be boosted to the value of ``osd_client_op_priority`` when
    scrub is blocking client operations.
  with_legacy: true
- name: osd_recovery_priority
  type: uint
  level: advanced
  desc: Priority of recovery in the work queue
  long_desc: Not related to a pool's recovery_priority
  fmt_desc: The default priority set for recovery work queue.  Not
    related to a pool's ``recovery_priority``.
  default: 5
  with_legacy: true
# set default cost equal to 20MB io
- name: osd_recovery_cost
  type: size
  level: advanced
  default: 20_M
  with_legacy: true
# osd_recovery_op_warn_multiple scales the normal warning threshold,
# osd_op_complaint_time, so that slow recovery ops won't cause noise
- name: osd_recovery_op_warn_multiple
  type: uint
  level: advanced
  default: 16
  with_legacy: true
# Max time to wait between notifying mon of shutdown and shutting down
- name: osd_mon_shutdown_timeout
  type: float
  level: advanced
  default: 5
  with_legacy: true
# crash if the OSD has stray PG refs on shutdown
- name: osd_shutdown_pgref_assert
  type: bool
  level: advanced
  default: false
  with_legacy: true
# OSD's maximum object size
- name: osd_max_object_size
  type: size
  level: advanced
  default: 128_M
  fmt_desc: The maximum size of a RADOS object in bytes.
  with_legacy: true
# max rados object name len
- name: osd_max_object_name_len
  type: uint
  level: advanced
  default: 2_K
  with_legacy: true
# max rados object namespace len
- name: osd_max_object_namespace_len
  type: uint
  level: advanced
  default: 256
  with_legacy: true
# max rados attr name len; cannot go higher than 100 chars for file system backends
- name: osd_max_attr_name_len
  type: uint
  level: advanced
  default: 100
  with_legacy: true
- name: osd_max_attr_size
  type: uint
  level: advanced
  default: 0
  with_legacy: true
- name: osd_max_omap_entries_per_request
  type: uint
  level: advanced
  default: 1_K
  with_legacy: true
- name: osd_max_omap_bytes_per_request
  type: size
  level: advanced
  default: 1_G
  with_legacy: true
# osd_recovery_op_warn_multiple scales the normal warning threshold,
# osd_op_complaint_time, so that slow recovery ops won't cause noise
- name: osd_max_write_op_reply_len
  type: size
  level: advanced
  desc: Max size of the per-op payload for requests with the RETURNVEC flag set
  long_desc: This value caps the amount of data (per op; a request may have many ops)
    that will be sent back to the client and recorded in the PG log.
  default: 64
  with_legacy: true
- name: osd_objectstore
  type: str
  level: advanced
  desc: backend type for an OSD (like filestore or bluestore)
  default: bluestore
  enum_values:
  - bluestore
  - filestore
  - memstore
  - kstore
  - seastore
  - cyanstore
  flags:
  - create
  with_legacy: true
# true if LTTng-UST tracepoints should be enabled
- name: osd_objectstore_tracing
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: osd_objectstore_fuse
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: osd_bench_small_size_max_iops
  type: uint
  level: advanced
  default: 100
  with_legacy: true
- name: osd_bench_large_size_max_throughput
  type: size
  level: advanced
  default: 100_M
  with_legacy: true
- name: osd_bench_max_block_size
  type: size
  level: advanced
  default: 64_M
  with_legacy: true
# duration of 'osd bench', capped at 30s to avoid triggering timeouts
- name: osd_bench_duration
  type: uint
  level: advanced
  default: 30
  with_legacy: true
# create a blkin trace for all osd requests
- name: osd_blkin_trace_all
  type: bool
  level: advanced
  default: false
  with_legacy: true
# create a blkin trace for all objecter requests
- name: osdc_blkin_trace_all
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: osd_discard_disconnected_ops
  type: bool
  level: advanced
  default: true
  with_legacy: true
- name: osd_memory_target
  type: size
  level: basic
  desc: When tcmalloc and cache autotuning is enabled, try to keep this many bytes
    mapped in memory.
  long_desc: The minimum value must be at least equal to osd_memory_base + osd_memory_cache_min.
  fmt_desc: |
    When TCMalloc is available and cache autotuning is enabled, try to
    keep this many bytes mapped in memory. Note: This may not exactly
    match the RSS memory usage of the process.  While the total amount
    of heap memory mapped by the process should usually be close
    to this target, there is no guarantee that the kernel will actually
    reclaim  memory that has been unmapped.  During initial development,
    it was found that some kernels result in the OSD's RSS memory
    exceeding the mapped memory by up to 20%.  It is hypothesised
    however, that the kernel generally may be more aggressive about
    reclaiming unmapped memory when there is a high amount of memory
    pressure.  Your mileage may vary.
  default: 4_G
  see_also:
  - bluestore_cache_autotune
  - osd_memory_cache_min
  - osd_memory_base
  - osd_memory_target_autotune
  min: 896_M
  flags:
  - runtime
- name: osd_memory_target_autotune
  type: bool
  default: false
  level: advanced
  desc: If enabled, allow orchestrator to automatically tune osd_memory_target
  see_also:
  - osd_memory_target
- name: osd_memory_target_cgroup_limit_ratio
  type: float
  level: advanced
  desc: Set the default value for osd_memory_target to the cgroup memory limit (if
    set) times this value
  long_desc: A value of 0 disables this feature.
  default: 0.8
  see_also:
  - osd_memory_target
  min: 0
  max: 1
- name: osd_memory_base
  type: size
  level: dev
  desc: When tcmalloc and cache autotuning is enabled, estimate the minimum amount
    of memory in bytes the OSD will need.
  fmt_desc: When TCMalloc and cache autotuning are enabled, estimate the minimum
    amount of memory in bytes the OSD will need.  This is used to help
    the autotuner estimate the expected aggregate memory consumption of
    the caches.
  default: 768_M
  see_also:
  - bluestore_cache_autotune
  flags:
  - runtime
- name: osd_memory_expected_fragmentation
  type: float
  level: dev
  desc: When tcmalloc and cache autotuning is enabled, estimate the percent of memory
    fragmentation.
  fmt_desc: When TCMalloc and cache autotuning is enabled, estimate the
    percentage of memory fragmentation.  This is used to help the
    autotuner estimate the expected aggregate memory consumption
    of the caches.
  default: 0.15
  see_also:
  - bluestore_cache_autotune
  min: 0
  max: 1
  flags:
  - runtime
- name: osd_memory_cache_min
  type: size
  level: dev
  desc: When tcmalloc and cache autotuning is enabled, set the minimum amount of memory
    used for caches.
  fmt_desc: |
    When TCMalloc and cache autotuning are enabled, set the minimum
    amount of memory used for caches. Note: Setting this value too
    low can result in significant cache thrashing.
  default: 128_M
  see_also:
  - bluestore_cache_autotune
  min: 128_M
  flags:
  - runtime
- name: osd_memory_cache_resize_interval
  type: float
  level: dev
  desc: When tcmalloc and cache autotuning is enabled, wait this many seconds between
    resizing caches.
  fmt_desc: When TCMalloc and cache autotuning are enabled, wait this many
    seconds between resizing caches.  This setting changes the total
    amount of memory available for BlueStore to use for caching.  Note
    that setting this interval too small can result in memory allocator
    thrashing and lower performance.
  default: 1
  see_also:
  - bluestore_cache_autotune
- name: memstore_device_bytes
  type: size
  level: advanced
  default: 1_G
  with_legacy: true
- name: memstore_page_set
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: memstore_page_size
  type: size
  level: advanced
  default: 64_K
  with_legacy: true
- name: memstore_debug_omit_block_device_write
  type: bool
  level: dev
  desc: write metadata only
  default: false
  see_also:
  - bluestore_debug_omit_block_device_write
  with_legacy: true
- name: objectstore_blackhole
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: bdev_debug_inflight_ios
  type: bool
  level: dev
  default: false
  with_legacy: true
# if N>0, then ~ 1/N IOs will complete before we crash on flush
- name: bdev_inject_crash
  type: int
  level: dev
  default: 0
  with_legacy: true
# wait N more seconds on flush
- name: bdev_inject_crash_flush_delay
  type: int
  level: dev
  default: 2
  with_legacy: true
- name: bdev_aio
  type: bool
  level: advanced
  default: true
  with_legacy: true
# milliseconds
- name: bdev_aio_poll_ms
  type: int
  level: advanced
  default: 250
  with_legacy: true
- name: bdev_aio_max_queue_depth
  type: int
  level: advanced
  default: 1024
  with_legacy: true
- name: bdev_aio_reap_max
  type: int
  level: advanced
  default: 16
  with_legacy: true
- name: bdev_block_size
  type: size
  level: advanced
  default: 4_K
  with_legacy: true
- name: bdev_read_buffer_alignment
  type: size
  level: advanced
  default: 4_K
  with_legacy: true
- name: bdev_read_preallocated_huge_buffers
  type: str
  level: advanced
  desc: description of pools arrangement for huge page-based read buffers
  long_desc: Arrangement of preallocated, huge pages-based pools for reading
    from a KernelDevice. Applied to minimize size of scatter-gather lists
    sent to NICs. Targets really  big buffers (>= 2 or 4 MBs).
    Keep in mind the system must be configured accordingly (see /proc/sys/vm/nr_hugepages).
    Otherwise the OSD wil fail early.
    Beware BlueStore, by default, stores large chunks across many smaller blobs.
    Increasing bluestore_max_blob_size changes that, and thus allows the data to
    be read back into small number of huge page-backed buffers.
  fmt_desc: List of key=value pairs delimited by comma, semicolon or tab.
    key specifies the targeted read size and must be expressed in bytes.
    value specifies the number of preallocated buffers.
    For instance, to preallocate 64 buffers that will be used to serve
    2 MB-sized read requests and 128 for 4 MB, someone needs to set
    "2097152=64,4194304=128".
  see_also:
  - bluestore_max_blob_size
- name: bdev_debug_aio
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: bdev_debug_aio_suicide_timeout
  type: float
  level: dev
  default: 1_min
  with_legacy: true
- name: bdev_debug_aio_log_age
  type: float
  level: dev
  default: 5
  with_legacy: true
# if yes, osd will unbind all NVMe devices from kernel driver and bind them
# to the uio_pci_generic driver. The purpose is to prevent the case where
# NVMe driver is loaded while osd is running.
- name: bdev_nvme_unbind_from_kernel
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: bdev_enable_discard
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: bdev_async_discard
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: bdev_flock_retry_interval
  type: float
  level: advanced
  desc: interval to retry the flock
  default: 0.1
- name: bdev_flock_retry
  type: uint
  level: advanced
  desc: times to retry the flock
  long_desc: The number of times to retry on getting the block device lock. Programs
    such as systemd-udevd may compete with Ceph for this lock. 0 means 'unlimited'.
  default: 3
- name: bluefs_alloc_size
  type: size
  level: advanced
  desc: Allocation unit size for DB and WAL devices
  default: 1_M
  with_legacy: true
- name: bluefs_shared_alloc_size
  type: size
  level: advanced
  desc: Allocation unit size for primary/shared device
  default: 64_K
  with_legacy: true
- name: bluefs_failed_shared_alloc_cooldown
  type: float
  level: advanced
  desc: duration(in seconds) untill the next attempt to use
   'bluefs_shared_alloc_size' after facing ENOSPC failure.
  long_desc: Cooldown period(in seconds) when BlueFS uses shared/slow device
   allocation size instead of "bluefs_shared_alloc_size' one after facing
   recoverable (via fallback to smaller chunk size) ENOSPC failure. Intended
   primarily to avoid repetitive unsuccessful allocations which might be
   expensive.
  default: 600
  with_legacy: true
- name: bluefs_max_prefetch
  type: size
  level: advanced
  default: 1_M
  with_legacy: true
# alloc when we get this low
- name: bluefs_min_log_runway
  type: size
  level: advanced
  default: 1_M
  with_legacy: true
# alloc this much at a time
- name: bluefs_max_log_runway
  type: size
  level: advanced
  default: 4_M
  with_legacy: true
# before we consider
- name: bluefs_log_compact_min_ratio
  type: float
  level: advanced
  default: 5
  with_legacy: true
# before we consider
- name: bluefs_log_compact_min_size
  type: size
  level: advanced
  default: 16_M
  with_legacy: true
# ignore flush until its this big
- name: bluefs_min_flush_size
  type: size
  level: advanced
  default: 512_K
  with_legacy: true
# sync or async log compaction
- name: bluefs_compact_log_sync
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: bluefs_buffered_io
  type: bool
  level: advanced
  desc: Enabled buffered IO for bluefs reads.
  long_desc: When this option is enabled, bluefs will in some cases perform buffered
    reads.  This allows the kernel page cache to act as a secondary cache for things
    like RocksDB block reads.  For example, if the rocksdb block cache isn't large
    enough to hold all blocks during OMAP iteration, it may be possible to read them
    from page cache instead of from the disk.  This can dramatically improve
    performance when the osd_memory_target is too small to hold all entries in block
    cache but it does come with downsides.  It has been reported to occasionally
    cause excessive kernel swapping (and associated stalls) under certain workloads.
    Currently the best and most consistent performing combination appears to be
    enabling bluefs_buffered_io and disabling system level swap.  It is possible
    that this recommendation may change in the future however.
  default: true
  with_legacy: true
- name: bluefs_sync_write
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: bluefs_allocator
  type: str
  level: dev
  default: hybrid
  enum_values:
  - bitmap
  - stupid
  - avl
  - hybrid
  with_legacy: true
- name: bluefs_log_replay_check_allocations
  type: bool
  level: advanced
  desc: Enables checks for allocations consistency during log replay
  default: true
  with_legacy: true
- name: bluefs_replay_recovery
  type: bool
  level: dev
  desc: Attempt to read bluefs log so large that it became unreadable.
  long_desc: If BlueFS log grows to extreme sizes (200GB+) it is likely that it becames
    unreadable. This options enables heuristics that scans devices for missing data.
    DO NOT ENABLE BY DEFAULT
  default: false
  with_legacy: true
- name: bluefs_replay_recovery_disable_compact
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: bluefs_check_for_zeros
  type: bool
  level: dev
  desc: Check data read for suspicious pages
  long_desc: Looks into data read to check if there is a 4K block entirely filled
    with zeros. If this happens, we re-read data. If there is difference, we print
    error to log.
  default: false
  see_also:
  - bluestore_retry_disk_reads
  flags:
  - runtime
  with_legacy: true
- name: bluefs_check_volume_selector_on_umount
  type: bool
  level: dev
  desc: Check validity of volume selector on umount
  long_desc: Checks if volume selector did not diverge from the state it should be in.
    Reference is constructed from bluefs inode table. Asserts on inconsistency.
  default: false
  flags:
  - runtime
  with_legacy: true
- name: bluefs_check_volume_selector_often
  type: bool
  level: dev
  desc: Periodically check validity of volume selector
  long_desc: Periodically checks if current volume selector does not diverge from the valid state.
    Reference is constructed from bluefs inode table. Asserts on inconsistency. This is debug feature.
  default: false
  see_also:
  - bluefs_check_volume_selector_on_umount
  flags:
  - startup
  with_legacy: true
- name: bluestore_bluefs
  type: bool
  level: dev
  desc: Use BlueFS to back rocksdb
  long_desc: BlueFS allows rocksdb to share the same physical device(s) as the rest
    of BlueStore.  It should be used in all cases unless testing/developing an alternative
    metadata database for BlueStore.
  default: true
  flags:
  - create
  with_legacy: true
# mirror to normal Env for debug
- name: bluestore_bluefs_env_mirror
  type: bool
  level: dev
  desc: Mirror bluefs data to file system for testing/validation
  default: false
  flags:
  - create
  with_legacy: true
- name: bluestore_bluefs_max_free
  type: size
  level: advanced
  default: 10_G
  desc: Maximum free space allocated to BlueFS
- name: bluestore_bluefs_alloc_failure_dump_interval
  type: float
  level: advanced
  desc: How frequently (in seconds) to dump allocator on BlueFS space allocation failure
  default: 0
  with_legacy: true
- name: bluestore_spdk_mem
  type: size
  level: dev
  desc: Amount of dpdk memory size in MB
  long_desc: If running multiple SPDK instances per node, you must specify the amount
    of dpdk memory size in MB each instance will use, to make sure each instance uses
    its own dpdk memory
  default: 512
- name: bluestore_spdk_coremask
  type: str
  level: dev
  desc: A hexadecimal bit mask of the cores to run on. Note the core numbering can
    change between platforms and should be determined beforehand
  default: '0x1'
- name: bluestore_spdk_max_io_completion
  type: uint
  level: dev
  desc: Maximal I/Os to be batched completed while checking queue pair completions,
    0 means let spdk library determine it
  default: 0
- name: bluestore_spdk_io_sleep
  type: uint
  level: dev
  desc: Time period to wait if there is no completed I/O from polling
  default: 5
# If you want to use spdk driver, you need to specify NVMe serial number here
# with "spdk:" prefix.
# Users can use 'lspci -vvv -d 8086:0953 | grep "Device Serial Number"' to
# get the serial number of Intel(R) Fultondale NVMe controllers.
# Example:
# bluestore_block_path = spdk:55cd2e404bd73932
- name: bluestore_block_path
  type: str
  level: dev
  desc: Path to block device/file
  flags:
  - create
  with_legacy: true
- name: bluestore_block_size
  type: size
  level: dev
  desc: Size of file to create for backing bluestore
  default: 100_G
  flags:
  - create
  with_legacy: true
- name: bluestore_block_create
  type: bool
  level: dev
  desc: Create bluestore_block_path if it doesn't exist
  default: true
  see_also:
  - bluestore_block_path
  - bluestore_block_size
  flags:
  - create
  with_legacy: true
- name: bluestore_block_db_path
  type: str
  level: dev
  desc: Path for db block device
  flags:
  - create
  with_legacy: true
# rocksdb ssts (hot/warm)
- name: bluestore_block_db_size
  type: size
  level: dev
  desc: Size of file to create for bluestore_block_db_path
  default: 0
  flags:
  - create
  with_legacy: true
- name: bluestore_block_db_create
  type: bool
  level: dev
  desc: Create bluestore_block_db_path if it doesn't exist
  default: false
  see_also:
  - bluestore_block_db_path
  - bluestore_block_db_size
  flags:
  - create
  with_legacy: true
- name: bluestore_block_wal_path
  type: str
  level: dev
  desc: Path to block device/file backing bluefs wal
  flags:
  - create
  with_legacy: true
# rocksdb wal
- name: bluestore_block_wal_size
  type: size
  level: dev
  desc: Size of file to create for bluestore_block_wal_path
  default: 96_M
  flags:
  - create
  with_legacy: true
- name: bluestore_block_wal_create
  type: bool
  level: dev
  desc: Create bluestore_block_wal_path if it doesn't exist
  default: false
  see_also:
  - bluestore_block_wal_path
  - bluestore_block_wal_size
  flags:
  - create
  with_legacy: true
# whether preallocate space if block/db_path/wal_path is file rather that block device.
- name: bluestore_block_preallocate_file
  type: bool
  level: dev
  desc: Preallocate file created via bluestore_block*_create
  default: false
  flags:
  - create
  with_legacy: true
- name: bluestore_ignore_data_csum
  type: bool
  level: dev
  desc: Ignore checksum errors on read and do not generate an EIO error
  default: false
  flags:
  - runtime
  with_legacy: true
- name: bluestore_csum_type
  type: str
  level: advanced
  desc: Default checksum algorithm to use
  long_desc: crc32c, xxhash32, and xxhash64 are available.  The _16 and _8 variants
    use only a subset of the bits for more compact (but less reliable) checksumming.
  fmt_desc: The default checksum algorithm to use.
  default: crc32c
  enum_values:
  - none
  - crc32c
  - crc32c_16
  - crc32c_8
  - xxhash32
  - xxhash64
  flags:
  - runtime
  with_legacy: true
- name: bluestore_retry_disk_reads
  type: uint
  level: advanced
  desc: Number of read retries on checksum validation error
  long_desc: Retries to read data from the disk this many times when checksum validation
    fails to handle spurious read errors gracefully.
  default: 3
  min: 0
  max: 255
  flags:
  - runtime
  with_legacy: true
- name: bluestore_min_alloc_size
  type: uint
  level: advanced
  desc: Minimum allocation size to allocate for an object
  long_desc: A smaller allocation size generally means less data is read and then
    rewritten when a copy-on-write operation is triggered (e.g., when writing to something
    that was recently snapshotted).  Similarly, less data is journaled before performing
    an overwrite (writes smaller than min_alloc_size must first pass through the BlueStore
    journal).  Larger values of min_alloc_size reduce the amount of metadata required
    to describe the on-disk layout and reduce overall fragmentation.
  default: 0
  flags:
  - create
  with_legacy: true
- name: bluestore_min_alloc_size_hdd
  type: size
  level: advanced
  desc: Default min_alloc_size value for rotational media
  default: 4_K
  see_also:
  - bluestore_min_alloc_size
  flags:
  - create
  with_legacy: true
- name: bluestore_min_alloc_size_ssd
  type: size
  level: advanced
  desc: Default min_alloc_size value for non-rotational (solid state)  media
  default: 4_K
  see_also:
  - bluestore_min_alloc_size
  flags:
  - create
  with_legacy: true
- name: bluestore_use_optimal_io_size_for_min_alloc_size 
  type: bool
  level: advanced
  desc: Discover media optimal IO Size and use for min_alloc_size
  default: false
  see_also:
  - bluestore_min_alloc_size
  flags:
  - create
  with_legacy: true
- name: bluestore_max_alloc_size
  type: size
  level: advanced
  desc: Maximum size of a single allocation (0 for no max)
  default: 0
  flags:
  - create
  with_legacy: true
- name: bluestore_prefer_deferred_size
  type: size
  level: advanced
  desc: Writes smaller than this size will be written to the journal and then asynchronously
    written to the device.  This can be beneficial when using rotational media where
    seeks are expensive, and is helpful both with and without solid state journal/wal
    devices.
  default: 0
  flags:
  - runtime
  with_legacy: true
- name: bluestore_prefer_deferred_size_hdd
  type: size
  level: advanced
  desc: Default bluestore_prefer_deferred_size for rotational media
  default: 64_K
  see_also:
  - bluestore_prefer_deferred_size
  flags:
  - runtime
  with_legacy: true
- name: bluestore_prefer_deferred_size_ssd
  type: size
  level: advanced
  desc: Default bluestore_prefer_deferred_size for non-rotational (solid state) media
  default: 0
  see_also:
  - bluestore_prefer_deferred_size
  flags:
  - runtime
  with_legacy: true
- name: bluestore_compression_mode
  type: str
  level: advanced
  desc: Default policy for using compression when pool does not specify
  long_desc: '''none'' means never use compression.  ''passive'' means use compression
    when clients hint that data is compressible.  ''aggressive'' means use compression
    unless clients hint that data is not compressible.  This option is used when the
    per-pool property for the compression mode is not present.'
  fmt_desc: The default policy for using compression if the per-pool property
    ``compression_mode`` is not set. ``none`` means never use
    compression. ``passive`` means use compression when
    :c:func:`clients hint <rados_set_alloc_hint>` that data is
    compressible.  ``aggressive`` means use compression unless
    clients hint that data is not compressible.  ``force`` means use
    compression under all circumstances even if the clients hint that
    the data is not compressible.
  default: none
  enum_values:
  - none
  - passive
  - aggressive
  - force
  flags:
  - runtime
  with_legacy: true
- name: bluestore_compression_algorithm
  type: str
  level: advanced
  desc: Default compression algorithm to use when writing object data
  long_desc: This controls the default compressor to use (if any) if the per-pool
    property is not set.  Note that zstd is *not* recommended for bluestore due to
    high CPU overhead when compressing small amounts of data.
  fmt_desc: The default compressor to use (if any) if the per-pool property
    ``compression_algorithm`` is not set. Note that ``zstd`` is *not*
    recommended for BlueStore due to high CPU overhead when
    compressing small amounts of data.
  default: snappy
  enum_values:
  - ''
  - snappy
  - zlib
  - zstd
  - lz4
  flags:
  - runtime
  with_legacy: true
- name: bluestore_compression_min_blob_size
  type: size
  level: advanced
  desc: Maximum chunk size to apply compression to when random access is expected
    for an object.
  long_desc: Chunks larger than this are broken into smaller chunks before being compressed
  fmt_desc: Chunks smaller than this are never compressed.
    The per-pool property ``compression_min_blob_size`` overrides
    this setting.
  default: 0
  flags:
  - runtime
  with_legacy: true
- name: bluestore_compression_min_blob_size_hdd
  type: size
  level: advanced
  desc: Default value of bluestore_compression_min_blob_size for rotational media
  fmt_desc: Default value of ``bluestore compression min blob size``
    for rotational media.
  default: 8_K
  see_also:
  - bluestore_compression_min_blob_size
  flags:
  - runtime
  with_legacy: true
- name: bluestore_compression_min_blob_size_ssd
  type: size
  level: advanced
  desc: Default value of bluestore_compression_min_blob_size for non-rotational (solid
    state) media
  fmt_desc: Default value of ``bluestore compression min blob size``
    for non-rotational (solid state) media.
  default: 64_K
  see_also:
  - bluestore_compression_min_blob_size
  flags:
  - runtime
  with_legacy: true
- name: bluestore_compression_max_blob_size
  type: size
  level: advanced
  desc: Maximum chunk size to apply compression to when non-random access is expected
    for an object.
  long_desc: Chunks larger than this are broken into smaller chunks before being compressed
  fmt_desc: Chunks larger than this value are broken into smaller blobs of at most
    ``bluestore_compression_max_blob_size`` bytes before being compressed.
    The per-pool property ``compression_max_blob_size`` overrides
    this setting.
  default: 0
  flags:
  - runtime
  with_legacy: true
- name: bluestore_compression_max_blob_size_hdd
  type: size
  level: advanced
  desc: Default value of bluestore_compression_max_blob_size for rotational media
  fmt_desc: Default value of ``bluestore compression max blob size``
    for rotational media.
  default: 64_K
  see_also:
  - bluestore_compression_max_blob_size
  flags:
  - runtime
  with_legacy: true
- name: bluestore_compression_max_blob_size_ssd
  type: size
  level: advanced
  desc: Default value of bluestore_compression_max_blob_size for non-rotational (solid
    state) media
  fmt_desc: Default value of ``bluestore compression max blob size``
    for non-rotational (SSD, NVMe) media.
  default: 64_K
  see_also:
  - bluestore_compression_max_blob_size
  flags:
  - runtime
  with_legacy: true
# Specifies minimum expected amount of saved allocation units
# per single blob to enable compressed blobs garbage collection
- name: bluestore_gc_enable_blob_threshold
  type: int
  level: dev
  default: 0
  flags:
  - runtime
  with_legacy: true
# Specifies minimum expected amount of saved allocation units
# per all blobsb to enable compressed blobs garbage collection
- name: bluestore_gc_enable_total_threshold
  type: int
  level: dev
  default: 0
  flags:
  - runtime
  with_legacy: true
- name: bluestore_max_blob_size
  type: size
  level: dev
  long_desc: Bluestore blobs are collections of extents (ie on-disk data) originating
    from one or more objects.  Blobs can be compressed, typically have checksum data,
    may be overwritten, may be shared (with an extent ref map), or split.  This setting
    controls the maximum size a blob is allowed to be.
  default: 0
  flags:
  - runtime
  with_legacy: true
- name: bluestore_max_blob_size_hdd
  type: size
  level: dev
  default: 64_K
  see_also:
  - bluestore_max_blob_size
  flags:
  - runtime
  with_legacy: true
- name: bluestore_max_blob_size_ssd
  type: size
  level: dev
  default: 64_K
  see_also:
  - bluestore_max_blob_size
  flags:
  - runtime
  with_legacy: true
# Require the net gain of compression at least to be at this ratio,
# otherwise we don't compress.
# And ask for compressing at least 12.5%(1/8) off, by default.
- name: bluestore_compression_required_ratio
  type: float
  level: advanced
  desc: Compression ratio required to store compressed data
  long_desc: If we compress data and get less than this we discard the result and
    store the original uncompressed data.
  fmt_desc: The ratio of the size of the data chunk after
    compression relative to the original size must be at
    least this small in order to store the compressed
    version.
  default: 0.875
  flags:
  - runtime
  with_legacy: true
- name: bluestore_extent_map_shard_max_size
  type: size
  level: dev
  desc: Max size (bytes) for a single extent map shard before splitting
  default: 1200
  with_legacy: true
- name: bluestore_extent_map_shard_target_size
  type: size
  level: dev
  desc: Target size (bytes) for a single extent map shard
  default: 500
  with_legacy: true
- name: bluestore_extent_map_shard_min_size
  type: size
  level: dev
  desc: Min size (bytes) for a single extent map shard before merging
  default: 150
  with_legacy: true
- name: bluestore_extent_map_shard_target_size_slop
  type: float
  level: dev
  desc: Ratio above/below target for a shard when trying to align to an existing extent
    or blob boundary
  default: 0.2
  with_legacy: true
- name: bluestore_extent_map_inline_shard_prealloc_size
  type: size
  level: dev
  desc: Preallocated buffer for inline shards
  default: 256
  with_legacy: true
- name: bluestore_cache_trim_interval
  type: float
  level: advanced
  desc: How frequently we trim the bluestore cache
  default: 0.05
  with_legacy: true
- name: bluestore_cache_trim_max_skip_pinned
  type: uint
  level: dev
  desc: Max pinned cache entries we consider before giving up
  default: 1000
  with_legacy: true
- name: bluestore_cache_type
  type: str
  level: dev
  desc: Cache replacement algorithm
  default: 2q
  enum_values:
  - 2q
  - lru
  with_legacy: true
- name: bluestore_2q_cache_kin_ratio
  type: float
  level: dev
  desc: 2Q paper suggests .5
  default: 0.5
  with_legacy: true
- name: bluestore_2q_cache_kout_ratio
  type: float
  level: dev
  desc: 2Q paper suggests .5
  default: 0.5
  with_legacy: true
- name: bluestore_cache_size
  type: size
  level: dev
  desc: Cache size (in bytes) for BlueStore
  long_desc: This includes data and metadata cached by BlueStore as well as memory
    devoted to rocksdb's cache(s).
  fmt_desc: The amount of memory BlueStore will use for its cache.  If zero,
    ``bluestore_cache_size_hdd`` or ``bluestore_cache_size_ssd`` will
    be used instead.
  default: 0
  with_legacy: true
- name: bluestore_cache_size_hdd
  type: size
  level: dev
  desc: Default bluestore_cache_size for rotational media
  fmt_desc: The default amount of memory BlueStore will use for its cache when
    backed by an HDD.
  default: 1_G
  see_also:
  - bluestore_cache_size
  with_legacy: true
- name: bluestore_cache_size_ssd
  type: size
  level: dev
  desc: Default bluestore_cache_size for non-rotational (solid state) media
  fmt_desc: The default amount of memory BlueStore will use for its cache when
    backed by an SSD.
  default: 3_G
  see_also:
  - bluestore_cache_size
  with_legacy: true
- name: bluestore_cache_meta_ratio
  type: float
  level: dev
  desc: Ratio of bluestore cache to devote to metadata
  default: 0.45
  see_also:
  - bluestore_cache_size
  with_legacy: true
- name: bluestore_cache_kv_ratio
  type: float
  level: dev
  desc: Ratio of bluestore cache to devote to key/value database (RocksDB)
  default: 0.45
  see_also:
  - bluestore_cache_size
  with_legacy: true
- name: bluestore_cache_kv_onode_ratio
  type: float
  level: dev
  desc: Ratio of bluestore cache to devote to kv onode column family (rocksdb)
  default: 0.04
  see_also:
  - bluestore_cache_size
- name: bluestore_cache_autotune
  type: bool
  level: dev
  desc: Automatically tune the ratio of caches while respecting min values.
  fmt_desc: Automatically tune the space ratios assigned to various BlueStore
    caches while respecting minimum values.
  default: true
  see_also:
  - bluestore_cache_size
  - bluestore_cache_meta_ratio
- name: bluestore_cache_autotune_interval
  type: float
  level: dev
  desc: The number of seconds to wait between rebalances when cache autotune is enabled.
  fmt_desc: |
    The number of seconds to wait between rebalances when cache autotune is
    enabled.  `bluestore_cache_autotune_interval` sets the speed at which Ceph
    recomputes the allocation ratios of various caches. Note: Setting this
    interval too small can result in high CPU usage and lower performance.
  default: 5
  see_also:
  - bluestore_cache_autotune
- name: bluestore_cache_age_bin_interval
  type: float
  level: dev
  desc: The duration (in seconds) represented by a single cache age bin.
  fmt_desc: |
    The caches used by bluestore will assign cache entries to an 'age bin'
    that represents a period of time during which that cache entry was most
    recently updated.  By binning the caches in this way, Ceph's priority
    cache balancing code can make better decisions about which caches should
    receive priority based on the relative ages of items in the caches.  By
    default, a single cache age bin represents 1 second of time.  Note:
    Setting this interval too small can result in high CPU usage and lower
    performance.
  default: 1
  see_also:
  - bluestore_cache_age_bins_kv
  - bluestore_cache_age_bins_kv_onode
  - bluestore_cache_age_bins_meta
  - bluestore_cache_age_bins_data
- name: bluestore_cache_age_bins_kv
  type: str
  level: dev
  desc: A 10 element, space separated list of age bins for kv cache
  fmt_desc: |
    A 10 element, space separated list of cache age bins grouped by
    priority such that PRI1=[0,n), PRI2=[n,n+1), PRI3=[n+1,n+2) ...
    PRI10=[n+8,n+9).  Values represent the starting and ending bin for each
    priority level.  A 0 in the 2nd term will prevent any items from being
    associated with that priority.  bin duration is based on the
    bluestore_cache_age_bin_interval value.  For example,
    "1 5 0 0 0 0 0 0 0 0" defines bin ranges for two priority levels. PRI1
    contains 1 age bin.  Assuming the default age bin interval of 1 second,
    PRI1 represents cache items that are less than 1 second old. PRI2 has 4
    bins representing cache items that are 1 to less than 5 seconds old. All
    other cache items in this example are associated with the lowest priority
    level as PRI3-PRI10 all have 0s in their second term.
  default: "1 2 6 24 120 720 0 0 0 0"
  see_also:
  - bluestore_cache_age_bin_interval
- name: bluestore_cache_age_bins_kv_onode
  type: str
  level: dev
  desc: A 10 element, space separated list of age bins for kv onode cache
  fmt_desc: |
    A 10 element, space separated list of cache age bins grouped by
    priority such that PRI1=[0,n), PRI2=[n,n+1), PRI3=[n+1,n+2) ...
    PRI10=[n+8,n+9).  Values represent the starting and ending bin for each
    priority level.  A 0 in the 2nd term will prevent any items from being
    associated with that priority.  bin duration is based on the
    bluestore_cache_age_bin_interval value.  For example,
    "1 5 0 0 0 0 0 0 0 0" defines bin ranges for two priority levels. PRI1
    contains 1 age bin.  Assuming the default age bin interval of 1 second,
    PRI1 represents cache items that are less than 1 second old. PRI2 has 4
    bins representing cache items that are 1 to less than 5 seconds old. All
    other cache items in this example are associated with the lowest priority
    level as PRI3-PRI10 all have 0s in their second term.
  default: "0 0 0 0 0 0 0 0 0 720"
  see_also:
  - bluestore_cache_age_bin_interval
- name: bluestore_cache_age_bins_meta
  type: str
  level: dev
  desc: A 10 element, space separated list of age bins for onode cache
  fmt_desc: |
    A 10 element, space separated list of cache age bins grouped by
    priority such that PRI1=[0,n), PRI2=[n,n+1), PRI3=[n+1,n+2) ...
    PRI10=[n+8,n+9).  Values represent the starting and ending bin for each
    priority level.  A 0 in the 2nd term will prevent any items from being
    associated with that priority.  bin duration is based on the
    bluestore_cache_age_bin_interval value.  For example,
    "1 5 0 0 0 0 0 0 0 0" defines bin ranges for two priority levels. PRI1
    contains 1 age bin.  Assuming the default age bin interval of 1 second,
    PRI1 represents cache items that are less than 1 second old. PRI2 has 4
    bins representing cache items that are 1 to less than 5 seconds old. All
    other cache items in this example are associated with the lowest priority
    level as PRI3-PRI10 all have 0s in their second term.
  default: "1 2 6 24 120 720 0 0 0 0"
  see_also:
  - bluestore_cache_age_bin_interval
- name: bluestore_cache_age_bins_data
  type: str
  level: dev
  desc: A 10 element, space separated list of age bins for data cache
  fmt_desc: |
    A 10 element, space separated list of cache age bins grouped by
    priority such that PRI1=[0,n), PRI2=[n,n+1), PRI3=[n+1,n+2) ...
    PRI10=[n+8,n+9).  Values represent the starting and ending bin for each
    priority level.  A 0 in the 2nd term will prevent any items from being
    associated with that priority.  bin duration is based on the
    bluestore_cache_age_bin_interval value.  For example,
    "1 5 0 0 0 0 0 0 0 0" defines bin ranges for two priority levels. PRI1
    contains 1 age bin.  Assuming the default age bin interval of 1 second,
    PRI1 represents cache items that are less than 1 second old. PRI2 has 4
    bins representing cache items that are 1 to less than 5 seconds old. All
    other cache items in this example are associated with the lowest priority
    level as PRI3-PRI10 all have 0s in their second term.
  default: "1 2 6 24 120 720 0 0 0 0"
  see_also:
  - bluestore_cache_age_bin_interval
- name: bluestore_alloc_stats_dump_interval
  type: float
  level: dev
  desc: The period (in second) for logging allocation statistics.
  default: 1_day
  with_legacy: true
- name: bluestore_kvbackend
  type: str
  level: dev
  desc: Key value database to use for bluestore
  default: rocksdb
  flags:
  - create
  with_legacy: true
- name: bluestore_allocator
  type: str
  level: advanced
  desc: Allocator policy
  long_desc: Allocator to use for bluestore.  Stupid should only be used for testing.
  default: hybrid
  enum_values:
  - bitmap
  - stupid
  - avl
  - hybrid
  - zoned
  with_legacy: true
- name: bluestore_freelist_blocks_per_key
  type: size
  level: dev
  desc: Block (and bits) per database key
  default: 128
  with_legacy: true
- name: bluestore_bitmapallocator_blocks_per_zone
  type: size
  level: dev
  default: 1_K
  with_legacy: true
- name: bluestore_bitmapallocator_span_size
  type: size
  level: dev
  default: 1_K
  with_legacy: true
- name: bluestore_max_deferred_txc
  type: uint
  level: advanced
  desc: Max transactions with deferred writes that can accumulate before we force
    flush deferred writes
  default: 32
  with_legacy: true
- name: bluestore_max_defer_interval
  type: float
  level: advanced
  desc: max duration to force deferred submit
  default: 3
  with_legacy: true
- name: bluestore_rocksdb_options
  type: str
  level: advanced
  desc: Full set of rocksdb settings to override
  default: compression=kLZ4Compression,max_write_buffer_number=64,min_write_buffer_number_to_merge=6,compaction_style=kCompactionStyleLevel,write_buffer_size=16777216,max_background_jobs=4,level0_file_num_compaction_trigger=8,max_bytes_for_level_base=1073741824,max_bytes_for_level_multiplier=8,compaction_readahead_size=2MB,max_total_wal_size=1073741824,writable_file_max_buffer_size=0
  with_legacy: true
- name: bluestore_rocksdb_options_annex
  type: str
  level: advanced
  desc: An addition to bluestore_rocksdb_options. Allows setting rocksdb options without
    repeating the existing defaults.
  with_legacy: true
- name: bluestore_rocksdb_cf
  type: bool
  level: advanced
  desc: Enable use of rocksdb column families for bluestore metadata
  fmt_desc: Enables sharding of BlueStore's RocksDB.
    When ``true``, ``bluestore_rocksdb_cfs`` is used.
    Only applied when OSD is doing ``--mkfs``.
  default: true
  verbatim: |
    #ifdef WITH_SEASTAR
    // This is necessary as the Seastar's allocator imposes restrictions
    // on the number of threads that entered malloc/free/*. Unfortunately,
    // RocksDB sharding in BlueStore dramatically lifted the number of
    // threads spawn during RocksDB's init.
    .set_validator([](std::string *value, std::string *error_message) {
      if (const bool parsed_value = strict_strtob(value->c_str(), error_message);
        error_message->empty() && parsed_value) {
        *error_message = "invalid BlueStore sharding configuration."
                         " Be aware any change takes effect only on mkfs!";
        return -EINVAL;
      } else {
        return 0;
      }
    })
    #endif
- name: bluestore_rocksdb_cfs
  type: str
  level: dev
  desc: Definition of column families and their sharding
  long_desc: 'Space separated list of elements: column_def [ ''='' rocksdb_options
    ]. column_def := column_name [ ''('' shard_count [ '','' hash_begin ''-'' [ hash_end
    ] ] '')'' ]. Example: ''I=write_buffer_size=1048576 O(6) m(7,10-)''. Interval
    [hash_begin..hash_end) defines characters to use for hash calculation. Recommended
    hash ranges: O(0-13) P(0-8) m(0-16). Sharding of S,T,C,M,B prefixes is inadvised'
  fmt_desc: Definition of BlueStore's RocksDB sharding.
    The optimal value depends on multiple factors, and modification is invadvisable.
    This setting is used only when OSD is doing ``--mkfs``.
    Next runs of OSD retrieve sharding from disk.
  default: m(3) p(3,0-12) O(3,0-13)=block_cache={type=binned_lru} L=min_write_buffer_number_to_merge=32 P=min_write_buffer_number_to_merge=32
- name: bluestore_qfsck_on_mount
  type: bool
  level: dev
  desc: Run quick-fsck at mount comparing allocation-file to RocksDB allocation state
  default: true
  with_legacy: true
- name: bluestore_fsck_on_mount
  type: bool
  level: dev
  desc: Run fsck at mount
  default: false
  with_legacy: true
- name: bluestore_fsck_on_mount_deep
  type: bool
  level: dev
  desc: Run deep fsck at mount when bluestore_fsck_on_mount is set to true
  default: false
  with_legacy: true
- name: bluestore_fsck_quick_fix_on_mount
  type: bool
  level: dev
  desc: Do quick-fix for the store at mount
  default: false
  with_legacy: true
- name: bluestore_fsck_on_umount
  type: bool
  level: dev
  desc: Run fsck at umount
  default: false
  with_legacy: true
- name: bluestore_allocation_from_file
  type: bool
  level: dev
  desc: Remove allocation info from RocksDB and store the info in a new allocation file
  default: true
  with_legacy: true
- name: bluestore_debug_inject_allocation_from_file_failure
  type: float
  level: dev
  desc: Enables random error injections when restoring allocation map from file.
  long_desc: Specifies error injection probability for restoring allocation map from file
    hence causing full recovery. Intended primarily for testing.
  default: 0
  with_legacy: true
- name: bluestore_fsck_on_umount_deep
  type: bool
  level: dev
  desc: Run deep fsck at umount when bluestore_fsck_on_umount is set to true
  default: false
  with_legacy: true
- name: bluestore_fsck_on_mkfs
  type: bool
  level: dev
  desc: Run fsck after mkfs
  default: true
  with_legacy: true
- name: bluestore_fsck_on_mkfs_deep
  type: bool
  level: dev
  desc: Run deep fsck after mkfs
  default: false
  with_legacy: true
- name: bluestore_sync_submit_transaction
  type: bool
  level: dev
  desc: Try to submit metadata transaction to rocksdb in queuing thread context
  default: false
  with_legacy: true
- name: bluestore_fsck_read_bytes_cap
  type: size
  level: advanced
  desc: Maximum bytes read at once by deep fsck
  default: 64_M
  flags:
  - runtime
  with_legacy: true
- name: bluestore_fsck_quick_fix_threads
  type: int
  level: advanced
  desc: Number of additional threads to perform quick-fix (shallow fsck) command
  default: 2
  with_legacy: true
- name: bluestore_fsck_shared_blob_tracker_size
  type: float
  level: dev
  desc: Size(a fraction of osd_memory_target, defaults to 128MB) of a hash table to track shared blobs ref counts. Higher the size, more precise is the tracker -> less overhead during the repair.
  default: 0.03125
  see_also:
  - osd_memory_target
  flags:
  - runtime
- name: bluestore_throttle_bytes
  type: size
  level: advanced
  desc: Maximum bytes in flight before we throttle IO submission
  default: 64_M
  flags:
  - runtime
  with_legacy: true
- name: bluestore_throttle_deferred_bytes
  type: size
  level: advanced
  desc: Maximum bytes for deferred writes before we throttle IO submission
  default: 128_M
  flags:
  - runtime
  with_legacy: true
- name: bluestore_throttle_cost_per_io
  type: size
  level: advanced
  desc: Overhead added to transaction cost (in bytes) for each IO
  default: 0
  flags:
  - runtime
  with_legacy: true
- name: bluestore_throttle_cost_per_io_hdd
  type: uint
  level: advanced
  desc: Default bluestore_throttle_cost_per_io for rotational media
  default: 670000
  see_also:
  - bluestore_throttle_cost_per_io
  flags:
  - runtime
  with_legacy: true
- name: bluestore_throttle_cost_per_io_ssd
  type: uint
  level: advanced
  desc: Default bluestore_throttle_cost_per_io for non-rotation (solid state) media
  default: 4000
  see_also:
  - bluestore_throttle_cost_per_io
  flags:
  - runtime
  with_legacy: true
- name: bluestore_deferred_batch_ops
  type: uint
  level: advanced
  desc: Max number of deferred writes before we flush the deferred write queue
  default: 0
  min: 0
  max: 65535
  flags:
  - runtime
  with_legacy: true
- name: bluestore_deferred_batch_ops_hdd
  type: uint
  level: advanced
  desc: Default bluestore_deferred_batch_ops for rotational media
  default: 64
  see_also:
  - bluestore_deferred_batch_ops
  min: 0
  max: 65535
  flags:
  - runtime
  with_legacy: true
- name: bluestore_deferred_batch_ops_ssd
  type: uint
  level: advanced
  desc: Default bluestore_deferred_batch_ops for non-rotational (solid state) media
  default: 16
  see_also:
  - bluestore_deferred_batch_ops
  min: 0
  max: 65535
  flags:
  - runtime
  with_legacy: true
- name: bluestore_nid_prealloc
  type: int
  level: dev
  desc: Number of unique object ids to preallocate at a time
  default: 1024
  with_legacy: true
- name: bluestore_blobid_prealloc
  type: uint
  level: dev
  desc: Number of unique blob ids to preallocate at a time
  default: 10_K
  with_legacy: true
- name: bluestore_clone_cow
  type: bool
  level: advanced
  desc: Use copy-on-write when cloning objects (versus reading and rewriting them
    at clone time)
  default: true
  flags:
  - runtime
  with_legacy: true
- name: bluestore_default_buffered_read
  type: bool
  level: advanced
  desc: Cache read results by default (unless hinted NOCACHE or WONTNEED)
  default: true
  flags:
  - runtime
  with_legacy: true
- name: bluestore_default_buffered_write
  type: bool
  level: advanced
  desc: Cache writes by default (unless hinted NOCACHE or WONTNEED)
  default: false
  flags:
  - runtime
  with_legacy: true
- name: bluestore_debug_no_reuse_blocks
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: bluestore_debug_small_allocations
  type: int
  level: dev
  default: 0
  with_legacy: true
- name: bluestore_debug_too_many_blobs_threshold
  type: int
  level: dev
  default: 24576
  with_legacy: true
- name: bluestore_debug_freelist
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: bluestore_debug_prefill
  type: float
  level: dev
  desc: simulate fragmentation
  default: 0
  with_legacy: true
- name: bluestore_debug_prefragment_max
  type: size
  level: dev
  default: 1_M
  with_legacy: true
- name: bluestore_debug_inject_read_err
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: bluestore_debug_randomize_serial_transaction
  type: int
  level: dev
  default: 0
  with_legacy: true
- name: bluestore_debug_omit_block_device_write
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: bluestore_debug_fsck_abort
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: bluestore_debug_omit_kv_commit
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: bluestore_debug_permit_any_bdev_label
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: bluestore_debug_random_read_err
  type: float
  level: dev
  default: 0
  with_legacy: true
- name: bluestore_debug_inject_bug21040
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: bluestore_debug_inject_csum_err_probability
  type: float
  level: dev
  desc: inject crc verification errors into bluestore device reads
  default: 0
  with_legacy: true
- name: bluestore_debug_legacy_omap
  type: bool
  level: dev
  desc: Allows mkfs to create OSD in legacy OMAP naming mode (neither per-pool nor per-pg).
    This is intended primarily for developers' purposes. The resulting OSD might/would
    be transformed to the currrently default 'per-pg' format when BlueStore's quick-fix or
    repair are applied.
  default: false
  with_legacy: true
- name: bluestore_fsck_error_on_no_per_pool_stats
  type: bool
  level: advanced
  desc: Make fsck error (instead of warn) when bluestore lacks per-pool stats, e.g.,
    after an upgrade
  default: false
  with_legacy: true
- name: bluestore_warn_on_bluefs_spillover
  type: bool
  level: advanced
  desc: Enable health indication on bluefs slow device usage
  default: true
  with_legacy: true
- name: bluestore_warn_on_legacy_statfs
  type: bool
  level: advanced
  desc: Enable health indication on lack of per-pool statfs reporting from bluestore
  default: true
  with_legacy: true
- name: bluestore_warn_on_spurious_read_errors
  type: bool
  level: advanced
  desc: Enable health indication when spurious read errors are observed by OSD
  default: true
  with_legacy: true
- name: bluestore_fsck_error_on_no_per_pool_omap
  type: bool
  level: advanced
  desc: Make fsck error (instead of warn) when objects without per-pool omap are found
  default: false
  with_legacy: true
- name: bluestore_fsck_error_on_no_per_pg_omap
  type: bool
  level: advanced
  desc: Make fsck error (instead of warn) when objects without per-pg omap are found
  default: false
  with_legacy: true
- name: bluestore_warn_on_no_per_pool_omap
  type: bool
  level: advanced
  desc: Enable health indication on lack of per-pool omap
  default: true
  with_legacy: true
- name: bluestore_warn_on_no_per_pg_omap
  type: bool
  level: advanced
  desc: Enable health indication on lack of per-pg omap
  default: false
  with_legacy: true
- name: bluestore_log_op_age
  type: float
  level: advanced
  desc: log operation if it's slower than this age (seconds)
  default: 5
  with_legacy: true
- name: bluestore_log_omap_iterator_age
  type: float
  level: advanced
  desc: log omap iteration operation if it's slower than this age (seconds)
  default: 5
  with_legacy: true
- name: bluestore_log_collection_list_age
  type: float
  level: advanced
  desc: log collection list operation if it's slower than this age (seconds)
  default: 1_min
  with_legacy: true
- name: bluestore_debug_enforce_settings
  type: str
  level: dev
  desc: Enforces specific hw profile settings
  long_desc: '''hdd'' enforces settings intended for BlueStore above a rotational
    drive. ''ssd'' enforces settings intended for BlueStore above a solid drive. ''default''
    - using settings for the actual hardware.'
  default: default
  enum_values:
  - default
  - hdd
  - ssd
  with_legacy: true
- name: bluestore_avl_alloc_ff_max_search_count
  type: uint
  level: dev
  desc: Search for this many ranges in first-fit mode before switching over to
    to best-fit mode. 0 to iterate through all ranges for required chunk.
  default: 100
- name: bluestore_avl_alloc_ff_max_search_bytes
  type: size
  level: dev
  desc: Maximum distance to search in first-fit mode before switching over to
    to best-fit mode. 0 to iterate through all ranges for required chunk.
  default: 16_M
- name: bluestore_avl_alloc_bf_threshold
  type: uint
  level: dev
  desc: Sets threshold at which shrinking max free chunk size triggers enabling best-fit
    mode.
  long_desc: 'AVL allocator works in two modes: near-fit and best-fit. By default,
    it uses very fast near-fit mode, in which it tries to fit a new block near the
    last allocated block of similar size. The second mode is much slower best-fit
    mode, in which it tries to find an exact match for the requested allocation. This
    mode is used when either the device gets fragmented or when it is low on free
    space. When the largest free block is smaller than ''bluestore_avl_alloc_bf_threshold'',
    best-fit mode is used.'
  default: 128_K
  see_also:
  - bluestore_avl_alloc_bf_free_pct
- name: bluestore_avl_alloc_bf_free_pct
  type: uint
  level: dev
  desc: Sets threshold at which shrinking free space (in %, integer) triggers enabling
    best-fit mode.
  long_desc: 'AVL allocator works in two modes: near-fit and best-fit. By default,
    it uses very fast near-fit mode, in which it tries to fit a new block near the
    last allocated block of similar size. The second mode is much slower best-fit
    mode, in which it tries to find an exact match for the requested allocation. This
    mode is used when either the device gets fragmented or when it is low on free
    space. When free space is smaller than ''bluestore_avl_alloc_bf_free_pct'', best-fit
    mode is used.'
  default: 4
  see_also:
  - bluestore_avl_alloc_bf_threshold
- name: bluestore_hybrid_alloc_mem_cap
  type: uint
  level: dev
  desc: Maximum RAM hybrid allocator should use before enabling bitmap supplement
  default: 64_M
- name: bluestore_volume_selection_policy
  type: str
  level: dev
  desc: Determines bluefs volume selection policy
  long_desc: Determines bluefs volume selection policy. 'use_some_extra*' policy allows
    to override RocksDB level granularity and put high level's data to faster device
    even when the level doesn't completely fit there. 'fit_to_fast' policy enables
    using 100% of faster disk capacity and allows the user to turn on 'level_compaction_dynamic_level_bytes'
    option in RocksDB options.
  default: use_some_extra
  enum_values:
  - rocksdb_original
  - use_some_extra
  - use_some_extra_enforced
  - fit_to_fast
  with_legacy: true
- name: bluestore_volume_selection_reserved_factor
  type: float
  level: advanced
  desc: DB level size multiplier. Determines amount of space at DB device to bar from
    the usage when 'use some extra' policy is in action. Reserved size is determined
    as sum(L_max_size[0], L_max_size[L-1]) + L_max_size[L] * this_factor
  default: 2
  flags:
  - startup
  with_legacy: true
- name: bluestore_volume_selection_reserved
  type: int
  level: advanced
  desc: Space reserved at DB device and not allowed for 'use some extra' policy usage.
    Overrides 'bluestore_volume_selection_reserved_factor' setting and introduces
    straightforward limit.
  default: 0
  flags:
  - startup
  with_legacy: true
- name: bdev_ioring
  type: bool
  level: advanced
  desc: Enables Linux io_uring API instead of libaio
  default: false
- name: bdev_ioring_hipri
  type: bool
  level: advanced
  desc: Enables Linux io_uring API Use polled IO completions
  default: false
- name: bdev_ioring_sqthread_poll
  type: bool
  level: advanced
  desc: Enables Linux io_uring API Offload submission/completion to kernel thread
  default: false
- name: bluestore_kv_sync_util_logging_s
  type: float
  level: advanced
  desc: KV sync thread utilization logging period
  long_desc: How often (in seconds) to print KV sync thread utilization, not logged
    when set to 0 or when utilization is 0%
  default: 10
  flags:
  - runtime
  with_legacy: true
- name: bluestore_fail_eio
  type: bool
  level: dev
  desc: fail/crash on EIO
  long_desc: whether bluestore osd fails on eio
  default: false
  flags:
  - runtime
  with_legacy: true
- name: bluestore_zero_block_detection
  type: bool
  level: dev
  desc: punch holes instead of writing zeros
  long_desc: Intended for large-scale synthetic testing. Currently this is implemented
    with punch hole semantics, affecting the logical extent map of the object. This does
    not interact well with some RBD and CephFS features.
  default: false
  flags:
  - runtime
  with_legacy: true
- name: kstore_max_ops
  type: uint
  level: advanced
  default: 512
  with_legacy: true
- name: kstore_max_bytes
  type: size
  level: advanced
  default: 64_M
  with_legacy: true
- name: kstore_backend
  type: str
  level: advanced
  default: rocksdb
  with_legacy: true
- name: kstore_rocksdb_options
  type: str
  level: advanced
  desc: Options to pass through when RocksDB is used as the KeyValueDB for kstore.
  default: compression=kNoCompression
  with_legacy: true
- name: kstore_fsck_on_mount
  type: bool
  level: advanced
  desc: Whether or not to run fsck on mount for kstore.
  default: false
  with_legacy: true
- name: kstore_fsck_on_mount_deep
  type: bool
  level: advanced
  desc: Whether or not to run deep fsck on mount for kstore
  default: true
  with_legacy: true
- name: kstore_nid_prealloc
  type: uint
  level: advanced
  default: 1_K
  with_legacy: true
- name: kstore_sync_transaction
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: kstore_sync_submit_transaction
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: kstore_onode_map_size
  type: uint
  level: advanced
  default: 1_K
  with_legacy: true
- name: kstore_default_stripe_size
  type: size
  level: advanced
  default: 64_K
  with_legacy: true
# rocksdb options that will be used for omap(if omap_backend is rocksdb)
- name: filestore_rocksdb_options
  type: str
  level: dev
  desc: Options to pass through when RocksDB is used as the KeyValueDB for filestore.
  default: max_background_jobs=10,compaction_readahead_size=2097152,compression=kNoCompression
  with_legacy: true
- name: filestore_omap_backend
  type: str
  level: dev
  desc: The KeyValueDB to use for filestore metadata (ie omap).
  default: rocksdb
  enum_values:
  - leveldb
  - rocksdb
  with_legacy: true
- name: filestore_omap_backend_path
  type: str
  level: dev
  desc: The path where the filestore KeyValueDB should store it's database(s).
  with_legacy: true
# filestore wb throttle limits
- name: filestore_wbthrottle_enable
  type: bool
  level: advanced
  desc: Enabling throttling of operations to backing file system
  default: true
  with_legacy: true
- name: filestore_wbthrottle_btrfs_bytes_start_flusher
  type: size
  level: advanced
  desc: Start flushing (fsyncing) when this many bytes are written(btrfs)
  default: 40_M
  with_legacy: true
- name: filestore_wbthrottle_btrfs_bytes_hard_limit
  type: size
  level: advanced
  desc: Block writes when this many bytes haven't been flushed (fsynced) (btrfs)
  default: 400_M
  with_legacy: true
- name: filestore_wbthrottle_btrfs_ios_start_flusher
  type: uint
  level: advanced
  desc: Start flushing (fsyncing) when this many IOs are written (brtrfs)
  default: 500
  with_legacy: true
- name: filestore_wbthrottle_btrfs_ios_hard_limit
  type: uint
  level: advanced
  desc: Block writes when this many IOs haven't been flushed (fsynced) (btrfs)
  default: 5000
  with_legacy: true
- name: filestore_wbthrottle_btrfs_inodes_start_flusher
  type: uint
  level: advanced
  desc: Start flushing (fsyncing) when this many distinct inodes have been modified
    (btrfs)
  default: 500
  with_legacy: true
- name: filestore_wbthrottle_xfs_bytes_start_flusher
  type: size
  level: advanced
  desc: Start flushing (fsyncing) when this many bytes are written(xfs)
  default: 40_M
  with_legacy: true
- name: filestore_wbthrottle_xfs_bytes_hard_limit
  type: size
  level: advanced
  desc: Block writes when this many bytes haven't been flushed (fsynced) (xfs)
  default: 400_M
  with_legacy: true
- name: filestore_wbthrottle_xfs_ios_start_flusher
  type: uint
  level: advanced
  desc: Start flushing (fsyncing) when this many IOs are written (xfs)
  default: 500
  with_legacy: true
- name: filestore_wbthrottle_xfs_ios_hard_limit
  type: uint
  level: advanced
  desc: Block writes when this many IOs haven't been flushed (fsynced) (xfs)
  default: 5000
  with_legacy: true
- name: filestore_wbthrottle_xfs_inodes_start_flusher
  type: uint
  level: advanced
  desc: Start flushing (fsyncing) when this many distinct inodes have been modified
    (xfs)
  default: 500
  with_legacy: true
# These must be less than the fd limit
- name: filestore_wbthrottle_btrfs_inodes_hard_limit
  type: uint
  level: advanced
  desc: Block writing when this many inodes have outstanding writes (btrfs)
  default: 5000
  with_legacy: true
- name: filestore_wbthrottle_xfs_inodes_hard_limit
  type: uint
  level: advanced
  desc: Block writing when this many inodes have outstanding writes (xfs)
  default: 5000
  with_legacy: true
# Introduce a O_DSYNC write in the filestore
- name: filestore_odsync_write
  type: bool
  level: dev
  desc: Write with O_DSYNC
  default: false
  with_legacy: true
# Tests index failure paths
- name: filestore_index_retry_probability
  type: float
  level: dev
  default: 0
  with_legacy: true
# Allow object read error injection
- name: filestore_debug_inject_read_err
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: filestore_debug_random_read_err
  type: float
  level: dev
  default: 0
  with_legacy: true
# Expensive debugging check on sync
- name: filestore_debug_omap_check
  type: bool
  level: dev
  default: false
  fmt_desc: Debugging check on synchronization. This is an expensive operation.

  with_legacy: true
- name: filestore_omap_header_cache_size
  type: size
  level: dev
  default: 1_K
  with_legacy: true
# Use omap for xattrs for attrs over
# filestore_max_inline_xattr_size or
- name: filestore_max_inline_xattr_size
  type: size
  level: dev
  default: 0
  with_legacy: true
- name: filestore_max_inline_xattr_size_xfs
  type: size
  level: dev
  default: 64_K
  with_legacy: true
- name: filestore_max_inline_xattr_size_btrfs
  type: size
  level: dev
  default: 2_K
  with_legacy: true
- name: filestore_max_inline_xattr_size_other
  type: size
  level: dev
  default: 512
  with_legacy: true
# for more than filestore_max_inline_xattrs attrs
- name: filestore_max_inline_xattrs
  type: uint
  level: dev
  default: 0
  with_legacy: true
- name: filestore_max_inline_xattrs_xfs
  type: uint
  level: dev
  default: 10
  with_legacy: true
- name: filestore_max_inline_xattrs_btrfs
  type: uint
  level: dev
  default: 10
  with_legacy: true
- name: filestore_max_inline_xattrs_other
  type: uint
  level: dev
  default: 2
  with_legacy: true
- name: filestore_max_xattr_value_size
  type: size
  level: dev
  default: 0
  with_legacy: true
- name: filestore_max_xattr_value_size_xfs
  type: size
  level: dev
  default: 64_K
  with_legacy: true
- name: filestore_max_xattr_value_size_btrfs
  type: size
  level: dev
  default: 64_K
  with_legacy: true
# ext4 allows 4k xattrs total including some smallish extra fields and the
# keys.  We're allowing 2 512 inline attrs in addition some some filestore
# replay attrs.  After accounting for those, we still need to fit up to
# two attrs of this value.  That means we need this value to be around 1k
# to be safe.  This is hacky, but it's not worth complicating the code
# to work around ext4's total xattr limit.
- name: filestore_max_xattr_value_size_other
  type: size
  level: dev
  default: 1_K
  with_legacy: true
# track sloppy crcs
- name: filestore_sloppy_crc
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: filestore_sloppy_crc_block_size
  type: size
  level: dev
  default: 64_K
  with_legacy: true
- name: filestore_max_alloc_hint_size
  type: size
  level: dev
  default: 1_M
  with_legacy: true
# seconds
- name: filestore_max_sync_interval
  type: float
  level: advanced
  desc: Period between calls to syncfs(2) and journal trims (seconds)
  default: 5
  with_legacy: true
# seconds
- name: filestore_min_sync_interval
  type: float
  level: dev
  desc: Minimum period between calls to syncfs(2)
  default: 0.01
  with_legacy: true
- name: filestore_btrfs_snap
  type: bool
  level: dev
  default: true
  with_legacy: true
- name: filestore_btrfs_clone_range
  type: bool
  level: advanced
  desc: Use btrfs clone_range ioctl to efficiently duplicate objects
  default: true
  with_legacy: true
# zfsonlinux is still unstable
- name: filestore_zfs_snap
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: filestore_fsync_flushes_journal_data
  type: bool
  level: dev
  default: false
  with_legacy: true
# (try to) use fiemap
- name: filestore_fiemap
  type: bool
  level: advanced
  desc: Use fiemap ioctl(2) to determine which parts of objects are sparse
  default: false
  with_legacy: true
- name: filestore_punch_hole
  type: bool
  level: advanced
  desc: Use fallocate(2) FALLOC_FL_PUNCH_HOLE to efficiently zero ranges of objects
  default: false
  with_legacy: true
# (try to) use seek_data/hole
- name: filestore_seek_data_hole
  type: bool
  level: advanced
  desc: Use lseek(2) SEEK_HOLE and SEEK_DATA to determine which parts of objects are
    sparse
  default: false
  with_legacy: true
- name: filestore_splice
  type: bool
  level: advanced
  desc: Use splice(2) to more efficiently copy data between files
  default: false
  with_legacy: true
- name: filestore_fadvise
  type: bool
  level: advanced
  desc: Use posix_fadvise(2) to pass hints to file system
  default: true
  with_legacy: true
# collect device partition information for management application to use
- name: filestore_collect_device_partition_information
  type: bool
  level: advanced
  desc: Collect metadata about the backing file system on OSD startup
  default: true
  with_legacy: true
# (try to) use extsize for alloc hint NOTE: extsize seems to trigger
# data corruption in xfs prior to kernel 3.5.  filestore will
# implicitly disable this if it cannot confirm the kernel is newer
# than that.
# NOTE: This option involves a tradeoff: When disabled, fragmentation is
# worse, but large sequential writes are faster. When enabled, large
# sequential writes are slower, but fragmentation is reduced.
- name: filestore_xfs_extsize
  type: bool
  level: advanced
  desc: Use XFS extsize ioctl(2) to hint allocator about expected write sizes
  default: false
  with_legacy: true
- name: filestore_journal_parallel
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: filestore_journal_writeahead
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: filestore_journal_trailing
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: filestore_queue_max_ops
  type: uint
  level: advanced
  desc: Max IO operations in flight
  default: 50
  with_legacy: true
- name: filestore_queue_max_bytes
  type: size
  level: advanced
  desc: Max (written) bytes in flight
  default: 100_M
  with_legacy: true
- name: filestore_caller_concurrency
  type: int
  level: dev
  default: 10
  with_legacy: true
# Expected filestore throughput in B/s
- name: filestore_expected_throughput_bytes
  type: float
  level: advanced
  desc: Expected throughput of backend device (aids throttling calculations)
  default: 209715200
  with_legacy: true
# Expected filestore throughput in ops/s
- name: filestore_expected_throughput_ops
  type: float
  level: advanced
  desc: Expected through of backend device in IOPS (aids throttling calculations)
  default: 200
  with_legacy: true
# Filestore max delay multiple.  Defaults to 0 (disabled)
- name: filestore_queue_max_delay_multiple
  type: float
  level: dev
  default: 0
  with_legacy: true
# Filestore high delay multiple.  Defaults to 0 (disabled)
- name: filestore_queue_high_delay_multiple
  type: float
  level: dev
  default: 0
  with_legacy: true
# Filestore max delay multiple ops.  Defaults to 0 (disabled)
- name: filestore_queue_max_delay_multiple_bytes
  type: float
  level: dev
  default: 0
  with_legacy: true
# Filestore high delay multiple bytes.  Defaults to 0 (disabled)
- name: filestore_queue_high_delay_multiple_bytes
  type: float
  level: dev
  default: 0
  with_legacy: true
# Filestore max delay multiple ops.  Defaults to 0 (disabled)
- name: filestore_queue_max_delay_multiple_ops
  type: float
  level: dev
  default: 0
  with_legacy: true
# Filestore high delay multiple ops.  Defaults to 0 (disabled)
- name: filestore_queue_high_delay_multiple_ops
  type: float
  level: dev
  default: 0
  with_legacy: true
- name: filestore_queue_low_threshhold
  type: float
  level: dev
  default: 0.3
  with_legacy: true
- name: filestore_queue_high_threshhold
  type: float
  level: dev
  with_legacy: true
  default: 0.9
- name: filestore_op_threads
  type: int
  level: advanced
  desc: Threads used to apply changes to backing file system
  default: 2
  with_legacy: true
- name: filestore_op_thread_timeout
  type: int
  level: advanced
  desc: Seconds before a worker thread is considered stalled
  default: 1_min
  with_legacy: true
- name: filestore_op_thread_suicide_timeout
  type: int
  level: advanced
  desc: Seconds before a worker thread is considered dead
  default: 3_min
  with_legacy: true
- name: filestore_commit_timeout
  type: float
  level: advanced
  desc: Seconds before backing file system is considered hung
  default: 10_min
  with_legacy: true
- name: filestore_fiemap_threshold
  type: size
  level: dev
  default: 4_K
  with_legacy: true
- name: filestore_merge_threshold
  type: int
  level: dev
  default: -10
  with_legacy: true
- name: filestore_split_multiple
  type: int
  level: dev
  default: 2
  with_legacy: true
- name: filestore_split_rand_factor
  type: uint
  level: dev
  default: 20
  with_legacy: true
- name: filestore_update_to
  type: int
  level: dev
  default: 1000
  with_legacy: true
- name: filestore_blackhole
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: filestore_fd_cache_size
  type: int
  level: dev
  default: 128
  with_legacy: true
- name: filestore_fd_cache_shards
  type: int
  level: dev
  default: 16
  with_legacy: true
- name: filestore_ondisk_finisher_threads
  type: int
  level: dev
  default: 1
  with_legacy: true
- name: filestore_apply_finisher_threads
  type: int
  level: dev
  default: 1
  with_legacy: true
# file onto which store transaction dumps
- name: filestore_dump_file
  type: str
  level: dev
  with_legacy: true
# inject a failure at the n'th opportunity
- name: filestore_kill_at
  type: int
  level: dev
  default: 0
  with_legacy: true
# artificially stall for N seconds in op queue thread
- name: filestore_inject_stall
  type: int
  level: dev
  default: 0
  with_legacy: true
# fail/crash on EIO
- name: filestore_fail_eio
  type: bool
  level: dev
  default: true
  with_legacy: true
- name: filestore_debug_verify_split
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: journal_dio
  type: bool
  level: dev
  default: true
  fmt_desc: Enables direct i/o to the journal. Requires ``journal block
   align`` set to ``true``.
  with_legacy: true
- name: journal_aio
  type: bool
  level: dev
  default: true
  fmt_desc: Enables using ``libaio`` for asynchronous writes to the journal.
   Requires ``journal dio`` set to ``true``. Version 0.61 and later, ``true``.
   Version 0.60 and earlier, ``false``.
  with_legacy: true
- name: journal_force_aio
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: journal_block_size
  type: size
  level: dev
  default: 4_K
  with_legacy: true
- name: journal_block_align
  type: bool
  level: dev
  default: true
  fmt_desc: Block aligns write operations. Required for ``dio`` and ``aio``.
  with_legacy: true
- name: journal_write_header_frequency
  type: uint
  level: dev
  default: 0
  with_legacy: true
- name: journal_max_write_bytes
  type: size
  level: advanced
  desc: Max bytes in flight to journal
  fmt_desc: The maximum number of bytes the journal will write at
   any one time.
  default: 10_M
  with_legacy: true
- name: journal_max_write_entries
  type: int
  level: advanced
  desc: Max IOs in flight to journal
  fmt_desc: The maximum number of entries the journal will write at
   any one time.
  default: 100
  with_legacy: true
# Target range for journal fullness
- name: journal_throttle_low_threshhold
  type: float
  level: dev
  default: 0.6
  with_legacy: true
- name: journal_throttle_high_threshhold
  type: float
  level: dev
  default: 0.9
  with_legacy: true
# Multiple over expected at high_threshhold. Defaults to 0 (disabled).
- name: journal_throttle_high_multiple
  type: float
  level: dev
  default: 0
  with_legacy: true
# Multiple over expected at max.  Defaults to 0 (disabled).
- name: journal_throttle_max_multiple
  type: float
  level: dev
  default: 0
  with_legacy: true
# align data payloads >= this.
- name: journal_align_min_size
  type: size
  level: dev
  default: 64_K
  fmt_desc: Align data payloads greater than the specified minimum.
  with_legacy: true
- name: journal_replay_from
  type: int
  level: dev
  default: 0
  with_legacy: true
- name: journal_zero_on_create
  type: bool
  level: dev
  default: false
  fmt_desc: |
    Causes the file store to overwrite the entire journal with
    ``0``'s during ``mkfs``.
  with_legacy: true
# assume journal is not corrupt
- name: journal_ignore_corruption
  type: bool
  level: dev
  default: false
  with_legacy: true
# using ssd disk as journal, whether support discard nouse journal-data.
- name: journal_discard
  type: bool
  level: dev
  default: false
  with_legacy: true
# fio data directory for fio-objectstore
- name: fio_dir
  type: str
  level: advanced
  default: /tmp/fio
  with_legacy: true
- name: rados_mon_op_timeout
  type: secs
  level: advanced
  desc: timeout for operations handled by monitors such as statfs (0 is unlimited)
  default: 0
  min: 0
  flags:
  - runtime
- name: rados_osd_op_timeout
  type: secs
  level: advanced
  desc: timeout for operations handled by osds such as write (0 is unlimited)
  default: 0
  min: 0
  flags:
  - runtime
# true if LTTng-UST tracepoints should be enabled
- name: rados_tracing
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: mgr_connect_retry_interval
  type: float
  level: dev
  default: 1
  services:
  - common
- name: mgr_client_service_daemon_unregister_timeout
  type: float
  level: dev
  desc: Time to wait during shutdown to deregister service with mgr
  default: 1
- name: throttler_perf_counter
  type: bool
  level: advanced
  default: true
  with_legacy: true
- name: event_tracing
  type: bool
  level: advanced
  default: false
  with_legacy: true
- name: bluestore_tracing
  type: bool
  level: advanced
  desc: Enable bluestore event tracing.
  default: false
- name: bluestore_throttle_trace_rate
  type: float
  level: advanced
  desc: Rate at which to sample bluestore transactions (per second)
  default: 0
- name: debug_deliberately_leak_memory
  type: bool
  level: dev
  default: false
  with_legacy: true
- name: debug_asserts_on_shutdown
  type: bool
  level: dev
  desc: Enable certain asserts to check for refcounting bugs on shutdown; see http://tracker.ceph.com/issues/21738
  default: false
- name: debug_asok_assert_abort
  type: bool
  level: dev
  desc: allow commands 'assert' and 'abort' via asok for testing crash dumps etc
  default: false
  with_legacy: true
- name: target_max_misplaced_ratio
  type: float
  level: basic
  desc: Max ratio of misplaced objects to target when throttling data rebalancing
    activity
  default: 0.05
- name: device_failure_prediction_mode
  type: str
  level: basic
  desc: Method used to predict device failures
  long_desc: To disable prediction, use 'none',  'local' uses a prediction model that
    runs inside the mgr daemon.  'cloud' will share metrics with a cloud service and
    query the service for devicelife expectancy.
  default: none
  enum_values:
  - none
  - local
  - cloud
  flags:
  - runtime
- name: gss_ktab_client_file
  type: str
  level: advanced
  desc: GSS/KRB5 Keytab file for client authentication
  long_desc: This sets the full path for the GSS/Kerberos client keytab file location.
  default: /var/lib/ceph/$name/gss_client_$name.ktab
  services:
  - mon
  - osd
- name: gss_target_name
  type: str
  level: advanced
  long_desc: This sets the gss target service name.
  default: ceph
  services:
  - mon
  - osd
- name: debug_disable_randomized_ping
  type: bool
  level: dev
  desc: Disable heartbeat ping randomization for testing purposes
  default: false
- name: debug_heartbeat_testing_span
  type: int
  level: dev
  desc: Override 60 second periods for testing only
  default: 0
- name: librados_thread_count
  type: uint
  level: advanced
  desc: Size of thread pool for Objecter
  default: 2
  tags:
  - client
  min: 1
- name: osd_asio_thread_count
  type: uint
  level: advanced
  desc: Size of thread pool for ASIO completions
  default: 2
  tags:
  - osd
  min: 1
- name: cephsqlite_lock_renewal_interval
  type: millisecs
  level: advanced
  desc: number of milliseconds before lock is renewed
  default: 2000
  tags:
  - client
  see_also:
  - cephsqlite_lock_renewal_timeout
  min: 100
- name: cephsqlite_lock_renewal_timeout
  type: millisecs
  level: advanced
  desc: number of milliseconds before transaction lock times out
  long_desc: The amount of time before a running libcephsqlite VFS connection has
    to renew a lock on the database before the lock is automatically lost. If the
    lock is lost, the VFS will abort the process to prevent database corruption.
  default: 30000
  tags:
  - client
  see_also:
  - cephsqlite_lock_renewal_interval
  min: 100
- name: cephsqlite_blocklist_dead_locker
  type: bool
  level: advanced
  desc: blocklist the last dead owner of the database lock
  long_desc: Require that the Ceph SQLite VFS blocklist the last dead owner of the
    database when cleanup was incomplete. DO NOT CHANGE THIS UNLESS YOU UNDERSTAND
    THE RAMIFICATIONS. CORRUPTION MAY RESULT.
  default: true
  tags:
  - client
- name: bdev_type
  type: str
  level: advanced
  desc: Explicitly set the device type to select the driver if it's needed
  enum_values:
  - aio
  - spdk
  - pmem
  - hm_smr
- name: bluestore_cleaner_sleep_interval
  type: float
  level: advanced
  desc: How long cleaner should sleep before re-checking utilization
  default: 5
  with_legacy: true
- name: jaeger_tracing_enable
  type: bool
  level: advanced
  desc: Ceph should use jaeger tracing system
  default: false
  services:
  - rgw
  - osd
  with_legacy: true
- name: jaeger_agent_port
  type: int
  level: advanced
  desc: port number of the jaeger agent
  default: 6799
  services:
  - rgw
  - osd
- name: mgr_ttl_cache_expire_seconds
  type: uint
  level: dev
  desc: Set the time to live in seconds - set to 0 to disable the cache.
  default: 0
  services:
  - mgr