-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathv9.2.1.txt
1637 lines (1118 loc) · 57.4 KB
/
v9.2.1.txt
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
commit 752b6a3020c3de74e07d2a8b4c5e48dab5a6b6fd (tag: refs/tags/v9.2.1)
Author: Jenkins Build Slave User <[email protected]>
Date: Wed Feb 24 22:07:26 2016 +0000
9.2.1
commit 71f380a81c6870466e11a74a597f847494ba23e9
Merge: 8350215 b0c9176
Author: Loic Dachary <[email protected]>
Date: Thu Feb 11 22:32:53 2016 +0700
Merge pull request #7484 from dillaman/wip-14610-infernalis
librbd: flattening an rbd image with active IO can lead to hang
Reviewed-by: Josh Durgin <[email protected]>
commit 83502159f5b94139784b908dd4e4bdf1d420e62a
Merge: f5e33cd 46ed443
Author: Loic Dachary <[email protected]>
Date: Thu Feb 11 22:32:41 2016 +0700
Merge pull request #7406 from dillaman/wip-14542-infernalis
librbd: ImageWatcher shouldn't block the notification thread
Reviewed-by: Josh Durgin <[email protected]>
commit f5e33cd348532b4ed911f49240a5da0c6859a9ad
Merge: a474c09 389ed34
Author: Loic Dachary <[email protected]>
Date: Thu Feb 11 22:32:25 2016 +0700
Merge pull request #6981 from dillaman/wip-14062-infernalis
librbd: fix merge-diff for >2GB diff-files
Reviewed-by: Josh Durgin <[email protected]>
commit b0c91768d4ac81baaf9b5edec92adad91ade9b64
Author: Jason Dillaman <[email protected]>
Date: Wed Dec 23 12:06:50 2015 -0500
librbd: ensure librados callbacks are flushed prior to destroying image
Fixes: #14092
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 98157ab3274bd960e4487e34f5a83e9c921a6ac8)
commit f3987367920368cbce865533cf11a1eb207fb9c7
Author: Jason Dillaman <[email protected]>
Date: Thu Jul 30 22:31:55 2015 -0400
librbd: simplify IO flush handling
Add a new convenience method to ImageCtx for handling flush
requests and cleanup flush handling with dealing with the cache.
Signed-off-by: Jason Dillaman <[email protected]>
(based on commit ee7c6f73992d3b09c6b401fbb782b2151f2399c7)
commit da772fa88db47703d491ebaa9bd709e62858b3b0
Author: Jason Dillaman <[email protected]>
Date: Fri Aug 14 13:28:13 2015 -0400
WorkQueue: PointerWQ drain no longer waits for other queues
If another (independent) queue was processing, drain could
block waiting. Instead, allow drain to exit quickly if
no items are being processed and the queue is empty for
the current WQ.
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit b118d7df1e34387b6e5649a5b205cf061598d0d4)
commit 5593e57c1b1c198e95a636ffdda4922259582a5f
Author: Jason Dillaman <[email protected]>
Date: Tue Feb 2 10:54:53 2016 -0500
test: new librbd flatten test case
AIO operations after a flatten operation were previously
hanging during the close of the parent image.
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 5b3a4d2cbca51e5c6795ba7d1189920c7d9af806)
commit 46ed443bf674c50a04705597f1caa4882c1ca5b3
Author: Jason Dillaman <[email protected]>
Date: Thu Jan 28 14:38:20 2016 -0500
librbd: ImageWatcher shouldn't block the notification thread
Blocking the notification thread will also result in librados async
callbacks becoming blocked (since they use the same thread).
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 6f94bde44500cc4592ac9a842cbb150b8cabf96b)
Conflicts:
src/librbd/ImageWatcher.[cc|h]: fewer RPC messages and synchronous
snapshot actions
commit 2be722a3e944436deff7a8ae513e22b02fd31237
Author: Jason Dillaman <[email protected]>
Date: Thu Jan 28 14:35:54 2016 -0500
librados_test_stub: watch/notify now behaves similar to librados
Notifications are executed via the same librados AIO callback
thread, so it's now possible to catch deadlock.
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 0a3822f1559ba3fe3def6a65883b9c6c7c5a33fe)
commit 8990ee87c9d943f01de68e772da213dc7aad9011
Author: Jason Dillaman <[email protected]>
Date: Thu Jan 28 12:40:18 2016 -0500
tests: simulate writeback flush during snap create
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 5e564ea9f869b987f3ada2465edfbe5edf9f6435)
commit 389ed3462f6377d48d87a0e0952061585b0ea106
Author: Jason Dillaman <[email protected]>
Date: Fri Dec 18 15:22:13 2015 -0500
librbd: fix merge-diff for >2GB diff-files
Fixes: #14062
Signed-off-by: Jason Dillaman <[email protected]>
(derived from commit 68125dd01349edf93cfa1af5028c2d438b5ae089)
commit a474c096a3084ef9f8453e76cebff49e4649d4ea
Merge: 4c04050 0f50439
Author: Loic Dachary <[email protected]>
Date: Thu Feb 11 13:59:30 2016 +0700
Merge pull request #6629 from Abhishekvrshny/wip-13733-infernalis
rbd: misdirected op in rbd balance-reads test
Reviewed-by: Josh Durgin <[email protected]>
commit 4c04050379e5d8d8512dc51df6b0ecbd1e37dcd7
Merge: 1aa60f6 29d30ec
Author: Loic Dachary <[email protected]>
Date: Wed Feb 10 13:00:23 2016 +0700
Merge pull request #7431 from Abhishekvrshny/wip-14067-infernalis
infernalis : Ceph file system is not freeing space
Reviewed-by: Yan, Zheng <[email protected]>
commit 1aa60f6680195a557ce81eeabc6794b4c84d87b1
Merge: 4dc9791 7fd56ea
Author: Loic Dachary <[email protected]>
Date: Wed Feb 10 12:59:30 2016 +0700
Merge pull request #7429 from Abhishekvrshny/wip-14490-infernalis
infernalis: fsx failed to compile
Reviewed-by: Loic Dachary <[email protected]>
commit 4dc97912b6003069bc1582caf18bbc702a8864be
Merge: 2bfc75a a2644ed
Author: Loic Dachary <[email protected]>
Date: Wed Feb 10 12:57:48 2016 +0700
Merge pull request #6853 from Abhishekvrshny/wip-13889-infernalis
infernalis: Segmentation fault accessing file using fuse mount
Reviewed-by: Yan, Zheng <[email protected]>
commit 2bfc75a0c32685f1151c923a2d84a29549b89ec9
Merge: e71d062 6c68971
Author: Loic Dachary <[email protected]>
Date: Wed Feb 10 12:57:09 2016 +0700
Merge pull request #6752 from ukernel/infernalis-11482
mds: fix client capabilities during reconnect (client.XXXX isn't responding to mclientcaps warning)
Reviewed-by: Yan, Zheng <[email protected]>
commit e71d0629caaf0d639efdc9f081bcc2aa8ce156e1
Merge: 6552eeb 58b43e6
Author: Loic Dachary <[email protected]>
Date: Wed Feb 10 12:53:34 2016 +0700
Merge pull request #6628 from Abhishekvrshny/wip-13792-infernalis
rbd-replay-* moved from ceph-test-dbg to ceph-common-dbg as well
Reviewed-by: Loic Dachary <[email protected]>
commit 6552eeb2c687e5c7eb8ffbed942f6d99b1c969f9
Merge: e507a5f 7a44714
Author: Loic Dachary <[email protected]>
Date: Tue Feb 9 11:58:19 2016 +0700
Merge pull request #7079 from Abhishekvrshny/wip-14199-infernalis
infernalis: [ FAILED ] TestLibRBD.SnapRemoveViaLockOwner
Reviewed-by: Josh Durgin <[email protected]>
commit e507a5f90f5ec857359a985b28c64d3cb6366bc4
Merge: 930ef94 83bba36
Author: Loic Dachary <[email protected]>
Date: Tue Feb 9 11:58:01 2016 +0700
Merge pull request #7080 from Abhishekvrshny/wip-14142-infernalis
infernalis: Verify self-managed snapshot functionality on image create
Reviewed-by: Josh Durgin <[email protected]>
commit 930ef9462ad1d5a92225f2b83ef797b37e22aeba
Merge: 1061db6 8175e16
Author: Loic Dachary <[email protected]>
Date: Tue Feb 9 11:57:37 2016 +0700
Merge pull request #7428 from Abhishekvrshny/wip-14321-infernalis
infernalis: cls_rbd: object_map_save should enable checksums
Reviewed-by: Josh Durgin <[email protected]>
commit 1061db6ba16955ef2f3fa49dfed461872b970614
Merge: 2de6016 2c5b90a
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 22:23:18 2016 +0700
Merge pull request #7427 from Abhishekvrshny/wip-14465-infernalis
infernalis: rbd-replay does not check for EOF and goes to endless loop
Reviewed-by: Jason Dillaman <[email protected]>
commit 2de60165dd76ece7dc84326e2721d61cde05e004
Merge: a8d147e f870ba9
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 22:23:01 2016 +0700
Merge pull request #7426 from Abhishekvrshny/wip-14552-infernalis
infernalis: rbd: TaskFinisher::cancel should remove event from SafeTimer
Reviewed-by: Jason Dillaman <[email protected]>
commit a8d147e813d157855f65e271569cedb0ac95a72d
Merge: 77a26d8 fde4ec6
Author: Sage Weil <[email protected]>
Date: Mon Feb 8 08:49:41 2016 -0500
Merge pull request #6397 from SUSE/wip-13615-infernalis
OSD::build_past_intervals_parallel() shall reset primary and up_primary when begin a new past_interval.
Reviewed-by: Sage Weil <[email protected]>
commit 77a26d8e7bdb4f351c90a61e8ac87b251294a461
Merge: cea356a af2ced5
Author: Sage Weil <[email protected]>
Date: Mon Feb 8 08:49:17 2016 -0500
Merge pull request #6840 from SUSE/wip-13791-infernalis
Objecter: potential null pointer access when do pool_snap_list.
Reviewed-by: Sage Weil <[email protected]>
commit cea356a959ed410a6094140c9d03852e968ab7a8
Merge: 5469e99 5ef86d7
Author: Sage Weil <[email protected]>
Date: Mon Feb 8 08:48:49 2016 -0500
Merge pull request #6851 from Abhishekvrshny/wip-14018-infernalis
infernalis: osd/PG.cc: 288: FAILED assert(info.last_epoch_started >= info.history.last_epoch_started)
Reviewed-by: Sage Weil <[email protected]>
commit 5469e9904ccc170d282d061308f6694e20ef8946
Merge: ba4583f 7ac5b15
Author: Sage Weil <[email protected]>
Date: Mon Feb 8 08:48:25 2016 -0500
Merge pull request #6849 from Abhishekvrshny/wip-13979-infernalis
osd: call on_new_interval on newly split child PG
Reviewed-by: Sage Weil <[email protected]>
commit ba4583f3a25a0d01d31e82cdfcd2be414a5648ae
Merge: fbd96c8 b211686
Author: Sage Weil <[email protected]>
Date: Mon Feb 8 08:48:03 2016 -0500
Merge pull request #6907 from Abhishekvrshny/wip-13929-infernalis
infernalis: Ceph Pools' MAX AVAIL is 0 if some OSDs' weight is 0
Reviewed-by: Sage Weil <[email protected]>
commit fbd96c8a49548a4cd6598c700111ac8b1be7b1d3
Merge: cef8fc3 73564ac
Author: Sage Weil <[email protected]>
Date: Mon Feb 8 08:47:36 2016 -0500
Merge pull request #7421 from Abhishekvrshny/wip-14494-infernalis
infernalis: pgs stuck inconsistent after infernalis upgrade
Reviewed-by: Sage Weil <[email protected]>
commit cef8fc305e2c52a09b4af9e5a54c3c4117325453
Merge: 15c27ce 2647c20
Author: Sage Weil <[email protected]>
Date: Mon Feb 8 08:46:25 2016 -0500
Merge pull request #6627 from Abhishekvrshny/wip-13771-infernalis
Objecter: pool op callback may hang forever.
Reviewed-by: Sage Weil <[email protected]>
commit 15c27ce7328baf92ca904e1b92aa8e21b8452263
Merge: d1da031 2b6d817
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 18:18:07 2016 +0700
Merge pull request #7543 from SUSE/wip-14676-infernalis
infernalis: rgw: radosgw-admin --help doesn't show the orphans find command
Reviewed-by: Loic Dachary <[email protected]>
commit d1da03131acf735946c3a0deab72d8f7da9e44d8
Merge: 22e0c6a 1665f81
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 11:22:28 2016 +0700
Merge pull request #6993 from badone/wip-13993-infernalis
log: Log.cc: Assign LOG_DEBUG priority to syslog calls
Reviewed-by: Loic Dachary <[email protected]>
commit 22e0c6a7388af5e3b3a085ef7f3e2ad162d2c0f8
Merge: 489a13d e102e5a
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 11:21:11 2016 +0700
Merge pull request #6882 from dachary/wip-13988-reuse-osd-id-infernalis
tests: verify it is possible to reuse an OSD id
Reviewed-by: Loic Dachary <[email protected]>
commit 489a13d4dd4483937dd7bd7798cb6e7d1dbd240c
Merge: de01ba4 7d90c01
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 11:18:35 2016 +0700
Merge pull request #6852 from Abhishekvrshny/wip-14013-infernalis
infernalis: systemd/[email protected] assumes /bin/flock
Reviewed-by: Loic Dachary <[email protected]>
commit de01ba4ea2df67e5b732d6e71cdf324642becbd2
Merge: b5427f4 5d1e6ae
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 11:16:23 2016 +0700
Merge pull request #6846 from Abhishekvrshny/wip-13638-infernalis
FileStore: potential memory leak if getattrs fails.
Reviewed-by: Loic Dachary <[email protected]>
commit b5427f466eb8507dc865d80d0e3293652452f558
Merge: 5dbd998 ac31f7f
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 11:14:18 2016 +0700
Merge pull request #6836 from SUSE/wip-13891-infernalis
infernalis: auth/cephx: large amounts of log are produced by osd
Reviewed-by: Loic Dachary <[email protected]>
commit 5dbd9984e09f3c520c69a406f98577bfdcd9b220
Merge: 2016468 c968a40
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 11:12:47 2016 +0700
Merge pull request #6833 from SUSE/wip-13935-infernalis
infernalis: Ceph daemon failed to start, because the service name was already used.
Reviewed-by: Loic Dachary <[email protected]>
commit 201646882e2c05d2e2436f62b7bfb50a6466aa54
Merge: b09670f edde13c
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 11:12:00 2016 +0700
Merge pull request #6694 from xiexingguo/xxg-wip-13869
osd: fix race condition during send_failures
Reviewed-by: David Zafman <[email protected]>
Reviewed-by: Sage Weil <[email protected]>
Reviewed-by: Loic Dachary <[email protected]>
Reviewed-by: Kefu Chai <[email protected]>
commit b09670fea2ff844333c654fb73046dd1596fb2e3
Merge: 59df52d 4d2a135
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 11:09:30 2016 +0700
Merge pull request #6626 from Abhishekvrshny/wip-13655-infernalis
crush: crash if we see CRUSH_ITEM_NONE in early rule step
Reviewed-by: Loic Dachary <[email protected]>
commit 59df52df1697ee8dccb39430940e683a7bdab275
Merge: f8f36b6 0eb2ddb
Author: Loic Dachary <[email protected]>
Date: Mon Feb 8 11:06:41 2016 +0700
Merge pull request #6449 from dachary/wip-13671-infernalis
tests: testprofile must be removed before it is re-created
Reviewed-by: Loic Dachary <[email protected]>
commit 2b6d817187265686d21de76db14870ff22d549de
Author: Yehuda Sadeh <[email protected]>
Date: Mon Feb 1 16:33:55 2016 -0800
rgw-admin: document orphans commands in usage
Fixes: #14516
Signed-off-by: Yehuda Sadeh <[email protected]>
(cherry picked from commit 105a76bf542e05b739d5a03ca8ae55432350f107)
commit f8f36b6877c0d0d356d1c53a171d5a1a0be423b0
Merge: 7ffe6ff 399b7c5
Author: Sage Weil <[email protected]>
Date: Thu Feb 4 16:23:51 2016 -0500
Merge pull request #6880 from dachary/wip-14044-infernalis
infernalis: ceph-disk list fails on /dev/cciss!c0d0
commit 7ffe6ff4e26db538335b8069ce4fd14fe4cdd76c
Merge: a8fd5ba 8707b0b
Author: Sage Weil <[email protected]>
Date: Fri Jan 29 09:05:14 2016 -0500
Merge pull request #6392 from SUSE/wip-13589-infernalis
mon: should not set isvalid = true when cephx_verify_authorizer retur…
Reviewed-by: Sage Weil <[email protected]>
commit a8fd5ba7764b941aeb8a8ec2867a7e212159c84d
Merge: 1296c2b 1bfb6f7
Author: Sage Weil <[email protected]>
Date: Fri Jan 29 08:55:45 2016 -0500
Merge pull request #6500 from SUSE/wip-13678-infernalis
systemd: no rbdmap systemd unit file
commit 29d30ecd4667567a58a7f92641a8a7618e88fd44
Author: Yan, Zheng <[email protected]>
Date: Thu Nov 12 21:57:27 2015 +0800
mds: properly set STATE_STRAY/STATE_ORPHAN for stray dentry/inode
Fixes: #13777
Signed-off-by: Yan, Zheng <[email protected]>
(cherry picked from commit 460c74a0b872336a7279f0b40b17ed672b6e15a1)
commit 5f54671e0715781146044e2d38ba79ad03634a64
Author: John Spray <[email protected]>
Date: Mon Nov 16 10:57:56 2015 +0000
mon: don't require OSD W for MRemoveSnaps
Use ability to execute "osd pool rmsnap" command
as a signal that the client should be permitted
to send MRemoveSnaps too.
Note that we don't also require the W ability,
unlike Monitor::_allowed_command -- this is slightly
more permissive handling, but anyone crafting caps
that explicitly permit "osd pool rmsnap" needs to
know what they are doing.
Fixes: #13777
Signed-off-by: John Spray <[email protected]>
(cherry picked from commit 0b474c52abd3d528c041544f73b1d27d7d1b1320)
commit 7fd56eaf215753156bdb6481835f399ad303faf0
Author: Greg Farnum <[email protected]>
Date: Wed Jan 13 13:17:53 2016 -0800
fsx: checkout old version until it compiles properly on miras
I sent a patch to xfstests upstream at
http://article.gmane.org/gmane.comp.file-systems.fstests/1665, but
until that's fixed we need a version that works in our test lab.
Signed-off-by: Greg Farnum <[email protected]>
(cherry picked from commit 7d52372ae74878ebd001036ff0a7aad525eb15b6)
commit 8175e163fceb2bdc49ca291e183c08575e6c5d18
Author: Douglas Fuller <[email protected]>
Date: Thu Jan 7 11:01:19 2016 -0800
cls_rbd: enable object map checksums for object_map_save
object_map_save disables CRCs when an object map footer isn't provided.
Unconditionally re-enable object map CRCs before re-encoding the new object
map.
Fixes: #14280
Signed-off-by: Douglas Fuller <[email protected]>
(cherry picked from commit d5c02f3ed26edec095d45d7a7f26ff26d1b5aacc)
commit 2c5b90a268ebcdcd8c806ef72c08184cc4e0417a
Author: Mykola Golub <[email protected]>
Date: Thu Jan 21 13:45:42 2016 +0200
rbd-replay: handle EOF gracefully
Fixes: #14452
Signed-off-by: Mykola Golub <[email protected]>
(cherry picked from commit c59b84c3e2c9bbda68219e4d2288a889dd9ca6cb)
commit f870ba9ab41cac127d182a52f435c7adc628de71
Author: Douglas Fuller <[email protected]>
Date: Fri Jan 22 11:18:40 2016 -0800
rbd: remove canceled tasks from timer thread
When canceling scheduled tasks using the timer thread, TaskFinisher::cancel
does not call SafeTimer::cancel_event, so events fire anyway. Add this call.
Fixes: #14476
Signed-off-by: Douglas Fuller <[email protected]>
(cherry picked from commit 2aa0f318c862dbe3027d74d345671506605778eb)
commit 73564ac22319d158d4bade9ab1a3832a9669d099
Author: David Zafman <[email protected]>
Date: Thu Sep 24 11:38:41 2015 -0400
osd/PG: For performance start scrub scan at pool to skip temp objects
Signed-off-by: David Zafman <[email protected]>
(cherry picked from commit 05d79faa512210b0f0a91640d18db33b887a6e73)
commit 2480fca93beb700aa9a963f5b568ab6bf8915e0f
Author: David Zafman <[email protected]>
Date: Fri Dec 18 09:08:19 2015 -0800
osd/OSD: clear_temp_objects() include removal of Hammer temp objects
Fixes: #13862
Signed-off-by: David Zafman <[email protected]>
(cherry picked from commit 10b4a0825d9917b6fdd0d6450640238b78ba05d4)
commit 9ff90acc3efdb1c5bdd23c8658e8692f2879231e
Author: David Zafman <[email protected]>
Date: Thu Dec 17 18:04:08 2015 -0800
osd: Improve log message which isn't about a particular shard
Remove redundant dout()
Signed-off-by: David Zafman <[email protected]>
(cherry picked from commit e85907fcc582922925609f595f68c597a88c39dc)
commit 1296c2baef3412f462ee2124af747a892ea8b7a9
Merge: 9dc5e6c d4c41d0
Author: Josh Durgin <[email protected]>
Date: Wed Jan 13 17:15:41 2016 -0800
Merge pull request #7225 from dillaman/wip-13810-infernalis
tests: notification slave needs to wait for master
Reviewed-by: Josh Durgin <[email protected]>
commit d4c41d041b7b176723ccd548102a9d2edf91956e
Author: Jason Dillaman <[email protected]>
Date: Wed Jan 13 12:44:01 2016 -0500
tests: notification slave needs to wait for master
If the slave instance starts before the master, race
conditions are possible.
Fixes: #13810
Backport: infernalis, hammer
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 3992d6fe67bbf82322cedc1582406caaf6d4de60)
commit e102e5a0e261f407913c5d47991c2549f6664ffc
Author: Loic Dachary <[email protected]>
Date: Thu Dec 10 15:20:32 2015 +0100
tests: verify it is possible to reuse an OSD id
When an OSD id is removed via ceph osd rm, it will be reused by the next
ceph osd create command. Verify that and OSD reusing such an id
successfully comes up.
http://tracker.ceph.com/issues/13988 Refs: #13988
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 7324615bdb829f77928fa10d4e988c6422945937)
commit 399b7c5409d9801aa7f38533dd8b7c19c726a594
Author: Loic Dachary <[email protected]>
Date: Tue Jan 5 17:33:45 2016 +0100
ceph-disk: list accepts absolute dev names
The ceph-disk list subcommand now accepts /dev/sda as well as sda.
The filtering is done on the full list of devices instead of restricting
the number of devices explored. Always obtaining the full list of
devices makes things simpler when trying to match a dmcrypted device to
the corresponding raw device.
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 591d581c84cfd72d7c655ac88b0911a318b96e95)
Conflicts:
src/ceph-disk: as part of the implementation of deactivate /
destroy in master, the prototype of list_device was changed
to take a list of paths instead of the all arguments (args).
commit e222d7bce218b732025ce094ed2d1bb31af0d6f6
Author: Loic Dachary <[email protected]>
Date: Tue Jan 5 14:25:51 2016 +0100
ceph-disk: display OSD details when listing dmcrypt devices
The details about a device that mapped via dmcrypt are directly
available. Do not try to fetch them from the device entry describing the
devicemapper entry.
http://tracker.ceph.com/issues/14230 Fixes: #14230
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 7aab4ed6f108ddc7bc90300f1999a38f30da3a57)
Conflicts:
src/ceph-disk: an incorrect attempt was made to fix the same
problem. It was not backported and does not
need to be. It is entirely contained in the
code block removed and is the reason for the
conflict.
commit 87db693eb7d52ad297e8d265ffffa0d7e1125478
Author: Loic Dachary <[email protected]>
Date: Wed Dec 9 16:52:10 2015 +0100
tests: limit ceph-disk unit tests to test dir
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 499c80db606fe3926a8a603e03fdba6967d66003)
commit 2c0d7ef2c72b7570a1304cad927a0b612ea3d4a8
Author: Loic Dachary <[email protected]>
Date: Tue Jan 5 17:38:59 2016 +0100
ceph-disk: factorize duplicated dmcrypt mapping
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 35a0c94c4cd3a57cfc382c64eaa9cfb9306dd2e6)
commit 22881b1686dc040d8af01c66f59a935065bb680a
Author: Loic Dachary <[email protected]>
Date: Tue Jan 5 17:42:11 2016 +0100
ceph-disk: fix regression in cciss devices names
The cciss driver has device paths such as /dev/cciss/c0d1 with a
matching /sys/block/cciss!c0d1. The general case is that whenever a
device name is found in /sys/block, the / is replaced by the !.
When refactoring the ceph-disk list subcommand, this conversion was
overlooked in a few places. All explicit concatenation of /dev with a
device name are replaced with a call to get_dev_name which does the same
but also converts all ! in /.
http://tracker.ceph.com/issues/13970 Fixes: #13970
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit a2fd3a535e66b3a2b694cda9c6add33383ccfa4a)
Conflicts:
src/ceph-disk : trivial resolution
commit 9dc5e6cbf85681d0fb9ab249c571672456eb6556
Merge: 64fab4f 5798d1e
Author: Loic Dachary <[email protected]>
Date: Thu Jan 7 15:06:32 2016 +0100
Merge pull request #7001 from dachary/wip-14145-infernalis
infernalis: ceph-disk: use blkid instead of sgdisk -i
On CentOS 7.1 and other operating systems with a version of udev greater or equal to 214,
running ceph-disk prepare triggered unexpected removal and addition of partitions on
the disk being prepared. That created problems ranging from the OSD not being activated
to failures because /dev/sdb1 does not exist although it should.
Reviewed-by: Sage Weil <[email protected]>
commit 5798d1e76c380182472d08ec6f62ebe0f1a9897e
Author: Loic Dachary <[email protected]>
Date: Wed Jan 6 23:36:57 2016 +0100
tests: ceph-disk cryptsetup close must try harder
Similar to how it's done in dmcrpyt_unmap in master (
132e56615805cba0395898cf165b32b88600d633 ), the infernalis tests helper
that were deprecated by the addition of the deactivate / destroy
ceph-disk subcommand must try cryptsetup close a few times in some
contexts.
Signed-off-by: Loic Dachary <[email protected]>
commit 379bbe0613e8dbe2f4d38f4f9ee23a10ed39a64d
Author: Loic Dachary <[email protected]>
Date: Sat Dec 19 00:53:03 2015 +0100
ceph-disk: protect deactivate with activate lock
When ceph-disk prepares the disk, it triggers udev events and each of
them ceph-disk activate. If systemctl stop ceph-osd@2 happens while
there still are ceph-disk activate in flight, the systemctl stop may be
cancelled by the systemctl enable issued by one of the pending ceph-disk
activate.
This only matters in a test environment where disks are destroyed
shortly after they are activated.
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 6395bf856b4d4511f0758174ef915ebcafbe3777)
Conflicts:
src/ceph-disk: ceph-disk deactivate does not exist in ceph-disk
on infernalis. But the same feature is implemented in
ceph-test-disk.py for test purposes and has the same
problem. The patch is adapted to ceph-test-disk.py.
commit 4da2f9494dbd72e84d381cc12125c61931a27628
Author: Loic Dachary <[email protected]>
Date: Wed Jan 6 11:15:19 2016 +0100
ceph-disk: retry cryptsetup remove
Retry a cryptsetup remove ten times. After the ceph-osd terminates, the
device is released asyncrhonously and an attempt to cryptsetup remove
will may fail because it is considered busy. Although a few attempts are
made before giving up, the number of attempts / the duration of the
attempts cannot be controlled with a cryptsetup option. The workaround
is to increase this by trying a few times.
If cryptsetup remove fails for a reason that is unrelated to timeout,
the error will be repeated a few times. There is no undesirable side
effect. It will not hide a problem.
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 132e56615805cba0395898cf165b32b88600d633)
commit 676a4b42267133a9242a81503f7dd0eaeb0afd33
Author: Loic Dachary <[email protected]>
Date: Fri Dec 18 17:03:21 2015 +0100
ceph-disk: use blkid instead of sgdisk -i
sgdisk -i 1 /dev/vdb opens /dev/vdb in write mode which indirectly
triggers a BLKRRPART ioctl from udev (starting version 214 and up) when
the device is closed (see below for the udev release note). The
implementation of this ioctl by the kernel (even old kernels) removes
all partitions and adds them again (similar to what partprobe does
explicitly).
The side effects of partitions disappearing while ceph-disk is running
are devastating.
sgdisk is replaced by blkid which only opens the device in read mode and
will not trigger this unexpected behavior.
The problem does not show on Ubuntu 14.04 because it is running udev <
214 but shows on CentOS 7 which is running udev > 214.
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.
http://tracker.ceph.com/issues/14080 Fixes: #14080
Signed-off-by: Ilya Dryomov <[email protected]>
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 9dce05a8cdfc564c5162885bbb67a04ad7b95c5a)
commit bb8d53636d3a433bb7752e3a291a86a8af058215
Author: Loic Dachary <[email protected]>
Date: Wed Dec 16 15:57:03 2015 +0100
ceph-disk: dereference symlinks in destroy and zap
The behavior of partprobe or sgdisk may be subtly different if given a
symbolic link to a device instead of an actual device. The debug output
is also more confusing when the symlink shows instead of the device it
points to.
Always dereference the symlink before running destroy and zap.
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit fe71647bc9bd0f9ddc6d470ee7bee1e6b0983e2b)
Conflicts:
src/ceph-disk
trivial, because destroy is not implemented
in infernalis
commit 74c27423f4925c7a31d6675851ffa3d2f5265ef1
Author: Loic Dachary <[email protected]>
Date: Wed Dec 16 12:33:25 2015 +0100
ceph-disk: increase partprobe / udevadm settle timeouts
The default of 120 seconds may be exceeded when the disk is very slow
which can happen in cloud environments. Increase it to 600 seconds
instead.
The partprobe command may fail for the same reason but it does not have
a timeout parameter. Instead, try a few times before failing.
The udevadm settle guarding partprobe are not necessary because
partprobe already does the same. However, partprobe does not provide a
way to control the timeout. Having a udevadm settle after another is
going to be a noop most of the time and not add any delay. It matters
when the udevadm settle run by partprobe fails with a timeout because
partprobe will silentely ignores the failure.
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 730b5d62d3cda7de4076bafa6e9e35f1eb8e2190)
commit 263eb579ac7179a19157004ed2de294085dc4a63
Author: Loic Dachary <[email protected]>
Date: Wed Dec 16 12:36:47 2015 +0100
tests: ceph-disk workunit increase verbosity
So that reading the teuthology log is enough in most cases to figure out
the cause of the error.
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit fd7fe8c4977658f66651dad5efb0d816ae71b38b)
Conflicts:
qa/workunits/ceph-disk/ceph-disk-test.py:
trivial, because destroy/deactivate are not implemented
in infernalis. The existing destroy_osd function
has to be modified so the id returned by sh() does
not have a trailing newline.
commit 936dda76ce11baa9f2b7cce882b655550188a731
Author: Loic Dachary <[email protected]>
Date: Wed Dec 16 12:30:20 2015 +0100
ceph-disk: log parted output
Should parted output fail to parse, it is useful to get the full output
when running in verbose mode.
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit f5d36b9ac299e9f6d52cc32d540cc1c3342de6e7)
commit db26cc4b7fbd5b6f2a3da58fb7ac7736fc058065
Author: Loic Dachary <[email protected]>
Date: Wed Dec 16 12:29:17 2015 +0100
ceph-disk: do not discard stderr
Signed-off-by: Loic Dachary <[email protected]>
(cherry picked from commit 5fa35ba10e10b56262757afc43929ab8ee4164f2)
Conflicts:
src/ceph-disk : trivial, because destroy/deactivate
are not implemented in infernalis
commit 83bba36afbae58ebe7cea2b0fb8ff51edb475fff
Author: Jason Dillaman <[email protected]>
Date: Mon Dec 14 17:49:55 2015 -0500
tests: new integration test for validating new RBD pools
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 00cfe4efacd664032f700afe9701d41bacf8700a)
commit 96cb5e2888e698879f3d3663dfa6f556e983a555
Author: Jason Dillaman <[email protected]>
Date: Mon Dec 14 17:41:49 2015 -0500
librbd: optionally validate RBD pool configuration (snapshot support)
Fixes: #13633
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit 1fea4dadc60e13518e9ee55d136fbc4e9d3a621e)
commit 7a44714b66218cf39aa6e1673059a13729c7c39e
Author: Jason Dillaman <[email protected]>
Date: Wed Dec 23 13:26:39 2015 -0500
librbd: properly handle replay of snap remove RPC message
Fixes: #14164
Backport: infernalis
Signed-off-by: Jason Dillaman <[email protected]>
(cherry picked from commit bc309d9d7612f005a3d50ecf099ddf9b706a1bf6)
commit 64fab4f080c5b7d79b51b8db8c71428b507efec5
Merge: f480cea 7676343
Author: Josh Durgin <[email protected]>
Date: Wed Dec 23 10:47:30 2015 -0800
Merge pull request #7038 from dillaman/wip-14121-infernalis
tests: rebuild exclusive lock test should acquire exclusive lock
Reviewed-by: Josh Durgin <[email protected]>
commit 7676343c781e9c15e18c5960d221a29840835332
Author: Jason Dillaman <[email protected]>
Date: Wed Dec 23 10:31:07 2015 -0500
tests: rebuild exclusive lock test should acquire exclusive lock
Starting with Jewel, the object map will not be loaded until the
exclusive lock is acquired since it might be updated by the
lock owner.
Fixes: #14121
Signed-off-by: Jason Dillaman <[email protected]>
commit 1665f8187b16c9b47238743a7a94f0850160eb71
Author: Brad Hubbard <[email protected]>
Date: Mon Dec 7 11:31:28 2015 +1000
log: Log.cc: Assign LOG_DEBUG priority to syslog calls
Fixes: #13993
Signed-off-by: Brad Hubbard <[email protected]>
(cherry picked from commit 8e93f3f45db681f82633ca695a7dc4e7bd030584)
commit b211686dddf35d990c07ea50b868b98ac3abf8d3
Author: Chengyuan Li <[email protected]>
Date: Thu Nov 19 22:29:39 2015 -0700
mon/PGMonitor: MAX AVAIL is 0 if some OSDs' weight is 0