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
|
commit ecc23778eb545d8dd55e2e4735b53cc93f92e65b
Author: Jenkins Build Slave User <ceph-release-team@redhat.com>
Date: Tue Sep 20 22:04:23 2016 +0000
10.2.3
commit 9bfc0cf178dc21b0fe33e0ce3b90a18858abaf1b
Merge: aeee80e 1cbc839
Author: Loic Dachary <loic@dachary.org>
Date: Mon Aug 29 13:43:15 2016 +0200
Merge pull request #10804 from dachary/wip-17089-jewel
jewel: OSD failed to subscribe skipped osdmaps after ceph osd pause
Reviewed-by: Kefu Chai <kchai@redhat.com>
commit aeee80e64af2f685ac9785c3444f40b60d0877f2
Merge: 3168a84 dc154cd
Author: Loic Dachary <loic@dachary.org>
Date: Mon Aug 29 13:43:00 2016 +0200
Merge pull request #10760 from dachary/wip-16865-jewel
jewel: saw valgrind issues in ReplicatedPG::new_repop
Reviewed-by: Kefu Chai <kchai@redhat.com>
commit 3168a8482211a2aaf9b4d715c0f7a920e896d9bb
Merge: 12b374f ce986aa
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 26 22:12:39 2016 +0200
Merge pull request #10662 from dachary/wip-16901-jewel
jewel: segfault in RGWOp_MDLog_Notify
Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
commit 12b374fccfb9792998ab88a4d7777f8b8134cb5c
Merge: 91ee75f f298643
Author: Orit Wasserman <owasserm@redhat.com>
Date: Fri Aug 26 10:31:06 2016 +0200
Merge pull request #10763 from dachary/wip-17034-jewel
jewel: rgw: object expirer's hints might be trimmed without processing in some circumstances
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 91ee75f39c05fe0c25aab2664f1fa71f858e7c6f
Merge: d8bdc22 a865f26
Author: Orit Wasserman <owasserm@redhat.com>
Date: Fri Aug 26 10:28:10 2016 +0200
Merge pull request #10658 from dachary/wip-16862-jewel
jewel: default zone and zonegroup cannot be added to a realm
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit d8bdc2245ddec91c2f55d367045e4407112d2af1
Merge: 6d270f6 fa2e42d
Author: Orit Wasserman <owasserm@redhat.com>
Date: Fri Aug 26 10:26:53 2016 +0200
Merge pull request #10659 from dachary/wip-16863-jewel
jewel: use zone endpoints instead of zonegroup endpoints
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 6d270f6084a035040638638ff65c14f5d76eeef1
Merge: fe23c2e 2485efc
Author: Orit Wasserman <owasserm@redhat.com>
Date: Fri Aug 26 10:24:20 2016 +0200
Merge pull request #10660 from dachary/wip-16864-jewel
jewel: multisite segfault on ~RGWRealmWatcher if realm was deleted
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit fe23c2edc70d1ad15e640195570e624b31415aef
Merge: a57c21a 577336e
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 26 00:46:17 2016 +0200
Merge pull request #10847 from gregsfortytwo/jewel-fix-mds
mds: fix double-unlock on shutdown
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
commit a57c21afa686967a3afc4ddabb97c665e5894b21
Merge: 49022d4 ce5e250
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 25 23:04:37 2016 +0200
Merge pull request #10663 from dachary/wip-16934-jewel
jewel: Add zone rename to radosgw_admin
Reviewed-by: Casey Bodley <cbodley@redhat.com>
commit 49022d4b2e2c5506dd83f3d894ac0a4ba83f8c7b
Merge: f7afbbf 22c9df1
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 25 23:04:22 2016 +0200
Merge pull request #10664 from dachary/wip-16958-jewel
jewel: Bug when using port 443s in rgw.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
commit f7afbbf094e5eabc1a651379f522d0b1544b01a3
Merge: 7b672cb 73cc608
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 25 23:04:07 2016 +0200
Merge pull request #10764 from dachary/wip-17032-jewel
jewel: multisite: RGWPeriodPuller tries to pull from itself
Reviewed-by: Casey Bodley <cbodley@redhat.com>
commit 7b672cbe343955228b2a701eba91a30f5cac7fe5
Merge: 28bc826 55460e2
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 25 23:03:40 2016 +0200
Merge pull request #10765 from dachary/wip-17006-jewel
jewel: Increase log level for messages occuring while running rgw admin command
Reviewed-by: Casey Bodley <cbodley@redhat.com>
commit 28bc826e9140520e86e2eb34470103979d10ae49
Merge: 8b37c68 21da103
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 25 22:25:21 2016 +0200
Merge pull request #10845 from cbodley/wip-16702
jewel: rgw: add tenant support to multisite sync
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 8b37c68f761d59025678c184a4f9b1755c90a628
Merge: 94eb163 2266287
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 25 09:17:52 2016 +0200
Merge pull request #9405 from SUSE/wip-16083-jewel
jewel: mds: wrongly treat symlink inode as normal file/dir when symlink inode is stale on kcephfs
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
commit 94eb163c19e02ffae06659ced714140bd55584f0
Merge: 9de2e93 f5db5a4
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 25 09:02:17 2016 +0200
Merge pull request #10654 from dachary/wip-9577-jewel
jewel: mon: "mon metadata" fails when only one monitor exists
Reviewed-by: John Spray <john.spray@redhat.com>
commit 577336e20f68aa289311103e54d4def793b0cc01
Author: Greg Farnum <gfarnum@redhat.com>
Date: Wed Aug 24 13:34:43 2016 -0700
mds: fix double-unlock on shutdown
We did a bad backport or something and accidentally ended up with two Unlock()
calls on mds_lock. Don't.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
commit 21da1039fc57bcf4054c0e7a13bb2732781770f6
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Tue Jul 12 20:36:35 2016 -0700
rgw: collect skips a specific coroutine stack
Fixes: http://tracker.ceph.com/issues/16665
Instead of drain_all_but() that specifies number of stacks to leave behind,
added drain_all_but_stack() that has a specific stack specified. This is needed
so that we don't call wakeup() through lease_cr->go_down() on a cr stack that
was already collected.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 5a2e8f0526db92a290c711f82627fc5042c290ea)
commit 9de2e93d1b55c5f5f54b3dbf334d1513abb3f174
Merge: 1d5dedf d1e0512
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 24 22:08:58 2016 +0200
Merge pull request #10791 from dachary/wip-17004-jewel
jewel: rbd-mirror: FAILED assert(m_state == STATE_STOPPING)
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit 1d5dedf0307f0fddf55f6487486a281c2625ef92
Merge: e30c76e ecea6dc
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 24 22:08:30 2016 +0200
Merge pull request #10827 from dillaman/wip-16950-jewel
jewel: librbd: delay acquiring lock if image watch has failed
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit 98779c32de98efc367e888b99fd154ad4e5274d9
Author: Josh Durgin <jdurgin@redhat.com>
Date: Mon Jul 11 17:38:43 2016 -0700
rgw: fix compilation
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
(cherry picked from commit 874de58024e12d893ae050cd421ef67c9521c753)
commit f5d9537d3e69197c7eadb21a6d0d01373530e2de
Author: Casey Bodley <cbodley@redhat.com>
Date: Thu Jul 7 14:42:00 2016 -0400
rgw: remove datalog keys from error repo on ENOENT
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 16976eedb70292e821193e39bb577a68df1bc95a)
commit 32505b2c8d703d09224b6a2f7007b20a79e0fb3d
Author: Casey Bodley <cbodley@redhat.com>
Date: Fri Jul 1 12:36:04 2016 -0400
test/rgw: add optional --tenant flag to test_multi.py
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 6f65d192cd3917cdcf7d9deb5396750d2c641842)
commit f68337aaa535ea182258eb4934af739fb703f556
Author: Casey Bodley <cbodley@redhat.com>
Date: Thu Jun 30 15:50:00 2016 -0400
rgw: add tenant id to GetBucketInstanceInfo
use the rgw_bucket overload of get_bucket_instance_info() so it can
supply the tenant id
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3cf715c6828d7d9732bf6a6fd9b46bbd8c08de5f)
commit a0ffffa5aad423f363bf10a6b8dbaf19a47262a2
Author: Casey Bodley <cbodley@redhat.com>
Date: Wed Jun 29 11:58:55 2016 -0400
rgw: carry tenant id with data sync
use rgw_bucket_shard to track buckets, which includes tenant id
Fixes: http://tracker.ceph.com/issues/16469
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d945e2099525e39588b572e357b115df98c8cdca)
commit bff626f7b32b3fe918510c147f88c49ead5007fa
Author: Casey Bodley <cbodley@redhat.com>
Date: Thu Jun 30 17:43:40 2016 -0400
rgw: add tenant to url for RGWRESTStreamWriteRequest
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 2a1e1a776c58f62fbcb57877d56b92eb1e8933e6)
commit dc50687f9ee7291192b2291c3c5770c46c852677
Author: Casey Bodley <cbodley@redhat.com>
Date: Thu Jun 30 17:42:54 2016 -0400
rgw: add tenant to rgw_bucket json format
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit fc0df4802b48fa095587b93557c82da5446d9ca3)
commit 06223adc51d2ccc1494c5e6891ad367edde69a91
Author: Casey Bodley <cbodley@redhat.com>
Date: Thu Jun 30 00:13:47 2016 -0400
rgw: add rgw_bucket_parse_bucket_key()
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d5ac140040ea2f17e33d2846870cb033c7ae6ffa)
commit b4f687ee7fce682a41c707af7e2feb6b3a1cbe15
Author: Casey Bodley <cbodley@redhat.com>
Date: Tue Jun 28 11:24:46 2016 -0400
rgw: add tenant name to datalog entries
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit c8aa668fc3e34a7651ce6e2dda62902ced808541)
commit dda0ee035fe9bb0c2fc4366df8355184db5034e3
Author: Casey Bodley <cbodley@redhat.com>
Date: Wed Jul 6 11:50:47 2016 -0400
rgw: convert bucket instance listings back to metadata key format
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 3eae201c8a1513bae23233700c754ec076360664)
commit 6225a6d45b8e76f9afaa741fa61d4b9742ef60fb
Author: Casey Bodley <cbodley@redhat.com>
Date: Tue Jul 5 09:00:19 2016 -0400
rgw: use tenant/ for bucket instance metadata keys
to work around the ambiguity of parsing tenant: and :shard in the same
bucket instance metadata key, use tenant/ instead
to preserve backward compatibility with existing objects, new helper
function rgw_bucket_instance_key_to_oid() converts this / back to a :
before being used as an object name
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit a0befa1e7be3aeb37209bac2e2a7de0edf5d5a95)
commit cac6612a8a4f344e910d0c880ee8d020fac1ec79
Author: Casey Bodley <cbodley@redhat.com>
Date: Thu Jun 30 18:09:03 2016 -0400
rgw: add get_key() methods to format rgw_buckets
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 51ff8ef7c6bb7c9f55f3ca8ad059b029a4088cdf)
commit ac557e04e2d104fe9fdeae1d1ca31e212cfc89f6
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Mon Jun 6 16:16:33 2016 -0700
rgw: data sync debug logging
a high level debug logging of the data sync process.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 97ef16c0cc0ad8345b5a897108717d83ab0aa9ab)
commit 6bb8c15a38e1ebf4e2b03f43bb527d460cd82dc3
Author: Pritha Srivastava <prsrivas@redhat.com>
Date: Thu Jun 16 14:45:57 2016 +0530
rgw: modifying multi-site log messages.
Increasing the log level and removing 'ERROR' from messages that appear during normal multi-site operation.
Fixes: http://tracker.ceph.com/issues/16121
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit e1737ddaa035f23757d021dd34b0c87d24ce372c)
commit e30c76ee33ddcb1a58835637c5e506c6c4b61b12
Merge: df71e57 308f514
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 24 18:57:23 2016 +0200
Merge pull request #10653 from dachary/wip-10495-jewel
jewel : 60-ceph-partuuid-workaround-rules still needed by debian jessie (udev 215-17)
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit df71e5740255ffc0a809b2c437ce37826aed11d3
Merge: 286b30f f80d10c
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 24 18:51:54 2016 +0200
Merge pull request #10357 from SUSE/wip-16748-jewel
jewel: mount.ceph: move from ceph-base to ceph-common and add symlink in /sbin for SUSE
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 286b30fc54c1ea6a41c38a80c5227f9deeb13741
Merge: eb28401 48ee3aa
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 24 17:48:00 2016 +0200
Merge pull request #10790 from dachary/wip-17005-jewel
jewel: ImageReplayer::is_replaying does not include flush state
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit eb28401a59e2ca1a30d0f29aab7a2ea5eb704aea
Merge: 4f3605b d336735
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 24 17:47:45 2016 +0200
Merge pull request #10792 from dachary/wip-16978-jewel
jewel: rbd-mirror: FAILED assert(m_on_update_status_finish == nullptr)
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit 4f3605b0c3cba436b362318487bec4358ea8c4d0
Merge: 0c60d47 8316b6a
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 24 17:47:36 2016 +0200
Merge pull request #10646 from dachary/wip-16576-jewel
jewel: rbd-mirror: FAILED assert(m_local_image_ctx->object_map != nullptr)
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit 0c60d47579591f07bc4e8d24a52c0355fbd17917
Merge: 6dd0327 5968664
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 24 17:47:18 2016 +0200
Merge pull request #10647 from dachary/wip-16593-jewel
jewel: FAILED assert(object_no < m_object_map.size())
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit 6dd0327b40b35e19cb14ce30dec0d75d5a7da086
Merge: cb4cb4a e098fb1
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 24 17:47:08 2016 +0200
Merge pull request #10786 from dachary/wip-17061-jewel
jewel: bashism in src/rbdmap
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit cb4cb4a02b160d9dd65e624cd762c12284eed241
Merge: 089bb43 46246e3
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 24 14:12:34 2016 +0200
Merge pull request #10421 from SUSE/wip-16659-jewel
jewel: ReplicatedBackend doesn't increment stats on pull, only push
Reviewed-by: Kefu Chai <kchai@redhat.com>
commit 089bb43b146408e5e670c3788990b712d8d26543
Merge: 59b6c20 28697fc
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 15:42:11 2016 +0200
Merge pull request #10501 from Abhishekvrshny/wip-16621-jewel
jewel: mds: tell command blocks forever with async messenger (TestVolumeClient.test_evict_client failure)
Reviewed-by: Douglas Fuller <dfuller@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
commit 59b6c20ea5bfb2d7062f7119ffbecd312d342bc4
Merge: e1ddce7 f4fb598
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 15:23:34 2016 +0200
Merge pull request #10816 from SUSE/wip-17092-jewel
jewel: build/ops: need rocksdb commit 7ca731b12ce for ppc64le build
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit ecea6dcf1c36bc5d478cf030f7ba1e01ca35a2d0
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Aug 4 13:24:54 2016 -0400
librbd: delay acquiring exclusive lock if watch has failed
Fixes: http://tracker.ceph.com/issues/16923
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit dfe9f3eac9cca3b83962e0e1b7eac38e6e76d7a5)
commit 49a39ebf6f7c6b7b0b19e4486fc10e57637e143c
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Aug 4 13:47:33 2016 -0400
librbd: convert ImageWatcher class to template
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 814c305ce8c35b5ce01d7e29a912d5ef3978754b)
Conflicts:
src/librbd/ImageWatcher.cc: no shrink guard
src/librbd/Operations.cc: no shrink guard
commit e1ddce7654698f3e41d89406981b1eb26f8f72a3
Merge: 2c387d5 a7987f0
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 08:48:19 2016 +0200
Merge pull request #10103 from xiaoxichen/wip-16037-jewel
jewel: MDSMonitor::check_subs() is very buggy
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
commit 2c387d5cd2785d518982f1c0d209235c240cb7ae
Merge: 128251c 64d99b1
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 08:48:01 2016 +0200
Merge pull request #10105 from xiaoxichen/wip-16515-jewel
jewel: Session::check_access() is buggy
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
commit 128251ceddf6129a1836a6d991a727adc93869df
Merge: d27c6ac bce5646
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 08:47:37 2016 +0200
Merge pull request #10106 from xiaoxichen/wip-16215-jewel
jewel: client: crash in unmount when fuse_use_invalidate_cb is enabled
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
commit d27c6ac57b5cd2f5566c5ecf476b8fe37041ab27
Merge: 63422d0 fd7ff96
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 08:47:23 2016 +0200
Merge pull request #10108 from xiaoxichen/wip-16320-jewel
jewel: fuse mounted file systems fails SAMBA CTDB ping_pong rw test with v9.0.2
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
commit 63422d08ea6d401cefd6b438a7de48c1528da114
Merge: 9fd5291 aa39361
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 08:47:10 2016 +0200
Merge pull request #10199 from SUSE/wip-16625-jewel
jewel: Failing file operations on kernel based cephfs mount point leaves unaccessible file behind on hammer 0.94.7
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
commit 9fd5291345e4f7d08faf8110ba78df244d030db6
Merge: 2823714 2beb56a
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 08:46:53 2016 +0200
Merge pull request #10499 from Abhishekvrshny/wip-16299-jewel
jewel: mds: fix SnapRealm::have_past_parents_open()
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
commit 282371465476e37408f65fc33145f8a76cf35ac7
Merge: e2f7de6 1d3a816
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 08:46:38 2016 +0200
Merge pull request #10500 from Abhishekvrshny/wip-16620-jewel
jewel: Fix shutting down mds timed-out due to deadlock
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
commit e2f7de68393dcf008e366cfc40b199b5acfcd428
Merge: 6f287bf 7c2eab1
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 08:46:13 2016 +0200
Merge pull request #10502 from Abhishekvrshny/wip-16797-jewel
jewel: MDS Deadlock on shutdown active rank while busy with metadata IO
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
commit 6f287bf2b99b8f6b1ae21f017d905dfa4a569649
Merge: d68d41e d244b7a
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 08:45:41 2016 +0200
Merge pull request #10104 from xiaoxichen/wip-16560-jewel
jewel: mds: enforce a dirfrag limit on entries
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
commit d68d41ebdae92666b4dcf6cc8455cf17ab1d903a
Merge: bc6e329 a5f5513
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 23 01:19:33 2016 +0200
Merge pull request #10074 from ceph/jewel-16002
jewel: ObjectCacher split BufferHead read fix
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
commit f4fb59896ccb0d8ac01434cd4cf6ad67776fb0a0
Author: Nathan Cutler <ncutler@suse.com>
Date: Mon Aug 22 20:56:38 2016 +0200
build/ops: bump rocksdb submodule
Fixes a FTBFS on ppc64le
Fixes: http://tracker.ceph.com/issues/17092
Signed-off-by: Nathan Cutler <ncutler@suse.com>
commit bc6e3291b4960779fb84b2976079490d5f8f4935
Merge: 46106f0 e825dd2
Author: Loic Dachary <loic@dachary.org>
Date: Mon Aug 22 10:37:14 2016 +0200
Merge pull request #10537 from theanalyst/wip-16778-jewel
jewel: rgw multisite: preserve zone's extra pool
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 46106f0c0cfeb8746a521559bb466a5021a2c221
Merge: 1bf76cd 96ad2d1
Author: Orit Wasserman <owasserm@redhat.com>
Date: Mon Aug 22 10:31:39 2016 +0200
Merge pull request #10655 from dachary/wip-16163-jewel
jewel: rgw: can set negative max_buckets on RGWUserInfo
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 1bf76cd58ec3635291e5c0080df47f0845088b77
Merge: 3cef399 8b9954d
Author: Orit Wasserman <owasserm@redhat.com>
Date: Mon Aug 22 10:29:40 2016 +0200
Merge pull request #10580 from dreamhost/wip-16928-jewel
jewel: rgw: Fix civetweb IPv6
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 3cef399857b5cb234e0f4cd54933d58744736f62
Merge: e1bc847 9e5a3ae
Author: Orit Wasserman <owasserm@redhat.com>
Date: Mon Aug 22 10:28:14 2016 +0200
Merge pull request #10216 from SUSE/wip-16637-jewel
jewel: add socket backlog setting for via ceph.conf
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit e1bc84776e7a95062311fb6b00a85a5327926c92
Merge: 089967f 429e9c0
Author: Orit Wasserman <owasserm@redhat.com>
Date: Mon Aug 22 10:27:03 2016 +0200
Merge pull request #10167 from jmunhoz/aws4-streaming-backport-jewel
jewel: rgw: aws4: add STREAMING-AWS4-HMAC-SHA256-PAYLOAD support
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 089967f4374569495d177c7dea1e345ca08c772a
Merge: 8e2de35 44decb4
Author: Orit Wasserman <owasserm@redhat.com>
Date: Mon Aug 22 10:13:51 2016 +0200
Merge pull request #9544 from Abhishekvrshny/wip-16085-jewel
jewel: A query on a static large object fails with 404 error
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 8e2de35324258cdbe44dfe8e7ce757ca1b3ef99b
Merge: 3f007a1 059ed62
Author: Orit Wasserman <owasserm@redhat.com>
Date: Mon Aug 22 10:10:25 2016 +0200
Merge pull request #10525 from Abhishekvrshny/wip-16732-jewel
jewel: Bucket index shards orphaned after bucket delete
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 3f007a192f8629b7a6000846db41550eb94cdcb2
Merge: 1019325 8655803
Author: Orit Wasserman <owasserm@redhat.com>
Date: Mon Aug 22 10:09:21 2016 +0200
Merge pull request #10188 from dreamhost/wip-16618-jewel
jewel: rgw: fix multi-delete query param parsing.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 1019325af6c7153893a74b126f2c5e6534841bc4
Merge: 0cd574f 4a3c9f3
Author: Orit Wasserman <owasserm@redhat.com>
Date: Mon Aug 22 10:06:51 2016 +0200
Merge pull request #9266 from Abhishekvrshny/wip-15964-jewel
jewel: rgw: realm pull fails when using apache frontend
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 0cd574f5a9a1db4ddfe262e2c4eb4643c5af9075
Merge: cdd4ab2 dbf8cf0
Author: Loic Dachary <loic@dachary.org>
Date: Mon Aug 22 10:02:20 2016 +0200
Merge pull request #10710 from rzarzynski/wip-16393-jewel
jewel: rgw: improve support for Swift's object versioning.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 1cbc839ebd11acb2ed0ebf0b0117eab09b5141c3
Author: Kefu Chai <kchai@redhat.com>
Date: Mon Aug 15 15:42:29 2016 +0800
osd: set objecter.osdmap when starts
if any OSD is full or the pause flag is set in cluster, objecter will
always try to subscribe the next osdmap using the mon client shared with
OSD. but if the OSD's osdmap is very far behind on osd maps due to some
reasons, `MonClient::sub_want_increment()` will reject the subscribe
request from OSD, because it's asking for older maps while the mon client
is about to send the request from objecter for the *next* osdmap.
so we need to update objecter with the latest local osdmap, so it is
able to skip the new osdmaps if OSD needs to catch up with the cluster
first.
Fixes: http://tracker.ceph.com/issues/17023
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 1515e08e7d425f01d2e9d02c34b2ae40cdf2611a)
commit 4d37cfb6eed1737b21d9f3f18eee6169f48445b2
Author: Kefu Chai <kchai@redhat.com>
Date: Fri Aug 12 19:19:51 2016 +0800
mon/MonClient: should update sub_sent with sub_new
std::map::insert() does not overwrite existing items with the same key.
so we need to do this in a different way. and we will check sub_sent
aftewards, so we need to keep an updated sub_sent around.
Fixes: http://tracker.ceph.com/issues/17023
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 550814900ebca9dd89e088b9abe24f66eb5e3e6d)
commit cdd4ab2897a3d0004b1e50401754004f95559e18
Merge: 38433ad 5498377
Author: Loic Dachary <loic@dachary.org>
Date: Sun Aug 21 21:48:20 2016 +0200
Merge pull request #10797 from trociny/wip-17080-jewel
jewel: the option 'rbd_cache_writethrough_until_flush=true' dosn't work
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit 5498377205523052476ed81aebb2c2e6973f67ef
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Aug 17 12:08:37 2016 -0400
librbd: cache was not switching to writeback after first flush
Fixes: http://tracker.ceph.com/issues/16654
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 2d9840af39555ce00246b50e4a5c186798bd88ff)
commit 471871e752963bf8cc42dcc1ec7e44e34e7e0ca2
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jul 26 23:28:43 2016 -0400
test: unit test cases for disabling librbd journal by policy
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4a256f5044ac54a8a0a9598ee7fd151b8ea08f84)
Conflicts:
src/test/librbd/CMakeLists.txt (test_ConsistencyGroups.cc)
commit 062162f88f1bdaaaa96713429007757b72ec92f9
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jul 27 10:56:48 2016 -0400
librbd: utilize factory methods to create AioObjectRequest objects
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 2e5076eb19172919deeb0f4d11f2b2b6cc03fab3)
commit d8eddc6b58fa2b0589719fab54beb42bc8e440bf
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jul 27 09:07:00 2016 -0400
librbd: convert AioObjectRequest/AioObjectRead classes to templates
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 840a473e7fb94124ca7c571fc3dd2c787e0d265a)
commit 1a7cb60ee4b898aaea43a9963e95ed575ec66f56
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jul 27 09:54:44 2016 -0400
librbd: move read callback helpers to narrowest scope
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 65b336f68596a430629692a8682c5cfe883c31f1)
commit 026f6d2da25d41f21f5bb5f8ee367cc7601296f7
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jul 26 23:26:08 2016 -0400
librbd: convert AioImageRequest derived classes to templates
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit a945c2c235d9259b1d4a8a579d7e6efc2ed35916)
commit 61f0acb82ba344139bc2aa486fb096e5576e2553
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jul 27 08:49:44 2016 -0400
librbd: removed namespace indentation from legacy classes
Better follows the Ceph C++ style guide
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit f1e391982b43ddfb363ff913260460368a6d5834)
commit e83866bcf01f32c35af94a47ee614361b4a787e6
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jul 26 22:58:24 2016 -0400
librbd: do not record journal events if append is disabled by policy
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 405142c615352613e8bacee46e92484eb0c08f26)
commit a9a84bad431f2d9916bdf88980b1cd2d0e36a1e5
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jul 26 20:57:40 2016 -0400
librbd: remove unused journal replay canceled callback
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit f453554edcb16ec72714b2456c08bab9e339b1eb)
commit 942950007f9c424949eacf1d1cf3a74ef3b95725
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jul 26 20:48:13 2016 -0400
librbd: optionally support disabling journal appends via policy
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit f7eeacd02f8f80c5d1d5d9cfed35bbd23f64b018)
commit 1f63307a339fcfe3045cc001a72d1ecc197a7010
Author: shawn <cxwshawn@gmail.com>
Date: Fri Jun 17 01:45:58 2016 -0400
librbd: optimize header file dependency & modify related file.
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
(cherry picked from commit 2185a6275c89d9462611e965da407ea0d504987d)
commit c49398dcd92bab90ab852407427bcc2c23147779
Author: shawn <cxwshawn@gmail.com>
Date: Tue Jun 7 03:12:55 2016 -0400
librbd: optimize operation header file dependency
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
(cherry picked from commit 88afa408683238b803606f3d63de326ead8cefee)
commit 5366973897c1103a1c291c2f886692da4170d901
Author: shawn <cxwshawn@gmail.com>
Date: Tue Jun 7 01:59:05 2016 -0400
librbd: optimize journal header file dependency
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
(cherry picked from commit 59397e27a04fb0f2b990a86dcaf3c418457d1b72)
commit c95b83e7c0cae0b322af713045745fb1c8fa411a
Author: shawn <cxwshawn@gmail.com>
Date: Mon Jun 6 23:36:06 2016 -0400
librbd: optimize image_watcher header file dependency
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
(cherry picked from commit aee1559f312e9493d6580e5ffcb606fe21ee3c59)
commit e955496fb638163427c71b0734f6506aa6636d28
Author: shawn <cxwshawn@gmail.com>
Date: Mon Jun 6 23:22:39 2016 -0400
librbd: optimize image header file dependency
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
(cherry picked from commit 461958ebc7e8ccef76b3f08a979482762267c10b)
commit f403abafd5da00e5afc13abba7514fa2bdce9760
Author: shawn <cxwshawn@gmail.com>
Date: Mon Jun 6 22:56:49 2016 -0400
librbd: optimize exclusive_lock header file dependency
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
(cherry picked from commit 01282eb5cdeda7bbbb77438c7d1953d023ea54b6)
commit 0ca8071e13492a9124be8322843cd96ca2bba531
Author: shawn <cxwshawn@gmail.com>
Date: Mon Jun 6 03:37:22 2016 -0400
librbd: optimize object-map header file dependency
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
(cherry picked from commit 1a2276927d5956918f7a4830b4a44048ac090328)
commit 03314145d1bb5f4330a92d945af9df8856284724
Author: Mykola Golub <mgolub@mirantis.com>
Date: Thu Jun 30 14:31:23 2016 +0300
test: fix librbd tests for rbd_skip_partial_discard
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 9717417b7b8aa1b24a82a0bfddbfc23748188641)
Conflicts:
src/rocksdb this was a mistake in the original commit
commit d0c0c2fce39091915428e815bc6aee265ac9e351
Author: Mykola Golub <mgolub@mirantis.com>
Date: Thu Jun 30 14:30:08 2016 +0300
librbd: discard hangs when 'rbd_skip_partial_discard' is enabled
Fixes: http://tracker.ceph.com/issues/16386
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit dc41731fbfd73d9fbb63d3ff360d4c5dd62deaf1)
commit 5bf4398e373ecc26958d8480171f4322341a9d82
Author: xinxin shu <shuxinxin@chinac.com>
Date: Tue Jun 7 12:07:55 2016 +0800
librbd: object_may_exist always return true when you write an empty object
if you write an empty object, object map is updated firstly
Signed-off-by: xinxin shu <shuxinxin@chinac.com>
(cherry picked from commit a54073808146d205d54d6a932a6e0fd750f1dc38)
commit 67861061fcd85f143e7d26077c71a582c6439745
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jul 25 12:43:13 2016 -0400
librbd: ensure that AIO ops are started prior to request
Fixes: http://tracker.ceph.com/issues/16708
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6064f2346de0a8bf2878bf5bfac9a992cda7c4ca)
commit 47279f8e0158d0483011bca01455ef9735453b34
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jul 25 12:42:26 2016 -0400
librbd: helper method for creating and starting AioCompletions
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 3df7213c0a9f0186e3a37c9e4a10f1c8bc84446e)
commit 38433ad90b81b4e398ae6f4b8e196af1a9ea20b8
Merge: b98e27c 9fc5b41
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 19 20:35:19 2016 +0200
Merge pull request #10649 from dachary/wip-16867-jewel
jewel: mkfs.xfs slow performance with discards and object map
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit d3367354b02be7ee231a50b9ad8bca098f840f46
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Aug 8 14:41:00 2016 -0400
rbd-mirror: potential assertion failure during error-induced shutdown
Fixes: http://tracker.ceph.com/issues/16956
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6a465d9dad417e8b52909c5478f7e3e433748948)
commit d1e05127b73c53a02944edc267548656732231fd
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Aug 10 12:50:53 2016 -0400
rbd-mirror: potential race condition during failure shutdown
Fixes: http://tracker.ceph.com/issues/16980
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 74ec7c91f17630c77647cfc9813090d688b3410d)
commit 48ee3aacef8b1628f41936bd13cc0327c44e59ef
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Aug 9 08:13:30 2016 -0400
rbd-mirror: replaying state should include flush action
Fixes: http://tracker.ceph.com/issues/16970
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 7246f1b771b4d1f336ac11b9e881c9eb32bcd4e1)
commit e098fb14f106bf294780abd5d580244e7ce3b20c
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Aug 15 14:10:27 2016 -0400
doc: added rbdmap man page to RBD restructured index
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4e05cbf7e6eda797a9b08e0081aead19523d5762)
commit b7793d757fca99aa2eb371934e667b3cc555d666
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Aug 15 14:07:43 2016 -0400
rbdmap: specify bash shell interpreter
Fixes: http://tracker.ceph.com/issues/16608
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 51237c33d1ec4034c5c07f5d63d63838a76bce88)
commit b98e27c42f29f4fa44cbe7f4b7d9ab3633404f0c
Merge: eb706ab 92d7882
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 19 07:12:40 2016 +0200
Merge pull request #10684 from dillaman/wip-16904-jewel
jewel: rbd-mirror: reduce memory footprint during journal replay
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit 92d7882661d632af9e9f07817610297411c0248f
Author: Mykola Golub <mgolub@mirantis.com>
Date: Thu Jun 30 16:18:56 2016 +0300
rbd-mirror: remove ceph_test_rbd_mirror_image_replay test case
Fixes: http://tracker.ceph.com/issues/16539
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 06a333b116383de4d39c9e098e6e5fa195ceb370)
commit 0d9d57385bcb544115ccdb00d6bbd67b987dbad0
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jul 20 16:18:23 2016 -0400
qa/workunits/rbd: override rbd-mirror integration test poll frequency
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 574be7486ad737892422aed0322f80e5750a75a0)
commit 96cdb11934e359024c1a2f7cbffd55a5c7f6715b
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jul 21 07:28:54 2016 -0400
rbd-mirror: do not cancel maintenance ops with missing finish events
librbd will replay these ops when opening an image, so rbd-mirror
should also ensure these ops are replayed.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 862e581553fff510286b58135a1fd69705c06096)
commit d47a23272765633df2303e142d67d78af5bd2bf4
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jul 19 15:46:49 2016 -0400
rbd-mirror: potential memory leak when attempting to cancel image sync
The cancel request could race with the actual scheduling of the image
sync operation.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit e6cdf955bad500561ddada2791641eba5fb27762)
commit 1e4d98cdd4c5d671870735823a80e80751ba13ae
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jul 19 15:42:27 2016 -0400
rbd-mirror: fix issues detected when attempting clean shut down
Fixed lockdep issue from status update callback and fixed the
potential for a stuck status state.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 0275c7ca23b27dc5250cd33f317e2273470a9fe8)
commit e4c43190b49e94ccfeda05ac7a7a8835d81b49a5
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jul 19 13:50:20 2016 -0400
rbd-mirror: shut down image replayers in parallel
When multiple pools are being replicated, start the shut down
process concurrently across all pool replayers.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 73cdd08007c27d2c3c41fe644601e7a144f21c82)
commit 1e3821268fbd17581a1352401af626a3e56ee3d4
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jul 19 00:50:14 2016 -0400
rbd-mirror: configuration options to control replay throttling
Fixes: http://tracker.ceph.com/issues/16223
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 24883e0605907d1f9bcd1206c8a95c3bde30d5dc)
commit 549aada7f90b9f7d4a4447d2794c18d5f61807a5
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jul 20 08:11:53 2016 -0400
librbd: new configuration option to restrict journal payload size
Ensure that, by default, IO journal events are broken up into manageable
sizes when factoring in that an rbd-mirror daemon might be replaying
events from thousands of images.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 11d7500b9bcda7b7c1d8756ade3373f404257f32)
commit 99195e89e4d229922c6e88aed6a024619e939040
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jul 19 00:42:16 2016 -0400
librbd: wait for journal commit op event to be safely recorded
Operation request op finish events should not be fire and forget.
Instead, ensure the event is committed to the journal before
completing the op. This will avoid several possible split-brain
events during mirroring.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 47e0fbf231e52d00069c97b72c57c3158445bcf0)
Conflicts:
src/test/librbd/operation/test_mock_ResizeRequest.cc: no shrink restriction
commit 3ae52ebadb5ef0de63ba30f937dcbcad507a7048
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jul 20 16:17:41 2016 -0400
journal: optimize speed of live replay journal pruning
When streaming playback, avoid the unnecessary watch delay when
one or more entries have been pruned.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 08a8ee98c03b5dfb30341c8d209f0c231b2c5d27)
commit 3850ded99728d1d6acfcaa72cf3923e791dd8fed
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jul 20 10:04:21 2016 -0400
journal: possible deadlock during flush of journal entries
If a future flush is requested at the exact same moment that an
overflow is detected, the two threads will deadlock since locks
are not taken in a consistent order.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 2c65471de4b0f54b8ed722f5deaf51ba62632e37)
commit b4b984325f67a617c890ce6ccfbea5f42322cec5
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jul 20 09:15:26 2016 -0400
journal: improve debug log messages
rbd-mirror debugging involved potentially thousands of journals
concurrently running. The instance address will correlate log
messages between journals.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 11475f4fe740cccdfea459ebeabdca8cb94dc911)
commit 196de276d5f1102a1cb4c7600252c9f1e783acc6
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jul 18 15:34:53 2016 -0400
journal: support streaming entry playback
Now that it's possible for the ObjectPlayer to only read a
partial subset of available entries, the JournalPlayer needs
to detect that more entries might be available.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 28d5ca16cbcb445f985469413b2a8a3048ab66b7)
commit b08335d052ba04765690397f70d0d7f9b54898ac
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jul 18 15:15:58 2016 -0400
journal: replay should only read from a single object set
Previously it was prefetching up to 2 object sets worth of journal
data objects which consumed too much memory.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 2666d366645b22a5db2a2bcbfce466726bf0b3c0)
commit c6f5303fb2d12830d0c9ac8605884b0c89d16539
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jul 20 08:06:13 2016 -0400
journal: optionally restrict maximum entry payload size
Journal playback will need to read at least a full entry which was
currently limited to the maximum object size. In memory constrained
environment, this new optional limit will set a fix upper bound on
memory usage.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 8c1877b82fee0db1dba76252b32ff348226d41a7)
commit 6dc609f24e54c8363a5acecef982aa67beb6130e
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jul 18 11:01:26 2016 -0400
journal: optionally fetch entries in small chunks during replay
Support fetching the full object or incremental chunks (with a
minimum of at least a single decoded entry if available).
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit f7362e9a57e484fffd840ca0eef01778dcacb65b)
commit 91c70f34edabfb3983da643478d746568ed6b738
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jul 18 09:31:40 2016 -0400
journal: helper class for organizing optional settings
Additional runtime configuration settings will be needed. The
new class will avoid the need to expand the constructor.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit dad8328f2d502d18923c35f7b86a0cc2ccec133a)
commit d68fe79eedc475c11858c9da5cb3fd2b66ed2b2f
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jul 11 15:32:45 2016 -0400
rbd-mirror: preprocess journal events prior to applying
Fixes: http://tracker.ceph.com/issues/16622
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4df913d10b2dd0444db806fccb2812547efa1b56)
commit 01f5f3f15c0da44588b4644905953e234a551def
Author: Jason Dillaman <dillaman@redhat.com>
Date: Fri Jul 8 16:19:52 2016 -0400
rbd-mirror: event preprocessor to handle snap rename operations
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit fdfca557370c9d86acb81d50edb6aafc42044747)
commit f71dc87e509ada03b40b2bec5ea82579709e0d2d
Author: Jason Dillaman <dillaman@redhat.com>
Date: Fri Jul 8 15:16:04 2016 -0400
librbd: improve journaling debug log messages
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 270cb74bc276bfb1f828a6a6933fa827f6cdce42)
Conflicts:
src/librbd/journal/Replay.cc: no snap limit restriction
commit 14db53587aa9a918174b616f006c38d1b4c99e58
Author: Jason Dillaman <dillaman@redhat.com>
Date: Fri Jul 8 14:37:14 2016 -0400
librbd: separate journal event decoding and processing
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 57cd75e8058b84b5dce38f3d8f4b7b4138ac6c9a)
commit 0c4a73fb422ea78e4c5db0763866206cbb54f120
Author: Jason Dillaman <dillaman@redhat.com>
Date: Fri Jul 8 09:14:58 2016 -0400
librbd: record original snap name in snap rename journal event
Remote peers need a key to map snapshot ids between clusters.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit f70b90c48d9520bbb4bb29058375e8205cf63771)
commit 1a25490367343d7d4083961163c62f1c32cac105
Author: Jason Dillaman <dillaman@redhat.com>
Date: Fri Jul 8 09:13:07 2016 -0400
librbd: simple duplicate op checks for all maintenance operations
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 77699bfe749bc7a898024638fb8347c53fe12123)
Conflicts:
src/test/librbd/mock/MockOperations.h: no shrink restriction
commit 45a0b74a3eb50395a8e5ebb0f2a87add5090ddc1
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jul 7 22:16:51 2016 -0400
qa/workunits/rbd: exercise snapshot renames within rbd-mirror test
Snapshot rename operations utilize the (cluster) unique snapshot
sequence to prevent attempts at replays. When mirroring to a
different cluster, these sequences will not align.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 2f4cb26d8bbd1457bc261547103b56ad40b3c464)
commit c7ab24e7ed63dd1754753c7b0e5c8981a8454a0b
Author: Mykola Golub <mgolub@mirantis.com>
Date: Wed Jun 15 11:31:14 2016 +0300
librbd: re-register watch on old format image rename
The watching object name is changed when renaming an old format image,
so unregister the watcher before the rename, and register back after,
to avoid "Transport endpoint is not connected" error.
Fixes: http://tracker.ceph.com/issues/16321
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 1a3973c8814200dc449a557a4fc8212911633985)
commit 46fdba458750a13d217708ae3209b0f8bd058072
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 23 20:28:33 2016 -0400
rbd-mirror: gracefully restart pool replayer when blacklisted
Fixes: http://tracker.ceph.com/issues/16349
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 2f55aa5e33b2fe242ebb9702ba9ff6f8d5cef96c)
commit a806cdbb057e6bf14322ec6c3da8670ea2e9cfdc
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 23 20:28:02 2016 -0400
rbd-mirror: do not clear image replayer error code after shut down
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 1fc27545c2092c178293ed636b6aadb11bc8cbd3)
commit b88a851d96b224d8332aa76a61d17a659dd5d14e
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 23 16:57:50 2016 -0400
rbd-mirror: image deleter should use provided librados connection
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 03c2aec4c613f11fcfed5bcd47855005f42abd79)
commit 4b05677581ce9910e356e84203000251c92d8405
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 23 16:03:03 2016 -0400
rbd-mirror: each pool replayer should use its own librados connection
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 48f301decbf1f27937bb77a3b47e54933f272d7d)
commit 569fbee99d1367bc0d51e96e42dcf64eeb930648
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jun 27 09:05:33 2016 -0400
rbd-mirror: clean up ImageReplayer before stopping state machine
Fixes: http://tracker.ceph.com/issues/16489
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c97f7245a015dbdda25584134840d023fd65cdd1)
commit eb706abd814fbd5cc704f21f3f9839ff09aaea6e
Merge: 3167918 fcc00f7
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 17 19:17:56 2016 +0200
Merge pull request #10679 from dillaman/wip-16735-jewel
jewel: rbd-nbd does not properly handle resize notifications
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit 3167918679b519ae7d2625ea08b96419111c9992
Merge: e6f9f28 2afc176
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 17 19:10:04 2016 +0200
Merge pull request #10148 from SUSE/wip-16599-jewel
jewel: rgw: Swift API returns double space usage and objects of account metadata
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
commit 55460e2e7b0f1298796b37b38a64820a8f23f6e2
Author: Shilpa Jagannath <smanjara@redhat.com>
Date: Sat Aug 6 14:25:48 2016 +0530
rgw: raise log levels for common radosgw-admin errors
Currently while running radosgw-admin command we see these messages thrown at
the endusers since debug level is set to 0:
2016-08-02 14:48:28.687251 7f9e630639c0 0 Cannot find zone
id=7a2a89b9-4f5e-4f60-a29e-451ac9acc5a8 (name=us-west), switching to local
zonegroup configuration
2016-08-02 14:48:35.742185 7f9e630639c0 0 error read_lastest_epoch
.rgw.root:periods.a3db7884-2445-4bab-a165-6730f8573b8f:staging.latest_epoch
Raising the log level to 1.
Fixes: http://tracker.ceph.com/issues/16935
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit 8ff2b8e71abd34648c8eefb6b158ae5de46bd709)
commit 73cc60862891cba8581370e3d5726a9f75ba1651
Author: Casey Bodley <cbodley@redhat.com>
Date: Fri Aug 5 11:28:13 2016 -0400
rgw: fixes for period puller
* reset epoch=0 before RGWPeriod::init() so we get the latest_epoch
* if we're the metadata master, don't try to pull periods from ourself
Fixes: http://tracker.ceph.com/issues/16939
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 06c384f1c5aa5b4b6404a3caf8a5f88ee40b0b03)
commit f29864302648f38050626086bb87d47448a72aaf
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Fri Jul 15 17:18:23 2016 +0200
rgw: ONLY improve code formatting in rgw_object_expirer_core.{cc,h}.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit bc1ecdfb42bf9c9c5825af035409359536ed5b1e)
commit e7be5a544a712142742323d573586dc9e98cbd77
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Fri Jul 15 17:11:04 2016 +0200
rgw: fix skipping some objects to delete by RadosGW's object expirer.
Wei Qiaomiao has found that expired objects, which should be removed by
the object expirer of RadosGW, might be left unprocessed till next
restart of a RadosGW's instance. This happens when process_single_shard
method of RGWObjectExpirer class exhaust a time slot for a single round
and finishes without informing caller about the situation.
Fixes: http://tracker.ceph.com/issues/16705
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 99f7d6eb565cee116c662305411df2adef002cae)
commit af7e1e0dde953a56f33197c80da499e89f3dfc93
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Fri Jul 15 17:05:37 2016 +0200
rgw: fix trimming object expirer's hints.
Fixes: http://tracker.ceph.com/issues/16684
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 83cd7852ed1fd8350d7c95a1b8811ffd34d7789f)
commit dc154cd1e497b02386b91fde28a658d79ec6659e
Author: Kefu Chai <kchai@redhat.com>
Date: Mon Jul 25 11:12:14 2016 +0800
osd: fix the mem leak of RepGather
ReplicatedPG::new_repop() returns a pointer to RepGather with two refcounts,
one is held by ReplicatedPG::repop_queue, the other is supposed to be
held by the caller of this function. but it's caller
ReplicatedPG::submit_log_entries() assigns it to a
boost::intrusive_ptr<RepGather>() directly, why by default add_ref() in
its constructor. this makes the refcount 3. that's why we have a leak of
RepGather in `ReplicatedPG::new_repop(ObcLockManager&&,
boost::optional<std::function<void ()>>&&)`.
Fixes: http://tracker.ceph.com/issues/16801
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit d3a28465fc7b7002f38cff364fdf601f7486add3)
commit e6f9f287e226e44035920827be2a45753f7452d1
Merge: 84e3810 90d29fc
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 17 13:41:12 2016 +0200
Merge pull request #10678 from dillaman/wip-16701-jewel
jewel: rbd-mirror: include local pool id in resync throttle unique key
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit 84e38109472b4a2a169eb8286c6632da4b1edb6e
Merge: c2defb0 0ff0960
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 17 13:39:02 2016 +0200
Merge pull request #10614 from SUSE/wip-16959-jewel
jewel: rpm: OBS needs ExclusiveArch
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit c2defb0cea4ba9eed88af3f234c248c57ba48f4f
Merge: 6d7ebb1 461782e
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 17 13:38:27 2016 +0200
Merge pull request #10519 from Abhishekvrshny/wip-16312-jewel
jewel: selinux denials in RGW
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 6d7ebb10e6b20f7c3656fd763d96e64ac247e59f
Merge: 338a58c b26acc0
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 17 13:37:51 2016 +0200
Merge pull request #10364 from SUSE/wip-16750-jewel
jewel: ceph-osd-prestart.sh contains Upstart-specific code
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 338a58ca2ed9ba27f9d66c22e725322ce15466af
Merge: c7a1c81 c1a47c7
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 17 13:36:47 2016 +0200
Merge pull request #10008 from dachary/wip-16099-jewel
jewel: ceph-base requires parted
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit c7a1c812c4aab478ee38db60947e6f686e8a7407
Merge: 2d5ada4 ad3b788
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 17 13:35:54 2016 +0200
Merge pull request #9917 from SUSE/wip-16461-jewel
jewel: ceph Resource Agent does not work with systemd
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 96ad2d16df6ec43cd730a4c21b866524a188c532
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Thu Jun 2 04:28:30 2016 -0700
rgw: can set negative max_buckets on RGWUserInfo
This can be used to disable user's bucket creation
Fixes: http://tracker.ceph.com/issues/14534
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 626d795139a6c5104be098780b70500c2de9b8f4)
commit 2d5ada4ef8ee7d6803a903b7395e0c2b19b781ea
Merge: aa03e1d 00f3fd4
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 16 16:39:22 2016 +0200
Merge pull request #10303 from ukernel/jewel-16655
jewel: ceph-fuse: link to libtcmalloc or jemalloc
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit aa03e1dbe6b243c56ed40eee8734051f434c2ed2
Merge: 0280773 3da251f
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 16 16:21:01 2016 +0200
Merge pull request #10420 from SUSE/wip-16798-jewel
jewel: ceph command line tool chokes on ceph –w (the dash is unicode 'en dash' &ndash, copy-paste to reproduce)
Reviewed-by: Kefu Chai <kchai@redhat.com>
commit dbf8cf0b5d46cc49eaf0a14bcc05a4fb215d98fb
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Fri May 13 18:23:12 2016 +0200
rgw: improve support for Swift's object versioning.
This patch allows RadosGW to pass the RefStack with an accuracy
to the RFC7230 violation issue which is clearly a Tempest bug.
Fixes: http://tracker.ceph.com/issues/15925
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 237ad1210f5a6e4f191293ce532ca15869612a93)
Conflicts:
src/rgw/rgw_op.cc
In contrast to master, Jewel doesn't support
container quota of Swift API. All tracks of this
feature have been eradicated from the patch.
src/rgw/rgw_rest_swift.cc
Jewel doesn't include boost/optional.hpp but has
boost/utility/in_place_factory.hpp. The conflict
has been resolved to pull in both headers.
commit 02807732b0f66826c2d110fe06ece15751924760
Merge: 1e04a35 67eb961
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 16 10:40:05 2016 +0200
Merge pull request #10520 from Abhishekvrshny/wip-16319-jewel
jewel: radosgw-admin: inconsistency in uid/email handling
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 1e04a357a6e9e67c81b5104f57ab61e5ce07a5e3
Merge: f6e927c 3f76e4a
Author: Casey Bodley <cbodley@users.noreply.github.com>
Date: Mon Aug 15 17:18:36 2016 -0400
Merge pull request #10073 from SUSE/wip-16565-jewel
jewel: rgw: data sync stops after getting error in all data log sync shards
Reviewed-by: Casey Bodley <cbodley@redhat.com>
commit f6e927cfe3e296ebd5e3b22c3f05d717f87cd4ed
Merge: d2e8692 93d7875
Author: Casey Bodley <cbodley@users.noreply.github.com>
Date: Mon Aug 15 17:18:06 2016 -0400
Merge pull request #10524 from Abhishekvrshny/wip-16731-jewel
jewel: failed to create bucket after upgrade from hammer to jewel
Reviewed-by: Casey Bodley <cbodley@redhat.com>
commit d2e869255869ae68ca419d5f0a3bbfbcf3a91710
Merge: 87e71aa dc96383
Author: Casey Bodley <cbodley@users.noreply.github.com>
Date: Mon Aug 15 17:16:41 2016 -0400
Merge pull request #10523 from Abhishekvrshny/wip-16700-jewel
jewel: rgw: segmentation fault on error_repo in data sync
Reviewed-by: Casey Bodley <cbodley@redhat.com>
commit 87e71aae7a2d73b7b5444e1a5ab283ece570e3fb
Merge: cc60230 fe57ace
Author: Casey Bodley <cbodley@users.noreply.github.com>
Date: Mon Aug 15 17:16:06 2016 -0400
Merge pull request #10518 from Abhishekvrshny/wip-16272-jewel
jewel: rgw ldap: fix ldap bindpw parsing
Reviewed-by: Casey Bodley <cbodley@redhat.com>
commit cc60230eef82173eafa52df3d2015c8c0473d236
Merge: 31264f4 489f8ce
Author: Loic Dachary <loic@dachary.org>
Date: Mon Aug 15 17:59:51 2016 +0200
Merge pull request #10144 from dillaman/wip-fix-missing-return-jewel
jewel: librbd: fix missing return statement if failed to get mirror image state
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 31264f4126f79c26cff73b2a4d2bea77426c5cd9
Merge: 4ee9117 c6546bb
Author: Loic Dachary <loic@dachary.org>
Date: Mon Aug 15 17:55:42 2016 +0200
Merge pull request #10552 from ceph/wip-16507-jewel
jewel: expose buffer const_iterator symbols
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 4ee9117d52d41a72444722afe81ce2074dbf58d3
Merge: 5b7899e 3d6d36a
Author: Loic Dachary <loic@dachary.org>
Date: Mon Aug 15 17:53:40 2016 +0200
Merge pull request #10497 from Abhishekvrshny/wip-16586-jewel
jewel: partprobe intermittent issues during ceph-disk prepare
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 5b7899e89154eceb53625cd6f7ae33984298857f
Merge: c65536c bd70d6d
Author: Josh Durgin <jdurgin@redhat.com>
Date: Mon Aug 15 08:35:57 2016 -0700
Merge pull request #10716 from ceph/wip-16975
qa: add rados test script for upgrades
Reviewed-by: Sage Weil <sage@redhat.com>
commit c65536cf4f3433fea2cc4683da930676f2def223
Merge: 40e3e2e 5ffdc34
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Aug 15 08:28:32 2016 -0400
Merge pull request #10732 from dillaman/wip-rbd-default-format-jewel
doc: format 2 now is the default image format
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit 5ffdc344401e91c4db89f9ed017adb15e535ebb4
Author: Chengwei Yang <yangchengwei@qiyi.com>
Date: Fri Aug 12 17:44:16 2016 +0800
doc: format 2 now is the default image format
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
(cherry picked from commit c8c92f8a2c2106d11b18c70c4c183c3724c2f3c2)
commit 40e3e2e075f21c2e4d36219747d6fdba530d5ed8
Merge: f58ca19 2c39d36
Author: Loic Dachary <loic@dachary.org>
Date: Mon Aug 15 11:14:58 2016 +0200
Merge pull request #10217 from SUSE/wip-16636-jewel
jewel: rgw: document multi tenancy
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit f58ca19f36179a64e50e2d14555b1efbb8fbfa79
Merge: 40fc75e 546141c
Author: Orit Wasserman <owasserm@redhat.com>
Date: Mon Aug 15 10:02:12 2016 +0200
Merge pull request #9453 from wido/jewel-issue-15348
jewel: rgw: Set Access-Control-Allow-Origin to a Asterisk if allowed in a rule
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 40fc75ef4fafada6aa3fac47963da060f50646b0
Merge: ec14cf5 3ff6e8f
Author: Orit Wasserman <owasserm@redhat.com>
Date: Fri Aug 12 17:41:07 2016 +0200
Merge pull request #10693 from dreamhost/wip-15975-jewel
rgw: Fallback to Host header for bucket name.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit bd70d6ddba1bc237a6ffafa0dadea16b2c65a39c
Author: Josh Durgin <jdurgin@redhat.com>
Date: Thu Aug 11 20:39:20 2016 -0700
qa: remove tmap_migrate tests from upgrade testing
tmap_upgrade only exists in jewel
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
commit 49db733bad375645214ddb8f9b95b8817f9b41e1
Author: Josh Durgin <jdurgin@redhat.com>
Date: Thu Aug 11 16:05:04 2016 -0700
qa: add rados test script for upgrades
Disable master tests that are not meant to work on jewel
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
commit 3ff6e8fa852346f4b69cd8c10b2f14ae4983d527
Author: Robin H. Johnson <robin.johnson@dreamhost.com>
Date: Thu May 26 15:41:20 2016 -0700
rgw: Fallback to Host header for bucket name.
RGW should fallback to using the Host header as the bucket name if valid &
possible even when it is NOT a suffix match against the DNS names, or a match
against the CNAME rule.
This mirrors AWS S3 behavior for these cases (The AWS S3 does not do any DNS
lookups regardless).
Backport: jewel
Fixes: http://tracker.ceph.com/issues/15975
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit 46aae19eeb91bf3ac78a94c9d4812a788d9042a8)
commit 90d29fc94a826b1f56ff99e5b5d81a735abbc4cd
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jul 11 21:58:45 2016 -0400
rbd-mirror: include local pool id in resync throttle unique key
Fixes: http://tracker.ceph.com/issues/16536
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 8ad36cab7cbf3492bfa972b43e4a5f75a110bfe6)
commit 03c76148ef9e10fad649a407374f4fc855529377
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jun 28 15:18:51 2016 -0400
test: ensure unique template specializations per test case
With optimizations disabled, there can be cross translation unit
symbol leaking that is not present when inlining is enabled.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 995a16ebcbe79fd14e6de3b25087373744238294)
commit ea9e031e2144ee32b3776cfe2237681f7065861b
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jun 28 14:59:17 2016 -0400
test: missing template specialization for unittest_rbd_mirror
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 187e2c87b50d64e93736a42fcf449c55e8550125)
commit c2e6d08469ea733dac984770c30d8ab6356f3eca
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jun 15 17:49:54 2016 -0400
qa/workunits/rbd: increase writes in large image count test
This will help to test edge cases where the remote image does
or does not own the exclusive lock when the sync starts.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit d16698f96c65b9627cc1f64ef80b7f1e39d69d45)
commit 88a7c5c1b28c6a077d35577787757b0a98b7b2a5
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jun 15 17:42:59 2016 -0400
rbd-mirror: prune sync points referencing missing snapshots
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 378914f6b8a8a8c5517fee8fa186268078fbcbfb)
commit 9a6bad3bd7eaa733042c0a23aaf48be4fa6f84ce
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jun 15 16:34:44 2016 -0400
rbd-mirror: ignore empty snapshot sequence mapping
This invalid condition will be gracefully detected and handled
when the snapshot mappings are computed.
Fixes: http://tracker.ceph.com/issues/16329
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 58ed8a18e91401333bc3f3f957ce5d715b6687b6)
commit c8089dea98fd40651664ae80b0e16834bf727540
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jun 27 13:01:13 2016 -0400
qa/workunits/rbd: remove temporary image exports
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 45498d04990861a034e2aad69a93658e018c991a)
commit bdb2189c94badb6e389a3a05794ad8af3eceda1c
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jun 27 11:13:29 2016 -0400
rbd-mirror: fix potential image replayer state transition race
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 3e224c6c03a6a5de0e179bd788387cfa3ff49e9d)
commit e7d7990958bdd8add7cfdcf037bcda5dd05c59d4
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jun 27 11:06:57 2016 -0400
rbd-mirror: cancel image deletion callback on shut down
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c3f1cb3a34e1b4d258877d519e683e25bf65c65a)
commit bba7811489170e01471ef7c086066a006f57fb6b
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jun 27 10:58:09 2016 -0400
rbd-mirror: fixed potential leaking image deletion context callback
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 9d1cd90c220f95d23d2694b4f1fb6b2fed073ced)
commit b71efb090708e30225502d0cbf974b880def1eb8
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jun 27 09:45:25 2016 -0400
rbd-mirror: ImageReplayer doesn't need image deleted callback
The Replayer will detect that the ImageReplayer is stopped and will
schedule the "wait for deleted" callback before attempting to
restart the ImageReplayer.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 7e5afc71dfd3ec3e7b0ddaca96f92ac6e0414006)
commit b657d1849a37bc4461edb18337078041a5460818
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jun 27 09:21:05 2016 -0400
rbd-mirror: use async callback when deletion not in-progress
Fixes: http://tracker.ceph.com/issues/16491
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c136f443366fe804057a9c1f8c01c3f0a33a4d63)
commit c9c1216b3c06e49d3f0addeb7a4f6f5796c00d30
Author: Ricardo Dias <rdias@suse.com>
Date: Thu Jun 9 10:40:23 2016 +0100
rbd-mirror: tests: ImageSyncThrottler unit tests
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit 8ca9a84f36efa73ad17fd27f545dff3716cd798c)
commit c56d6ec4c1898e710aad307b5d3696b9b159ba0c
Author: Ricardo Dias <rdias@suse.com>
Date: Wed Jun 8 16:38:01 2016 +0100
rbd-mirror: Usage of image-sync throttler in BootstrapRequest
Fixes: http://tracker.ceph.com/issues/15239
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit 6a91146255d84229688bd8b378732be5975a778b)
commit 5323ebd40a96484f5341574ed8a783c2e696f5dc
Author: Ricardo Dias <rdias@suse.com>
Date: Wed Jun 8 16:37:20 2016 +0100
rbd-mirror: Implementation of image-sync throttler
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit c4f926d6980d1efd95771885a11d8cc4ebd2e4c3)
commit 783bd686c451ae816ea9c7001b3c6a0ef1b5f554
Author: Ricardo Dias <rdias@suse.com>
Date: Tue Jun 14 16:43:19 2016 +0100
rbd-mirror: tests: Support for inflight image sync point update
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit cee543bd96bc99f219024aedbfafc5dcd99abb5a)
commit b878f5ffc75e70b1f09eee461f93b1cb5031586e
Author: Ricardo Dias <rdias@suse.com>
Date: Thu Jun 2 10:04:41 2016 +0100
rbd-mirror: image-sync: Periodically update sync point object number
Fixes: http://tracker.ceph.com/issues/15108
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit c2eedf4d27b73d7eaf3fda54f9b0ee74e455bc1d)
commit 2ba61a73b1c616fab5acb1b92fe0a0b7ce7b64cb
Author: Ricardo Dias <rdias@suse.com>
Date: Mon Jun 27 11:07:41 2016 +0100
rbd-mirror: image-replayer: Fix bug in resync listener remotion
Fixes: http://tracker.ceph.com/issues/16488
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit 11a5851e90bca2c1813156bf12dda0192965db37)
commit cbd1ab461d5d75baf6e8387788740a6bcb3520de
Author: Ricardo Dias <rdias@suse.com>
Date: Thu May 19 12:06:08 2016 +0100
rbd-mirror: resync: Added unit tests
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit 8953825956f2a560d17c7b651d1724a95f2f7d1d)
commit 5fe93a4383521b7b67d7f168e4f20735440bb8ca
Author: Ricardo Dias <rdias@suse.com>
Date: Thu May 12 18:12:33 2016 +0100
rbd-mirror: image-replayer: Implementation of resync operation
Fixes: http://tracker.ceph.com/issues/15670
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit f2b114238103315197a9eefc8490786c484c8520)
commit c2b786ca92728ef6ceeb836133598a837cd18a2c
Author: Ricardo Dias <rdias@suse.com>
Date: Thu May 12 18:10:38 2016 +0100
rbd: journal: Support for listening updates on client metadata
Currently we only support listening for image resync requests.
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit 0dd85739e9034912b86250ced2834dd7fb3d92fd)
commit 21d2ba5eefd1ef904360ce09b4335df77c952d95
Author: Ricardo Dias <rdias@suse.com>
Date: Thu May 12 18:09:09 2016 +0100
journal: Support for registering metadata listeners in the Journaler
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit c535eb0399cd649371db233ee1ed01cf5441a4b3)
commit fcc00f7ac2c9ed517d12ef9ebab735bdd0d1a162
Author: Mykola Golub <mgolub@mirantis.com>
Date: Mon Jun 27 10:53:09 2016 +0300
test: fsx: fix rbd-nbd daemon logging
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 09710c46d3811e602250f858fe7292925c1e3c06)
commit 63fbed0f39da22374f6818030674c6b5e73f41dd
Author: Mykola Golub <mgolub@mirantis.com>
Date: Fri Jun 3 21:11:21 2016 +0300
qa/workunits/rbd: image resize test for rbd-nbd
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit fa58acbb6fcc79e5a9bfd4b86250a0e2b9c8efa1)
commit 3db1a3c8ea5a6829e1e44ecd0c96316c759bf048
Author: Mykola Golub <mgolub@mirantis.com>
Date: Tue May 24 15:52:00 2016 +0300
rbd-nbd: use librbd API method to watch image size update
Fixes: http://tracker.ceph.com/issues/15715
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 1e1d3b1609432ea80d6fd1c5b3df49f38ad579f1)
commit 8f94f5e3f7ba0cb3578952ffbca85c0dc6a772a0
Author: Mykola Golub <mgolub@mirantis.com>
Date: Tue May 24 15:50:22 2016 +0300
librbd: API: methods to watch image stat update
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 9952b75a0c8c9bed9792cb77671fd5588f32630f)
Conflicts:
src/include/rbd/librbd.h: removed CG references
src/tracing/librbd.tp: removed CG references
commit ec14cf5ce3e8d04eee3f13aadcfc2d7f22c5a633
Merge: c587e9e 393bf7e
Author: Orit Wasserman <owasserm@redhat.com>
Date: Thu Aug 11 11:31:40 2016 +0200
Merge pull request #9790 from SUSE/wip-16381-jewel
jewel: comparing return code to ERR_NOT_MODIFIED in rgw_rest_s3.cc (needs minus sign)
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 22c9df1d9bef3f48ab2a12357035fc54fbde141d
Author: Pritha Srivastava <prsrivas@redhat.com>
Date: Fri Jul 1 14:15:42 2016 +0530
rgw: Fix for using port 443 with pre-signed urls.
Fixes http://tracker.ceph.com/issues/16548
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
(cherry picked from commit 44b9ed37ac659d83fbd4bb99c69da6b9dec06b8d)
commit ce5e250405449c6035b805bbcdcca73ad4399d68
Author: Shilpa Jagannath <smanjara@redhat.com>
Date: Fri Jun 17 18:29:42 2016 +0530
rgw: added zone rename to radosgw_admin
Added zone rename option to radosgw-admin help
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit da3235234eaf41f9dbd378fb0d9994d2c4096947)
commit ce986aa6e8b3ee54697802a361246c256e8097b4
Author: Casey Bodley <cbodley@redhat.com>
Date: Thu Jul 14 13:38:44 2016 -0400
rgw: RGWMetaSyncCR holds refs to stacks for wakeup
because RGWCoroutine::wakeup() calls RGWCoroutinesStack::wakeup(), the
stack must also stay alive
Fixes: http://tracker.ceph.com/issues/16666
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit e4bc16044e1b80636855dbc39da1d121a3508308)
commit 2485efc26d68b6848cda02d66b54dd58769fcbd8
Author: Casey Bodley <cbodley@redhat.com>
Date: Tue Jul 26 12:50:13 2016 -0400
rgw: clear realm watch on failed watch_restart
if the realm is deleted while the gateway has a watch, it's disconnected
and watch_restart() will fail. this results in a watch handle of 0,
which leads to a segfault on ~RGWRealmWatcher when we pass it to
unwatch()
this commit cleans up the watch when watch_restart() fails, so we don't
try to unwatch() on destruction
Fixes: http://tracker.ceph.com/issues/16817
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit e5b8b5b27502fdacdac38effd7a55fd719911e85)
commit fa2e42d4614619f761a5cf4c86e3db7d7e101e11
Author: Casey Bodley <cbodley@redhat.com>
Date: Wed Jul 27 12:16:57 2016 -0400
rgw: use endpoints from master zone instead of zonegroup
Fixes: http://tracker.ceph.com/issues/16834
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d4872ec9f7554ff49f4be336fe59cdd2051ee2a5)
commit a865f26e68a991eaf55dc5f105b7fd7cb4634bc3
Author: Casey Bodley <cbodley@redhat.com>
Date: Thu Jul 28 09:55:05 2016 -0400
radosgw-admin: zone[group] modify can change realm id
allows the default zone and zonegroup (created with empty realm_id) to
be later added to a realm. the 'modify' command now accepts either
--realm_id=id or --rgw-realm=name
Fixes: http://tracker.ceph.com/issues/16839
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 064b7e953dd6ace2c32b94150e70959e95a01761)
commit c587e9e5c73cd8a990106708a43222fcb5a2a709
Merge: aacb793 3250c4d
Author: Loic Dachary <loic@dachary.org>
Date: Wed Aug 10 13:33:12 2016 +0200
Merge pull request #10026 from SUSE/wip-16392-jewel
jewel: master: build failures with boost > 1.58
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit f5db5a4b0bb52fed544f277c28ab5088d1c3fc79
Author: John Spray <john.spray@redhat.com>
Date: Tue May 17 17:53:56 2016 +0100
mon: tolerate missing osd metadata
Just because one OSD's metadata is missing,
don't give up on outputting all the other
OSDs' metadata.
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 2c7dd5f22288c4aee814573baa6af131421f36a4)
commit 36e5c86469eda59f7d5d15b16e15d0aab81a34fa
Author: John Spray <john.spray@redhat.com>
Date: Tue May 17 14:03:09 2016 +0100
mon: fix metadata dumps for empty lists
Because 'r' was set inside loop, these would
fail to set it (leaving ENOSYS) if no
metadata is present.
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 5fe4fe4d92f5b2d67896beac9b5b3b48b309a6b4)
Conflicts:
src/mon/Monitor.cc and src/mon/MDSMonitor.cc
changes relate to features that are not backported to jewel
commit de99bd53f5efe84647e1a1d79a8db330887b7704
Author: Kefu Chai <kchai@redhat.com>
Date: Sun May 15 10:32:28 2016 +0800
mon: 'std::move` Metadata when updating it
to avoid copying of the std::map
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit dd67eaab00698d747bf8669a3065c72ea68f7784)
commit 828df3995430ce89fe9be40c6c19c44fb6f14752
Author: John Spray <john.spray@redhat.com>
Date: Thu May 12 15:49:23 2016 +0100
mon: fix 'mon metadata' for lone monitors
Previously, writing to the store was only
triggered when MMonMetadata was received
from peers, so if you had a single mon then
you would always get ENOENT from "mon metadata"
Fixes: http://tracker.ceph.com/issues/15866
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 93ab00c77059e93b52ac4caa703e259944be1d1e)
commit 308f5143a9e9b121fb5c4df0a227ba30bda4636e
Author: runsisi <runsisi@zte.com.cn>
Date: Mon Jul 4 13:52:03 2016 +0800
ceph.spec.in: fix rpm package building error as follows:
error: Installed (but unpackaged) file(s) found:
/usr/lib/udev/rules.d/60-ceph-by-parttypeuuid.rules
Signed-off-by: runsisi <runsisi@zte.com.cn>
(cherry picked from commit 49dfad1f53d7abe0e9efc7817aaaf1735df5a9c9)
commit 727a704e79995c8a74f2b5768c63e90eecf9a883
Author: Loic Dachary <ldachary@redhat.com>
Date: Thu Jun 23 09:23:09 2016 +0200
udev: always populate /dev/disk/by-parttypeuuid
ceph-disk activate-all walks /dev/disk/by-parttypeuuid at boot time. It
is not necessary when udev fires ADD event for each partition and
95-ceph-osd.rules gets a chance to activate a ceph disk or journal.
There are various reasons why udev ADD events may not be fired at
boot (for instance Debian Jessi 8.5 never does it and CentOS 7.2 seems
to be racy in that regard when a LVM root is being used).
Populating /dev/disk/by-parttypeuuid fixes ceph-disk activate-all that
would not work without it. And it guarantees disks are activated at boot
time regardless of wether udev fires ADD events at the right time (or at
all).
The new udev file is a partial resurection of the
60-ceph-partuuid-workaround-rules that was removed by
9f77244b8e0782921663e52005b725cca58a8753. It is given a name that
reflects its new purpose.
Fixes http://tracker.ceph.com/issues/16351
Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 35004a628b2969d8b2f1c02155bb235165a1d809)
commit 9fc5b41598f09414572e89572e8980fd3d3c76e0
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jul 18 14:03:01 2016 -0400
librbd: optimize away unnecessary object map updates
Fixes: http://tracker.ceph.com/issues/16689
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit e5b4188635c4ee1ee0c4353cfc5ecd6e887d536b)
commit 81a2534742e5051fa92549029303cef3f3d187a6
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jul 18 13:37:37 2016 -0400
rbd-replay: decode and replay discard IO operations
Fixes: http://tracker.ceph.com/issues/16707
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit b7a4db213d0d4812aa6cd9c54e9646ff57d10411)
commit 5968664fd4ddf8e26989360ebbc048faa8431251
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 30 15:00:32 2016 -0400
librbd: failed assertion after shrinking a clone image twice
Fixes: http://tracker.ceph.com/issues/16561
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 34d2297eed040f694b4d1c5e2606af04752c9e1a)
commit 8316b6a6bad28343f8bade63f05b5fb93f4fe415
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 30 10:24:01 2016 -0400
rbd-mirror: gracefully fail if object map is unavailable
If the exclusive lock was lost due to a watch failure from an
overloaded cluster, gracefully abort the image sync.
Fixes: http://tracker.ceph.com/issues/16558
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6f573ca2d63784e4a2b1e7a410044afdf58f6801)
commit aacb793948a69294e518f8458be6e670df23fe53
Merge: 954e978 5ae0e43
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 17:09:42 2016 +0200
Merge pull request #10625 from dachary/wip-16969-jewel
jewel: src/script/subman fails with KeyError: 'nband'
Reviewed-by: Kefu Chai <kchai@redhat.com>
commit 5ae0e43e7f75a3a6d96d9fc5f03c4b0a86c7481b
Author: Loic Dachary <ldachary@redhat.com>
Date: Tue Aug 9 09:13:17 2016 +0200
subman: use replace instead of format
Otherwise all {} are assumed to be substituted. Add a test.
Fixes: http://tracker.ceph.com/issues/16961
Signed-off-by: Loic Dachary <ldachary@redhat.com>
(cherry picked from commit b006c136761746e12704e349a672325b8b6e51f5)
commit 0ca27727173501856e9f17785b9f555684661709
Author: Ali Maredia <amaredia@redhat.com>
Date: Thu Apr 21 20:32:47 2016 -0400
cmake: script that sets env vars for unit tests
Signed-off-by: Ali Maredia <amaredia@redhat.com>
(cherry picked from commit 15a669435aaa78562746f6728bb185b1e99a4274)
commit 954e978bc8cd233ac149a2e490d8730d9782583a
Merge: d387bf4 cbc9636
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:41:30 2016 +0200
Merge pull request #10054 from dachary/wip-16484-jewel
jewel: ExclusiveLock object leaked when switching to snapshot
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit d387bf44d405a3a8658697134e6bfc9ae077dfef
Merge: 14a4484 cf65ed9
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:28:44 2016 +0200
Merge pull request #10041 from dachary/wip-16315-jewel
jewel: When journaling is enabled, a flush request shouldn't flush the cache
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit 14a448466e9bda6b8d565f34b248a0ab6f9f90b3
Merge: fc39bd8 757babb
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:27:50 2016 +0200
Merge pull request #10055 from dachary/wip-16485-jewel
jewel: Whitelist EBUSY error from snap unprotect for journal replay
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit fc39bd804e479fbaefa6f81befd899b8a1a82581
Merge: fc084a3 d9c3f28
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:27:22 2016 +0200
Merge pull request #10053 from dachary/wip-16483-jewel
jewel: Close journal and object map before flagging exclusive lock as released
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit fc084a32ecf7c1868cbbbd808b273f2d095746f0
Merge: 543dd04 b1d9698
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:27:08 2016 +0200
Merge pull request #10052 from dachary/wip-16482-jewel
jewel: Timeout sending mirroring notification shouldn't result in failure
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit 543dd0460228f778ca10e8ff238c8db3f1b239fe
Merge: 8fb4121 51defea
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:26:50 2016 +0200
Merge pull request #10051 from dachary/wip-16460-jewel
jewel: Crash when utilizing advisory locking API functions
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit 8fb4121c53850f0f60eadb6e2a3bfc8c750e5935
Merge: 64d5ff9 db28ddc
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:26:40 2016 +0200
Merge pull request #10050 from dachary/wip-16459-jewel
jewel: rbd-mirror should disable proxied maintenance ops for non-primary image
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit 64d5ff97ced5cc0cfa4f15b66b54cc2fb11b2c22
Merge: 4fe02a6 70bf746
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:26:21 2016 +0200
Merge pull request #10047 from dachary/wip-16426-jewel
jewel: Possible race condition during journal transition from replay to ready
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit 4fe02a62b7ad2c6b4a32962741a73d8b1db9fb11
Merge: b86aec9 f3f4a4a
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:26:11 2016 +0200
Merge pull request #10046 from dachary/wip-16425-jewel
jewel: rbd-mirror: potential race condition accessing local image journal
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit b86aec99e8375eb2de1d495338ab212e1880a0f7
Merge: 4a6e48e 0399958
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:26:00 2016 +0200
Merge pull request #10045 from dachary/wip-16424-jewel
jewel: Journal needs to handle duplicate maintenance op tids
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit 4a6e48ed85914413b919e4da5a67ee4f95f34ae2
Merge: adcf5a7 6a28d63
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:25:48 2016 +0200
Merge pull request #10044 from dachary/wip-16423-jewel
jewel: Journal duplicate op detection can cause lockdep error
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit adcf5a7fbf181505c6319c4399572cd3e9259a47
Merge: eab8994 1e85da9
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:25:35 2016 +0200
Merge pull request #10043 from dachary/wip-16371-jewel
jewel: rbd-mirror: ensure replay status formatter has completed before stopping replay
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit eab89942c53ef5bff15cd837dea8ba42a228dc8f
Merge: 289c2d2 bf58eab
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:25:11 2016 +0200
Merge pull request #10042 from dachary/wip-16372-jewel
jewel: Unable to disable journaling feature if in unexpected mirror state
commit 289c2d2a512723e039bc1465353dbb39084edb80
Merge: e01ebb9 dd635e4
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:24:55 2016 +0200
Merge pull request #10010 from dachary/wip-16486-jewel
jewel: Object map/fast-diff invalidated if journal replays the same snap remove event
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit e01ebb9319d17fd71b83bd0ccf9cb0f231a1783e
Merge: 28575db db7ce96
Author: Loic Dachary <loic@dachary.org>
Date: Tue Aug 9 08:24:38 2016 +0200
Merge pull request #10009 from dachary/wip-16514-jewel
jewel: Image removal doesn't necessarily clean up all rbd_mirroring entries
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
commit 0ff096073f4c26bbccd9125a345372f090754d63
Author: Michel Normand <normand@linux.vnet.ibm.com>
Date: Fri Aug 5 16:34:48 2016 +0200
ExclusiveArch for suse_version
for SLES supports only x86_64 and aarch64 targets
for openSUSE (Tumbleweed and Leap) add ppc64/ppc64le targets.
fixes: http://tracker.ceph.com/issues/16936
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
(cherry picked from commit a8db0f4d96d71223083bf6c2275acd892666a13e)
commit 28575db3fb1579cdfa85b14b0484363cc0634a2e
Merge: 3e36f8c 1f19dbd
Author: Loic Dachary <loic@dachary.org>
Date: Mon Aug 8 08:47:34 2016 +0200
Merge pull request #9952 from dillaman/wip-fix-use-after-free-jewel
jewel: librbd: potential use after free on refresh error
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 3e36f8c66326d3de97a79859eab363e509dfc8c2
Merge: 5c98730 6b41d76
Author: Loic Dachary <loic@dachary.org>
Date: Mon Aug 8 08:45:58 2016 +0200
Merge pull request #9752 from dillaman/wip-fix-task-finisher-jewel
jewel: librbd: cancel all tasks should wait until finisher is done
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 5c98730854f11b0efb3b3e03be426ce2b7a999af
Merge: f014619 7e1ba28
Author: David Zafman <dzafman@redhat.com>
Date: Fri Aug 5 12:46:10 2016 -0700
Merge pull request #10561 from dzafman/wip-16672-jewel
Reviewed-by: Samuel Just <sjust@redhat.com>
commit f0146196ccfbcfd923191f63d93e4e81219523b1
Merge: e400999 c025010
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 5 15:30:52 2016 +0200
Merge pull request #9562 from Abhishekvrshny/wip-16152-jewel
jewel: client: fstat cap release
Reviewed-by: John Spray <john.spray@redhat.com>
commit e400999a2cb0972919e35dd8510f8d85f48ceace
Merge: 0cb5ca6 c3f6d82
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 5 15:30:41 2016 +0200
Merge pull request #9561 from Abhishekvrshny/wip-16136-jewel
jewel: MDSMonitor fixes
Reviewed-by: John Spray <john.spray@redhat.com>
commit 0cb5ca6db018461c6275636f0d9cc1b1c8f56e53
Merge: 67f2eb0 19c1366
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 5 15:29:33 2016 +0200
Merge pull request #9557 from Abhishekvrshny/wip-15898-jewel
jewel: Confusing MDS log message when shut down with stalled journaler reads
Reviewed-by: John Spray <john.spray@redhat.com>
commit 67f2eb01deff699016c16a312448d665cbef3922
Merge: 7ec15f6 eea0e91
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 5 15:29:23 2016 +0200
Merge pull request #9560 from Abhishekvrshny/wip-16135-jewel
jewel: MDS: fix getattr starve setattr
Reviewed-by: John Spray <john.spray@redhat.com>
commit 7ec15f69f83e78ac862515c1068a64769caaff91
Merge: e51060a 2c7fc95
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 5 15:29:08 2016 +0200
Merge pull request #9559 from Abhishekvrshny/wip-16041-jewel
jewel: mds/StrayManager.cc: 520: FAILED assert(dnl->is_primary())
Reviewed-by: John Spray <john.spray@redhat.com>
commit e51060ad8190bddf2b9b367c4d0a67e8cce7daef
Merge: fda98f7 edd3f79
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 5 15:17:22 2016 +0200
Merge pull request #9996 from dachary/wip-16437-jewel
jewel: async messenger mon crash
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
commit fda98f780134c26e491ce15fca0890dc240d67cf
Merge: 56bbcb1 18fdc1c
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 5 15:10:27 2016 +0200
Merge pull request #9997 from dachary/wip-16431-jewel
jewel: librados,osd: bad flags can crash the osd
Reviewed-by: Samuel Just <sjust@redhat.com>
commit 56bbcb1aa11a2beb951de396b0de9e3373d91c57
Merge: 7586d69 a826bb8
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 5 15:10:08 2016 +0200
Merge pull request #9998 from dachary/wip-16429-jewel
jewel: OSDMonitor: drop pg temps from not the current primary
Reviewed-by: Samuel Just <sjust@redhat.com>
commit 7586d693e1c4f08a17e60f89fda5abcb31d2f80d
Merge: 3b28428 6554d46
Author: Loic Dachary <loic@dachary.org>
Date: Fri Aug 5 15:09:52 2016 +0200
Merge pull request #10001 from dachary/wip-16427-jewel
jewel: prepare_pgtemp needs to only update up_thru if newer than the existing one
Reviewed-by: Samuel Just <sjust@redhat.com>
commit 3b28428f901c1a6ed08b6c23b4f9991b87fe0960
Merge: 6996b76 762db30
Author: Casey Bodley <cbodley@users.noreply.github.com>
Date: Fri Aug 5 09:09:23 2016 -0400
Merge pull request #9743 from vumrao/wip-vumrao-16339
jewel : rgw: support size suffixes for --max-size in radosgw-admin command
Reviewed-by: Casey Bodley <cbodley@redhat.com>
commit 8b9954d0ccab9694c7519002209be8cb9dc03362
Author: Robin H. Johnson <robin.johnson@dreamhost.com>
Date: Thu Aug 4 17:15:18 2016 -0700
rgw: Fix civetweb IPv6
Commit c38e3cbb6f7c6221209f2b512cba18c564c895a4 introduced a second
compiled version of src/civetweb/src/civetweb.c, but did not pass the
configuration header (civetweb/include/civetweb_conf.h).
As a result, USE_IPV6 was not defined when it was compiled, and that
copy was included into the radosgw binary. This caused breakage for the
civetweb frontend when used with IPv6:
rgw frontends = civetweb port=[::]:7480
Reintroduce the header so that civetweb is compiled correctly again.
Fixes: http://tracker.ceph.com/issues/16928
Backport: jewel
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit 921c556b65eafe2136f2afcc8234681711aa7348)
commit 6996b76d35b20a558d13d35fafaaad47fe331434
Merge: 8586e9b 74dd035
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 4 14:45:05 2016 +0200
Merge pull request #10007 from dachary/wip-15806-jewel
jewel: New pools have bogus stuck inactive/unclean HEALTH_ERR messages until they are first active and clean
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
commit 8586e9bd49d1fc083a7c37a2b1865744bbcce26a
Merge: e85b58b a2e8ae6
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 4 14:43:36 2016 +0200
Merge pull request #10006 from dachary/wip-16249-jewel
jewel: sparse_read on ec pool should return extends with correct offset
Reviewed-by: Kefu Chai <kchai@redhat.com>
commit e85b58bbe6aa217e4f9c5cef052aabedf728b9fe
Merge: f05eaae f8e4911
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 4 14:43:22 2016 +0200
Merge pull request #9740 from vumrao/wip-vumrao-16338
jewel : rados: Add cleanup message with time to rados bench output
Reviewed-by: Kefu Chai <kchai@redhat.com>
commit f05eaaea3f39159cc5e1a127a7d9913f479a7bf4
Merge: 093f30d b8f7aa2
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 4 14:42:53 2016 +0200
Merge pull request #10004 from dachary/wip-16374-jewel
jewel: AsyncConnection::lockmsg/async lockdep cycle: AsyncMessenger::lock, MDSDaemon::mds_lock, AsyncConnection::lock
Reviewed-by: Haomai Wang <haomai@xsky.com>
commit 093f30d1788b4a7225e3ab1c3345db14e40a5237
Merge: 648442b 3dbb08a
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 4 14:42:32 2016 +0200
Merge pull request #10003 from dachary/wip-16380-jewel
jewel: msg/async: connection race hang
Reviewed-by: Haomai Wang <haomai@xsky.com>
commit 648442bfea4ea72c04fad441fc933d03d980f80c
Merge: a35e2fa caad884
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 4 12:35:14 2016 +0200
Merge pull request #10036 from liewegas/wip-16297-jewel
mon: Monitor: validate prefix on handle_command()
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit a35e2fa5f1a22ea5798c559196d50d1d38d7679e
Merge: e499d1c 7b0318a
Author: Loic Dachary <loic@dachary.org>
Date: Thu Aug 4 09:53:10 2016 +0200
Merge pull request #9547 from jcsp/wip-jewel-15705
jewel backport: mds: fix mdsmap print_summary with standby replays
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 7e1ba28b1e218deb7d54ad6bef8853c9d19411a0
Author: David Zafman <dzafman@redhat.com>
Date: Tue Aug 2 22:32:02 2016 -0700
os: Fix HashIndex::recursive_remove() to remove everything but original path
Fixes: http://tracker.ceph.com/issues/16672
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit ba88a3aac0d3b620986e32ed718237513d6592f6)
commit cb1f17f05422ac802378df0de698ce20a1f2976e
Author: David Zafman <dzafman@redhat.com>
Date: Tue Aug 2 23:26:41 2016 -0700
filestore: Clear objects before calling collection_list() again
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 892303cd02b64b622669183c2acffcdd7a8f3547)
commit bdcfcaf821add71c518b01d6fb3dccb7c2e074a7
Author: David Zafman <dzafman@redhat.com>
Date: Tue Aug 2 23:24:12 2016 -0700
filestore: Improve logging
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit b78c457785553e3a6e4f901bfebb41fc9c4d9bd5)
commit e499d1c8fb216b490a739f2712b3c733623d45d1
Merge: 269d742 8981f3b
Author: Casey Bodley <cbodley@users.noreply.github.com>
Date: Tue Aug 2 10:28:00 2016 -0400
Merge pull request #10293 from theanalyst/wip-16589-jewel
jewel: multisite sync races with deletes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
commit 269d7427dfa9de7b1a288da0532505810bdf283b
Merge: 894a5f8 e1eb8af
Author: John Spray <jspray@redhat.com>
Date: Tue Aug 2 12:31:18 2016 +0100
Merge pull request #10453 from ajarr/wip-manila-backports-jewel
jewel: essential backports for OpenStack Manila
Reviewed-by: John Spray <john.spray@redhat.com>
commit e1eb8afea9f202947eef33e8361a0aac0e955eea
Author: Ramana Raja <rraja@redhat.com>
Date: Thu Jul 7 17:15:13 2016 +0530
ceph_volume_client: version on-disk metadata
Version on-disk metadata with two attributes,
'compat version', the minimum CephFSVolume Client
version that can decode the metadata, and
'version', the version that encoded the metadata.
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 1c1d65a45f4574ca5f33cc9d949089a5c956e363)
commit e8dd1eeec7ee2fd11a2985843825a3ec0f522b0c
Author: Ramana Raja <rraja@redhat.com>
Date: Wed Jul 6 15:33:06 2016 +0530
ceph_volume_client: add versioning
Add class attributes to CephFSVolumeClient to version
its capabilities.
'version' attribute stores the current version number
of CephFSVolumeClient.
'compat_version' attribute stores the earliest version
number of CephFSVolumeClient that the current version is
compatible with.
Fixes: http://tracker.ceph.com/issues/15406
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 46876fb2ceb22082c0a1703fe77ad1694b508ad8)
commit a0ffc859f5763850342a165ec4c49b3b1e83bb95
Author: Ramana Raja <rraja@redhat.com>
Date: Thu Jun 23 23:22:12 2016 +0530
ceph_volume_client: disallow tenants to share auth IDs
Restrict an auth ID to a single OpenStack tenant to enforce
strong tenant isolation of shares.
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 82445a20a258a4c8800f273dc5f2484aace0e413)
commit d3e22db9841404d6c305012032427d6bb5311253
Author: Ramana Raja <rraja@redhat.com>
Date: Thu Jun 23 17:11:33 2016 +0530
ceph_volume_client: cleanup auth meta files
Remove auth meta files on last rule for an auth ID deletion
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit ec2e6e37d01c961d269d83661d0b95ada6a8449e)
commit 2e9c37adfb7b9f7e67801ffc2e1fa6c85674c9c1
Author: Ramana Raja <rraja@redhat.com>
Date: Thu Jun 23 16:55:30 2016 +0530
ceph_volume_client: fix log messages
Log the path of the volume during creation and deletion of volumes.
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 7731287761f91e1fdee0e6306d9ecf9b04ad363c)
commit 7e93d3d0e631f375a496673174667934d5ecc08e
Author: Ramana Raja <rraja@redhat.com>
Date: Thu Jun 23 16:31:23 2016 +0530
ceph_volume_client: create/delete VMeta for create/delete volume
Create and delete volume meta files during creation and deletion of
volumes.
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 37fbfc7aa8f10d37f5202603a906425507271ff5)
commit 7cea0eee455c83fbdd64fff192c6aa10235a2c40
Author: Ramana Raja <rraja@redhat.com>
Date: Thu Jun 23 16:06:53 2016 +0530
ceph_volume_client: modify locking of meta files
File locks are applied on meta files before updating the meta
file contents. These meta files would need to be cleaned up
sometime, which could lead to locks being held on unlinked meta
files. Prevent this by checking whether the file had been deleted
after lock was acquired on it.
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit f7c037229bcf3f5a3d06897ec7fe0c5419dd7143)
commit e77684fc68cfd3dfb33a80e7c5604356921a40b0
Author: Ramana Raja <rraja@redhat.com>
Date: Thu Jun 23 17:39:32 2016 +0530
cephfs.pyx: implement python bindings for fstat
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit f58403f3d19e22edeb8f91b6f87a0b7947b0ff21)
commit d2792ef1babd452d76528ce5ca511106d8c836b4
Author: Ramana Raja <rraja@redhat.com>
Date: Wed Jun 8 16:57:01 2016 +0530
ceph_volume_client: restrict volume group names
Prevent craftily-named volume groups from colliding with meta files.
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 7f7d2a76ae9b556c1de418f0eab8461c538f91d9)
commit 4f874dd9a9c4ce58f623c635c31bb67012a72199
Author: Ramana Raja <rraja@redhat.com>
Date: Wed Jun 8 16:34:56 2016 +0530
ceph_volume_client: use fsync instead of syncfs
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 27eb51baab4cda6b385aef53fc7c3962a9debae5)
commit bde2c8f111d8276b026a3b1e37a5c9081a498ec9
Author: Xiaoxi Chen <xiaoxchen@ebay.com>
Date: Fri Apr 29 14:47:42 2016 -0500
pybind: expose fsync in cephfs binding.
So we don't necessary to syncfs when want to persistent
some file.
Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
(cherry picked from commit 1c952fbaf0fd393ef2dcb83a3db721a077b4274e)
commit 0c13bf2d028eab4cd062209be7ed985cdf28960c
Author: Ramana Raja <rraja@redhat.com>
Date: Wed Jun 8 00:42:18 2016 +0530
ceph_volume_client: recover from dirty auth and auth meta updates
Check dirty flag after locking something and call recover() if we are
opening something dirty (racing with another instance of the driver
restarting after failure) -- only required if someone running multiple
manila-share instances with Ceph loaded.
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 647a2447f0c4354dc21d1083043591d2b6f6f94f)
commit 8f7defb5d084f8e781fa44e9c21edf6c472cfb4a
Author: Ramana Raja <rraja@redhat.com>
Date: Tue Jun 21 12:14:56 2016 +0530
ceph_volume_client: modify data layout in meta files
Notable changes to data layout in auth meta and volume meta files:
In the auth meta files, add a 'dirty' flag to track the status of auth
updates to a single volume.
In the volume meta file, make the 'dirty' flag track the status of
auth updates for a single ID.
Optimize the recovery of partial auth update changes to auth meta,
volume meta, and the Ceph backend, facilitated by changes in the
data layout in the meta files.
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 7c8a28a7e817d030a4d419b0cc627c30c1064270)
commit 748a5a08ecc1e212e4bd10e0c8eff0a805fc931f
Author: John Spray <john.spray@redhat.com>
Date: Wed Mar 2 12:30:45 2016 +0000
pybind: ceph_volume_client authentication metadata
Store a two-way mapping between auth IDs and volumes.
Enables us to record some metadata on auth ids (which
openstack tenant created it) so that we can avoid exposing
keys to other tenants who try to use the same ceph
auth id.
Enables us to expose the list of which auth ids have access
to a volume, so that Manila's update_access() can be
implemented efficiently.
DNM: see TODOs inline.
Fixes: http://tracker.ceph.com/issues/15615
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit d2e9eb55ca6ed5daa094cf323faf143615b9380b)
commit e14dc25e1fca7fd74971cbda74d1fcadff5be3b4
Author: John Spray <john.spray@redhat.com>
Date: Mon Mar 7 13:06:41 2016 +0000
pybind: enable integer flags to libcephfs open
The 'rw+' style flags are handy and convenient, but
they don't capture all possibilities. Change to
optionally accept an integer here for advance users
who want to specify arbitrary combinations of
flags.
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 5678584f4176d07301acd7f57acc4efd7fb20e43)
commit c6546bb29b25fb96f270257b959426f949eb9418
Author: Noah Watkins <noahwatkins@gmail.com>
Date: Wed Mar 16 14:12:05 2016 -0700
buffer: fix iterator_impl visibility through typedef
The following program doesn't compile because of symbol visibility issues.
While bufferlist::iterator is a class implementation with visibility specified,
it is unclear after google-fu how to do the same through typedef.
int main()
{
ceph::bufferlist bl;
ceph::bufferlist::const_iterator it = bl.begin();
(void)it;
return 0;
}
[nwatkins@bender ~]$ g++ -Wall -std=c++11 -Iinstall/include -Linstall/lib -o test test.cc -lrados
/tmp/cciR9MUj.o: In function `main':
test.cc:(.text+0x43): undefined reference to `ceph::buffer::list::iterator_impl<true>::iterator_impl(ceph::buffer::list::iterator const&)'
/usr/bin/ld: test: hidden symbol `_ZN4ceph6buffer4list13iterator_implILb1EEC1ERKNS1_8iteratorE' isn't defined
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
(cherry picked from commit 16bc3e59325d4057d36cd63a57111ab36fbc50fd)
commit e825dd2f3fc9048995062bfe96e32e6df7ef37d9
Author: Abhishek Lekshmanan <abhishek@suse.com>
Date: Fri Jul 22 10:57:45 2016 +0200
rgw multisite: preserve zone's extra pool
In current multisite scenarios,if a bucket is created in master, we end
up storing multipart metadata in `$source-zone.rgw.buckets.non-ec` pool
instead of the zone's own non-ec pool, so we end up additionally
creating this pool and storing multipart metadata entries in it. Also if
a bucket is created in a secondary zone, and we initiate a multipart
upload, before mdlog sync with master, we end up getting errors during
complete multipart requests as omap entries are partly stored in the
`$zone.rgw.buckets.non-ec` as well as `$source-zone.rgw.buckets.non-ec`
pools which leads to total number of parts mismatch.
Fixes: http://tracker.ceph.com/issues/16712
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit d4ecc956f603a567bd4043c2be39b3e7e3402c75)
commit 059ed62ff937ce63b7255d72bf9b3cf687c4b532
Author: Orit Wasserman <owasserm@redhat.com>
Date: Mon Jul 4 15:01:51 2016 +0200
rgw: remove bucket index objects when deleting the bucket
Fixes: http://tracker.ceph.com/issues/16412
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit 3ae276390641ad5fc4fef0c03971db95948880b4)
commit 93d787557939d77c6a15854520a42f3d0f358370
Author: Orit Wasserman <owasserm@redhat.com>
Date: Fri Jul 8 10:41:59 2016 +0200
rgw: add missing master_zone when running with old default region config
Fixes: http://tracker.ceph.com/issues/16627
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit a0420741d446341a4979d78db7e2e58f396fdc4b)
commit dc963833af2d81984c7fd023f718f5b7e58a37dc
Author: Casey Bodley <cbodley@redhat.com>
Date: Wed Jul 6 09:15:29 2016 -0400
rgw: fix error_repo segfault in data sync
RGWDataSyncShardCR will only allocate an error_repo if it's doing
incremental sync, so RGWDataSyncSingleEntryCR needs to guard against a
null error_repo
also, RGWDataSyncShardCR::stop_spawned_services() was dropping the last
reference to the error_repo before calling drain_all(), which meant that
RGWDataSyncSingleEntryCR could still be holding a pointer. now uses a
boost::intrusive_ptr in RGWDataSyncSingleEntryCR to account for its
reference
Fixes: http://tracker.ceph.com/issues/16603
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 28609029cf1be2fc9f8c8e3f47320636db29014a)
commit 67eb961927664cbded6b01c5f76bfd9db8481f8c
Author: Matt Benjamin <mbenjamin@redhat.com>
Date: Mon Jan 18 16:06:15 2016 -0500
rgw: add line space between inl. member function defns (rgw_user.h)
This is a cosmetic change only.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 5a7f7f5560e57f8dc64a3c84c1e668be834d81e0)
commit 3f8298a049e255f542a012688b4148456d465d8d
Author: Matt Benjamin <mbenjamin@redhat.com>
Date: Mon Jan 18 15:58:07 2016 -0500
rgw-admin: return error on email address conflict (add user)
Fixes the error return inconsistency documented in upstream
Ceph issue #13598
Revised after upstream review, permits changing email address as
originally (but use case-insensitive comp).
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 90c143efa2156e55dc017ebe81005315cacaf2c5)
commit 962e7dc47dcaa64f4774a197ae21d0ee59f7854f
Author: Matt Benjamin <mbenjamin@redhat.com>
Date: Mon Jan 18 15:06:19 2016 -0500
rgw-admin: convert user email addresses to lower case
Fixes the email address inconsistency documented in upstream
Ceph BUG #13598
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 4c438dbbc0e6eda6b9a3018d60019a1a780d6f65)
commit 461782ee6b755b14f6ae90ea56ebcb656e305b94
Author: Boris Ranto <branto@redhat.com>
Date: Mon Jun 13 12:34:39 2016 +0200
selinux: allow chown for self and setattr for /var/run/ceph
Fixes: http://tracker.ceph.com/issues/16126
Signed-off-by: Boris Ranto <branto@redhat.com>
(cherry picked from commit 2a6c738abda35f540af6f9398406d4e49337c34d)
commit fe57aceeb02ad9163feb2d196589b5927cedfa0f
Author: Matt Benjamin <mbenjamin@redhat.com>
Date: Mon Jun 6 16:19:17 2016 -0400
rgw ldap: fix ldap bindpw parsing
Also add additional LDAP debugging output at 0, 10, and 15 to make
troubleshooting easier.
Fixes DN search issue using QE configuration of MS AD.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 72b2f3e8dcb879be3dac7ac03142fd4a13ff28ac)
commit 429e9c03f3f47e3804f54cac380db0add18584f2
Author: Javier M. Mellid <jmunhoz@igalia.com>
Date: Tue Jun 14 11:04:23 2016 +0200
rgw: aws4: fix buffer sharing issue with chunked uploads
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
(cherry picked from commit dd9f53115a452e1e4268a1036f8fb69f9c1b86f7)
commit 7c2eab19e2c088e97de924f7f1a633a9f291439d
Author: Patrick Donnelly <pdonnell@redhat.com>
Date: Fri Jul 1 21:06:17 2016 -0400
mds: move Finisher to unlocked shutdown
This commit resolves a deadlock reported in i16042 where the thread calling
MDSRankDispatcher::shutdown would hold the mds_lock while asynchronous
callbacks in the Finisher would attempt to lock mds_lock.
For simplicity, I merged the finisher stop with the messenger shutdown as both
need the mds_lock dropped.
Fixes: http://tracker.ceph.com/issues/16042
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit b1d6689b6cae579d5f1b2047fd3c653cda422454)
Conflicts:
src/mds/MDSRank.cc
trivial conflict in MDSRankDispatcher::shutdown()
commit 28697fc5101395be2a1bd778445983e61a2dc089
Author: Douglas Fuller <dfuller@redhat.com>
Date: Mon Jun 27 12:30:11 2016 -0700
mds: Kill C_SaferCond in evict_sessions()
MDSRankDispatcher::evict_sessions waits on a C_SaferCond for
kill_session to complete on each of its victims. Change the
command handling flow to pass command messages all the way down
to MDSRankDispatcher. Extract the MDSDaemon's reply path into a
static function callable from a new context in the MDSRankDispatcher.
See: http://tracker.ceph.com/issues/16288
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
(cherry picked from commit 3a4d63ee67765010a8e53af5a89aef4f49fafd56)
commit 1d3a816814c6cb87f645f205362de800cc84d484
Author: Zhi Zhang <willzzhang@tencent.com>
Date: Mon Jun 27 13:00:26 2016 +0800
mds: fix shutting down mds timed-out due to deadlock
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
(cherry picked from commit ca069149654ecd10778cd5327bf59b9643e23967)
commit 49a1ce936d76b4bbf7a3b46be300ad5ebb6d301e
Author: Zhi Zhang <willzzhang@tencent.com>
Date: Mon Jun 27 12:59:08 2016 +0800
msg/async: remove the unnecessary checking to wakup event_wait
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
(cherry picked from commit 560dc32771be00664c4b22a0ebca5190cd246e0a)
commit 2beb56a10a0319b6d061caf1da769bb3c9f5f90b
Author: Yan, Zheng <zyan@redhat.com>
Date: Thu Jun 2 17:03:05 2016 +0800
mds: fix SnapRealm::have_past_parents_open()
the '!' got delete accidentally in commit f7fb2cb52c (mds: fix open
snap parents tracking)
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit f28f72635c7d11f0db4f156a6d108a480295056d)
commit 3d6d36a12bd4823352dc58e2135d03f261d18dbe
Author: Loic Dachary <ldachary@redhat.com>
Date: Thu May 26 09:38:47 2016 +0200
ceph-disk: partprobe should block udev induced BLKRRPART
Wrap partprobe with flock to stop udev from issuing BLKRRPART because
this is racy and frequently fails with a message like:
Error: Error informing the kernel about modifications to partition
/dev/vdc1 -- Device or resource busy. This means Linux won't know about
any changes you made to /dev/vdc1 until you reboot -- so you shouldn't
mount it or use it in any way before rebooting.
Opening a device (/dev/vdc for instance) in write mode indirectly
triggers a BLKRRPART ioctl from udev (starting version 214 and up)
when the device is closed (see below for the udev release note).
However, if udev fails to acquire an exclusive lock (with
flock(fd, LOCK_EX|LOCK_NB); ) the BLKRRPART ioctl is not issued.
https://github.com/systemd/systemd/blob/045e00cf16c47bc516c0823d059b7548f3ce9c7c/src/udev/udevd.c#L1042
Acquiring an exclusive lock before running the process that opens the
device in write mode is therefore an effective way to control this
behavior.
git clone git://anonscm.debian.org/pkg-systemd/systemd.git
systemd/NEWS:
CHANGES WITH 214:
* As an experimental feature, udev now tries to lock the
disk device node (flock(LOCK_SH|LOCK_NB)) while it
executes events for the disk or any of its partitions.
Applications like partitioning programs can lock the
disk device node (flock(LOCK_EX)) and claim temporary
device ownership that way; udev will entirely skip all event
handling for this disk and its partitions. If the disk
was opened for writing, the close will trigger a partition
table rescan in udev's "watch" facility, and if needed
synthesize "change" events for the disk and all its partitions.
This is now unconditionally enabled, and if it turns out to
cause major problems, we might turn it on only for specific
devices, or might need to disable it entirely. Device Mapper
devices are excluded from this logic.
Fixes: http://tracker.ceph.com/issues/15176
Signed-off-by: Marius Vollmer <marius.vollmer@redhat com>
Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 8519481b72365701d01ee58a0ef57ad1bea2c66c)
commit 8cd7f44d8066a796cccd872dd2593582ac061331
Author: Javier M. Mellid <jmunhoz@igalia.com>
Date: Fri Jun 3 17:34:10 2016 +0200
rgw: aws4: add STREAMING-AWS4-HMAC-SHA256-PAYLOAD support
When authenticating requests using the Authorization header in AWS4, you have
the option of uploading the payload in chunks. You can send data in fixed size
or variable size chunks.
This patch enables streaming mode and signed headers support with chunked
uploads.
Fixes: http://tracker.ceph.com/issues/16146
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
(cherry picked from commit 5de5876a535537f7878615898bb9cf7887204cb1)
Conflicts:
src/rgw/rgw_rest_s3.cc
No change required to resolve the conflict. Manual merge was enough.
commit 276ec72e85d6650782aef2c96f4b1fbc47918f42
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Fri Mar 11 17:34:33 2016 +0100
rgw: use std::unique_ptr for rgw_aws4_auth management.
This is purely for code maintainability.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 6f273eb52c07b27c7aa2d69be3e5ff5d6578558c)
commit 2c422e306989f65d9112f95a131ff29479b2d0f0
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Fri Mar 11 17:33:47 2016 +0100
rgw: add handling of memory allocation failure in AWS4 auth.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit ddbb0ab9d5046672795ec876221de9ebd466364f)
commit 2cd3ed8a59786be28b55a0983a438af1aab226ea
Author: Ramana Raja <rraja@redhat.com>
Date: Wed Apr 27 23:26:44 2016 +0530
ceph_volume_client: allow read-only authorization for volumes
Allow clients to be restricted to read-only mount of the volume
by restricting their ceph auth ID's MDS and OSD caps to read-only.
Fixes: http://tracker.ceph.com/issues/15614
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 011ea5e7fb35ee07848e0c3abac24702a778ad63)
commit 46246e39b8cadc14aede930559eddd09059301fc
Author: Kefu Chai <kchai@redhat.com>
Date: Wed Jul 6 19:41:54 2016 +0800
osd: increment stas on recovery pull also
PGMap::recovery_rate_summary() summaries the recovery progress from
a pool's
pool_stat_t.stats.sum.num_{objects_recovered,bytes_recovered,keys_recovered},
now we only increment stats on completion of recovery push, but there
are chances that a PG recovers by pulling data from replicas to primary.
in that case, teuthology will erroneously consider recovery hung: a zero
recovering_keys_per_sec or recovering_bytes_per_sec or
recovering_objects_per_sec. so we should increment stats on pull as
well.
Fixes: http://tracker.ceph.com/issues/16277
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 9c6c4d8fef67380e2a6d93f6c101744c926d8b9b)
commit 3da251fe7f3bafa9a936df209b1906824764e5f6
Author: Kefu Chai <kchai@redhat.com>
Date: Fri Jul 22 15:55:16 2016 +0800
pybind/ceph_argparse: handle non ascii unicode args
we raise UnicodeDecodeError at seeing non-ascii args if we fail to match
it with any command signatures. instead, we should use a unicode string
for representing the error in that case. please note, the exception is
not printed at all in real-world. =)
Fixes: http://tracker.ceph.com/issues/12287
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 5864626d275c423cdb8d3e52a91fe4cc6b8e6f90)
commit b01af21ceeb83e3b2fb7cee608f2a9229e6eed7e
Author: Oleh Prypin <oleh@pryp.in>
Date: Wed Jun 15 00:50:20 2016 +0300
Fix tabs->whitespace in ceph_argparse
Signed-off-by: Oleh Prypin <oleh@pryp.in>
(cherry picked from commit bef2c83c1da7dcc32fc2ff98cf214fc93bef75b8)
commit bb2dc9537612b56a79f1237618126faecbeccc9e
Author: Oleh Prypin <oleh@pryp.in>
Date: Wed Jun 15 00:54:08 2016 +0300
Make usage of builtins in ceph_argparse compatible with Python 3
Signed-off-by: Oleh Prypin <oleh@pryp.in>
(cherry picked from commit ddf06041ef80ac9606da8d57f048d2e23233d122)
commit f80d10c82034fcd9d53b3890afe62a4dbfeb1799
Author: Nathan Cutler <ncutler@suse.com>
Date: Wed Jul 20 10:23:48 2016 +0200
rpm: move libatomic_ops-devel to non-distro-specific section
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 94e4f2190b6ab3ff7b57b0b6095fea6d9228d917)
commit a28810c69b356d1865d1ce9e989bcc9e8a66017a
Author: Nathan Cutler <ncutler@suse.com>
Date: Wed Jul 20 10:22:37 2016 +0200
rpm: move gperftools-devel to non-distro-specific section
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 06940e29b702c7437dc9f8df365fcc383cb882e1)
commit e6b7a4ba8a1a8ea13d6f7178bd69432a3705754b
Author: Nathan Cutler <ncutler@suse.com>
Date: Sat Jul 9 22:55:54 2016 +0200
rpm: use new name of libatomic_ops-devel
The previous form, libatomic-ops-devel, has been deprecated since May 23, 2012.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit c835f6ddf5839c418d29db1c2f46da32fbf05d2c)
commit 9bbf2e8d874201460c3cf1dfd14cfd17752d397d
Author: Dan Horák <dan@danny.cz>
Date: Fri May 6 13:29:03 2016 +0200
fix tcmalloc handling in spec file
- there is no gperftools/tcmalloc on s390(x) yet
- explicitly disable tcmalloc when built without
Signed-off-by: Dan Horák <dan@danny.cz>
(cherry picked from commit efa7f7b365d27797573bf4e5a9878f94f41aede2)
commit 894a5f8d878d4b267f80b90a4bffce157f2b4ba7
Merge: b15cf42 2538b77
Author: John Spray <jspray@redhat.com>
Date: Thu Jul 21 13:58:16 2016 +0100
Merge pull request #10373 from ceph/jewel-mds-snap-failover
Jewel mds snap failover
Reviewed-by: John Spray <john.spray@redhat.com>
commit b26acc03ab42ba7eacb804ef8dc08c03a6e64e2d
Author: Nathan Cutler <ncutler@suse.com>
Date: Mon Jun 13 10:27:18 2016 +0200
ceph-osd-prestart.sh: drop Upstart-specific code
Before this patch, the ceph-osd-prestart.sh script would do Upstart-specific
things if the journal device failed to appear after a 5-second timeout.
Fixes: http://tracker.ceph.com/issues/15984
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 47a06e608b7f686252d42c5a879373d8ebb65d9d)
commit 1e622a5d3b79a89a6affb56f282e1305c48ec835
Author: Ricardo Dias <rdias@suse.com>
Date: Tue Jul 19 15:40:36 2016 +0100
rpm: Fix creation of mount.ceph symbolic link for SUSE distros
Signed-off-by: Ricardo Dias <rdias@suse.com>
(cherry picked from commit 976c9d4f31793712b2af334e4a7a58745af8c099)
commit 89cb116ca14abf5764edf07373d045bb127ca7eb
Author: Nathan Cutler <ncutler@suse.com>
Date: Mon Jul 18 19:09:54 2016 +0200
build/ops: build mount.ceph and mount.fuse.ceph as client binaries
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit b2675ff82445cda9873292ac2be8186e054098ed)
commit 84b45b75c47e6234aac9d3ee1cf1c6844b898ae9
Author: Nathan Cutler <ncutler@suse.com>
Date: Mon Jul 18 16:16:11 2016 +0200
rpm: move mount.ceph from ceph-base to ceph-common
Ceph clients use mount.ceph to mount CephFS filesystems, and
ceph-base is not expected to be installed on client systems.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit b8c24bf2f8c6a6b125778ca92d68d8e64ccf9ae0)
commit e028cd140840b15a8f99962dcf8ec646da3f1f60
Author: Nathan Cutler <ncutler@suse.com>
Date: Wed Jul 6 10:13:03 2016 +0200
rpm: create mount.ceph symlink in /sbin (SUSE only)
Fixes: http://tracker.ceph.com/issues/16598
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit b090e9da326a72068260682599c886c2d11f06b3)
commit ad67d1c15f49233fe1108258d9b968c8b2301330
Author: Kefu Chai <kchai@redhat.com>
Date: Thu Jun 2 02:08:45 2016 +0800
makefile: install mount.fuse.ceph,mount.ceph into /usr/sbin
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 52021ff9f0b23c36a012f19c7388dcfb2281b523)
Conflicts:
src/CMakeLists.txt (Install mount.ceph to ${CMAKE_INSTALL_SBINDIR}
instead of sbin; install mount.fuse.ceph to ${CMAKE_INSTALL_SBINDIR} as
well)
commit 2538b77a2f219a76c19289ab3e675927f6914149
Author: Yan, Zheng <zyan@redhat.com>
Date: Mon Jul 11 15:32:41 2016 +0800
client: fix MetaRequest::set_other_inode()
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 265f96bda7e106883063f074133450ce39ee262c)
commit ffcfe69ef7abaaa3c663de86fb04ea986dc90b15
Author: Yan, Zheng <zyan@redhat.com>
Date: Mon Jul 11 11:25:37 2016 +0800
client: close directory's snapdir when deleting directory
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 3099cabd11a16d22c6707631861bef0aa176ed02)
commit b9007025f3dd49532a45267d7478dcdc5308ce3a
Author: Yan, Zheng <zyan@redhat.com>
Date: Mon Jul 11 11:07:01 2016 +0800
client: invalidate snap inodes after removing snapshot
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit f180ad149ab510626fcd6cbd8221f550f9858126)
commit d9f957a5cda55adcdba5db28689aeb344d10e413
Author: Yan, Zheng <zyan@redhat.com>
Date: Mon Jul 11 10:51:13 2016 +0800
mds: fix incorrect "unconnected snaprealm xxx" warning
If a snaprealm has no child/parent snaprelam, and the snaprealm inode
is not in the cache while client reconnects. The snaprealm does not
get properly removed from MDCache::reconnected_snaplrealm. This causes
incorrect "unconnected snaprealm xxx" warning
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 85e687de876ca7e0174734ba81130949c4ab6a40)
commit 3e745ef3172aeef07038c9156d4668ca08078f18
Author: Yan, Zheng <zyan@redhat.com>
Date: Thu Jun 30 16:05:57 2016 +0800
qa/workunits/fs: fix expect_failure function in test scripts
The origin expect_failure function return 0 regardness of command's
return value.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 16f7d7c71e65cd68cecde3e5b89d189ab5950548)
commit 37157d146f1983b94588135e4b0468a9c59c3ead
Author: Yan, Zheng <zyan@redhat.com>
Date: Wed Jun 29 20:49:40 2016 +0800
client: make sure snapflush is sent before normal cap message
MDS does null snapflush when it receives normal cap message. So client
must send snapflush first.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit d3916717e2edc8000400f678fa7134ca1406a074)
commit 326d46b54280ff5612ee571671cc4956fcb7e8eb
Author: Yan, Zheng <zyan@redhat.com>
Date: Tue Jun 28 20:39:08 2016 +0800
client: unify cap flush and snapcap flush
This patch includes following changes
- assign flush tid to snapcap flush
- remove session's flushing_capsnaps list. add inode with snapcap
flushes to session's flushing_caps list instead.
- when reconnecting to MDS, re-send one inode's snapcap flushes and
cap flushes at the same time.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit a05e996b2a2c36496abd8538829ac4897392f6eb)
commit 5c2ff04061cc686c8ece37cee3393365769d2bf1
Author: Yan, Zheng <zyan@redhat.com>
Date: Wed Jun 29 17:15:01 2016 +0800
mds: handle partly purged directory
For a snapshoted direcotry whose snaprealm parents are being opened,
MDS does not know if the directory is purgeable. So MDS can't skip
committing dirfrags of the directory. But if the direcotry is purgeale,
some dirfrags could have already been deleted during MDS failover.
Committing them could return -ENOENT.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit bc50e0309280c08c3ca79dfa5514ac3a15f81a23)
commit 57b39f04087f3ba855248950723c949e3b7dcd7c
Author: Yan, Zheng <zyan@redhat.com>
Date: Wed Jun 29 11:42:42 2016 +0800
mds: do files recovery after processing cap flushes
File recovery may update inode and trigger inode COW. MDS relies on
client caps to setup CInode::client_need_snapflush. But for a given
client, the reconnected caps may not include the flushing caps.
(Before MDS failover, client released and flushed some caps at the
same time. When MDS recovers, client re-send the cap flush and send
cap reconnect to the MDS.) This may cause later snapflush to get
dropped.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit dd98448d3d0bbb7d338f03f7ad1e40f217eebe0d)
commit bace1c8c7ce7d29676b9ed6925cdee41af8a8425
Author: Yan, Zheng <zyan@redhat.com>
Date: Wed Jun 29 11:25:12 2016 +0800
mds: combine MDCache::{reconnected_caps,cap_imports_dirty}
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 57067e032e84bbdb69c499aa7ea93ca68082569b)
commit 365bda18e3fe960be69d81882e11dcb9932a002c
Author: Yan, Zheng <zyan@redhat.com>
Date: Fri Jun 24 17:09:34 2016 +0800
mds: remove CEPH_LOCK_IFLOCKL from cinode_lock_info
Currently we don't support dirty CEPH_CAP_FLOCK_EXCL
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit cfc3ec17b6f245e6d8a0be4fdf6cfa64d2fb725f)
commit 55367c5cda09167778839eb8474f86903857f53a
Author: Yan, Zheng <zyan@redhat.com>
Date: Thu Jun 23 16:59:46 2016 +0800
mds: rebuild the internal states that tracking pending snapflush
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 1b7d198f633a8608b704f82f01a3f4a4a3a4892b)
commit 0897fc4f15804a25a667bf7e495dc4ff1209127b
Author: Yan, Zheng <zyan@redhat.com>
Date: Wed Jun 22 20:34:41 2016 +0800
mds: using cap_reconnect_t to track cap recconect
Previous commit extended cap_reconnect_t to include snapflush
related information. This information are needed in various
places
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 25b6011dcf07c1fc663cbe29ffd119b66545a0ac)
commit ac508dc9202ebdb8f39bf1304bb459637cae1cb9
Author: Yan, Zheng <zyan@redhat.com>
Date: Wed Jun 22 15:56:29 2016 +0800
mds: add 'follows' of first pending snapflush to cap reconnect message
This helps the recovering MDS to reconstruct the internal states that
tracking pending snapflush.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit dd3963a878d4bb2fb5992278ccbc9f7633fb8786)
commit c258f52afa68bf991b4d6c76d36271333c3e49bf
Author: Yan, Zheng <zyan@redhat.com>
Date: Tue Jun 21 17:17:56 2016 +0800
mds: journal snap inodes that need flush when expiring log segment
Treat snap inodes that need flush in the same way as open files.
When MDS recovers, this make sure that journal replay bring snap
inodes that need flush into the cache
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 306153b3d012832bdfa20402077fa60a9a5d626c)
commit 42dd72df1a514175be05d5d613d9b00296cb1b1e
Author: Yan, Zheng <zyan@redhat.com>
Date: Tue Jun 21 16:20:58 2016 +0800
mds: properly update client_snap_caps when splitting snap inode
update the new snap inode's client_snap_caps according to the old
snap inode.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 4883779935219817c7e391940a025be1679daeb5)
commit b15cf42a4be7bb290e095cd5027d7f9ac604a97d
Author: Oleh Prypin <oleh@pryp.in>
Date: Thu Jul 14 01:06:51 2016 +0300
install-deps: Get the latest virtualenv in a temporary folder
to work around a bug in old virtualenv
Signed-off-by: Oleh Prypin <oleh@pryp.in>
(cherry picked from commit 2699b6d89b8c1c193fd86b5233d1ea86458753a0)
commit 00f3fd4a39f35780e602acfa4023bf59031b3617
Author: Yan, Zheng <zyan@redhat.com>
Date: Tue Jul 12 16:07:53 2016 +0800
ceph-fuse: link to libtcmalloc or jemalloc
Fixes: http://tracker.ceph.com/issues/16655
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit e644f6eb64037b1e21ce55d4dcffa43571ac1327)
commit d794e295786599102d5ea1a4c10002f4f8d85649
Merge: bb94997 7178f23
Author: Patrick Donnelly <pdonnell@redhat.com>
Date: Thu Jul 14 12:10:11 2016 -0400
Merge remote-tracking branch 'upstream/pull/10298/head' into jewel
* upstream/pull/10298/head:
doc: fix standby replay config
commit 7178f23c1bcb800bec2c7bec138ac02b22dbad2b
Author: Patrick Donnelly <pdonnell@redhat.com>
Date: Tue Jul 12 15:43:23 2016 -0400
doc: fix standby replay config
I tried using these settings in tests without success. The correct config names
are prefixed with "mds".
Fixes: http://tracker.ceph.com/issues/16664
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
commit 8981f3beb5732f51197a5be84df18edde64217ca
Author: Casey Bodley <cbodley@redhat.com>
Date: Tue Jun 21 15:09:53 2016 -0400
rgw: add pg_ver to tombstone_cache
a tombstone cache was added to remember the mtime of deleted objects for
use with the HTTP_IF_MODIFIED_SINCE header, but the comparison was still
failing because of a missing pg_ver. added pg_ver to the tombstone cache
so it can be passed with HTTP_DEST_PG_VER
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit adb529f2fb983df671a1db58a0b17862a29762f0)
commit 6c32fe8a75f535f21d3bec089bf06a82db5ec876
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Fri Jun 10 14:35:01 2016 -0700
rgw: add obj tombstone cache
The obj tombstone cache is used in multi-zone environmet to keep
track of removed objects' mtime. This is then used to fetch remote
object only if its newer than the object that was removed, otherwise
we're just fetching ghost of the past.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit eb10214920c23b24edd94ca53d0f36c85404644d)
commit f651a8f0cc2a11eb1a037338e35de3cf165f5ac2
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Fri Jun 10 14:34:41 2016 -0700
rgw: rgw_obj comparison also accounts for bucket id
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit a7f32c4b1bd951b1a18b7d13013dc8e2822d6ffc)
commit 354e81c1800066e4e8f525706214c41d90816b9d
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Thu Jun 9 14:30:42 2016 -0700
cls/rgw: reduce tag_timeout significantly
The tag timeout is used for applying dir_suggest changes. Shorten it
so that changes will be reported early and can be used in data sync.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 99efdc673b7aed439eebdaa92ff117ba9646dd7c)
commit 24d483119035a78973a1ee3827f5f7c8cb20ce5a
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Thu Jun 9 14:22:07 2016 -0700
cls_rgw: dir_suggest entries bucket index logging
Fixes: http://tracker.ceph.com/issues/16222
Log entries that were set through the dir_suggest mechanism in
the bucket index log.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit ae00c5529219d81987425160dbb2a4e937661a6c)
commit bdef8b23714eaff933992ed8c02fb35cd8d11818
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Thu Jun 9 12:59:35 2016 -0700
cls/rgw: fix timespan comparison
Fixes: http://tracker.ceph.com/issues/16220
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit e0a07f70f7740a66ffa2646e0a57e8bdc0285373)
commit c34dbd4b19dcc35483306f95932b3ed6ed8332fd
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Sat Jun 4 05:47:50 2016 -0700
rgw: data sync squash, prioritize object removal
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 2fcd8b1d49aae2fd03b986dd10bb3f98d3b8f32e)
commit 09eee3be8fcd79ef46ecfbd277e8cc2bf4f28d93
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Sat Jun 4 03:29:12 2016 -0700
rgw: squash bi complete bi log entries
only process the newest complete operation in a bilog listing.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit f69db8e455f07c5594363c5beac329cb964be1ff)
commit 571a13255aff4ca072ff88bb4ce54da086fbad86
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Fri Jun 3 02:03:13 2016 -0700
rgw: stop bucket lease only after draining object sync operations
Fixes: http://tracker.ceph.com/issues/16143
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit be6ad9a76c3008ea25a737c0de718faab8fca611)
commit 7af0306de5778340fc7c9395b237bf4e73716d0a
Author: Casey Bodley <cbodley@redhat.com>
Date: Tue May 24 12:57:19 2016 -0400
rgw: don't leak RGWRados::cr_registry on error
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 53a7f1a9951fa21cb46b5fb3914db3547b568aa5)
commit 9591e505c1d2c7b66b4c17421f94b6fc7e68913f
Author: Casey Bodley <cbodley@redhat.com>
Date: Tue May 24 10:40:25 2016 -0400
rgw: dont need atomic RGWRados::next_rados_handle
next_rados_handle is only accessed under an exclusive handle_lock
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 1adff94b720d01240040fdffebdbf53efdd528a5)
commit 047379c2521434f2dbbe67ebbf53e59ed92654f0
Author: Casey Bodley <cbodley@redhat.com>
Date: Tue May 24 10:23:26 2016 -0400
rgw: remove unneeded RGWRados::num_rados_handles
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 72d5a485e41ac5824c30556b6cfe659094cd303c)
commit 7848482988711406c9cde48d828a0d118f764ad1
Author: Casey Bodley <cbodley@redhat.com>
Date: Tue May 3 10:35:41 2016 -0400
rgw: use vector for librados handles
using a vector instead of an array of pointers cleans up our
initialization/shutdown logic
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 02fb39d7f5835ada4d6304f318203444dc7eedc9)
commit bb94997bf4548a430b686a7ceb98052fdb051223
Merge: 6ae4d13 a40cfe4
Author: Casey Bodley <cbodley@users.noreply.github.com>
Date: Tue Jul 12 10:09:34 2016 -0400
Merge pull request #9268 from theanalyst/wip-15992-jewel
jewel: radosgw-admin: EEXIST messages for create operations
Reviewed-by: Casey Bodley <cbodley@redhat.com>
commit 6ae4d13e81d4b98e34d7094e939a8eab5820f608
Merge: bf73c9a 21f0216
Author: Loic Dachary <loic@dachary.org>
Date: Sun Jul 10 23:03:16 2016 +0200
Merge pull request #8497 from sabaini/jewel
ceph-disk: Accept bcache devices as data disks
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 2c39d3652acbab77e8da50fa1b7ef537374ac109
Author: Pete Zaitcev <zaitcev@kotori.zaitcev.us>
Date: Tue Jun 7 17:44:20 2016 -0600
rgw: Add documentation for the Multi-tenancy feature
Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
(cherry picked from commit 0e622020fa2a185eaf0546d93a20b06d44e7f691)
commit 9e5a3ae3cd35ccbd7a9f48c555fb93d5beee57cb
Author: Feng Guo <diluga@gmail.com>
Date: Fri Jun 24 09:26:16 2016 +0800
RGW:add socket backlog setting for via ceph.conf
http://tracker.ceph.com/issues/16406
Signed-off-by: Feng Guo <diluga@gmail.com>
(cherry picked from commit 3e4df832d34c782795a32b5a30f5c7414a1c3fa9)
commit aa3936131d6525e656cd56315947bbf9ddc508ce
Author: Yan, Zheng <zyan@redhat.com>
Date: Fri Apr 15 20:15:14 2016 +0800
mds: disallow 'open truncate' non-regular inode
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 0e4b6f2332bb4822cf324587a94144f1c98e4b97)
commit 3af7b422a3a97c0e89dbff757c5ed0f4557a6602
Author: Yan, Zheng <zyan@redhat.com>
Date: Fri Apr 15 19:45:23 2016 +0800
mds: only open non-regular inode with mode FILE_MODE_PIN
ceph_atomic_open() in kernel client does lookup and open at the same
time. So it can open a symlink inode with mode CEPH_FILE_MODE_WR.
Open a symlink inode with mode CEPH_FILE_MODE_WR triggers assertion
in Locker::check_inode_max_size();
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 4d15eb12298e007744486e28924a6f0ae071bd06)
commit 8655803d8fb9ac21f75b636fb6d666f387462934
Author: Robin H. Johnson <robin.johnson@dreamhost.com>
Date: Thu Jul 7 14:14:36 2016 -0700
rgw: fix multi-delete query param parsing.
Multi-delete is triggered by a query parameter on POST, but there are
multiple valid ways of representing it, and Ceph should accept ANY way
that has the query parameter set, regardless of what value or absence of
value.
This caused the RubyGem aws-sdk-v1 to break, and has been present since
multi-delete was first added in commit 0a1f4a97da, for the bobtail
release.
Fixes: http://tracker.ceph.com/issues/16618
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit a7016e1b67e82641f0702fda4eae799e953063e6)
commit bf73c9ad08ed2cc8db821c08694b11461549fb26
Merge: f672ddf f858f94
Author: Matt Benjamin <mbenjamin@redhat.com>
Date: Wed Jul 6 14:18:44 2016 -0400
Merge pull request #9545 from Abhishekvrshny/wip-16117-jewel
jewel: rgw: aws4 parsing issue
commit 546141c94a1c5e45dcb70e2d5fd06fe1ac0b1599
Author: Wido den Hollander <wido@42on.com>
Date: Tue Apr 5 11:14:16 2016 +0200
rgw: Set Access-Control-Allow-Origin to a Asterisk if allowed in a rule
Before this patch the RGW would respond with the Origin send by the client in the request
if a wildcard/asterisk was specified as a valid Origin.
This patch makes sure we respond with a header like this:
Access-Control-Allow-Origin: *
This way a resource can be used on different Origins by the same browser and that browser
will use the content as the asterisk.
We also keep in mind that when Authorization is send by the client different rules apply.
In the case of Authorization we may not respond with an Asterisk, but we do have to
add the Vary header with 'Origin' as a value to let the browser know that for different
Origins it has to perform a new request.
More information: https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS
Fixes: #15348
Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit 0021e224480c7164330eaa7cc1078bb8795169bf)
commit f672ddfc5ad6ac86051987985067318436f0667b
Merge: aa211cb ec884a3
Author: Loic Dachary <loic@dachary.org>
Date: Wed Jul 6 11:55:13 2016 +0200
Merge pull request #9568 from dreamhost/wip-16182
jewel: rgw: backport merge of static sites fixes
Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
commit 2afc176a2792a9ef389f34c7de1aba697fca6a31
Author: Albert Tu <albert.t@inwinstack.com>
Date: Tue Jun 28 10:38:07 2016 +0800
rgw: fix double counting in RGWRados::update_containers_stats()
Fixes: http://tracker.ceph.com/issues/16188
Signed-off-by: Albert Tu <albert.t@inwinstack.com>
(cherry picked from commit 5dd825aed25588843dc4834be3f5fdf10d93bc68)
commit 489f8ce48b30c708879a002a55aecc080421b5a1
Author: runsisi <runsisi@zte.com.cn>
Date: Tue Jul 5 16:08:40 2016 +0800
librbd: fix missing return statement if failed to get mirror image state
Signed-off-by: runsisi <runsisi@zte.com.cn>
(cherry picked from commit ea775178b61ba38237343b07a90d19802f0b7dac)
commit a7987f060479f81d6181f8949e8ed2c8b3029dfd
Author: Yan, Zheng <zyan@redhat.com>
Date: Wed May 25 18:33:49 2016 +0800
MDSMonitor.cc: fix mdsmap.<namespace> subscriptions
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 8f09dd15cb07597c57d0a6ae981f15a47de11bb9)
commit d244b7a0c6eb4a57a424297d4293184dff28b94c
Author: Patrick Donnelly <pdonnell@redhat.com>
Date: Fri Jun 17 11:53:32 2016 -0400
mds: add maximum fragment size constraint
This commit adds a new config option
mds_bal_fragment_size_max = 10000*10
which is an order of magnitude larger than mds_bal_split_size.
This limit prevents a fragment from getting too large which results in large
omap directories.
Right now the limit is enforced only in the RPC paths and in stray directory
entry creation.
Fixes http://tracker.ceph.com/issues/16164
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 60af83c80910070d8fb10ac7a4f6f24d49521c1b)
commit 64d99b160d9d6a8758b7a9b3783bd1d153e15c9a
Author: Yan, Zheng <zyan@redhat.com>
Date: Fri Jun 17 11:58:13 2016 +0800
mds: fix Session::check_access()
It calls CInode::make_path_string(...) with the second argument is
false. The second argument makes the third argument useless. For
newly created inode, the path string is something like #1xxxxxxxxx.
This can cause the access check to fail.
Fixes: http://tracker.ceph.com/issues/16358
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit a94ef56523a383c44c7a52e473e37a43fa0cb6a2)
commit bce5646cd7c9bc9c753bfcefeff37991763b9066
Author: Yan, Zheng <zyan@redhat.com>
Date: Mon Jun 6 16:41:49 2016 +0800
client: skip executing async invalidates while umounting
Fixes: http://tracker.ceph.com/issues/16137
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit b95e603a3f9568debeb76fc49aae9a6ee4b75c6b)
commit fd7ff96cbc4a2e9b38d805f36cd4e72a32f04925
Author: Yan, Zheng <zyan@redhat.com>
Date: Mon Aug 10 15:15:48 2015 +0800
ceph-fuse: add option to disable kernel pagecache
When multiple clients read/write to a file at the same time, we need
to disable cache and let reads/writes go to OSDs. In ceph-fuse case,
there are two caches, one is in ceph-fuse, another one is in kernel.
We can't disable/enable the kernel cache dynamically. So adding an
config option to completely disable kernel cache. Disabling kernel
cache may reduce performance, so option is disabled by default.
Fixes: 12653
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 0f11ec237d4692d313a038ed61aa07a3f40555ba)
Conflicts:
src/common/config_opts.h
follow the content in patchset, set fuse_use_invalidate_cb
to True. Which is also the backport
for http://tracker.ceph.com/issues/15634
commit 3f76e4acf243dda26c44ae95919b3d4444bd7d88
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Wed Jun 29 14:50:12 2016 -0700
rgw: finish error_repo cr in stop_spawned_services()
Fixes: http://tracker.ceph.com/issues/16530
Need to call finish, otherwise drain_all() wouldn't be able to
drain it.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 492bb608733c83a5d85319cf47c4d86402344376)
commit a5f5513ede87d7d77d83a9327e8d178767f734ea
Author: Greg Farnum <gfarnum@redhat.com>
Date: Tue Jun 28 14:39:46 2016 -0700
test: fix CMake build of ceph_test_objectcacher_stress
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 2ee3d02c8f5de8d2a0ae3e22f3029b269fe4a212)
commit 17f1bffdb891a155532d966b7d3ab4983c9016cf
Author: Greg Farnum <gfarnum@redhat.com>
Date: Mon May 23 15:14:21 2016 -0700
ObjectCacher: fix bh_read_finish offset logic
If we have an incoming read split across multiple BufferHeads, we want to
line up the BufferHead's bl with the incoming OSDOp's bl at the right offset. We
were erroneously using this nonsense calculation (always equal to zero!) when
a much simpler comparison of the BufferHead's logical object offset to the
incoming OSDOp's logical offset will do the trick nicely.
Fixes: http://tracker.ceph.com/issues/16002
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 9ec6e7f608608088d51e449c9d375844631dcdde)
commit 73bc6d11745246df45ea6c4b5fbf9be3b9e91c09
Author: Greg Farnum <gfarnum@redhat.com>
Date: Thu Jun 23 14:23:51 2016 -0700
osd: provide some contents on ObjectExtent usage in testing
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit a555d9a0c7d3b6c2206520cf78445234b0834639)
commit 3446fa498266ec2902a1d4d9215de4e4b1d9c455
Author: Greg Farnum <gfarnum@redhat.com>
Date: Fri Jun 10 17:01:09 2016 -0700
test: build a correctness test for the ObjectCacher
For now it's very specifically designed to reproduce
http://tracker.ceph.com/issues/16002, but it can
be extended to other patterns in the future.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit 0fd55a9886dd8da344c23a5e9898ee5c5061e8f9)
commit b6684914e29fdc375d91be7c80cdf9615d637c8c
Author: Greg Farnum <gfarnum@redhat.com>
Date: Tue May 31 16:18:19 2016 -0700
test: split objectcacher test into 'stress' and 'correctness'
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit cc9aab1b0a22c3f7320046b97f75dccf2b86cc6d)
commit 74f59203a13da4ec5ca673a921ed3d07e8d5fc9b
Author: Greg Farnum <gfarnum@redhat.com>
Date: Thu Jun 23 13:41:46 2016 -0700
test: add a data-storing MemWriteback for testing ObjectCacher
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
(cherry picked from commit ed5801492bf2850e80a328ce5a61cb1ff2709215)
commit aa211cb4ff0a7e9cac4779187848b3ba00c39bf9
Merge: e3ccf0f d48a1ed
Author: Orit Wasserman <owasserm@redhat.com>
Date: Thu Jun 30 10:36:20 2016 +0200
Merge pull request #9099 from Abhishekvrshny/wip-15841-jewel
jewel: s3website: x-amz-website-redirect-location header returns malformed HTTP response
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit e3ccf0f9d31c9e35edb551dc24da7af7265799c1
Merge: 448deed a08caa6
Author: Orit Wasserman <owasserm@redhat.com>
Date: Thu Jun 30 10:35:23 2016 +0200
Merge pull request #9265 from Abhishekvrshny/wip-15965-jewel
jewel: No Last-Modified, Content-Size and X-Object-Manifest headers if no segments in DLO manifest
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 448deed8484b06bdbbdad62cbe34cfab7958bbc1
Merge: ad182de ff9c29a
Author: Orit Wasserman <owasserm@redhat.com>
Date: Thu Jun 30 10:34:42 2016 +0200
Merge pull request #9267 from Abhishekvrshny/wip-15960-jewel
jewel: rgw: custom metadata aren't camelcased in Swift's responses
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit ad182de1ca849d90fbbbf2ec057b476f32e86d8b
Merge: 3ccfac6 108638f
Author: Orit Wasserman <owasserm@redhat.com>
Date: Thu Jun 30 10:28:45 2016 +0200
Merge pull request #9316 from Abhishekvrshny/wip-15954-jewel
jewel: rgw: initial slashes are not properly handled in Swift's BulkDelete
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 3ccfac6b8e98afef19e6c113bd38ae7ab0c51c24
Merge: 4e1ebac 0bdc8fd
Author: Orit Wasserman <owasserm@redhat.com>
Date: Thu Jun 30 10:26:09 2016 +0200
Merge pull request #9390 from vumrao/wip-vumrao-16071
jewel: rgw : cleanup radosgw-admin temp command as it was deprecated
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 4e1ebac3048ee1750978e11115144df074923e22
Merge: 4957014 4eded9a
Author: Orit Wasserman <owasserm@redhat.com>
Date: Thu Jun 30 10:25:51 2016 +0200
Merge pull request #9542 from Abhishekvrshny/wip-15967-jewel
jewel: rgw: account/container metadata not actually present in a request are deleted during POST through Swift API
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 4957014a0e7a744af6c782e6d4e9e5a89c934ace
Merge: bb02d3e e8b7dd4
Author: Orit Wasserman <owasserm@redhat.com>
Date: Thu Jun 30 10:25:30 2016 +0200
Merge pull request #9543 from Abhishekvrshny/wip-16040-jewel
jewel: rgw: updating CORS/ACLs might not work in some circumstances
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
commit 757babb03a9024d6aa42fb327244fd983c066545
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 23 09:03:24 2016 -0400
librbd: memory leak possible if journal op event failed
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit f5069750849c2c43caa4bff766301169a4bfc6ca)
commit e7ec20e6c54f913dd4bf52a949488ac9d258c150
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 23 08:45:59 2016 -0400
librbd: ignore snap unprotect -EBUSY errors during journal replay
Fixes: http://tracker.ceph.com/issues/16445
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit beef0b4b024e9692305f4b413e6c6b520fdaa7f9)
commit cbc963684def355b9c27932fdb4c605bf373ed6e
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 23 09:23:32 2016 -0400
librbd: delete ExclusiveLock instance when switching to snapshot
Fixes: http://tracker.ceph.com/issues/16446
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 677832ceb24096ddbeaf2d60e0ac72d28c399f02)
commit d9c3f28f1200e99c8ecf92f50ec4e8840d74a0f1
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 23 13:34:56 2016 -0400
librbd: mark exclusive lock as released after journal is closed
Fixes: http://tracker.ceph.com/issues/16450
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 1811e62aa0ba3bab85c536eaab8f3adec6d1fffa)
commit b1d969868bdd898958236212ee847f7a401c6406
Author: Jason Dillaman <dillaman@redhat.com>
Date: Fri Jun 24 10:03:53 2016 -0400
librbd: do not propagate mirror status notification failures
These should be treated as a broadcast since no ACK is required. The
peer will eventually see the notification or its watch will have timed
out and it will re-sync.
Fixes: http://tracker.ceph.com/issues/16470
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 97bade9f76af62765d7aa8c2154e51a7b231e40f)
commit 51defeada069c0e33b03b96be962f155ce3df295
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jun 22 18:19:52 2016 -0400
librbd: fix crash while using advisory locks with R/O image
Fixes: http://tracker.ceph.com/issues/16364
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 1007aea3d78ca5aead8a11f932da0c1d9d67259e)
commit db28ddcf88c13aef80e5a7131db463b305102abe
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jun 22 10:14:21 2016 -0400
rbd-mirror: block proxied ops with -EROFS return code
When replicating to a local image, the daemon will own the
exclusive lock and will receive any proxied maintenance ops
from other clients. Since the image is non-primary, respond
with -EROFS.
Fixes: http://tracker.ceph.com/issues/16411
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 07b49df24e5f30460ce3ab584a89370ea3ff7cc8)
commit ebce8ceb9353052d1d43d18e2bb76c68e581272e
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jun 22 10:13:45 2016 -0400
librbd: optionally block proxied requests with an error code
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 93e2faf38e866fb3e32a7b3f3527d97215c60d31)
commit bb02d3e7a4db89d693ed1555d2ac82c5452978e1
Merge: 8542898 b4a80cb
Author: Loic Dachary <loic@dachary.org>
Date: Thu Jun 30 09:41:20 2016 +0200
Merge pull request #9631 from dillaman/wip-16232
jewel: test: improve rbd-mirror test case coverage
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 70bf7465ad7c75c9c7623a446218ab501f329bd3
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jun 20 09:39:24 2016 -0400
librbd: potential race when replaying journal ops
Fixes: http://tracker.ceph.com/issues/16198
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 75b0f58e37b0ede5e8cf8dcaea980cf71a5ca908)
commit f3f4a4a20ab3039f8dfeda23c773141bf6d95792
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 16 09:27:50 2016 -0400
librbd: journal callback to interrupt replay
If the exclusive lock is lost while the journal is in the
replay state, the journal close will block until the replay
completes. The new callback will facilitate stopping replay
in a timely fashion so that the journal can be closed.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 9687e5e34aca98934fcf04089ead2794629455a1)
commit b203168e21c0cfba9df55e9ff43e73a5905119d6
Author: Jason Dillaman <dillaman@redhat.com>
Date: Wed Jun 15 23:04:48 2016 -0400
rbd-mirror: keep local pointer to image journal
Fixes: http://tracker.ceph.com/issues/16230
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 47e25e59a8ed4c4e64ae58b41c03125c6d3c4104)
commit 0399958f6cc2a16487f0962b5d5a317dc1d9ff21
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jun 20 11:41:31 2016 -0400
rbd-mirror: keep events from different epochs independent
Fixes: http://tracker.ceph.com/issues/16362
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 3a5b491ec61134dc2e18cbe4e27a54e64b17f7d2)
commit 6a28d63ac609c4e3eb43a31cabe36f2c79c875d2
Author: Jason Dillaman <dillaman@redhat.com>
Date: Mon Jun 20 10:32:04 2016 -0400
librbd: fix lockdep issue when duplicate event detected
Fixes: http://tracker.ceph.com/issues/16363
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 86ef725c34ae950c0e41e89c1aa0c6a15e40f369)
commit 1e85da9cb97f6262eb25d8de234d45e8daccd461
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 16 17:32:20 2016 -0400
rbd-mirror: ensure replay status formatter has completed before stopping
Fixes: http://tracker.ceph.com/issues/16352
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit cccdca460b4be310f99877cf43c48300713150df)
commit bf58eabf561fdb041ed170e54e5d35c46cbe3258
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 16 10:37:56 2016 -0400
journal: do not log watch errors against deleted journal
The peer rbd-mirror process will eventually notice that the journal has
been removed and clean itself up. This avoids flooding the log with
expected error messages when journaling is disabled.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 8317ce1611c39ad6a58bf2d760a010587d91ec60)
commit deb6ca84e4083b1cf569d22b84f3194b1fb27a4b
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 16 09:38:28 2016 -0400
librbd: force-remove journal when disabling feature and removing image
If mirroring is enabled, it's nearly certain that the peer rbd-mirror
daemon will be a registered client within the journal. Without
forcing the removal, this would prevent the removal from occurring.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit d83aa1e0e44784e1f38698a839f8a353c87027eb)
commit 415ea77fdad016faf7da150630e933930c5ac4b6
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 16 09:31:03 2016 -0400
librbd: ignore ENOENT error when removing image from mirror directory
Fixes: http://tracker.ceph.com/issues/16348
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4255afd34927ad6c303074aa6814538a8b5ae96e)
commit cf65ed998b175e5d766364ff18741554b775b632
Author: Yuan Zhou <yuan.zhou@intel.com>
Date: Thu May 12 18:22:12 2016 +0800
rbd: Skip rbd cache flush if journaling is enabled under aio_flush
With journaling rbd writes will be persisteted on rbd journal objects.
The journal will be replayed if crash happen. So it's not necessary to
flush rbd_cache in this case. This will improve the flush latency.
This patch adds checking on handling aio_flush: if journaling is
enabled, rbd cache flushing is skipped.
In a system flush(ImageCtx::flush) the cache is flushed even w/ journaling
where we truly do need to flush all IO out to disk.
Fixes: http://tracker.ceph.com/issues/15761
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
(cherry picked from commit f2def83b7a4a98bc60db5ba8936d78a49abace88)
commit caad884704ce22ae0a860a12693d7529a5837212
Author: youji <youji@ebay.com>
Date: Tue Jun 14 11:12:16 2016 -0700
mon: Monitor: validate prefix on handle_command()
Fixes: http://tracker.ceph.com/issues/16297
Signed-off-by: You Ji <youji@ebay.com>
(cherry picked from commit 7cb3434fed03a5497abfd00bcec7276b70df0654)
commit 3250c4d5a0bd9fc32eb6b1831a38363581f7c1bd
Author: Abhishek Lekshmanan <abhishek@suse.com>
Date: Mon Jun 20 15:56:50 2016 +0200
rgw_swift: newer versions of boost/utility no longer include in_place
boost > 1.58 no longer includes in_place in boost/utility, we need to
include in_place_factory explicitly. This causes build failures in
distros that ship with a higher version of boost. Since the only call is for
swift_ver_location, another possibility is to use emplace()
instead (though this requires boost ~ 1.56)
Fixes: http://tracker.ceph.com/issues/16391
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit a14f0f3869bb7defa7587ad9ccb18c3f086b2c3d)
Conflicts:
src/rgw/rgw_rest_swift.cc
jewel does not have #include <boost/optional.hpp>
commit 85428983070c8df663056404a7c63959bb8ef693
Merge: 2817f99 e9f9916
Author: Loic Dachary <loic@dachary.org>
Date: Wed Jun 29 16:47:15 2016 +0200
Merge pull request #9294 from theanalyst/wip-16009-jewel
jewel: radosgw-admin: failure for user create after upgrade from hammer to jewel
Reviewed-by: Casey Bodley <cbodley@redhat.com>
commit dd635e46ee2425335264ae493cb6b8437cd712fc
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 23 10:25:54 2016 -0400
librbd: ignore missing object map during snap remove
Fixes: http://tracker.ceph.com/issues/16350
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 68b296b0f107db39b16fa90c186fdc920d97170d)
commit db7ce96a3093e661f535efdd5e7e37177ba0732b
Author: Jason Dillaman <dillaman@redhat.com>
Date: Fri Jun 24 10:52:16 2016 -0400
librbd: removal of partially deleted image needs id lookup
Several operations depend on the image id but if the image cannot be
opened to retrieve the id, these cleanup operations cannot be executed.
Fixes: http://tracker.ceph.com/issues/16471
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 6a9e7da6c3da40c7b25ff3d5ac84027e94beb287)
commit c1a47c7728a17dbfc71280270b0c3079e5961ffb
Author: Ken Dreyer <kdreyer@redhat.com>
Date: Tue May 31 17:50:05 2016 -0600
packaging: move parted requirement to -osd subpkg
Prior to this change, ceph-base required the "parted" package, which
meant that any installation of ceph-osd, ceph-mon, or ceph-mds would
pull in the parted package.
Move the parted dependency to ceph-osd, since ceph-disk is the only
thing that uses parted.
The advantage of this change is that Mon and MDS systems will not need
to install the parted package.
Fixes: http://tracker.ceph.com/issues/16095
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
(cherry picked from commit 115349680bad520a0aa56ce3a346d93f541a905c)
commit 74dd0359d4d6db3c6dac4fd41703270e5020aad7
Author: Sage Weil <sage@redhat.com>
Date: Mon May 2 14:28:55 2016 -0400
osd/PG: set last_* PG fields on a creating PG
Use the value from pg_history_t that ultimately came from the
mon if last_epoch_started == 0. This establishes a sane lower
bound on these timestamps, and prevents a mon health error from
coming up about how a PG is stuck in whatever state while it is
being created.
(We addressed half of this problem in commit 6ca6aeac, but the
warning comes back as soon as the OSD reports with a creating
state.)
Fixes: http://tracker.ceph.com/issues/14952
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 3be3bc60c12448a36f607c8d4fbf3300c7bbdbee)
commit 2c03e02a04c217b8461b858fd3b46b73c4a370d1
Author: Sage Weil <sage@redhat.com>
Date: Mon May 2 14:27:16 2016 -0400
osd: set pg history last_clean_scrub_stamp on create
We were setting the other two; set this one as well.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 47f540d5b7ecc4ae193057df429db24ca6b3de8d)
commit a2e8ae68ea452d03519359cb0cd344e71e603fa9
Author: kofiliu <liu.xuan@h3c.com>
Date: Fri May 27 03:45:06 2016 -0400
osd: sparse_read offset may not be zero for ecpool
Signed-off-by: kofiliu <liu.xuan@h3c.com>
(cherry picked from commit 65e8738611cde0090619b3566a2e25f83b4c8468)
commit 2817f9978f73014b1b1363cecacabdd98e499c72
Merge: 38a2542 8b82bb8
Author: Mykola Golub <mgolub@mirantis.com>
Date: Wed Jun 29 11:42:43 2016 +0300
Merge pull request #9721 from trociny/wip-16289-jewel
jewel: qa/workunits/rbd: respect RBD_CREATE_ARGS environment variable
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit b8f7aa28c394830bac9aa73429131e92f7499aa0
Author: Haomai Wang <haomai@xsky.com>
Date: Sat Jun 11 13:39:23 2016 +0800
msg/async/AsyncConnection: make verify auth callback without connection lock
Fixes: http://tracker.ceph.com/issues/16237
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 2b7776545c3f87d7f54a53190e65ec48378eaa05)
commit 3dbb08a069c8e8238d2884a78b04f0a0d01a36e3
Author: Haomai Wang <haomai@xsky.com>
Date: Thu May 12 12:01:35 2016 +0800
AsyncConnection: create writable event for in progress connection
Previously we use a tricky with ceph msgr protocol, if initiator side got
in progress connection state, it will wait until read event. Because if
tcp session built successfully server side will send the banner firstly
and initiator side will get read event. Otherwise, if connection failed,
read event also be called.
But actually man(2)[http://man7.org/linux/man-pages/man2/connect.2.html]
specify if we want to get notification whether connection built, we need
to listen writable event. It means when connection built, send buffer
is ready to be written.
This patch follow the strict nonblock connect process. Not fully sure fix
http://tracker.ceph.com/issues/15849
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit a74ce419133881ff8618733a0501c4a47e1368e3)
commit 6554d462059b68ab983c0c8355c465e98ca45440
Author: Samuel Just <sjust@redhat.com>
Date: Tue Jun 7 17:15:05 2016 -0700
OSDMonitor::prepare_pgtemp: only update up_thru if newer
Fixes: http://tracker.ceph.com/issues/16185
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 5f2bd7b6b28aad96d68444b22c04b8b24564616b)
commit a826bb818b02edac71b69fdd97e9318bb42ebc36
Author: Samuel Just <sjust@redhat.com>
Date: Thu Jun 2 10:43:17 2016 -0700
OSDMonitor: drop pg temp from sources other than the current primary
Fixes: http://tracker.ceph.com/issues/16127
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 1a07123c38e3fecb3fb2e43bbbae962d8411d287)
commit 18fdc1c9f061b396df8095907c5b0ffb0591e76d
Author: Sage Weil <sage@redhat.com>
Date: Tue May 24 14:02:32 2016 -0400
osd: reject PARALLELEXEC ops with EINVAL
Errors are better than crashing.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 407495197dd878b62f1356f6d939e33ab50d78c6)
commit f91da931bcca9fd9f055a8d42d86ba3c3d3ea25f
Author: Sage Weil <sage@redhat.com>
Date: Tue May 24 14:02:14 2016 -0400
ceph_test_rados_api_misc: test rados op with bad flas
Pass the bad PARALLELEXEC flag to remove(), which takes a flags arg.
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 1aa807f4f29b4b016cc737ffa443e8f30c3b7693)
commit edd3f799fb1e5d70244412c5a1be17f74397aae2
Author: Haomai Wang <haomai@xsky.com>
Date: Sun Jun 19 23:42:36 2016 +0800
msg/async: close STATE_WAIT connection in short period
1. in practice, STATE_WAIT connection caused by racing connect should be
resolved in milliseconds level. we don't need to keep this connection
forever.
2. it will avoid unexpected osd peering hang because of outside network
problem.
Fixes: http://tracker.ceph.com/issues/16378
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 4de5407ac96686748497253e4daf51177f809a95)
commit af8e86c20e9b1124abe33f0dff58817fc8aad7c9
Author: Haomai Wang <haomai@xsky.com>
Date: Sun Jun 19 23:12:10 2016 +0800
test_msgr: add assert if wait for shutdown hang
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit ca22e0bc09c1a13c8dac14b25c00501e912b8006)
commit 42ef435554a21dfd5daec53002440a38f4d9f705
Author: Haomai Wang <haomai@xsky.com>
Date: Sun Jun 19 23:04:46 2016 +0800
test/test_msgr: add shutdown hang debug info
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 37b53d69d3d8c848d4627475fd63c80e15e118e7)
commit d4c531dca281560b904ec14b2749bc2924f470fb
Author: Haomai Wang <haomai@xsky.com>
Date: Sun May 22 23:43:47 2016 +0800
test_msgr: add verbose info for pending connections
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 39515b0f7c49d0cedbec0cf0dc2196b9d6d6339c)
commit 90ce35c4f449bfd48398b8a164e423f3d72609b2
Author: Haomai Wang <haomai@xsky.com>
Date: Sun Jun 19 23:03:07 2016 +0800
msg/async/AsyncConnection: lower racing case debug log level
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit d8cc985fe0ebc18d4ff725f50304a5ff36a77cd0)
commit 38a25420a0120288029d65cf924f1cbe5f3eb3fd
Merge: 980abcf 75d3261
Author: Loic Dachary <loic@dachary.org>
Date: Wed Jun 29 09:56:58 2016 +0200
Merge pull request #9425 from cbodley/wip-rgw-sync-retry-jewel
jewel: rgw: retry on bucket sync errors
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 980abcfd3966c29b4871d5a0913051a8312d866c
Merge: e230023 933fdef
Author: Loic Dachary <loic@dachary.org>
Date: Wed Jun 29 09:55:26 2016 +0200
Merge pull request #9327 from cbodley/wip-rgw-zone-modify-master-jewel
jewel: rgw: add_zone only clears master_zone if --master=false
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit e2300232b07175a12b92f23352deb34210d8ae41
Merge: e63dcb0 8163c4d
Author: Loic Dachary <loic@dachary.org>
Date: Wed Jun 29 09:50:04 2016 +0200
Merge pull request #9242 from yehudasa/wip-15911-jewel
jewel: rgw: don't unregister request if request is not connected to manager
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit e63dcb08083dff3a8382900f90df9f3311c9ec99
Merge: c9f2fda b751d48
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jun 28 15:53:03 2016 -0400
Merge pull request #9883 from dillaman/wip-16422
jewel: librbd: flag image as updated after proxying maintenance op
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
commit c9f2fda32c55f85f717ec26dfcf9140b16fa8cc6
Merge: 9aafefe 70018bf
Author: Samuel Just <sjust@redhat.com>
Date: Mon Jun 27 12:43:11 2016 -0700
Merge pull request #9105 from Abhishekvrshny/wip-15768-jewel
jewel: FileStore: umount hang because sync thread doesn't exit
Reviewed-by: Samuel Just <sjust@redhat.com>
commit 9aafefeab6b0f01d7467f70cb2f1b16ae88340e8
Merge: 25c807b cb9e9e1
Author: Loic Dachary <loic@dachary.org>
Date: Mon Jun 27 17:50:39 2016 +0200
Merge pull request #9633 from liewegas/wip-async-jewel
msg/async: backports of all asyncmsgr fixes to jewel
Reviewed-by: Haomai Wang <haomai@xsky.com>
commit 25c807b1919fe11b8d8183b06cdfc5465357d509
Merge: ae34e37 6619bd9
Author: Sage Weil <sage@redhat.com>
Date: Mon Jun 27 09:12:14 2016 -0400
Merge pull request #9576 from Abhishekvrshny/wip-16148-jewel
jewel: Scrub error: 0/1 pinned
Reviewed-by: Sage Weil <sage@redhat.com>
commit ae34e3742651f7b679e4b524676d26d4fb906562
Merge: e16830c b7f0e73
Author: Sage Weil <sage@redhat.com>
Date: Mon Jun 27 09:11:43 2016 -0400
Merge pull request #9575 from Abhishekvrshny/wip-16150-jewel
jewel: crash adding snap to purged_snaps in ReplicatedPG::WaitingOnReplicas
Reviewed-by: Sage Weil <sage@redhat.com>
commit e16830c6287323aae4fdddd9f4192793a6c48e74
Merge: 2cf8d58 6c1163c
Author: Sage Weil <sage@redhat.com>
Date: Mon Jun 27 09:10:36 2016 -0400
Merge pull request #8754 from kmroz/wip-backport-fix-run-dir-chown
jewel: global-init: fixup chown of the run directory along with log and asok files
Reviewed-by: Sage Weil <sage@redhat.com>
commit 1f19dbd0f092390b44acfb5fe9dc3936c6732fdd
Author: Mykola Golub <mgolub@mirantis.com>
Date: Mon Jun 27 14:45:02 2016 +0300
librbd: potential use after free on refresh error
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit e92b3950cd261d36de422ccaa4a2441d41c80d0c)
commit 2cf8d58beb164017d065e91fdbf8c7a380a4dddb
Merge: b861c30 3f8642d
Author: Loic Dachary <loic@dachary.org>
Date: Mon Jun 27 10:12:35 2016 +0200
Merge pull request #9578 from Abhishekvrshny/wip-16080-jewel
jewel: osd:sched_time not actually randomized
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit b861c30bdf86378845379bd3e66db32f264b23ee
Merge: eea4851 1c7abcb
Author: Loic Dachary <loic@dachary.org>
Date: Mon Jun 27 10:08:25 2016 +0200
Merge pull request #9574 from Abhishekvrshny/wip-16153-jewel
jewel: Missing export for rados_aio_get_version in src/include/rados/librados.h
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit eea48519d76e53ebe94947165c9404259397a37e
Merge: 057ff74 9415d38
Author: Loic Dachary <loic@dachary.org>
Date: Mon Jun 27 10:06:54 2016 +0200
Merge pull request #9565 from dzafman/wip-15767-jewel
jewel: Fixes for list-inconsistent-*
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit 057ff74ede5510e1b28b19e3f99d823781d5da39
Merge: 50e242c b2d1df1
Author: Loic Dachary <loic@dachary.org>
Date: Mon Jun 27 09:42:28 2016 +0200
Merge pull request #8904 from SUSE/wip-15700-jewel
jewel: rados/test.sh workunit timesout on OpenStack
Reviewed-by: Loic Dachary <ldachary@redhat.com>
commit ad3b788b0c83ffb1339d940cd86555dbc3b1b55f
Author: Nathan Cutler <ncutler@suse.com>
Date: Sat Apr 23 20:33:17 2016 +0200
Drop ceph Resource Agent
This RA wraps the ceph sysvinit script. As of Jewel, none of the supported
distros are using sysvinit anymore. So, drop it.
Incidentally, Pacemaker can control systemd units without any wrappers.
References: http://tracker.ceph.com/issues/14828
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit bb624c7334ee4241ea3bf892f88e25d165dc3477)
commit b751d4854aa8629f46f0e3dd835aff27b8be709d
Author: Jason Dillaman <dillaman@redhat.com>
Date: Tue Jun 21 14:56:43 2016 -0400
librbd: flag image as updated after proxying maintenance op
Fixes: http://tracker.ceph.com/issues/16404
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 478dd5f173591914b41d87b8c6d035c32cac8d3e)
commit 50e242c28b766bd35c924f0f01c0298ed166d20a
Merge: a34b227 9b75275
Author: Josh Durgin <jdurgin@redhat.com>
Date: Tue Jun 21 16:43:20 2016 -0700
Merge branch 'wip-dmick-install-deps-jewel' into jewel
install-deps.sh: use mk-build-deps instead of processing control
Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
commit 9b7527537547b388d1cd75cb70a522712420a455
Author: Dan Mick <dan.mick@redhat.com>
Date: Wed Mar 23 17:43:53 2016 -0700
install-deps.sh: use mk-build-deps instead of processing control
mk-build-deps is designed to handle installing build dependencies;
use that instead, so '|' indications are handled properly.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 99bca09b8d09c41077a9d2141ff556b74328e57a)
commit a34b227c1ed11f51d830ea48a6fbfc0c74a981a6
Author: Roi Dayan <roid@mellanox.com>
Date: Wed Apr 20 17:56:16 2016 +0300
xio: add MNop.h to dist tarball
This file is needed when we want to build a package with xio messenger
but was not added to dist tarball.
Signed-off-by: Roi Dayan <roid@mellanox.com>
(cherry picked from commit ac50842d81d271569d4149737834ac53b2f51db2)
commit 393bf7ef409253123e0721cdfe3b78aa4fd55148
Author: Nathan Cutler <ncutler@suse.com>
Date: Wed Jun 15 16:53:16 2016 +0200
rgw: check for -ERR_NOT_MODIFIED in rgw_rest_s3.cc
Fixes: http://tracker.ceph.com/issues/16327
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit fc38346c596d8b0bc156183970d6a327943cb577)
commit 6b41d76f53337a696523cddb47b53b703cdfa571
Author: Haomai Wang <haomai@xsky.com>
Date: Tue Jun 14 11:03:19 2016 +0800
TaskFinisher: cancel all tasks wait until finisher done
Otherwise, caller may think pending task won't be executed but actually
finisher may execute callback which may cause refer to freed object.
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 40c5679ef038375e2bde982f401d78c1f3e05c6c)
commit 762db30a3c2c43e56b227017b993802369c07219
Author: Vikhyat Umrao <vumrao@redhat.com>
Date: Tue May 24 09:29:32 2016 +0530
rgw: support size suffixes for --max-size in
radosgw-admin command
Fixes: http://tracker.ceph.com/issues/16339
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
(cherry picked from commit 62eec902c70463173e758e55fa38594c594f868f)
commit e3a99c082e3ebd56d5b40d7d94d98e35629df81e
Author: Vikhyat Umrao <vumrao@redhat.com>
Date: Thu May 26 23:30:25 2016 +0530
common: add int64_t template for strict_si_cast()
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
(cherry picked from commit 8e429d05370fbe7935212d0ae9608e7547f39860)
commit f8e491168d4802ab071e30e4fdd654dca018bfe6
Author: Vikhyat Umrao <vumrao@redhat.com>
Date: Mon May 9 18:00:28 2016 +0530
rados: Add cleanup message with time to rados bench output
Fixes: http://tracker.ceph.com/issues/16338
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
(cherry picked from commit 885ebb1650bb4a355600d85ca436c1ecd4916dce)
commit 8b82bb85e4f2d6fb81c3c4ccc6789856c78f4984
Author: Mykola Golub <mgolub@mirantis.com>
Date: Tue Jun 14 15:28:06 2016 +0300
qa/workunits/rbd: respect RBD_CREATE_ARGS environment variable
Fixes: http://tracker.ceph.com/issues/16289
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 3048d3c7ce800a6174c54946b838e4e4079ec609)
commit 9415d38139a66b86ff40e0521b769665f31fd36b
Author: David Zafman <dzafman@redhat.com>
Date: Thu May 5 23:20:58 2016 -0700
rados: Improve list-inconsistent json format
Use array "errors" of strings for the error bits
Change snapshot number to integer instead of hex
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 07dc844d6804db93055573ec83e6753773a4c049)
commit 2fd6e7cf78f2eabbec669f3f9c4e60f1aa3ee8bd
Author: David Zafman <dzafman@redhat.com>
Date: Fri May 6 19:54:11 2016 -0700
test: Fix test to not use jq -S which isn't avail in all distributions
Fixes: http://tracker.ceph.com/issues/15766
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit a2147ad3cb256c34541ff7dc285594a22a24dfc6)
commit c789aa39f27dc83f52465ba2d5b513a06b99c9d2
Author: David Zafman <dzafman@redhat.com>
Date: Tue May 3 12:10:38 2016 -0700
test: Add testing of new scrub commands in rados
Test list-inconsistent-pg
Test list-inconsistent-obj
Test inconsistent-snapset
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit db517ba9176f1ee829453b016b1bd43c6054a555)
commit a6f3f762505849994c91efea98c345da16561a22
Author: David Zafman <dzafman@redhat.com>
Date: Fri Apr 29 11:25:18 2016 -0700
rados: Don't bother showing list-inconsistent-* errors that aren't set
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit a551b6bd5c4eba11c170afe63994258e7598c3d2)
commit 4c72195a6c5cb9eeca952f12edf62a10ec666f10
Author: David Zafman <dzafman@redhat.com>
Date: Fri Apr 29 17:09:13 2016 -0700
osd, rados: Fixes for list-inconsistent-snapset
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit fdca113fc24adbb4f60bfdc55fbbd5044b711b5d)
commit 4e4e562926d38371f70ba2cf2f7003daa251b9f0
Author: David Zafman <dzafman@redhat.com>
Date: Fri Apr 29 11:26:39 2016 -0700
include, rados: Fixes for list-inconsistent-obj and librados
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 4fc4326b36aa00092043514746aa39aedad06b0f)
commit 80f0dd348f32ff6e1f98ca29ea2ed38b5b7f5854
Author: David Zafman <dzafman@redhat.com>
Date: Tue Apr 26 18:16:22 2016 -0700
rados: Balance format sections in same do_get_inconsistent_cmd()
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit de4681b80a5d24e72bbc7ac6dfee4775987fd834)
commit d248aba10ed232df116729591fea5b195a245735
Author: David Zafman <dzafman@redhat.com>
Date: Mon Mar 21 20:41:03 2016 -0700
rados: Include epoch in the list-inconsistent-* command output
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit df4bc16c4d49489f7398eb1ecc7b9aef93258414)
commit 43141e383ebac822221b3f22392f02b95b015ef5
Author: David Zafman <dzafman@redhat.com>
Date: Mon Mar 21 20:39:53 2016 -0700
rados: Improve error messages for list-inconsistent commands
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit cea7cf56ee3b9593c935d0c74ce6e4b28b14c2da)
commit 502540faf67308fa595e03f9f446b4ba67df731d
Author: Jenkins Build Slave User <jenkins-build@trusty-huge--dfeed223-b008-47e6-b689-a0d96992b62c.localdomain>
Date: Fri May 13 17:50:34 2016 +0000
10.2.1
commit b4a80cb1e30f8da8e2b0fc2b18fc846609282879
Author: Mykola Golub <mgolub@mirantis.com>
Date: Sat Jun 11 20:01:31 2016 +0300
qa/workunits/rbd: specify source path
otherwise it looks in $PATH for the script
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
(cherry picked from commit 698242e7435c9c4d1db7cb6d5aab3faf57eda840)
commit 70c97bd07e6764e1c6ff83225f6a2a9dcdfb989e
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 9 16:23:52 2016 -0400
qa/workunits/rbd: additional rbd-mirror stress tests
Fixes: http://tracker.ceph.com/issues/16197
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit db3e583a5fe4a7985b1e7f1740114da414835af5)
commit c7cfb4825fbcc82e74b5b1461fc86591098a8599
Author: Jason Dillaman <dillaman@redhat.com>
Date: Thu Jun 9 17:14:36 2016 -0400
vstart: add --nolockdep option
rbd-mirror stress test cases need a way to disable lockdep when
initiated in a vstart environment.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit d5eec7b2f4222dde0cfdaa9e0e4b43be015c3692)
commit d48a1ed7845843cfc7598d97dce6b10992079ec3
Author: Robin H. Johnson <robin.johnson@dreamhost.com>
Date: Sun Apr 17 08:23:23 2016 -0700
rgw/s3website: Fix x-amz-website-redirect-location support.
Support for the x-amz-website-redirect-location header was broken in the
feature merging of Jewel, as it previously depended on the error handler to
redirect, which was overkill. Simplify it to work.
Backport: jewel
Fixes: http://tracker.ceph.com/issues/15531
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit 7cbb63bb748c4c78c02926acb4ad9bcea5593695)
commit 3f8642d134c473be331a53f420d122b4f390dee6
Author: xie xingguo <xie.xingguo@zte.com.cn>
Date: Sat May 14 11:28:04 2016 +0800
osd: fix sched_time not actually randomized
The test program:
main()
{
for (int i = 0; i < 1000; i++) {
double before = rand() / RAND_MAX;
double after = rand() / (double)RAND_MAX;
cout << "before: " << before << " after: " << after << endl;
}
}
And the output(partial and with "-std=c++11" option):
before: 0 after: 0.394383
before: 0 after: 0.79844
before: 0 after: 0.197551
before: 0 after: 0.76823
before: 0 after: 0.55397
before: 0 after: 0.628871
before: 0 after: 0.513401
before: 0 after: 0.916195
before: 0 after: 0.717297
before: 0 after: 0.606969
before: 0 after: 0.242887
before: 0 after: 0.804177
before: 0 after: 0.400944
before: 0 after: 0.108809
before: 0 after: 0.218257
before: 0 after: 0.839112
before: 0 after: 0.296032
before: 0 after: 0.524287
Fixes: http://tracker.ceph.com/issues/15890
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit d3b7767a64af0cd57d17b888e4ec3bdae6fdab87)
commit 6619bd9dbe257bfeb19931cf7f94c56520ae1ebf
Author: Samuel Just <sjust@redhat.com>
Date: Fri May 20 13:59:10 2016 -0700
ReplicatedPG: adjust num_pinned in _delete_oid
Fixes: http://tracker.ceph.com/issues/15952
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 907d4e25c676fd3e1c2be90ce8ab5b64b362b0bc)
commit b7f0e73223687035e470fcd7ffc7b851c04aba00
Author: Samuel Just <sjust@redhat.com>
Date: Thu May 19 16:00:35 2016 -0700
PG: update PGPool to detect map gaps and reset cached_removed_snaps
Fixes: http://tracker.ceph.com/issues/15943
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 5798fb3bf6d726d14a9c5cb99dc5902eba5b878a)
commit 1c7abcbfe58f77d9d915dd2fc2fc4c75883d46c1
Author: Jim Wright <jim@quadraturecapital.com>
Date: Thu Jun 2 15:12:30 2016 +0100
librados: Added declaration for rados_aio_get_version
Was missing from librados.h and hence had an incorrect
visability.
Fixes: #15535
(cherry picked from commit a5a1c1732e50be7d27f8742e794eba88d35c1c7f)
commit ec884a3406568ccb4c997b4da8924d25d3e2473b
Author: Robin H. Johnson <robin.johnson@dreamhost.com>
Date: Tue May 17 17:38:38 2016 -0700
rgw/s3website: whitespace style fixes
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit fd35ad001c9430753cc2b1f91a7d48f591c6754e)
commit bf26b6eeb7fb806bff0ee306467277a273dcc887
Author: Robin H. Johnson <robin.johnson@dreamhost.com>
Date: Tue May 17 17:35:41 2016 -0700
rgw/s3website: Fix ErrocDoc memory leak.
Yehuda pointed [1] out a memory leak with the RGWGetObj not being handed back, and
suggested that shared_ptr was used to handle it, rather than the prior approach
of explicitly calling handler->put_op.
This commit implements just that change, in isolation from other changes, for
ease of comparision testing.
X-Reference-1: https://github.com/ceph/ceph/pull/8669#discussion_r63445516
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit 2fd7bc8cbe4a2e23553e716ce0be75937853e07b)
commit 36672c61be8289ba00dd694c92cd9057dbf5cf29
Author: Robin H. Johnson <robin.johnson@dreamhost.com>
Date: Sun Apr 17 08:23:23 2016 -0700
rgw/s3website: Fix x-amz-website-redirect-location support.
Support for the x-amz-website-redirect-location header was broken in the
feature merging of Jewel, as it previously depended on the error handler to
redirect, which was overkill. Simplify it to work.
Backport: jewel
Fixes: http://tracker.ceph.com/issues/15531
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit 7cbb63bb748c4c78c02926acb4ad9bcea5593695)
commit 3c0ac8eb9c9d19a6418e3d84df36e4a87f24fb23
Author: Robin H. Johnson <robin.johnson@dreamhost.com>
Date: Wed Apr 20 15:52:51 2016 -0700
rgw/s3website: Implement ErrorDoc & fix Double-Fault handler
Fix more last minute breakage from merges, now has has a working ErrorDoc as
well as working double-fault. Also moves some s3website-specific code out of
the main S3 codepath.
Fixes: #15532
Fixes: #15555
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
(cherry picked from commit fcb3cf169f1fa7cf878eb154dc3f1ff78e278056)
commit cb9e9e1c322cb7fb2150b15b17bde4371fd1e703
Author: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Date: Fri Feb 26 13:54:20 2016 +0100
msg/async: Implement smarter worker thread selection
This changeset makes AsyncMessenger a bit smarter when it comes
to assigning worker threads to AsyncConnections. Each time a worker
is assigned, its reference count is increased. Next time when Async
Messenger needs to assign another worker to new AsyncConnection, it
picks the one with the lowest reference count. If it cannot find an
idle one, and number of currently instantiated workers is less than
specified with "ms async op max threads", the new worker is created
and returned.
Once AsyncConnection goes away, the reference count on assigned
worker is decreased.
This does not prevent, but greatly reduces chances of having a single
async worker thread doing most (or even all) of the ops, and also
removes the need to manually tune the "ms async op threads" option.
Signed-off-by: Piotr Dałek <git@predictor.org.pl>
(cherry picked from commit 3e80f8d74a535e14d4092b27ea5417bacff8394e)
commit 578ac8aacfdd0ecfecb3ae3ebeb8a0b3ff53b67d
Author: Haomai Wang <haomai@xsky.com>
Date: Wed Apr 20 14:23:20 2016 -0400
Event: fix delete_time_event while in processing list
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 1ddeede83200566666fce80867eb7cb5a61a4f62)
commit 8c7a13fdfa46095621b96a7da8d3b9ce09439509
Author: Haomai Wang <haomai@xsky.com>
Date: Fri Apr 15 13:33:35 2016 +0800
test_msgr: add delay inject test
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 0a2392919f9ad7286ae4b5924566197c1069474f)
commit 846992f025586fa83c69eaec3ed09b6ab6677fcc
Author: Haomai Wang <haomai@xsky.com>
Date: Fri Apr 15 11:43:42 2016 +0800
AsyncConnection: make delay message happen within original thread
Fixes: http://tracker.ceph.com/issues/15503
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 83f7db58aad2509e1a8742e862d4e8bbfd85c37c)
commit 9b199d0b19220bf4adb9b0754f493e7c1ad78a4e
Author: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Date: Tue Apr 5 09:37:23 2016 +0200
msg/async: add missing DelayedDelivery and delay injection
Delay injection was missing from a few spots, also, DelayedDelivery
was added.
Fixes: http://tracker.ceph.com/issues/15372
Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
(cherry picked from commit 49a0c9981bd4bf61b520ece8fb8adfdf7439185b)
commit 0e6324a726e85e498946a49393e0f7c228c2f913
Author: Haomai Wang <haomai@xsky.com>
Date: Sun May 1 08:32:24 2016 +0800
Event: replace ceph_clock_now with coarse_real_clock
reduce cpu utilization on real clock latency
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 79343a8a093630f1c0696f135c6e3bef0c23da28)
commit 6597fab4cc27de6d6f1dcfa070ed401612bfed76
Author: Yan Jun <yan.jun8@zte.com.cn>
Date: Mon Apr 25 09:45:20 2016 +0800
msg/async: fix some return values and misspellings.
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
(cherry picked from commit 0519f938e13d0adf53c1328fd636b9fa5e6c5b93)
commit 18f18c7beee3c7a072009838c02d5ba1f97fef2c
Author: Yan Jun <yan.jun8@zte.com.cn>
Date: Mon Mar 28 15:33:30 2016 +0800
msg/async: delete the confused comments.
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
(cherry picked from commit 69a587b139815812433f2b651db6bd723353605d)
commit 79354f4223191c9d8ce6f92aaadf3481f9abf72d
Author: Yan Jun <yan.jun8@zte.com.cn>
Date: Fri Mar 25 17:34:12 2016 +0800
msg/async: add numevents statistics for external_events
Maybe we need to add the statistics for external_events.
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
(cherry picked from commit f08ca0a0892767a8c40e06e336297109aa6142a1)
commit 4005a5193a1cb3e3a0ac1e6f019bead0837ea552
Author: Haomai Wang <haomai@xsky.com>
Date: Sun Mar 13 12:24:35 2016 +0800
AsyncConnection: remove unnecessary "send" flag
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit 5c0a689d720f1016846ff945ca75b9f91756170d)
commit 441847d9951e230b48776fa0fbe639d7b23a595b
Author: Haomai Wang <haomai@xsky.com>
Date: Sat Mar 12 21:02:51 2016 +0800
async: skip unnecessary steps when parsing simple messages
Signed-off-by: Haomai Wang <haomai@xsky.com>
(cherry picked from commit a9ac1c4f88ffb5f66c43527ea0ae1deef1be3a96)
commit c02501005b0316ba9f0ae1cd316a92c567b37c3b
Author: Noah Watkins <nwatkins@redhat.com>
Date: Wed May 4 17:22:14 2016 +0800
client: fstat should take CEPH_STAT_CAP_INODE_ALL
Fixes: http://tracker.ceph.com/issues/15723
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 4b1a5d4ef9c3a116bb08100edd576819930047e3)
commit c3f6d82d86f9720a373ec9792b927292f01897c0
Author: xie xingguo <xie.xingguo@zte.com.cn>
Date: Wed Jun 1 14:28:17 2016 +0800
mon/MDSMonitor: fix wrongly set expiration time of blacklist
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 0c3a92bb999e90212a9f38f9f4dc3bf89bd20acb)
commit d4017ae915e8355f9146844a443942c0dce32476
Author: xie xingguo <xie.xingguo@zte.com.cn>
Date: Wed Jun 1 11:17:32 2016 +0800
mon/MDSMonitor: fix wrong positive of jewel flag check
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(cherry picked from commit 24b82bafffced97384135e55ab2a97091e9a7b4b)
commit eea0e916640c3ac2d69ffb9c335dde6332b03938
Author: Yan, Zheng <zyan@redhat.com>
Date: Fri May 6 19:07:07 2016 +0800
mds: finish lock waiters in the same order that they were added.
Current code first processes lock waiters who have smaller wait mask.
Lock waiters who have large wait mask can starve if client keeps
sending requests that add waiter with small mask.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit d463107473382170c07d9250bb7ace0e5a2a7de2)
commit 2c7fc95e06f6b1b52bef89904399de4088efaff1
Author: Yan, Zheng <zyan@redhat.com>
Date: Mon May 23 17:40:05 2016 +0800
mds: fix race between StrayManager::{eval_stray,reintegrate_stray}
StrayManager::eval_stray() is called after Server::respond_to_request()
drops locks. So it can race with StrayManager::reintegrate_stray()
Fixes: http://tracker.ceph.com/issues/15920
Signed-off-by: Yan, Zheng <zyan@redhat.com>
(cherry picked from commit 65827a0fd4d4ecb6d5e2eccf3a1818026ce1f10c)
commit 19c13669ecb1bc9788b6741753d3eedbde713620
Author: John Spray <john.spray@redhat.com>
Date: Mon May 2 22:23:04 2016 +0100
osdc: send error to recovery waiters on shutdown
...instead of sending them '0', which gets things
confused.
Fixes: http://tracker.ceph.com/issues/15689
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 62c7a3c59ce479d5240eb5fbef01edf11388c7bb)
commit 7b0318aad79a08f1549bbf9054519a18c9e8c379
Author: John Spray <john.spray@redhat.com>
Date: Mon May 2 22:14:07 2016 +0100
mds: fix mdsmap print_summary with standby replays
Fixes: http://tracker.ceph.com/issues/15705
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 899a16e50a6c22359e7a5c5ac720a605f6a4b67e)
commit f858f94c9dcd2b2845fe59ff9d213b59574144c5
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Wed Jun 1 04:24:34 2016 -0700
rgw: reduce string copy
As suggested by Casey Bodley.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit f8f1f217314c32cf65ac1fa4e8e0132b501ee184)
commit 67e3be38fdfcec8fa4b00dfc703a45ffa101679b
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Thu May 19 15:02:21 2016 -0700
rgw: rework aws4 header parsing
Fixes: #15940
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit e3618c87026b5ced8ef81adbcafc7f9b34f2d48d)
commit 5bdd13e6f2bc8c52f9a4829a5cc80691947233bb
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Thu May 19 12:52:54 2016 -0700
rgw: don't add port to aws4 canonical string if using default port
Fixes: #15939
When either port 80 is used, or if it's a secure connection and port 443 is used,
and when going through the presigned url auth, don't add the port to the signed
string.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 033888bbd0e4d8d81358bf61a099276dddb5692b)
commit 474739e87231dc1fc3e3a805584c3f15e1dd1f94
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Thu May 19 11:30:44 2016 -0700
rgw: use correct method to get current epoch
Fixes: #15939
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 310f5bdf56a9deb09347aadc158da25750fb6735)
commit fc34fbd469dd1c35804305a96d4e650828049d51
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Wed May 18 17:21:28 2016 -0700
rgw: check for aws4 headers size where needed
Fixes: #15940
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 493cc5d1241693f3ea52f4d7f3a194d9e0ec1905)
commit 44decb4ea1d8e60ba929500e0ccbdac3417c3647
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Wed May 25 14:23:29 2016 +0200
rgw: properly handle initial slashes in SLO's segment path.
Fixes: http://tracker.ceph.com/issues/16015
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit d384b2b8e0ed670f229eb889a14f521fa8d194fc)
commit e8b7dd47018ab115ffa27b7e72470956de738fd3
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Mon May 23 13:27:24 2016 +0200
rgw: remove unnecessary data copying in RGWPutMetadataBucket.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 19c12bbc233a118496f8ad5d640d19bb0e2c5d05)
commit 63e0993e33b10adc4d9e1f80c4fe4c5ee9c5f4ff
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Sun May 22 15:32:19 2016 +0200
rgw: Fix updating CORS/ACLs during POST on Swift's container.
Introduced in: 7a7de9b75265b978ba4e53966f614fac033972cb
Fixes: http://tracker.ceph.com/issues/15976
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit d9e4727b7e6ffa1cb2918b610381d41439a056e8)
commit 4eded9aa94384e60e765accb4c9f093bd2534970
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Sat May 21 02:47:12 2016 +0200
rgw: fix update of already existing account/bucket's custom attributes.
Introduced in: 3f3b18bff16f6a5b36987f888ba3f2a0d1ea3155.
Fixes: http://tracker.ceph.com/issues/15977
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit d6129e664fc8d25e70bfaf83e340703005f8f73f)
commit 30ee18018ae890a058ae40a6006e1045258d36d5
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Mon May 9 17:22:45 2016 +0200
rgw: fix updating account/container metadata of Swift API.
This patch rectifies an issue with handling of user metadata that are
actually stored by an updated resource (account or container).
The expected behaviour is they will be merged with new medadata coming
from an HTTP client.
Backport: Jewel
Fixes: http://tracker.ceph.com/issues/15779
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 3f3b18bff16f6a5b36987f888ba3f2a0d1ea3155)
commit 75d326117dd57acdae355cec5ac25112e70ff2ba
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Fri May 13 14:13:27 2016 -0700
rgw: back off if error repo is empty
Don't check it every time
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit dbf6dcb29faa853c2439457c767d550d5fcdc0f2)
commit 8dcd2a1d93f08db6ede05b3028c3fc601defe932
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Fri May 13 11:13:48 2016 -0700
rgw: data sync retries sync on prevously failed bucket shards
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit f1ccc4cd973d16e7676b2374eeefe4ee6f6a4630)
commit 3e5210ddedd1d98473e0bcff04a03958b0b850fc
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Wed May 11 15:59:27 2016 -0700
rgw: store failed data sync entries in separate omap
so that we can reiterate over them
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit b7deb7cb09304f1b0963139296bdb3abb22895ff)
commit d08ca528ea869cf5a899fd684caecf030b96f5fe
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Fri May 13 11:20:49 2016 -0700
rgw: configurable window size to RGWOmapAppend
We want to be able to disable buffering for certain operations.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 94ff675e2e7763650d14f62aaf1ff9ddb05cc380)
commit 368e88409e57d6827c7b10f72761d0320cdb4dc2
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Thu May 12 09:14:29 2016 -0700
rgw: add a cr for omap keys removal
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 20c1b4b8a3695b818c5c64d61d5ea4f84c48c782)
commit 933fdefb56ce1ab883e6d3ee09c34fb2aa14808e
Author: Casey Bodley <cbodley@redhat.com>
Date: Mon May 16 11:03:45 2016 -0400
rgw: add_zone only clears master_zone if --master=false
Fixes: http://tracker.ceph.com/issues/15901
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 40c4d150757cba4b05938c6c760ab9f0296c2ff6)
commit e9f99166f7fc1b4b468e146a47ec9ac71541bec9
Author: Orit Wasserman <owasserm@redhat.com>
Date: Fri May 20 09:52:01 2016 +0200
rgw: add missing metadata_heap pool to old zones
Fixes: http://tracker.ceph.com/issues/15937
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit b79856bd3f7db8498231d7f35b53b4bcb44a0422)
commit 22662875320717d1ee939732f9cf7939db697106
Author: Zhi Zhang <willzzhang@tencent.com>
Date: Tue May 3 17:12:26 2016 +0800
mds: wrongly treat symlink inode as normal file/dir when symlink inode is stale on kcephfs
Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
(cherry picked from commit 88b6d669e37924536152a552db46ef43a7353562)
commit 0bdc8fd58ce790638c62bbe5264294ed5e1f710a
Author: Vikhyat Umrao <vumrao@redhat.com>
Date: Thu May 26 15:43:41 2016 +0530
rgw : cleanup radosgw-admin temp command as it was deprecated
and also implementation code for this command was removed in commit
8d7c8828b02c46e119adc4b9e8f655551512fc2d
Fixes: http://tracker.ceph.com/issues/16071
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
(cherry picked from commit 949f917af80ae0bd9a5448129d3ce8979acf7e0b)
commit 108638f366a70ca634a21b7fe4c9206368791514
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Tue Mar 15 16:48:26 2016 +0100
rgw: handle initial slashes properly in BulkDelete of Swift API.
Fixes: http://tracker.ceph.com/issues/15948
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 1dde062c21c3d6fa3cc01e8c922d7f89c6973bfa)
commit a40cfe4df81c03b197dc31888f5d77927eeae7c5
Author: Abhishek Lekshmanan <abhishek@suse.com>
Date: Tue May 3 14:56:38 2016 +0200
rgw: remove -EEXIST error msg for ZoneCreate
currently for any admin operations like user create etc. you would
always see:
`RGWZoneParams::create(): error creating default zone params: (17) File
Exists`
in stdout as the debug level is set to 0, which doesn't make much sense
for an end user, so skip the error message, callers of the function handle
the error message anyway, so we skip it here
Fixes: http://tracker.ceph.com/issues/15720
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 2ace9d7f349ef09d3ed87fb216cda3e305ef706f)
commit ff9c29a0e7a3719858ad94f632b6d1af3f3ec73e
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Mon May 16 18:24:55 2016 +0200
rgw: camelcase names of custom attributes in Swift's responses.
Fixes: http://tracker.ceph.com/issues/15902
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit cfde4c42c0248b52ef1b855f7de79ee1e229e73f)
commit 4a3c9f338fb0f2cee71f31652cf31a8ba61d5e4e
Author: Orit Wasserman <owasserm@redhat.com>
Date: Fri May 13 15:39:32 2016 +0200
rgw: fix realm pull and period pull for apache frontend
add missing content-type and content-length headers
Fixes: http://tracker.ceph.com/issues/15846
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
(cherry picked from commit 8454ff1a91322697224332f0e6f0c7a9c856ec9a)
commit a08caa6d3cbca0395a9ed5f487f9de33b615f59f
Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Date: Tue May 10 17:45:20 2016 +0200
rgw: handle errors properly during GET on Swift's DLO.
Backport: Jewel, Hammer
Fixes: http://tracker.ceph.com/issues/15812
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 5ef0202a86a1e4cb56bd29d926555f114a1acdd8)
commit 8163c4dd34d24249bf662c1110c49136ff335bf9
Author: Yehuda Sadeh <yehuda@redhat.com>
Date: Tue May 10 15:34:19 2016 -0700
rgw: don't unregister request if request is not connected to manager
That means that request is already complete and done with the manager.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
(cherry picked from commit 16c0605bf276b245fbf41cb3e000ecdf7b049e15)
commit 70018bfe6f5e298791c34ae4ad6eac2140d6f761
Author: Kefu Chai <kchai@redhat.com>
Date: Tue May 3 17:20:04 2016 +0800
os/FileStore::sync_entry check for stop in after wait
there is chance that the sync_entry() gets signaled in the
WaitInterval(max_interval) call because of sync_cond.Signal() call after
"stop = true" in umount(), so without this change, sync_entry() will
continue wait until min_interval is reached. this forces umount() to
wait even it has called d_force_sync(), and hence slows down the
progress of umount(). so we need to check for `stop` if we are not
signalled because of `force_sync`.
Fixes: http://tracker.ceph.com/issues/15695
Reported-by: Haomai Wang <haomaiwang@gmail.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 65426a522d9d052fd7c38964f143087f277816c5)
commit b2d1df129bc4403d98b66873ee6bca64ba1ea264
Author: Loic Dachary <ldachary@redhat.com>
Date: Wed Apr 6 15:39:23 2016 +0200
tests: be more generous with test timeout
When the thrasher is in action together with a validater (lockdep or
valgrind), a single test may hang for more than 360 seconds. Increase to
1200: it does not matter if the value is large, only that it prevents
the test from hanging forever.
Fixes: http://tracker.ceph.com/issues/15403
Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit af89474b3fb2c4aa63680aa6b30d71fad2fdd373)
commit 6c1163cd6e39ba293be1be4a3f82e60fd054a348
Author: Karol Mroz <kmroz@suse.com>
Date: Mon Apr 25 17:24:07 2016 +0200
admin-socket: use chown instead of fchown
fchown() returns success, but does not change asok file
ownership. chown() does.
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 3d051a58cc117ff79d4cdd768603d1dec8ca7f60)
commit 3963de78635d760924a36eeb1e8b7782dd5a276e
Author: Karol Mroz <kmroz@suse.com>
Date: Sat Apr 23 13:55:18 2016 +0200
global-init: fixup inconsistent use of ceph ctx and conf
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 088cc66a94886130df647976050c9d98fcd7572e)
commit 2bc41945ca6a8e8e8e852ae0b7e888bc223dd7a3
Author: Karol Mroz <kmroz@suse.com>
Date: Sat Apr 23 13:54:45 2016 +0200
global-init: chown pid files
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 9c82d8466a264c0f07fd3ec4cc58c1ddb88cc84f)
commit 5681b78ac74728db70a89bc86845a74ff7d81217
Author: Karol Mroz <kmroz@suse.com>
Date: Sat Apr 23 13:47:58 2016 +0200
global-init: chown run dir
Also performs log file chown() operations if permission drop has been
deferred. Documents that admin socket chown() happen in the common init
path.
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 9d513793b3fe4b7e1402e36a4a675553edd6f317)
commit c2075448f052ef7e49bc95c1f8240c2ff559b5ae
Author: Karol Mroz <kmroz@suse.com>
Date: Sat Apr 23 13:40:08 2016 +0200
common-init: chown admin socket after service thread started
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 206585c1d0fc6826c91f7830cde8ded86288abef)
commit f7e6b3cf9c363a3a65da4e176c7324d027352420
Author: Karol Mroz <kmroz@suse.com>
Date: Sat Apr 23 13:36:01 2016 +0200
global-init: check init flags and set accordingly
If init flags have changed between the time ceph context was
instantiated and now, update them. This can happen, for example, if
between manual global_pre_init() and global_init() calls, a daemon adds
modifies it's init flags.
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit a0ad13db7aba95537808a570ad4c90f6ac4ca0b8)
commit d4afe947578a7ae4956a99fbc9350920e2239e0b
Author: Karol Mroz <kmroz@suse.com>
Date: Sat Apr 23 13:35:02 2016 +0200
global-init: add a path chown wrapper function
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit 860977b105595dbb50320a30dc0edb922279cb00)
commit 770ae9eecf5c8e064529efec29020f38a3675a63
Author: Karol Mroz <kmroz@suse.com>
Date: Sat Apr 23 13:32:45 2016 +0200
ceph-context: add function to set init flags
Signed-off-by: Karol Mroz <kmroz@suse.com>
(cherry picked from commit aecab14089bcfd33d6a18adabede6a54040460d4)
commit 21f0216287485e6cce8811f324fee804ef733524
Author: Peter Sabaini <peter@sabaini.at>
Date: Fri Apr 8 00:30:55 2016 +0200
ceph-disk: Accept bcache devices as data disks
Fixes: http://tracker.ceph.com/issues/13278
Signed-off-by: Peter Sabaini <peter@sabaini.at>
|