Fix some bugs when testing opensds ansible
[stor4nfv.git] / src / ceph / doc / changelog / v0.94.3.txt
1 commit 95cefea9fd9ab740263bf8bb4796fd864d9afe2b (tag: refs/tags/v0.94.3, refs/remotes/gh/hammer)
2 Author: Jenkins <jenkins@inktank.com>
3 Date:   Wed Aug 26 10:39:37 2015 -0700
4
5     0.94.3
6
7 commit 697101e4dfd9822050ce401b5f6212bfd81fea89
8 Merge: 88e7ee7 81a311a
9 Author: Gregory Farnum <greg@gregs42.com>
10 Date:   Tue Aug 18 12:43:57 2015 +0100
11
12     Merge pull request #5589 from ceph/hammer-12709
13     
14     Workunits : fs/misc/chmod.sh : Include ACL characters in permission check
15     
16     Reviewed-by: Greg Farnum <gfarnum@redhat.com>
17
18 commit 81a311a744987564b70852fdacfd915523c73b5d
19 Author: Yazen Ghannam <yazen.ghannam@linaro.org>
20 Date:   Mon May 4 12:33:16 2015 -0400
21
22     Workunits : fs/misc/chmod.sh : Include ACL characters in permission check.
23     
24     Signed-off-by: Yazen Ghannam <yazen.ghannam@linaro.org>
25     (cherry picked from commit d3dbfffefb0ae53583350f53258dc902670da659)
26
27 commit 88e7ee716fdd7bcf81845087021a677de5a50da8
28 Merge: bb12f92 1a32379
29 Author: Loic Dachary <loic@dachary.org>
30 Date:   Tue Aug 4 13:02:17 2015 +0200
31
32     Merge pull request #5160 from theanalyst/wip-11910-hammer
33     
34     mon: pg ls is broken
35     
36     Reviewed-by: Kefu Chai <kchai@redhat.com>
37
38 commit bb12f925cf0d78f97eefc2e271e73596050b9919
39 Merge: e801d4c e19f928
40 Author: Loic Dachary <loic@dachary.org>
41 Date:   Tue Aug 4 12:34:18 2015 +0200
42
43     Merge pull request #5384 from dachary/wip-12502-hammer
44     
45     rgw: need conversion tool to handle fixes following #11974
46     
47     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
48
49 commit e801d4c943b8004ef613345505df91057913cd39
50 Merge: 78a4024 154f18c
51 Author: Loic Dachary <loic@dachary.org>
52 Date:   Tue Aug 4 11:22:08 2015 +0200
53
54     Merge pull request #5405 from ceph/wip-12465-hammer
55     
56     Log::reopen_log_file: take m_flush_mutex
57     
58     Reviewed-by: Loic Dachary <ldachary@redhat.com>
59
60 commit 78a4024c14253503b770070aa36a090c6b8f1eaf
61 Merge: a451e88 7034720
62 Author: Sage Weil <sage@redhat.com>
63 Date:   Fri Jul 31 15:18:52 2015 -0400
64
65     Merge pull request #5121 from theanalyst/wip-11983-hammer
66     
67     FAILED assert(!old_value.deleted()) in upgrade:giant-x-hammer-distro-basic-multi run
68     
69     Reviewed-by: Sage Weil <sage@redhat.com>
70
71 commit a451e882ab9a929d240747b4b09786ca4b4ce377
72 Merge: 218f537 1063f52
73 Author: Sage Weil <sage@redhat.com>
74 Date:   Fri Jul 31 15:17:00 2015 -0400
75
76     Merge pull request #5269 from dachary/wip-12362-hammer
77     
78     stuck incomplete
79     
80     Reviewed-by: Sage Weil <sage@redhat.com>
81
82 commit 218f537491a46a0251bef7690a7f5a86b988ee63
83 Merge: 07fa83a 8abc46a
84 Author: Loic Dachary <loic@dachary.org>
85 Date:   Fri Jul 31 20:55:48 2015 +0200
86
87     Merge pull request #5117 from theanalyst/wip-12099-hammer
88     
89     rgw: rados objects wronly deleted
90     
91     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
92
93 commit 07fa83aefc9bd4ea1495fa1e117a438b2c460e46
94 Merge: a69d431 56c2688
95 Author: Loic Dachary <loic@dachary.org>
96 Date:   Fri Jul 31 20:55:29 2015 +0200
97
98     Merge pull request #5118 from theanalyst/wip-12042-hammer
99     
100     DragonDisk fails to create directories via S3: MissingContentLength
101     
102     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
103
104 commit a69d431ea52b5de7fc5cfe142ff3b69ff64e8048
105 Merge: 5353480 c78cc00
106 Author: Loic Dachary <loic@dachary.org>
107 Date:   Fri Jul 31 20:55:14 2015 +0200
108
109     Merge pull request #5214 from SUSE/wip-12299-hammer
110     
111     RGW Swift API: support for 202 Accepted response code on container creation
112     
113     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
114
115 commit 5353480f1df297ad9dd1bd3154887ed2564f0280
116 Merge: fb9156f a5dbcbb
117 Author: Loic Dachary <loic@dachary.org>
118 Date:   Fri Jul 31 20:54:57 2015 +0200
119
120     Merge pull request #5226 from SUSE/wip-12322-hammer
121     
122     rgw: keystone does not support chunked input
123     
124     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
125
126 commit fb9156f412f83c0ce1fe4c5c9ccd57fd79f0c992
127 Merge: 7193c16 b1618a9
128 Author: Loic Dachary <loic@dachary.org>
129 Date:   Fri Jul 31 20:54:41 2015 +0200
130
131     Merge pull request #5227 from SUSE/wip-12323-hammer
132     
133     RGW Swift API: XML document generated in response for GET on account does not contain account name
134     
135     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
136
137 commit 7193c16b65fdc1694b968899d23eae0638d89f11
138 Merge: ac86490 e39dce7
139 Author: Loic Dachary <loic@dachary.org>
140 Date:   Fri Jul 31 20:54:26 2015 +0200
141
142     Merge pull request #5228 from theanalyst/wip-11872-hammer
143     
144     RGW does not send Date HTTP header when civetweb frontend is used
145     
146     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
147
148 commit ac86490821336ce024940d48d82f7a5ff7a302b1
149 Merge: 33dbfc6 557865c
150 Author: Loic Dachary <loic@dachary.org>
151 Date:   Fri Jul 31 20:54:02 2015 +0200
152
153     Merge pull request #5229 from theanalyst/wip-12242-hammer
154     
155     Fix tool for #11442 does not correctly fix objects created via multipart uploads
156     
157     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
158
159 commit 33dbfc6919840882c6cbc10dad2fc24cf0720bf9
160 Merge: 99ca62f e50caab
161 Author: Loic Dachary <loic@dachary.org>
162 Date:   Fri Jul 31 20:53:41 2015 +0200
163
164     Merge pull request #5237 from theanalyst/wip-12245-hammer
165     
166     rgw: empty json response when getting user quota
167     
168     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
169
170 commit 99ca62f2bf1e21a41cb7b6ecdb8a8731a18de195
171 Merge: 1f5f319 2357b6c
172 Author: Loic Dachary <loic@dachary.org>
173 Date:   Fri Jul 31 20:53:18 2015 +0200
174
175     Merge pull request #5284 from SUSE/wip-12398-hammer
176     
177     rgw: Properly respond to the Connection header with Civetweb
178     
179     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
180
181 commit 1f5f31905bb5f499a2db4a02993dbc6efa1c4251
182 Merge: 5cbb6cf 9458b84
183 Author: Loic Dachary <loic@dachary.org>
184 Date:   Fri Jul 31 20:53:04 2015 +0200
185
186     Merge pull request #5285 from SUSE/wip-12399-hammer
187     
188     rgw: multipart list part response returns incorrect field
189     
190     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
191
192 commit 5cbb6cfb69aad0db470f99e39e33f4b4b1abfb95
193 Merge: 1df93e1 e4b55b3
194 Author: Loic Dachary <loic@dachary.org>
195 Date:   Fri Jul 31 20:52:43 2015 +0200
196
197     Merge pull request #5286 from SUSE/wip-12400-hammer
198     
199     rgw: radosgw-admin dumps user info twice
200     
201     Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
202
203 commit 1df93e19a0275ed218c8f83bc674f16d1856f241
204 Merge: a48cbc0 2ecb3b7
205 Author: Yan, Zheng <ukernel@gmail.com>
206 Date:   Fri Jul 31 09:50:22 2015 +0800
207
208     Merge pull request #5427 from dachary/wip-12088-hammer-part-2
209     
210     Fh ref count will leak if readahead does not need to do read from osd
211
212 commit 2ecb3b7f4a49c574bc178a106c6bf0d8247f2a5e
213 Author: Zhi Zhang <zhangz.david@outlook.com>
214 Date:   Wed Jul 22 10:54:53 2015 +0800
215
216     Fh ref count will leak if readahead does not need to do read from osd
217     
218     The 3c8cdeacf46ae4031189d2ef6948aa3b6ab4ae43 backport introduced a leak.
219     
220     http://tracker.ceph.com/issues/12319 Fixes: #12319
221     
222     Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
223
224 commit a48cbc0a847f19ea613b76a479acc831e9316c62
225 Merge: 06c27cd 5ef0846
226 Author: Loic Dachary <loic@dachary.org>
227 Date:   Thu Jul 30 21:43:48 2015 +0200
228
229     Merge pull request #5120 from theanalyst/wip-11999-hammer
230     
231     cephfs Dumper tries to load whole journal into memory at once
232     
233     Reviewed-by: Greg Farnum <gfarnum@redhat.com>
234
235 commit 06c27cdd420598c497766ee5879335942a0acc09
236 Merge: 19abe5e 408880b
237 Author: Loic Dachary <loic@dachary.org>
238 Date:   Thu Jul 30 21:43:21 2015 +0200
239
240     Merge pull request #5119 from theanalyst/wip-12098-hammer
241     
242     kernel_untar_build fails on EL7
243     
244     Reviewed-by: Greg Farnum <gfarnum@redhat.com>
245
246 commit 19abe5ee35c099c67b56ac268710fcd20bec60d3
247 Merge: e3d17e4 4c199bf
248 Author: Loic Dachary <loic@dachary.org>
249 Date:   Thu Jul 30 17:00:14 2015 +0200
250
251     Merge pull request #5417 from dachary/wip-11998-hammer
252     
253     debian/control: ceph-common (>> 0.94.2) must be >= 0.94.2-2
254     
255     Reviewed-by: Sage Weil <sage@redhat.com>
256
257 commit 4c199bf57dc54dc5e5f45cd9b34878a8459d434e
258 Author: Loic Dachary <ldachary@redhat.com>
259 Date:   Thu Jul 30 09:43:20 2015 +0200
260
261     debian/control: ceph-common (>> 0.94.2) must be >= 0.94.2-2
262     
263     The d8733be2ef8874b9a858a7ffddfb81b9b656e9a6 backport introduced a
264     regression by adding an incorrect Depends / Break combo supposed to
265     reflect the fact that ceph_argparse moved from ceph to ceph-common after
266     v0.94.2. It assumed the package is released under the 0.94.2 version
267     where in reality it is released under the 0.94.2-1xxx version (where xxx
268     is trusty, jessie etc.).
269     
270     The Depends / Break combo is changed to use 0.94.2-2 instead.
271     
272     See also http://tracker.ceph.com/issues/12529 for a larger discussion.
273     
274     http://tracker.ceph.com/issues/11998 Fixes: #11998
275     
276     Signed-off-by: Loic Dachary <ldachary@redhat.com>
277
278 commit e3d17e49731569ea92917f574d42d93258c77189
279 Merge: cbba706 89aa8ff
280 Author: Loic Dachary <loic@dachary.org>
281 Date:   Wed Jul 29 16:22:36 2015 +0200
282
283     Merge pull request #5248 from ceph/wip-11833-hammer
284     
285     mon: add an "osd crush tree" command
286     
287     Reviewed-by: Kefu Chai <kchai@redhat.com>
288
289 commit cbba7064c6cc4cde3e8a49c25ce671e91d31b9c7
290 Merge: 8355bda 3c8cdea
291 Author: Loic Dachary <loic@dachary.org>
292 Date:   Wed Jul 29 10:49:08 2015 +0200
293
294     Merge pull request #5222 from ceph/hammer-12088
295     
296     client: reference counting 'struct Fh'
297     
298     Reviewed-by: John Spray <john.spray@redhat.com>
299
300 commit 8355bdab56bc4e5ce4d20ba3486c082f06d8dcd1
301 Merge: 52d0e5d ec70533
302 Author: Orit Wasserman <owasserm@redhat.com>
303 Date:   Tue Jul 28 23:33:18 2015 +0200
304
305     Merge pull request #5231 from theanalyst/wip-12243-hammer
306     
307     Civetweb RGW appears to report full size of object as downloaded when only partially downloaded
308
309 commit 52d0e5da5ebad7fe42c2e469cea9773c7714c2b5
310 Merge: 7fd31b1 03c07d7
311 Author: Loic Dachary <loic@dachary.org>
312 Date:   Tue Jul 28 22:40:23 2015 +0200
313
314     Merge pull request #5243 from theanalyst/wip-12239-hammer
315     
316     librbd/internal.cc: 1967: FAILED assert(watchers.size() == 1)
317     
318     Reviewed-by: Josh Durgin <jdurgin@redhat.com>
319
320 commit 7fd31b1b3c2c8e9dd3d9e5464775422215f7a4bc
321 Merge: 7230de3 5c812c1
322 Author: Loic Dachary <loic@dachary.org>
323 Date:   Tue Jul 28 22:40:03 2015 +0200
324
325     Merge pull request #5241 from theanalyst/wip-12238-hammer
326     
327     [  FAILED  ] TestLibRBD.ExclusiveLockTransition
328     
329     Reviewed-by: Josh Durgin <jdurgin@redhat.com>
330
331 commit 7230de317736a71a5764cf224bd1309da1c7b3c6
332 Merge: 6b6228f 7132277
333 Author: Loic Dachary <loic@dachary.org>
334 Date:   Tue Jul 28 22:30:23 2015 +0200
335
336     Merge pull request #5265 from SUSE/wip-12368-hammer
337     
338     linking ceph to tcmalloc causes segfault on SUSE SLE11-SP3
339     
340     Reviewed-by: Loic Dachary <ldachary@redhat.com>
341
342 commit 6b6228f8949e975cac763513898ea9704cb8baf1
343 Merge: d62c3ea f99f312
344 Author: Loic Dachary <loic@dachary.org>
345 Date:   Tue Jul 28 22:27:40 2015 +0200
346
347     Merge pull request #5280 from ceph/wip-12384-hammer
348     
349     librbd: add valgrind memory checks for unit tests
350     
351     Reviewed-by: Loic Dachary <ldachary@redhat.com>
352
353 commit d62c3ea344d9e49e9586867e872e8d5b3f019948
354 Merge: 7b57ff8 b872882
355 Author: Loic Dachary <loic@dachary.org>
356 Date:   Tue Jul 28 22:26:25 2015 +0200
357
358     Merge pull request #5279 from ceph/wip-12237-hammer
359     
360     A client opening an image mid-resize can result in the object map being invalidated
361     
362     Reviewed-by: Loic Dachary <ldachary@redhat.com>
363
364 commit 7b57ff8a9ced6c2f22456ed034cc83d07f82fbb3
365 Merge: 481728a f819332
366 Author: Loic Dachary <loic@dachary.org>
367 Date:   Tue Jul 28 22:10:03 2015 +0200
368
369     Merge pull request #5283 from SUSE/wip-12397-hammer
370     
371     ceph.spec.in: 95-ceph-osd.rules, mount.ceph, and mount.fuse.ceph not installed properly on SUSE
372     
373     Reviewed-by: Loic Dachary <ldachary@redhat.com>
374
375 commit 481728a04dd2c85096c3bc01cc37da9642b038ca
376 Merge: 54bb924 d8733be
377 Author: Loic Dachary <loic@dachary.org>
378 Date:   Tue Jul 28 21:54:33 2015 +0200
379
380     Merge pull request #5206 from SUSE/wip-11998-hammer
381     
382     /usr/bin/ceph from ceph-common is broken without installing ceph
383     
384     Reviewed-by: Loic Dachary <ldachary@redhat.com>
385
386 commit 54bb924e68ae2b4df65576a5d788d593b9d9e722
387 Merge: e099058 c5c627f
388 Author: Loic Dachary <loic@dachary.org>
389 Date:   Tue Jul 28 21:47:29 2015 +0200
390
391     Merge pull request #5055 from SUSE/wip-12044-hammer
392     
393     rgw/logrotate.conf calls service with wrong init script name
394     
395     Reviewed-by: Loic Dachary <ldachary@redhat.com>
396
397 commit e0990583298277f1c631f7c2d2260d6c3fa64c9f
398 Merge: 8b93978 e149916
399 Author: Loic Dachary <loic@dachary.org>
400 Date:   Tue Jul 28 21:46:11 2015 +0200
401
402     Merge pull request #5040 from SUSE/wip-11964-hammer
403     
404     systemd: Increase max files open limit for OSD daemon
405     
406     Reviewed-by: Loic Dachary <ldachary@redhat.com>
407
408 commit 8b93978881375d063fe2df8f40406ea650dda766
409 Merge: 5a7cab2 22f58ce
410 Author: Loic Dachary <loic@dachary.org>
411 Date:   Tue Jul 28 21:45:44 2015 +0200
412
413     Merge pull request #5038 from SUSE/wip-11876-hammer
414     
415     ceph-post-file fails on rhel7
416     
417     Reviewed-by: Loic Dachary <ldachary@redhat.com>
418
419 commit 5a7cab205bb1b3fdbf49a852cb978fc28eba8212
420 Merge: 5218eff 38d36b1
421 Author: Loic Dachary <loic@dachary.org>
422 Date:   Tue Jul 28 21:45:25 2015 +0200
423
424     Merge pull request #5030 from SUSE/wip-12092-hammer
425     
426     packaging: add SuSEfirewall2 service files
427     
428     Reviewed-by: Loic Dachary <ldachary@redhat.com>
429
430 commit 5218eff07c303fb2762ea9f38b9a9c23c24efcae
431 Merge: 0b54d50 8acfb99
432 Author: Loic Dachary <loic@dachary.org>
433 Date:   Tue Jul 28 21:38:14 2015 +0200
434
435     Merge pull request #5028 from SUSE/wip-12090-hammer
436     
437     rcceph script is buggy
438     
439     Reviewed-by: Loic Dachary <ldachary@redhat.com>
440
441 commit 0b54d50ecd1445dfc1a46552adb83b9dae9210d9
442 Merge: 45beb86 37d77d3
443 Author: Loic Dachary <loic@dachary.org>
444 Date:   Tue Jul 28 21:37:44 2015 +0200
445
446     Merge pull request #5026 from SUSE/wip-12087-hammer
447     
448     max files open limit for OSD daemon is too low
449     
450     Reviewed-by: Loic Dachary <ldachary@redhat.com>
451
452 commit e19f928bd770a37f2f631c4cd796e2e30a494234
453 Author: Yehuda Sadeh <yehuda@redhat.com>
454 Date:   Fri Jun 26 16:56:28 2015 -0700
455
456     rgw: conversion tool to fix broken multipart objects
457     
458     Fixes: #12079
459     
460     Broken multipart objects: multipart objects that created on 0.94.2
461     and that start with underscore have a bad locator on their tail objects.
462     This extends the tool that was needed for older issue we've had with
463     hammer multipart objects (that start with underscore). The same usage
464     applies:
465     
466     $ radosgw-admin bucket check --check-head-obj-locator \
467                                  --bucket=<bucket> [--fix]
468     
469     Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
470     (cherry picked from commit f02ca6107172cecd80a490df9f0d66204e62326c)
471
472 commit 28d32f6090724d62b6168d64031454f44eb4cc88
473 Author: Yehuda Sadeh <yehuda@redhat.com>
474 Date:   Fri Jun 26 13:49:55 2015 -0700
475
476     rgw: only scan for objects not in namespace
477     
478     Fixes: #11984
479     The tool should only work on the head objects, and these are not inside
480     any namespace.
481     
482     Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
483     (cherry picked from commit 8103908548bf7d6c9fa47fb181cd450670bae8d6)
484
485 commit e22e2b43b4039a44f5f8fbbe59edc21fbe118bdc
486 Author: Yehuda Sadeh <yehuda@redhat.com>
487 Date:   Wed Apr 22 16:04:35 2015 -0700
488
489     rgw_admin: add --remove-bad flag to bucket check
490     
491     Add this flag so that the bad object will be removed (should be called
492     only after user has verified that objects content is correct).
493     
494     Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
495     (cherry picked from commit 06d67d9139a95b704b80de527381fd1bbf7981ce)
496
497 commit 154f18ce3e52094fe84b058565a865ed97b079d6 (refs/remotes/gh/wip-12465-hammer)
498 Author: Samuel Just <sjust@redhat.com>
499 Date:   Fri Jul 24 15:38:18 2015 -0700
500
501     Log::reopen_log_file: take m_flush_mutex
502     
503     Otherwise, _flush() might continue to write to m_fd after it's closed.
504     This might cause log data to go to a data object if the filestore then
505     reuses the fd during that time.
506     
507     Fixes: #12465
508     Backport: firefly, hammer
509     Signed-off-by: Samuel Just <sjust@redhat.com>
510     (cherry picked from commit 8778ab3a1ced7fab07662248af0c773df759653d)
511
512 commit b8728823493b9dfde0333fb41725002fc50e4d9b (refs/remotes/gh/wip-12237-hammer)
513 Author: Jason Dillaman <dillaman@redhat.com>
514 Date:   Sun Jul 5 10:47:38 2015 -0400
515
516     librados_test_stub: read op should return number of bytes read
517     
518     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
519     (cherry picked from commit f8a7b507983e31399831e802e99429b95386ed41)
520
521 commit 7d9fce3aa3832a1b8bd7f18abd4745dbc0033582
522 Author: Jason Dillaman <dillaman@redhat.com>
523 Date:   Sun Jul 5 10:35:28 2015 -0400
524
525     tests: fixed TestObjectMap.InvalidateFlagInMemoryOnly
526     
527     librados and librados_test_stub return different result codes
528     for a read full object operation.
529     
530     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
531     (cherry picked from commit 2ace2b77f8ed83e753fe4a48bcc997f5d1dd465f)
532
533 commit 4a77be0a65c8b4ec3dc437721f8c321737b260de
534 Author: Jason Dillaman <dillaman@redhat.com>
535 Date:   Sun Jul 5 11:09:09 2015 -0400
536
537     librbd: don't attempt to invalidate an object map in R/O mode
538     
539     The ImageWatcher is not initialized when in R/O mode, which
540     resulted in a NULL pointer dereference.
541     
542     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
543     (cherry picked from commit 64d740f8fa10ba872e324ec2580a4d8c3f99a9ce)
544
545 commit 0aea70f68b299441e692efdce6d5e7ff18b78c39
546 Author: Jason Dillaman <dillaman@redhat.com>
547 Date:   Tue Jun 23 11:17:12 2015 -0400
548
549     tests: add new unit tests for object map invalidation
550     
551     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
552     (cherry picked from commit 0215e9753c09460f6fc84ded9397e36a209f2e32)
553
554 commit c732cb889b4a61254d06703bf032082e56b196de
555 Author: Jason Dillaman <dillaman@redhat.com>
556 Date:   Wed Mar 25 09:41:13 2015 -0400
557
558     librbd: move object map codes to common location
559     
560     These codes will need to be accessible from cls_rbd and librbd.
561     
562     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
563     (cherry picked from commit 4ac584c34d576b489ed4c4862703b8fb427b3bc2)
564
565 commit 27c99ea972a7b218ea591b208d0d1dd51eef6f95
566 Author: Jason Dillaman <dillaman@redhat.com>
567 Date:   Tue Jun 23 11:14:51 2015 -0400
568
569     librbd: only update image flags when holding exclusive lock
570     
571     It was possible for a client to open an image while another client
572     was shrinking an image.  This would result in the former invalidating
573     the object map on-disk if it openned the image between updating the
574     image header and resizing the object map.
575     
576     Fixes: #11791
577     Backport: hammer
578     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
579     (cherry picked from commit eb81a6a7e391327ac993fd406443b206a7f7bffc)
580
581 commit ef453630200ab72373f08357ca6b5ac5c5bbb397
582 Author: Jason Dillaman <dillaman@redhat.com>
583 Date:   Fri Jul 17 12:43:46 2015 -0400
584
585     librbd: new ImageWatcher::is_lock_supported method
586     
587     The new version does not attempt to acquire the snap_lock, to avoid
588     cases where a recursive lock would result.
589     
590     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
591
592 commit e4b55b398e68e870a7cf21276e63da2c4c6e3faa
593 Author: guce <guce@h3c.com>
594 Date:   Sat Jul 11 14:08:33 2015 +0800
595
596     Fixes: #12286 radosgw-admin: after subuser modify print only once user info.
597     
598     remove rgw_admin.cc OPT_SUBUSER_MODIFY, show_user_info code block.
599     
600     switch (opt_cmd) {
601     ...
602     case OPT_SUBUSER_MODIFY:
603     show_user_info(info, formatter);       //show first time (remove this)
604     break;
605     ...
606     }
607     
608     // output the result of a user operation
609     if (output_user_info) {
610     ...
611     show_user_info(info, formatter);       //show second time
612     }
613     
614     test fix:
615     before: after subuser modify print twice user info.
616     after changes, do the same procedure, print only once user info.
617     
618     Signed-off-by: guce guce@h3c.com
619     (cherry picked from commit c604dd97fc179e5c2f640818c0f6e7cf99701947)
620
621 commit 9458b845bf863ccf878873c4f0b089ddf84c7203
622 Author: Henry Chang <henry@bigtera.com>
623 Date:   Wed Apr 22 18:26:45 2015 +0800
624
625     rgw: fix ListParts response
626     
627     The response XML element name should be 'ListPartsResult'.
628     
629     Fixes: #11494
630     
631     Signed-off-by: Henry Chang <henry@bigtera.com>
632     (cherry picked from commit caa9f0e461f1eed526fc43ee74699a7243aef9b8)
633
634 commit 2357b6c808f4f7c5997af48149585a6051c04b8f
635 Author: Wido den Hollander <wido@42on.com>
636 Date:   Sat Jul 11 00:01:52 2015 +0200
637
638     rgw: If the client sends a Connection: close header respond accordingly.
639     
640     HTTP/1.1 assumes Keep-Alive by default, but if a Connection: close header is send
641     the server should respond with it as well.
642     
643     This makes the client close the connection after the request.
644     
645     Fixes: #12298
646     (cherry picked from commit 79197d3711edc4b04a7ea4335b6e1b65754996d5)
647
648 commit f819332e2826eae14849c5e68a380d1d87039d22
649 Author: Nathan Cutler <ncutler@suse.com>
650 Date:   Thu Jul 9 21:38:46 2015 +0200
651
652     ceph.spec.in: install 95-ceph-osd.rules, mount.ceph, and mount.fuse.ceph properly on SUSE
653     
654     http://tracker.ceph.com/issues/12261 Fixes: #12261
655     
656     Signed-off-by: Nathan Cutler <ncutler@suse.com>
657     (cherry picked from commit 5ce38b9536efabf99a236c7a9d15c149fa4c16a6)
658
659 commit d8733be2ef8874b9a858a7ffddfb81b9b656e9a6
660 Author: Ken Dreyer <kdreyer@redhat.com>
661 Date:   Tue Apr 14 07:58:17 2015 -0600
662
663     debian: move ceph_argparse into ceph-common
664     
665     Prior to this commit, if a user installed the "ceph-common" Debian
666     package without installing "ceph", then /usr/bin/ceph would crash
667     because it was missing the ceph_argparse library.
668     
669     Ship the ceph_argparse library in "ceph-common" instead of "ceph". (This
670     was the intention of the original commit that moved argparse to "ceph",
671     2a23eac54957e596d99985bb9e187a668251a9ec)
672     
673     http://tracker.ceph.com/issues/11388 Refs: #11388
674     
675     Reported-by: Jens Rosenboom <j.rosenboom@x-ion.de>
676     Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
677     (cherry picked from commit 110608e5bdd9e2f03020ad41f0c2d756684d4417)
678     
679     Conflicts:
680         debian/ceph.install
681                 There is no ceph_daemon.py in hammer
682             debian/control
683                 Depends/Replaces/Breaks version adapted (from 9.0.0 to 0.94.2)
684                 also adapted ceph-dbg Replaces/Breaks
685
686 commit f99f3125ff76628e2525dca00bb7b983f941a08b (refs/remotes/gh/wip-12384-hammer)
687 Author: Zhiqiang Wang <zhiqiang.wang@intel.com>
688 Date:   Fri Mar 20 16:15:42 2015 +0800
689
690     test: potential memory leak in FlushAioPP
691     
692     Should call the release function instead of deleting it to free
693     librbd::RBD::AioCompletion and librbd::AioCompletion. Otherwise there is
694     a potential memory leak.
695     
696     Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
697     (cherry picked from commit ada7ec860cb7901c560c12a5af36dc7c23051b76)
698
699 commit a4fc63af630e77586e3ba2f17df3b6be4a1e2055
700 Author: Jason Dillaman <dillaman@redhat.com>
701 Date:   Tue Apr 28 15:25:49 2015 -0400
702
703     pybind: fix valgrind warning on rbd_get_parent_info call
704     
705     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
706     (cherry picked from commit 2586e3ba1e20603a87c833513e09dae9281beb4d)
707
708 commit aa3eb28f6be62991bc790de5c19cb7b6e30fa189
709 Author: Jason Dillaman <dillaman@redhat.com>
710 Date:   Tue Apr 28 11:12:00 2015 -0400
711
712     osdc: invalid read of freed memory
713     
714     The bytes not in cache stat was potentially reading the bh length
715     from a deleted bufferhead.
716     
717     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
718     (cherry picked from commit 5ccc4422d6172376bd6f1be8d3a99c0a54eab807)
719
720 commit 18ede754388372cf210d7db87fa46f3536cf0e44
721 Author: Jason Dillaman <dillaman@redhat.com>
722 Date:   Tue Apr 28 10:56:15 2015 -0400
723
724     krbd: fix incorrect types in the krbd API
725     
726     The C API functions were referencing the C++ CephContext
727     instead of the C rados_config_t.  Additionally, the ceph
728     namespace was missing on the Formatter class.
729     
730     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
731     (cherry picked from commit 740fd275a60630e60b3bcf41637a2ca486885d9c)
732
733 commit 488578c1d557ebec7e50d53e45ed46f42984f4f8
734 Author: Jason Dillaman <dillaman@redhat.com>
735 Date:   Tue Apr 28 10:54:47 2015 -0400
736
737     fsx: cleanup crypto library at exit
738     
739     Also made small tweaks so that it can be compiled under
740     a C++ compiler.
741     
742     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
743     (cherry picked from commit c44f8e7fbc19924a9453d8c032c624ebb6c0296f)
744
745 commit 97ff6cb2f8fdd4d946eeab338ec225450e3ad8f3
746 Author: Jason Dillaman <dillaman@redhat.com>
747 Date:   Fri Apr 24 14:29:59 2015 -0400
748
749     tests: add run-rbd-valgrind-unit-tests.sh
750     
751     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
752     (cherry picked from commit 5534faaa469b8a6a4c9687aad1a6723f3e859353)
753
754 commit e690907cbb3b229f84f1e996d58636d00f823e8f
755 Author: Jason Dillaman <dillaman@redhat.com>
756 Date:   Fri Apr 24 00:23:03 2015 -0400
757
758     valgrind: update valgrind suppressions for lttng-ust
759     
760     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
761     (cherry picked from commit 8d87bdf597aad3d6be47aedd216a673bd9093a24)
762
763 commit fe013e0a813c5697e917da642143388de60e8528
764 Author: Jason Dillaman <dillaman@redhat.com>
765 Date:   Fri Apr 24 00:21:15 2015 -0400
766
767     librbd: TaskFinisher should finish all queued tasks
768     
769     The destructor wasn't waiting for all Finisher tasks
770     to complete before stopping the thread.
771     
772     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
773     (cherry picked from commit 8e20240e4155e2f0398e79f4c0095d2d6ba1d4cb)
774
775 commit 43cd3ac923c9accfb81acf41f5bd12b8a05322c7
776 Author: Jason Dillaman <dillaman@redhat.com>
777 Date:   Thu Apr 23 23:10:23 2015 -0400
778
779     tests: fix valgrind errors with librbd unit test
780     
781     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
782     (cherry picked from commit ed5472a10eb515e2a177a640c3f6ed929db9ee4f)
783
784 commit 5d8d6a1a776f833847edc80d2a9b31ecb440ade5
785 Author: Jason Dillaman <dillaman@redhat.com>
786 Date:   Thu Apr 23 23:09:45 2015 -0400
787
788     tests: librbd should release global data before exit
789     
790     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
791     (cherry picked from commit 6ab1bb5614a5d257a82cf8ea280eef5c90cf765b)
792
793 commit 13f926e4e96d0b7178a9762bbbf589961dba47b7
794 Author: Jason Dillaman <dillaman@redhat.com>
795 Date:   Thu Apr 23 23:08:51 2015 -0400
796
797     librados_test_stub: cleanup singleton memory allocation
798     
799     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
800     (cherry picked from commit 54c88255b74741d882b88f791497862635357634)
801
802 commit 45beb86423c3bd74dbafd36c6822e71ad9680e17
803 Merge: 5e399b0 582cf73
804 Author: Loic Dachary <loic@dachary.org>
805 Date:   Fri Jul 17 19:48:05 2015 +0200
806
807     Merge pull request #5046 from ceph/wip-12109-hammer
808     
809     librbd: new QA client upgrade tests
810     
811     Reviewed-by: Loic Dachary <ldachary@redhat.com>
812
813 commit 1063f5275d1031812d564a1bd8ada64bed561026
814 Author: Samuel Just <sjust@redhat.com>
815 Date:   Wed May 20 12:08:15 2015 -0700
816
817     PG::find_best_info: ignore info.les for incomplete peer
818     
819     See included update to doc/dev/osd_internals/last_epoch_started.rst
820     
821     Fixes: 11687
822     Signed-off-by: Samuel Just <sjust@redhat.com>
823     (cherry picked from commit 371d9baa120dc0302e9e61d3bc0e309dfaa773a0)
824
825 commit 5e399b035d7cf861cf66a8ead00b388c4857cbb6
826 Merge: 706b1c7 ad5745b
827 Author: Samuel Just <sam.just@inktank.com>
828 Date:   Thu Jul 16 14:58:49 2015 -0700
829
830     Merge pull request #5159 from theanalyst/wip-11701-hammer
831     
832     make the all osd/filestore thread pool suicide timeouts separately configurable
833     
834     Reviewed-by: Samuel Just <sjust@redhat.com>
835
836 commit 713227791ab28c5e09073acb7b2c3c83ca0f0d6a
837 Author: Thorsten Behrens <tbehrens@suse.com>
838 Date:   Mon Mar 16 00:13:38 2015 +0100
839
840     Conditional-compile against minimal tcmalloc.
841     
842     Certain older systems (SLE11 in this case) do not provide the full
843     tcmalloc functionality, due to e.g. incomplete libunwind
844     pieces. Use --with-tcmalloc-minimal to enable the cut-down
845     version.
846     
847     Here's how the various mem allocator switches interact now:
848     
849     --with-jemalloc: overrides --with-tcmalloc & --with-tcmalloc-minimal
850     --with-tcmalloc-minimal: overrides --with-tcmalloc
851     --with-tcmalloc: the default. use --without-tcmalloc to disable
852     
853     Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
854     (cherry picked from commit c6f1c07113ca19547fdac10cd9b817a60142aee2)
855
856 commit 706b1c7c5bcaaff96aa6950302b7aef097918d30
857 Merge: daf5450 5e72479
858 Author: Sage Weil <sage@redhat.com>
859 Date:   Thu Jul 16 11:04:52 2015 -0400
860
861     Merge pull request #5252 from ceph/wip-12021-hammer
862     
863     OSDMonitor: allow addition of cache pool with non-empty snaps with co…
864     
865     Reviewed-by: Sage Weil <sage@redhat.com>
866
867 commit daf5450765684b0b2ed049320d7463b637321e5a
868 Merge: d20f513 bd91fb0
869 Author: Loic Dachary <loic@dachary.org>
870 Date:   Thu Jul 16 01:15:51 2015 +0200
871
872     Merge pull request #4891 from theanalyst/wip-11740-hammer
873     
874     crush: take crashes due to invalid arg
875     
876     Reviewed-by: Loic Dachary <ldachary@redhat.com>
877
878 commit ad5745bfd768b52ae6a766391232becad8587641
879 Author: Samuel Just <sjust@redhat.com>
880 Date:   Wed May 6 10:49:00 2015 -0700
881
882     OSD: add command_wq suicide timeout
883     
884     Signed-off-by: Samuel Just <sjust@redhat.com>
885     (cherry picked from commit df4e5de819c30003cfbe50a071c49039cf534419)
886     
887     Conflicts:
888         src/common/config_opts.h
889     Trivial merge conflict
890
891 commit 059a579c02b312bbd32fa41485c361ae3847a3ba
892 Author: Samuel Just <sjust@redhat.com>
893 Date:   Wed May 6 10:54:31 2015 -0700
894
895     OSD: add remove_wq suicide timeout
896     
897     Signed-off-by: Samuel Just <sjust@redhat.com>
898     (cherry picked from commit f2fbfa32a16666be46359f0eab7b04ca80a753f5)
899
900 commit b8826bc4e3da6fcb9338ad6c01af1a88e6585a4d
901 Author: Samuel Just <sjust@redhat.com>
902 Date:   Wed May 6 10:52:40 2015 -0700
903
904     OSD: add scrub_wq suicide timeout
905     
906     Signed-off-by: Samuel Just <sjust@redhat.com>
907     (cherry picked from commit 547a7041edc833f3cc8e04d388574809e30a8af6)
908
909 commit 878dd403930a2058656a99c14b465358e134843c
910 Author: Samuel Just <sjust@redhat.com>
911 Date:   Wed May 6 10:51:28 2015 -0700
912
913     OSD: add snap_trim_wq suicide timeout
914     
915     Signed-off-by: Samuel Just <sjust@redhat.com>
916     (cherry picked from commit e1073a4a577211672148a4112bd633831552d66f)
917
918 commit 11575832a37ea247a8febe912b3058f51a464ab6
919 Author: Samuel Just <sjust@redhat.com>
920 Date:   Wed May 6 10:50:19 2015 -0700
921
922     OSD: add recovery_wq suicide timeout
923     
924     Signed-off-by: Samuel Just <sjust@redhat.com>
925     (cherry picked from commit 85311b656852af75bfbbc6699f92fc6aa233c316)
926     
927     Conflicts: src/common/config_opts.h
928     
929     There was a merge conflict due to introduction of `osd_recovery_sleep`
930     which was introduced in #3829
931
932 commit a82b4505848c09ad0094768c886f2015bdaa1148
933 Author: Samuel Just <sjust@redhat.com>
934 Date:   Wed May 6 11:02:19 2015 -0700
935
936     OSD: add op_wq suicide timeout
937     
938     Signed-off-by: Samuel Just <sjust@redhat.com>
939
940 commit 89aa8ff9855ae868d59bd10fe3a3aab8517e90fc
941 Author: Kefu Chai <kchai@redhat.com>
942 Date:   Tue Jun 2 23:52:22 2015 +0800
943
944     mon: add an "osd crush tree" command
945     
946     * to print crush buckets/items in a tree
947     
948     Fixes: #11833
949     Signed-off-by: Kefu Chai <kchai@redhat.com>
950     (cherry picked from commit 5436c290f3622feb8d4b279ed6552b2510e0cee9)
951     
952     Conflicts:
953         src/test/mon/osd-crush.sh:
954                 do not start mon as run() takes care of it already
955
956 commit d20f513d9b185eff82bee2ca719b5453358e740b
957 Merge: 8753b2b 3d74164
958 Author: Loic Dachary <loic@dachary.org>
959 Date:   Tue Jul 14 20:43:02 2015 +0200
960
961     Merge pull request #4899 from theanalyst/wip-11911-hammer
962     
963     start_flush: filter out removed snaps before determining snapc's
964     
965     Reviewed-by: Samuel Just <sjust@redhat.com>
966
967 commit 8753b2b14536c34a7b6dec927c7a5b8100de7f68
968 Merge: 3d72652 ecac1a4
969 Author: Loic Dachary <loic@dachary.org>
970 Date:   Tue Jul 14 20:42:45 2015 +0200
971
972     Merge pull request #4868 from SUSE/wip-11879-hammer
973     
974     Clock skew causes missing summary and confuses Calamari
975     
976     Reviewed-by: Samuel Just <sjust@redhat.com>
977
978 commit 3d72652d7ba6b2fff3d39ea7965c3c61d5fa0a04
979 Merge: 9a79e8e fdb43eb
980 Author: Loic Dachary <loic@dachary.org>
981 Date:   Tue Jul 14 16:42:12 2015 +0200
982
983     Merge pull request #4883 from SUSE/wip-11638-hammer
984     
985     ceph.spec.in: ceph-common subpackage def needs tweaking for SUSE/openSUSE
986     
987     Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
988
989 commit 03c07d76ac8361ddd302f5bc0575aee7fb5edc99
990 Author: Jason Dillaman <dillaman@redhat.com>
991 Date:   Fri Jun 26 09:59:36 2015 -0400
992
993     librbd: assertion failure race condition if watch disconnected
994     
995     It's possible for librbd's watch of the header object to be reset by
996     connection issues just prior to the image being removed.  This will
997     causes an assertion failure which assumes at least one watcher on the
998     image.
999     
1000     Fixes: #12176
1001     Backport: hammer, firefly
1002     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1003     (cherry picked from commit af276de4f299960e43761904c043924cec5fef11)
1004
1005 commit 5c812c1552d954f2c91c000332ddc74c9e91825a
1006 Author: Jason Dillaman <dillaman@redhat.com>
1007 Date:   Thu Jun 25 16:51:31 2015 -0400
1008
1009     librbd: prevent object map updates from being interrupted
1010     
1011     Object map updates were being canceled in-flight when the exclusive lock
1012     is released.  This resulted in an ERESTART error code bubbling up to
1013     AioRequest.
1014     
1015     Fixes: 12165
1016     Backport: hammer
1017     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1018     (cherry picked from commit 590cdc90edaf4f4ff06c97eb2f43b92ab9b60084)
1019     
1020     Conflicts:
1021         src/librbd/ObjectMap.h
1022     conflict due to a variable `m_snap_id' which was introduced in PR #4140
1023     which is dropped as we are not backporting that feature
1024
1025 commit e50caab2251bb68fea1adbd17acc43aa98ab1206
1026 Author: wuxingyi <wuxingyi@letv.com>
1027 Date:   Tue Jun 23 01:46:48 2015 +0000
1028
1029     rgw: fix empty json response when getting user quota
1030     
1031     Fixes: #12117
1032     Signed-off-by: wuxingyi <wuxingyi@letv.com>
1033     (cherry picked from commit 64fceed2202c94edf28b8315fe14c9affa8c0116)
1034
1035 commit ec705336551436517c16bffdc6bf5467899ae4bb
1036 Author: Yehuda Sadeh <yehuda@redhat.com>
1037 Date:   Thu Jun 25 14:31:03 2015 -0700
1038
1039     rgw: error out if frontend did not send all data
1040     
1041     Fixes: #11851
1042     The civetweb mg_write() doesn't return error when it can't flush all data
1043     to the user, it just sends the total number of bytes written. Modified the
1044     client io to return total number of bytes and return an error if didn't
1045     send anything.
1046     
1047     Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
1048     (cherry picked from commit daa679c3dd3770a6d5421e2cc9a36924f4550439)
1049
1050 commit 557865c85bb907fe69248c4f1acb88320a7c1bb5
1051 Author: Yehuda Sadeh <yehuda@redhat.com>
1052 Date:   Wed Jun 17 15:11:28 2015 -0700
1053
1054     rgw: fix reset_loc()
1055     
1056     Fixes: #11974
1057     
1058     Only need to set locator for underscore if namespace is empty
1059     
1060     Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
1061     (cherry picked from commit d3bd27f4855df6bb207b656527138026af1a36a2)
1062
1063 commit b1618a97fef644dc3dced502d600de6a5d55d085
1064 Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1065 Date:   Mon Apr 20 14:55:00 2015 +0200
1066
1067     rgw: fix lack of account name in XML listing of Swift account.
1068     
1069     Fixes: #11431
1070     Backport: hammer
1071     Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1072     (cherry picked from commit 837388bbc39a1bf9019302c3a4d3a3fe22caeeb4)
1073
1074 commit e39dce7935dd513b77ce34bc79d70a2c23437cbb
1075 Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1076 Date:   Wed Feb 18 15:48:43 2015 +0100
1077
1078     rgw: generate the "Date" HTTP header for civetweb.
1079     
1080     Fixes: #10873
1081     Backport: hammer
1082     Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1083     (cherry picked from commit ea384f83b601f60e135c3d3f960fdb75a919dd84)
1084
1085 commit a5dbcbbdddce6cdeccb1e6f5641601d673cd1896
1086 Author: Hervé Rousseau <hroussea@cern.ch>
1087 Date:   Mon Apr 27 17:54:30 2015 +0200
1088
1089     Swift: Set Content-Length when requesting/checking Keystone tokens
1090     
1091     Running Keystone with WSGIChunkedRequest=On is not supported.
1092     
1093     We have to make sure that we set the Content-Length header when getting
1094     an admin token and checking revoked tokens, otherwise Keystone returns
1095     a HTTP 411 error.
1096     
1097     Same applies when checking revoked tickets.
1098     
1099     Fixes: #11473
1100     Backport: Hammer, Firefly
1101     Signed-off-by: Hervé Rousseau <hroussea@cern.ch>
1102     (cherry picked from commit 24f477417fdac9d68902fa211c8edf92a2e8729f)
1103
1104 commit 3c8cdeacf46ae4031189d2ef6948aa3b6ab4ae43
1105 Author: Yan, Zheng <zyan@redhat.com>
1106 Date:   Wed Jul 8 10:11:43 2015 +0800
1107
1108     client: reference counting 'struct Fh'
1109     
1110     The async readahead finisher needs to reference 'struct Fh'. But
1111     it's possible user closes FD and free the corresponding 'struct Fh'
1112     before async readahead finishes.
1113     
1114     Fixes: #12088
1115     Signed-off-by: Yan, Zheng <zyan@redhat.com>
1116     (cherry picked from commit 34b939a81d38173b882c429b28dedce778504ba8)
1117
1118 commit c78cc00afb6deb8022db60dbe8649335f61bd345
1119 Author: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1120 Date:   Thu Mar 19 14:52:18 2015 +0100
1121
1122     rgw: rectify 202 Accepted in response for PUT on existing bucket.
1123     
1124     Fixes: #11148
1125     Backport: hammer
1126     Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
1127     (cherry picked from commit 3998fe7e02a6c25a3302c80a9c9907357fd3a23e)
1128
1129 commit 9a79e8e7da5f34f1adaf6137e01bcd42766ae677
1130 Merge: 5527720 7f1c0cc
1131 Author: Kefu Chai <tchaikov@gmail.com>
1132 Date:   Sun Jul 12 02:19:57 2015 +0800
1133
1134     Merge pull request #5208 from tchaikov/wip-11975-hammer
1135     
1136     tests: TEST_crush_reject_empty must not run a mon
1137     
1138     Reviewed-by: Loic Dachary <ldachary@redhat.com>
1139
1140 commit 7f1c0cc9cd3deab925440b56d82c3e61a8ba5ab1
1141 Author: Kefu Chai <kchai@redhat.com>
1142 Date:   Sat Jul 11 23:04:33 2015 +0800
1143
1144     crush/CrushTester: return EINVAL if crushtool returns non-zero
1145     
1146     this backports a tiny part of ec02441, otherwise
1147     CrushTester will return 1, and "ceph" cli will take it
1148     as EPERM, which is miss leading, and fails
1149     osd-crush.sh:TEST_crush_reject_empty.
1150     
1151     Signed-off-by: Kefu Chai <kchai@redhat.com>
1152
1153 commit 2aaeea145b24b972a0b98549c3527ccf98f4c96f
1154 Author: Loic Dachary <ldachary@redhat.com>
1155 Date:   Fri Jul 10 16:23:47 2015 +0200
1156
1157     tests: TEST_crush_reject_empty must not run a mon
1158     
1159     * Back in Hammer, the osd-crush.sh individual tests did not run the
1160       monitor, it was taken care of by the run() function. An attempt to run
1161       another mon fails with:
1162     
1163       error: IO lock testdir/osd-crush/a/store.db/LOCK: Resource temporarily
1164       unavailable
1165     
1166       This problem was introduced by cc1cc033930e8690a57674e842a003f6bbc7a242
1167       from https://github.com/ceph/ceph/pull/4936
1168     * replace test/mon/mon-test-helpers.sh with test/ceph-helpers.sh as
1169       we need run_osd() in this newly added test
1170     * update the run-dir of commands: ceph-helpers.sh use the different
1171       convention for the run-dir of daemons.
1172     
1173     http://tracker.ceph.com/issues/11975 Refs: #11975
1174     
1175     Signed-off-by: Loic Dachary <ldachary@redhat.com>
1176
1177 commit 80afb81124a0d2ef25a23a12c86617ab1da3a4bd
1178 Author: Loic Dachary <ldachary@redhat.com>
1179 Date:   Tue Apr 21 16:11:33 2015 +0200
1180
1181     ceph-helpers: implement test_expect_failure
1182     
1183     To display the output in case the command did not fail with the expected
1184     output.
1185     
1186     Signed-off-by: Loic Dachary <ldachary@redhat.com>
1187     (cherry picked from commit 5871781b10ff0b26c731b70d1898c474006cbee3)
1188
1189 commit 6b5e9a1df7dfb3a971e40aec35119ec019515b69
1190 Author: Loic Dachary <ldachary@redhat.com>
1191 Date:   Wed Jun 10 23:16:01 2015 +0200
1192
1193     tests: display the output of failed make check runs
1194     
1195     After a make check fails, it shows a summary but not the output of the
1196     failed tests although they contain information to diagnose the problem.
1197     
1198     Set the VERBOSE=true automake variable which is documented to collect
1199     and display the failed script output at the end of a run (the content of
1200     the test-suite.log file (valid from automake-1.11 up).
1201     
1202     http://www.gnu.org/software/automake/manual/automake.html#index-VERBOSE
1203     
1204     Also remove the run-make-check.sh that did the same in a way that is not
1205     compatible with automake-1.11.
1206     
1207     Signed-off-by: Loic Dachary <ldachary@redhat.com>
1208     (cherry picked from commit 3a55cb029bb7db9542d2b14f2deda90feb0ae0f6)
1209
1210 commit 552772025cb8d5f51ffb3a069d1bd93bc73f1123
1211 Merge: f4d77c2 1440122
1212 Author: Loic Dachary <loic@dachary.org>
1213 Date:   Fri Jul 10 10:17:24 2015 +0200
1214
1215     Merge pull request #4889 from theanalyst/wip-11484-hammer
1216     
1217     OPT_INT option interprets 3221225472 as -1073741824, and crashes in Throttle::Throttle()
1218     
1219     Reviewed-by: Kefu Chai <kchai@redhat.com>
1220
1221 commit f4d77c22aa51edb45211e080f3fdf28a7a0cfdd4
1222 Merge: 5088105 a62c3aa
1223 Author: Loic Dachary <loic@dachary.org>
1224 Date:   Fri Jul 10 10:16:25 2015 +0200
1225
1226     Merge pull request #4776 from tchaikov/wip-11279-hammer
1227     
1228     ceph: cli interactive mode does not understand quotes
1229     
1230     Reviewed-by: Kefu Chai <kchai@redhat.com>
1231
1232 commit 5088105300c013b1b804c938a30ac63ba710556d
1233 Merge: e3b1f7b 0b6d442
1234 Author: Loic Dachary <loic@dachary.org>
1235 Date:   Fri Jul 10 10:14:42 2015 +0200
1236
1237     Merge pull request #4657 from ceph/wip-hammer-11535-admin-socket
1238     
1239     common/admin_socket: close socket descriptor in destructor
1240     
1241     Reviewed-by: Loic Dachary <ldachary@redhat.com>
1242
1243 commit e3b1f7be9e8474fbec98076790ff683bccd44ce9
1244 Merge: dd29a86 558d639
1245 Author: Kefu Chai <tchaikov@gmail.com>
1246 Date:   Fri Jul 10 16:07:48 2015 +0800
1247
1248     Merge pull request #4687 from SUSE/wip-7387-hammer
1249     
1250     utf8 and old gcc breakage on RHEL6.5
1251     
1252     Reviewed-by: Kefu Chai <kchai@redhat.com>
1253
1254 commit dd29a869db5503fc9e2c6d1d44ee4311d95af20c
1255 Merge: 7f1fb57 0e5e7e1
1256 Author: Kefu Chai <tchaikov@gmail.com>
1257 Date:   Fri Jul 10 16:00:00 2015 +0800
1258
1259     Merge pull request #5122 from theanalyst/wip-11982-hammer
1260     
1261     ceph fails to compile with boost 1.58
1262     
1263     Reviewed-by: Kefu Chai <kchai@redhat.com>
1264
1265 commit 7f1fb574608800c3e6aa12df6c7888acbf397a52
1266 Merge: adc7016 5141301
1267 Author: Kefu Chai <tchaikov@gmail.com>
1268 Date:   Fri Jul 10 15:59:35 2015 +0800
1269
1270     Merge pull request #4936 from ceph/wip-11975-hammer
1271     
1272     mon crashes when "ceph osd tree 85 --format json"
1273     
1274     Reviewed-by: Kefu Chai <kchai@redhat.com>
1275
1276 commit adc70161d14fc2b51e6c6f38580f76ff0067717a
1277 Merge: 2d68db8 82988d6
1278 Author: Loic Dachary <loic@dachary.org>
1279 Date:   Fri Jul 10 09:48:44 2015 +0200
1280
1281     Merge pull request #4892 from theanalyst/wip-11760-hammer
1282     
1283     ceph-disk: get_partition_type fails on /dev/cciss...
1284     
1285     Reviewed-by: Loic Dachary <ldachary@redhat.com>
1286
1287 commit 2d68db8371263645642cf28473deea4456ca7021
1288 Merge: 1cffe8c ba1a016
1289 Author: Loic Dachary <loic@dachary.org>
1290 Date:   Fri Jul 10 09:43:57 2015 +0200
1291
1292     Merge pull request #4877 from SUSE/wip-11902-hammer
1293     
1294     admin/build-doc: script fails silently under certain circumstances
1295     
1296     Reviewed-by: Loic Dachary <ldachary@redhat.com>
1297
1298 commit 51413011417b76f5ad2830d9f93fbfe78c77e467
1299 Author: Kefu Chai <kchai@redhat.com>
1300 Date:   Tue May 26 18:11:59 2015 +0800
1301
1302     mon: add "--check" to CrushTester::test_with_crushtool()
1303     
1304     so we don't need to call CrushTester::check_name_maps() in OSDMonitor.cc
1305     anymore.
1306     
1307     Fixes: #11680
1308     Signed-off-by: Kefu Chai <kchai@redhat.com>
1309     (cherry picked from commit c6e634875316cf17368d497e6dc4f6f4b5dd65d2)
1310
1311 commit 5ec27cf589b4535f07e28a86bd304f7a46427ac4
1312 Author: Kefu Chai <kchai@redhat.com>
1313 Date:   Tue May 26 17:51:50 2015 +0800
1314
1315     crushtool: rename "--check-names" to "--check"
1316     
1317     * because "--check" also checks for the max_id
1318     
1319     Note: edited since we do not have the fix introduced in 46103b2 in
1320           hammer.
1321     
1322     Signed-off-by: Kefu Chai <kchai@redhat.com>
1323     (cherry picked from commit 9381d53acdce85fcbff828926b911e050ba36e51)
1324
1325 commit 2a8fe8862a15342cc5716c146487d0b42af0fbf6
1326 Author: Kefu Chai <kchai@redhat.com>
1327 Date:   Tue May 26 16:58:23 2015 +0800
1328
1329     mon: check the new crush map against osdmap.max_osd
1330     
1331     Fixes: #11680
1332     Signed-off-by: Kefu Chai <kchai@redhat.com>
1333     (cherry picked from commit 22e6bd6e01d5df3f3e897562597e22ca1737f8c8)
1334
1335 commit c0b0f52ddbd4e22998a36addfb32f27614183e19
1336 Author: Kefu Chai <kchai@redhat.com>
1337 Date:   Tue May 26 15:35:10 2015 +0800
1338
1339     crushtool: enable check against max_id
1340     
1341     add an argument "max_id" for "--check-names" to check if any item
1342     has an id greater or equal to given "max_id" in crush map.
1343     
1344     Note: edited since we do not have the fix introduced in 46103b2 in
1345           hammer.
1346     
1347     Signed-off-by: Kefu Chai <kchai@redhat.com>
1348     (cherry picked from commit d0658dd3cdf072b2a7c2a1986f8785a697c591ee)
1349
1350 commit f041bbebf98a2aff2ad542e8d0c12c46af427573
1351 Author: Kefu Chai <kchai@redhat.com>
1352 Date:   Tue May 26 15:34:33 2015 +0800
1353
1354     crush/CrushTester: check if any item id is too large
1355     
1356     Signed-off-by: Kefu Chai <kchai@redhat.com>
1357     (cherry picked from commit e640d89240017956b8c7411babb86be0f1e2b172)
1358
1359 commit cc1cc033930e8690a57674e842a003f6bbc7a242
1360 Author: Kefu Chai <kchai@redhat.com>
1361 Date:   Mon May 25 20:14:32 2015 +0800
1362
1363     mon: validate new crush for unknown names
1364     
1365     * the "osd tree dump" command enumerates all buckets/osds found in either the
1366       crush map or the osd map. but the newly set crushmap is not validated for
1367       the dangling references, so we need to check to see if any item in new crush
1368       map is referencing unknown type/name when a new crush map is sent to
1369       monitor, reject it if any.
1370     
1371     Fixes: #11680
1372     Signed-off-by: Kefu Chai <kchai@redhat.com>
1373     (cherry picked from commit a955f36a509e5412b1f72632a1a956d99e768e35)
1374
1375 commit ff29a7f9dd21505c681881e609183aed9ac3250e
1376 Author: Kefu Chai <kchai@redhat.com>
1377 Date:   Tue May 26 12:08:36 2015 +0800
1378
1379     crushtool: add the "--check-names" option
1380     
1381     * so one is able to verify that the "ceph osd tree" won't chock on the
1382       new crush map because of dangling name/type references
1383     
1384     Signed-off-by: Kefu Chai <kchai@redhat.com>
1385     (cherry picked from commit d6b46d4c7b722945ce24ac2930381a109b1e3dda)
1386
1387 commit 960ea49699f421ceb89c9e0c9430378a35f09a9a
1388 Author: Kefu Chai <kchai@redhat.com>
1389 Date:   Tue May 26 12:08:09 2015 +0800
1390
1391     crush/CrushTester: add check_name_maps() method
1392     
1393     * check for dangling bucket name or type names referenced by the
1394       buckets/items in the crush map.
1395     * also check for the references from Item(0, 0, 0) which does not
1396       necessarily exist in the crush map under testing. the rationale
1397       behind this is: the "ceph osd tree" will also print stray OSDs
1398       whose id is greater or equal to 0. so it would be useful to
1399       check if the crush map offers the type name indexed by "0"
1400       (the name of OSDs is always "OSD.{id}", so we don't need to
1401       look up the name of an OSD item in the crushmap).
1402     
1403     Signed-off-by: Kefu Chai <kchai@redhat.com>
1404     (cherry picked from commit b75384d73958faf81d45847a7dfa56f4fa347e6f)
1405
1406 commit 1cffe8c46a39142ee0da4e2279eda7276df262e1
1407 Merge: 6ffb1c4 ef6641c
1408 Author: Loic Dachary <loic@dachary.org>
1409 Date:   Fri Jul 10 09:39:15 2015 +0200
1410
1411     Merge pull request #4667 from SUSE/wip-11611-hammer
1412     
1413     ceph.spec: update OpenSUSE BuildRequires
1414     
1415     Reviewed-by: Loic Dachary <ldachary@redhat.com>
1416
1417 commit 5e72479b0882ac13597d7a613698e583dcb2b932
1418 Author: Samuel Just <sjust@redhat.com>
1419 Date:   Tue Jul 7 11:43:01 2015 -0700
1420
1421     OSDMonitor: allow addition of cache pool with non-empty snaps with config
1422     
1423     We need to be able to allow the version of ceph_test_* from earlier
1424     versions of ceph to continue to work.  This patch also adjusts the
1425     work unit to use a single rados snap to test the condition without
1426     --force-nonempty to ensure that we don't need to be careful about
1427     the config value when running that script.
1428     
1429     Signed-off-by: Samuel Just <sjust@redhat.com>
1430
1431 commit 6ffb1c4ae43bcde9f5fde40dd97959399135ed86
1432 Merge: c7ebf96 524f4a5
1433 Author: Gregory Farnum <greg@gregs42.com>
1434 Date:   Wed Jul 8 16:52:12 2015 +0100
1435
1436     Merge pull request #5123 from theanalyst/wip-11979-hammer
1437     
1438     MDSMonitor: handle MDSBeacon messages properly
1439     
1440     Reviewed-by: Kefu Chai <kchai@redhat.com>
1441
1442 commit ecac1a458bc7331ed8d667f20ba31995d74892d3
1443 Author: Thorsten Behrens <tbehrens@suse.com>
1444 Date:   Fri Feb 6 01:26:40 2015 +0100
1445
1446     Always provide summary for non-healthy cluster
1447     
1448     This fixes a problem, wherein calamari does not provide
1449     popup drill-downs for warnings or errors, should the summary
1450     be missing.
1451     
1452     Calamari gets health info from /api/v1/cluster/$FSID/health.
1453     If the data here has a summary field, this summary is provided
1454     in a popup window:
1455     
1456       /api/v1/cluster/$FSID/health is populated (ultimately) with
1457       status obtained via librados python bindings from the ceph
1458       cluster. In the case where there's clock skew, the summary
1459       field supplied by the ceph cluster is empty.
1460     
1461     No summary field, no popup window with more health details.
1462     
1463     Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
1464     (cherry picked from commit eaf6e0cf48488fe604d0ef0db164d44948d4e8d4)
1465
1466 commit c7ebf96a9a4a6143b112c8606d5ee346fb800cec
1467 Merge: b163728 1a321e4
1468 Author: Loic Dachary <loic@dachary.org>
1469 Date:   Wed Jul 8 15:36:38 2015 +0200
1470
1471     Merge pull request #4862 from SUSE/wip-11874-hammer
1472     
1473     Bucket header is enclosed by quotes
1474     
1475     Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
1476
1477 commit b1637289ec4ff99d923457577893b4c4a8d2e9fe
1478 Merge: e33af22 54f4e7d
1479 Author: Loic Dachary <loic@dachary.org>
1480 Date:   Wed Jul 8 15:35:53 2015 +0200
1481
1482     Merge pull request #4885 from theanalyst/wip-11755-hammer
1483     
1484     Object copy bug
1485     
1486     Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
1487
1488 commit e33af22dec32467f229ca2dc1dc9668702a44ce8
1489 Merge: 5696b0f 9dfef60
1490 Author: Loic Dachary <loic@dachary.org>
1491 Date:   Wed Jul 8 15:34:45 2015 +0200
1492
1493     Merge pull request #4884 from theanalyst/wip-11722-hammer
1494     
1495     Keystone PKI token expiration is not enforced
1496     
1497     Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
1498
1499 commit 5696b0ff2a981ae8afe72df796ba7d7da47bb7d1
1500 Merge: 72ecd52 ed5442b
1501 Author: Loic Dachary <loic@dachary.org>
1502 Date:   Wed Jul 8 15:30:48 2015 +0200
1503
1504     Merge pull request #4875 from ceph/wip-11770-hammer
1505     
1506     librbd: aio calls may block
1507     
1508     Reviewed-by: Jason Dillaman <dillaman@redhat.com>
1509     Reviewed-by: Loic Dachary <ldachary@redhat.com>
1510
1511 commit 1a32379dd6cb56ed69b8f448d3612506c8131fbe
1512 Author: Kefu Chai <kchai@redhat.com>
1513 Date:   Mon May 11 19:30:30 2015 +0800
1514
1515     mon/PGMap: add more constness
1516     
1517     Signed-off-by: Kefu Chai <kchai@redhat.com>
1518     (cherry picked from commit e1f1c56ce88ef3ad05e881d650fac637931ce3fe)
1519
1520 commit 84ebc3d320bdf871ccf85e555951cea421b56021
1521 Author: Kefu Chai <kchai@redhat.com>
1522 Date:   Mon May 11 19:29:13 2015 +0800
1523
1524     mon/PGMap: sort pg states by the states in "pg ls" spec
1525     
1526     Signed-off-by: Kefu Chai <kchai@redhat.com>
1527     (cherry picked from commit 990dfb6cd45438bc8293ac37882daa413860a2f8)
1528
1529 commit e310461aecc667cf26806bc5a3bbabb05696bdfc
1530 Author: Kefu Chai <kchai@redhat.com>
1531 Date:   Mon May 11 17:02:41 2015 +0800
1532
1533     mon: s/recovery/recoverying/ in "pg ls*" commands' spec
1534     
1535     * also translate "repair" if specified as "states"
1536     * update test_mon_pg in cephtool-test-mon.sh
1537     
1538     Fixes: #11569
1539     Signed-off-by: Kefu Chai <kchai@redhat.com>
1540     (cherry picked from commit 89f89ca3477eddcae11a05fbd58a8f3658eb1fc1)
1541
1542 commit 524f4a52d115ecda8cd7793d0f8bea148eff92af
1543 Author: Kefu Chai <kchai@redhat.com>
1544 Date:   Fri May 15 22:50:36 2015 +0800
1545
1546     mon: always reply mdsbeacon
1547     
1548     the MDS (Beacon) is always expecting the reply for the mdsbeacon messages from
1549     the lead mon, and it uses the delay as a metric for the laggy-ness of the
1550     Beacon. when it comes to the MDSMonitor on a peon, it will remove the route
1551     session at seeing a reply (route message) from leader, so a reply to
1552     mdsbeacon will stop the peon from resending the mdsbeacon request to the
1553     leader.
1554     
1555     if the MDSMonitor re-forwards the unreplied requests after they are
1556     outdated, there are chances that the requests reflecting old and even wrong
1557     state of the MDSs mislead the lead monitor. for example, the MDSs which sent
1558     the outdated messages could be dead.
1559     
1560     Fixes: #11590
1561     Signed-off-by: Kefu Chai <kchai@redhat.com>
1562     (cherry picked from commit b3555e9c328633c9e1fbc27d652c004b30535e5b)
1563
1564 commit 413e407dea446bebb9c36abb3025ada450dd4fe9
1565 Author: Kefu Chai <kchai@redhat.com>
1566 Date:   Tue Jun 2 23:20:21 2015 -0700
1567
1568     mon/MDSMonitor: rename labels to a better name
1569     
1570     * s/ignore/reply/
1571     * s/out/ignore/
1572     
1573     Signed-off-by: Kefu Chai <kchai@redhat.com>
1574     (cherry picked from commit f00ecb8b3df73ce6337985bc6d43bce5143ee537)
1575
1576 commit a03968ad584a3ff8e351cc5dce053e535fcdc454
1577 Author: Kefu Chai <kchai@redhat.com>
1578 Date:   Tue Jun 2 12:55:06 2015 +0800
1579
1580     mon: send no_reply() to peon to drop ignored mdsbeacon
1581     
1582     so the peon can remove the ignored mdsbeacon request from the
1583     routed_requets at seeing this reply, and hence no longer resend the
1584     request.
1585     
1586     Fixes: #11590
1587     Signed-off-by: Kefu Chai <kchai@redhat.com>
1588     (cherry picked from commit 72a37b3a8e145d8522ea67fc14ce2c5510b6852b)
1589
1590 commit 39f34596b0ec6f769f507e2b372204f8551f7ee0
1591 Author: Kefu Chai <kchai@redhat.com>
1592 Date:   Tue Jun 2 12:22:26 2015 +0800
1593
1594     mon: remove unnecessary error handling
1595     
1596     msg.get_session() should always return a non-zero pointer in
1597     Monitor.dispatch()
1598     
1599     Signed-off-by: Kefu Chai <kchai@redhat.com>
1600     (cherry picked from commit 16e8e2cc82a90c49cd8aa3d0e3acc4694ba659a0)
1601
1602 commit 0e5e7e1d259579571c1fc05660f6af8e295e733b
1603 Author: Kefu Chai <kchai@redhat.com>
1604 Date:   Fri May 8 15:21:20 2015 +0800
1605
1606     mon: remove unused variable
1607     
1608     * as a side effect, this change silences
1609       http://tracker.ceph.com/issues/11576
1610     
1611     Fixes: #11576
1612     Signed-off-by: Kefu Chai <kchai@redhat.com>
1613     (cherry picked from commit e7b196a4a091c0ea258866559ba06e7ed0cc4247)
1614
1615 commit 70347209260688f1a067354c744569499adb6920
1616 Author: Samuel Just <sjust@redhat.com>
1617 Date:   Wed Apr 1 16:37:51 2015 -0700
1618
1619     ReplicatedPG::finish_promote: handle results->snaps is empty case
1620     
1621     If results->snaps winds up empty after filtering removed snaps,
1622     we need to treat the object as if we had gotten an ENOENT.
1623     
1624     PartialFix: #11296
1625     Backport: firefly, hammer
1626     Signed-off-by: Samuel Just <sjust@redhat.com>
1627     (cherry picked from commit 6150757dbe0fa11cceb14460865b859a7c8164c7)
1628
1629 commit 3e44dc16ed3fbda053996e44826aa3d90042a234
1630 Author: Samuel Just <sjust@redhat.com>
1631 Date:   Wed Apr 1 16:25:22 2015 -0700
1632
1633     ReplicatedPG::finish_promote: fix snap promote head snaps
1634     
1635     If the snaps vector is: 10=[9,5,2]:[4]+head, the backing pool's snaps
1636     vector is 3=[2]:[]+head, and we request clone 4 from the backing pool,
1637     the backing pool will send us head with an empty results->snaps vector.
1638     Actually, clone 4 should be trimmed, but the cache pool does not know
1639     that.  Thus, we should construct an empty snaps vector for that clone.
1640     
1641     PartialFix: #11296
1642     Backport: firefly, hammer
1643     Signed-off-by: Samuel Just <sjust@redhat.com>
1644     (cherry picked from commit a45a698372def1623323470c6a1c4eb70e0bb79f)
1645
1646 commit 5ef08466abf1b3934fcad0a0ca46f3a4380d6dbd
1647 Author: John Spray <john.spray@redhat.com>
1648 Date:   Wed Jun 3 10:04:26 2015 +0100
1649
1650     tools: chunk reads in Dumper
1651     
1652     Previously tried to read entire journal
1653     into memory in one go, which was problematic
1654     for large journals.
1655     
1656     Fixes: #11746
1657     Signed-off-by: John Spray <john.spray@redhat.com>
1658     (cherry picked from commit e3ddcb894ad09326698999d42de0ce3feb69f28e)
1659
1660 commit 408880bed296e5cbf05864fa6744a5b00a245272
1661 Author: Greg Farnum <gfarnum@redhat.com>
1662 Date:   Tue Jun 16 08:13:41 2015 -0700
1663
1664     qa: update to newer Linux tarball
1665     
1666     This should make newer gcc releases happier in their default configuration.
1667     kernel.org is now distributing tarballs as .xz files so we change to that
1668     as well when decompressing (it is supported by Ubuntu Precise so we should
1669     be all good).
1670     
1671     Fixes: #11758
1672     
1673     Signed-off-by: Greg Farnum <gfarnum@redhat.com>
1674     (cherry picked from commit 1ea3f47ab806d48ca7b045c2731d344eae3900e1)
1675
1676 commit 56c2688b87d7d78831f8e147fc67cc0651ab644c
1677 Author: Yehuda Sadeh <yehuda@redhat.com>
1678 Date:   Fri Apr 24 14:45:40 2015 -0700
1679
1680     rgw: simplify content length handling
1681     
1682     Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
1683     (cherry picked from commit e97fd5052cab83c5f699531a8c960b93437a8f9f)
1684
1685 commit d9bbef3e470c6406bb65dc40e7e9c08c5d599f73
1686 Author: Robin H. Johnson <robbat2@gentoo.org>
1687 Date:   Fri Apr 24 10:49:16 2015 -0700
1688
1689     rgw: make compatability deconfliction optional.
1690     
1691     Per request from Yehuda, the deconfliction for having both
1692     HTTP_CONTENT_LENGTH and CONTENT_LENGTH set is now optional, and
1693     controlled by new configuration boolean, which defaults to false.
1694     rgw content length compat
1695     
1696     X-URL: https://github.com/ceph/ceph/pull/4436#issuecomment-95994887
1697     Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
1698     (cherry picked from commit 79d17af1a1ec0659884f768945a7bac6282b5e0b)
1699
1700 commit 0260abd5d265bd63ea9c89f4082c31ba1c5ae8fa
1701 Author: Robin H. Johnson <robbat2@gentoo.org>
1702 Date:   Wed Apr 22 12:53:06 2015 -0700
1703
1704     rgw: improve content-length env var handling
1705     
1706     The FastCGI specification, section 6.3 on Authorizers, describes a case
1707     where HTTP_CONTENT_LENGTH will be set in the environment and
1708     CONTENT_LENGTH will NOT be set.
1709     
1710     Further documention in the code.
1711     
1712     Fixes: #11419
1713     Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
1714     (cherry picked from commit 3e38eab44bfb082fdd2b6f29b8b0357f8f5c11bb)
1715
1716 commit 8abc46a157e4c1431a92a1e52ab694dccff5d514
1717 Author: wuxingyi <wuxingyi@letv.com>
1718 Date:   Wed Jun 10 06:57:57 2015 +0000
1719
1720     rgw: fix data corruption when race condition
1721     
1722     We should delete the object in the multipart namespace lastly to prevent a previous upload
1723     wrongly deleting objects belong to the following upload.
1724     
1725     Fixes: #11749
1726     Signed-off-by: wuxingyi <wuxingyi@letv.com>
1727     (cherry picked from commit ac1e729a75b5d995028bbc223bcf5ecce0d112cc)
1728
1729 commit 72ecd522941156c8a7e5303531944b0735dcbeb8
1730 Merge: 59f37a9 d723e11
1731 Author: Abhishek L <abhishekl.2006@gmail.com>
1732 Date:   Wed Jul 1 18:09:46 2015 +0530
1733
1734     Merge pull request #4886 from theanalyst/wip-11737-hammer
1735     
1736     Reviewed-by: Greg Farnum <gfarnum@redhat.com>
1737
1738 commit 59f37a9bafc095181b3f41ec5d93ac58e2cda604
1739 Merge: 53a2143 89d0266
1740 Author: Kefu Chai <tchaikov@gmail.com>
1741 Date:   Sat Jun 27 17:11:11 2015 +0800
1742
1743     Merge pull request #5095 from ceph/wip-fix-doc-hammer
1744     
1745     doc: fix doc build
1746     
1747     Reviewed-by: Loic Dachary <ldachary@redhat.com>
1748
1749 commit 89d0266a60729d5d9747867e8c30abf71a891231
1750 Author: Kefu Chai <kchai@redhat.com>
1751 Date:   Sat Jun 27 14:44:55 2015 +0800
1752
1753     doc: add the corresponding @endcond command for @cond
1754     
1755     * they are used to applease asphyxiate, as it
1756       is not able to handle "enum" sections
1757     
1758     Signed-off-by: Kefu Chai <kchai@redhat.com>
1759
1760 commit 2aa77b33a97e5a3ca134c9c555aa6e7a69ef50f7
1761 Author: Kefu Chai <kchai@redhat.com>
1762 Date:   Sat Jun 27 14:43:01 2015 +0800
1763
1764     doc: remove orphan: directive in ceph-create-keys.rst
1765     
1766     * it is used to silence the sphinx warning, but conf.py
1767       does not like it.
1768     
1769     Signed-off-by: Kefu Chai <kchai@redhat.com>
1770
1771 commit ad66e40e8bd598da7c9738cb44abb543008c90a3
1772 Author: Kefu Chai <kchai@redhat.com>
1773 Date:   Sat Jun 27 14:41:59 2015 +0800
1774
1775     doc: let doxygen ignore src/tracing
1776     
1777     Signed-off-by: Kefu Chai <kchai@redhat.com>
1778
1779 commit 53a2143eb7e549de1185b01ed0bde841ffa5235a
1780 Merge: 6f7cd04 bfb1442
1781 Author: Samuel Just <sam.just@inktank.com>
1782 Date:   Fri Jun 26 14:19:40 2015 -0700
1783
1784     Merge pull request #4902 from theanalyst/wip-11908-hammer
1785     
1786     Fixes for rados ops with snaps
1787     
1788     Reviewed-by: Samuel Just <sjust@redhat.com>
1789
1790 commit 6f7cd0460d5729c15966119e0177ddc56a361d8e
1791 Merge: 78d894a 356bd2c
1792 Author: Loic Dachary <loic@dachary.org>
1793 Date:   Thu Jun 25 20:03:42 2015 -0400
1794
1795     Merge pull request #5069 from dachary/wip-11806-hammer
1796     
1797     ceph / ceph-dbg steal ceph-objecstore-tool from ceph-test / ceph-test-dbg
1798     
1799     Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
1800
1801 commit 356bd2c68ca730e766d06c46a0364784f5d72275
1802 Author: Loic Dachary <ldachary@redhat.com>
1803 Date:   Wed Jun 24 14:58:47 2015 -0400
1804
1805     debian: ceph-dbg steals ceph-objectstore-tool from ceph-test-dbg (take 2)
1806     
1807     968573b8930a7c8485bf53e3a989ce2f7d0a2fff incorrectly backported
1808     6f11fbf41fab10924b1e0e41fcf27864779d4073. It should instead reflect that
1809     ceph-dbg in 0.94.2 and above will break ceph-test-dbg in all versions
1810     prior to 0.94.2.
1811     
1812     In other words, 0.94-XXXX being lower than 0.94.1, upgrading from
1813     0.94.1 to 0.94.2 will not notice that ceph-dbg breaks ceph-test-dbg.
1814     
1815     $ dpkg --compare-versions 0.94-XXXX lt 0.94.1 && echo yes || echo no
1816     yes
1817     $ dpkg --compare-versions 0.94.2 lt 0.94.1-xxx && echo yes || echo no
1818     no
1819     
1820     http://tracker.ceph.com/issues/11806 Fixes: #11806
1821     
1822     Signed-off-by: Loic Dachary <loic@dachary.org>
1823
1824 commit c5c627fdd3de669ee94ab7ecd6939c29a4a68011
1825 Author: wuxingyi <wuxingyi2015@outlook.com>
1826 Date:   Wed Mar 11 17:34:40 2015 +0800
1827
1828     rgw/logrotate.conf: Rename service name
1829     
1830     The service name for ceph rados gateway was changed to "ceph-radosgw",
1831     the previous version of service name "radosgw" would cause a failed reload,
1832     and finally make it impossible to write any log data to the log file.
1833     
1834     Signed-off-by: wuxingyi <wuxingyi2015@outlook.com>
1835     (cherry picked from commit 9df3f798179481fe8ae6ae873dcb793de7d8f367)
1836
1837 commit 582cf731e05baabd2cd79567af89d7f005c24925 (refs/remotes/gh/wip-12109-hammer)
1838 Author: Jason Dillaman <dillaman@redhat.com>
1839 Date:   Tue May 5 13:08:21 2015 -0400
1840
1841     tests: add librbd watch/notify version compatibility test
1842     
1843     Fixes: #11405
1844     Backport: hammer
1845     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1846     (cherry picked from commit 41e4cbe032e32762e3a9e8bc3eff8ece19f91a54)
1847
1848 commit 43b9aef11c1281d8b83b659a523dba365d79add4
1849 Author: Jason Dillaman <dillaman@redhat.com>
1850 Date:   Tue May 5 11:22:55 2015 -0400
1851
1852     qa/workunits/rbd: add notify_master/slave bootstrap scripts
1853     
1854     Backport: hammer
1855     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1856     (cherry picked from commit 124b1d3d2d0dbd685bbd717856d29b316e62e660)
1857
1858 commit f995fb50d3d7734161fa498db9e204eaded651b6
1859 Author: Jason Dillaman <dillaman@redhat.com>
1860 Date:   Tue May 5 10:34:48 2015 -0400
1861
1862     qa/workunits/rbd: add new test_librbd_api workunit
1863     
1864     This only tests the public librbd API for use during upgrade tests.
1865     
1866     Backport: hammer
1867     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1868     (cherry picked from commit 9039955f42d01044cfcf20c56ca2181e51c317ee)
1869
1870 commit a09da2a2c6c12c6bf2f8e17f2096b3ab24587007
1871 Author: Jason Dillaman <dillaman@redhat.com>
1872 Date:   Tue May 5 10:27:38 2015 -0400
1873
1874     tests: create librbd API-only integration test suite
1875     
1876     The QA client-upgrade test suite requires a librbd test
1877     that is dynamically linked to librbd.  Since the current
1878     ceph_test_librbd includes tests against the non-public API,
1879     it is statically linked against librbd and thus cannot be
1880     used to test a client upgrade scenario.
1881     
1882     Backport: hammer
1883     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
1884     (cherry picked from commit 6fe94c8cbb924c31c1007e2d0c76f28ce9dbca57)
1885
1886 commit e149916cd40a58ce5db5f63a2b4efd82a8c4e1ba
1887 Author: Owen Synge <osynge@suse.com>
1888 Date:   Tue Apr 21 11:31:24 2015 +0200
1889
1890     Increase max files open limit for OSD daemon.
1891     
1892     Under heavy load the number of file descriptors opened
1893     by the OSD can go beyond the 64K file limit. This patch
1894     increases the default to 128K.
1895     
1896     Signed-off-by: Owen Synge <osynge@suse.com>
1897     (cherry picked from commit ebda4ba1c67172852587e47a8e6fb538809a1b1c)
1898
1899 commit 22f58ce2665f1ea6b38f6016dc585202a4595322
1900 Author: Sage Weil <sage@redhat.com>
1901 Date:   Mon Jun 1 15:10:14 2015 -0700
1902
1903     Makefile: install ceph-post-file keys with mode 600
1904     
1905     Otherwise ssh (may) prompt for a password.
1906     
1907     Signed-off-by: Sage Weil <sage@redhat.com>
1908     (cherry picked from commit 106a1c3081d02446aa3d8e13865da0c3393bae90)
1909
1910 commit 3e65a10bd2351744da199a4b076659191b4378a2
1911 Author: Joseph McDonald <joseph.mcdonald@alcatel-lucent.com>
1912 Date:   Mon Jun 1 15:05:32 2015 -0700
1913
1914     ceph-post-file: improve check for a source install
1915     
1916     Signed-off-by: Joseph McDonald <joseph.mcdonald@alcatel-lucent.com>
1917     (cherry picked from commit ee170eadcdcb4b54d36a7d474558484de9d917eb)
1918
1919 commit c1f6743940250b04ae6dbea30d8805571add39b6
1920 Author: Joseph McDonald <joseph.mcdonald@alcatel-lucent.com>
1921 Date:   Mon Jun 1 15:00:39 2015 -0700
1922
1923     ceph-post-file: behave when sftp doesn't take -i
1924     
1925     Fixes: #11836
1926     Signed-off-by: Joseph McDonald <joseph.mcdonald@alcatel-lucent.com>
1927     (cherry picked from commit b84031ed5eaace1222e14d3c4076a3ab1155da96)
1928
1929 commit 38d36b1174160ad104704aaa7ff5290d1ec3e782
1930 Author: Tim Serong <tserong@suse.com>
1931 Date:   Thu Apr 30 10:55:38 2015 +1000
1932
1933     packaging: move SuSEfirewall2 templates out of src
1934     
1935     Better to have static config like this that needs to be installed in
1936     /etc in a separate subdirectory of the project.
1937     
1938     Signed-off-by: Tim Serong <tserong@suse.com>
1939     (cherry picked from commit 70292658d5febb6c5f94af4df9c3e93551772d12)
1940
1941 commit 24bc9f2c58ca78c8023935b8b69f8b01adbc11af
1942 Author: Tim Serong <tserong@suse.com>
1943 Date:   Wed Apr 29 13:12:38 2015 +1000
1944
1945     packaging: add SuSEfirewall2 service files
1946     
1947     This adds SuSEfirewall2 service files for Ceph MON, OSD and MDS, for use
1948     on SLES and openSUSE.  The MON template opens port 6789 and the OSD/MDS
1949     template opens the range 6800-7300 as per
1950     http://docs.ceph.com/docs/master/rados/configuration/network-config-ref/
1951     
1952     Signed-off-by: Tim Serong <tserong@suse.com>
1953     (cherry picked from commit 77685f5b787c56bcb1c4d9f1e058e25312fa62fe)
1954
1955 commit 8acfb994f22efa07beeecccda300cbd50d683566
1956 Author: Owen Synge <osynge@suse.com>
1957 Date:   Thu May 7 12:02:41 2015 +0200
1958
1959     Bug fix to ceph systemV compatability script.
1960     
1961     Was failing with more than one OSD / MON deamon on a single node.
1962     Fixes suse bugzilla #927862
1963     
1964     Signed-off-by: Owen Synge <osynge@suse.com>
1965     (cherry picked from commit dfda3ff8741fcdbac3150456ca7614cf75ef1776)
1966
1967 commit bd3fd929e6f95e6d9840317aa3ac02f52711c94b
1968 Author: Owen Synge <osynge@suse.com>
1969 Date:   Thu Jun 18 14:16:03 2015 +0200
1970
1971     Fixes to rcceph script
1972     
1973      - only start OSDs if mon daemons are also present
1974      - adds support for mask and unmask
1975      - removes support for cluster with non default cluster name,
1976        as this was very limited and inconsistent
1977      - Reapplied from a patch as could not cherry-pick
1978        66cb46c411d874be009c225450eea5021cf1219b from Mon Jan 12
1979        as this produced issues with src/gmock
1980     
1981     Signed-off-by: Owen Synge <osynge@suse.com>
1982     (cherry picked from commit bfa0c4a626fdbb2bf978ccfab783ac428156144b)
1983
1984 commit 37d77d3680d2c8adda35eddf9625a331a45ece11
1985 Author: Owen Synge <osynge@suse.com>
1986 Date:   Tue Apr 21 11:31:24 2015 +0200
1987
1988     Increase max files open limit for OSD daemon.
1989     
1990     Under heavy load the number of file descriptors opened
1991     by the OSD can go beyond the 64K file limit. This patch
1992     increases the default to 128K.
1993     
1994     Signed-off-by: Owen Synge <osynge@suse.com>
1995     (cherry picked from commit ebda4ba1c67172852587e47a8e6fb538809a1b1c)
1996
1997 commit 78d894a634d727a9367f809a1f57234e5e6935be
1998 Author: Sage Weil <sage@redhat.com>
1999 Date:   Wed Jun 17 09:35:28 2015 -0700
2000
2001     qa/workunits/rados/test-upgarde-v9.0.1: fix exclude syntax
2002     
2003     It's -, then a list of all exclusions separated by :.  There are just 2.
2004     
2005     Signed-off-by: Sage Weil <sage@redhat.com>
2006
2007 commit 3e8d60a80ce31860eac76a1f6489a35e1795a0c0
2008 Author: Sage Weil <sage@redhat.com>
2009 Date:   Tue Jun 16 21:05:29 2015 -0700
2010
2011     qa/workunits/rados/test-upgrade-v9.0.1: skip one more evict test
2012     
2013     Signed-off-by: Sage Weil <sage@redhat.com>
2014
2015 commit 348a3d3c9880e7d022e71a2faafe51c8f771406e
2016 Author: Josh Durgin <jdurgin@redhat.com>
2017 Date:   Mon Jun 15 15:12:43 2015 -0700
2018
2019     qa: add compatibility filtered rados api tests for upgrades
2020     
2021     Post-9.0.1, the evict op returns success when an object doesn't exist
2022     in the cache tier. Skip the tests that are incompatible across
2023     versions.
2024     
2025     Fixes: #11548
2026     Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2027
2028 commit d2b80966b8f74de818a671c90b4c821a4b0782db
2029 Merge: 70bba62 f68bf94
2030 Author: Sage Weil <sage@redhat.com>
2031 Date:   Mon Jun 15 12:38:57 2015 -0700
2032
2033     Merge pull request #4961 from ceph/wip-11493-hammer
2034     
2035     backport 11493 fixes, and test, prevetning ec cache pools
2036     
2037     Reviewed-by: Samuel Just <sjust@redhat.com>
2038
2039 commit f68bf94e370fb11a3047ec2762a972a0b7a7c0bb
2040 Author: Samuel Just <sjust@redhat.com>
2041 Date:   Fri May 15 13:05:40 2015 -0700
2042
2043     OSDMonitor: disallow ec pools as tiers
2044     
2045     Fixes: 11650
2046     Signed-off-by: Samuel Just <sjust@redhat.com>
2047     (cherry picked from commit 11b7801bb57cb25cd2d26d58722d49691747725b)
2048
2049 commit 13c8d58da1303cc68d99da19f79d625f91f99d43
2050 Author: Sage Weil <sage@redhat.com>
2051 Date:   Wed Apr 29 12:34:25 2015 -0700
2052
2053     mon: prevent pool with snapshot state from being used as a tier
2054     
2055     If we add a pool with snap state as a tier the snap state gets clobbered
2056     by OSDMap::Incremental::propogate_snaps_to_tiers(), and may prevent OSDs
2057     from starting.  Disallow this.
2058     
2059     Include a test.
2060     
2061     Fixes: #11493
2062     Backport: hammer, giant, firefly
2063     Signed-off-by: Sage Weil <sage@redhat.com>
2064     (cherry picked from commit bbec53edf9e585af4e20bbc9ba9057d6fdfda342)
2065
2066 commit 58e62662f6ef04ac76470090d1d958467e34194a
2067 Author: Samuel Just <sjust@redhat.com>
2068 Date:   Fri May 8 10:26:48 2015 -0700
2069
2070     test/librados/tier.cc: destroy and recreate cache pool on every test
2071     
2072     Namespaces are not sufficient with the checks for 11493 in the mon.
2073     
2074     Signed-off-by: Samuel Just <sjust@redhat.com>
2075     (cherry picked from commit bef09e0cdb274cb1c87335a2af9ee532d14a4596)
2076
2077 commit 70bba6226a64090dcf41cd90b23fdf5aed8cd0ca (refs/remotes/jashan/hammer)
2078 Merge: 3b6977b 5a60a03
2079 Author: Loic Dachary <loic@dachary.org>
2080 Date:   Mon Jun 15 17:26:07 2015 +0200
2081
2082     Merge pull request #4846 from SUSE/wip-11862-hammer
2083     
2084     missing man pages for ceph-create-keys, ceph-disk-*
2085     
2086     Reviewed-by: Kefu Chai <kchai@redhat.com>
2087     Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2088
2089 commit 3b6977b706dbc99cac25bec1b71a628c398c6ff1
2090 Merge: 5fb8561 3db1026
2091 Author: Sage Weil <sage@redhat.com>
2092 Date:   Thu Jun 11 13:54:35 2015 -0700
2093
2094     Merge pull request #4934 from dachary/wip-releases-hammer
2095     
2096     doc/release-notes: v0.94.2
2097
2098 commit 3db1026f3706e6f5a5c25013cb6646a0298057d8
2099 Author: Sage Weil <sage@redhat.com>
2100 Date:   Wed Jun 10 12:48:41 2015 -0700
2101
2102     doc/release-notes: v0.94.2
2103     
2104     Signed-off-by: Sage Weil <sage@redhat.com>
2105     (cherry picked from commit 306345b29c259ab04a58ed5d40f801645485b29d)
2106     
2107     Conflicts:
2108         doc/release-notes.rst
2109
2110 commit ed5442b1057dcc4fb1f9404c805dabe2bbde2252 (refs/remotes/jashan/wip-11770-hammer, refs/remotes/gh/wip-11770-hammer)
2111 Author: Jason Dillaman <dillaman@redhat.com>
2112 Date:   Tue Jun 2 10:33:35 2015 -0400
2113
2114     tests: verify librbd blocking aio code path
2115     
2116     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2117     (cherry picked from commit 4cf41486e9c9e1efcb863960a8f3e0326ffca7e5)
2118     
2119     Conflicts:
2120         src/test/librbd/test_librbd.cc: trival resolution
2121
2122 commit 20e104869f3d17ce672438144700a4d984d487b4
2123 Author: Jason Dillaman <dillaman@redhat.com>
2124 Date:   Mon Jun 1 22:56:11 2015 -0400
2125
2126     librbd: new rbd_non_blocking_aio config option
2127     
2128     Setting this option to false reverts librbd to legacy behavior
2129     where AIO operations could potentially block.
2130     
2131     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2132     (cherry picked from commit 769cad12716b85d87eacc1069dd9f5c21cad3915)
2133
2134 commit b4571b3e238efc39767f753e0ec1622c8bd6d6e6
2135 Author: Jason Dillaman <dillaman@redhat.com>
2136 Date:   Thu Apr 9 20:34:28 2015 -0400
2137
2138     PendingReleaseNotes: document changes to librbd's aio_read methods
2139     
2140     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2141
2142 commit 9ea1edd0ca9e385f823ad04b05bc887d77aa5136
2143 Author: Jason Dillaman <dillaman@redhat.com>
2144 Date:   Thu Apr 9 13:33:09 2015 -0400
2145
2146     librbd: AioRequest::send no longer returns a result
2147     
2148     The librados calls used by AioRequest::send should always return
2149     zero unless there is a bug.
2150     
2151     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2152     (cherry picked from commit c77bce3311ab62892eb8c1d883263ba7ed663b20)
2153     
2154     Conflicts:
2155         src/librbd/AioRequest.cc: trivial resolution
2156         src/librbd/AsyncFlattenRequest.cc: trivial resolution
2157
2158 commit 272df2aed79a95dd9c45db4e0953e9b321f7b0f5
2159 Author: Jason Dillaman <dillaman@redhat.com>
2160 Date:   Wed Apr 8 21:55:36 2015 -0400
2161
2162     tests: update librbd AIO tests to remove result code
2163     
2164     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2165     (cherry picked from commit 948b15eb52fd5d9ce842fa12ee0cecda17353b01)
2166     
2167     Conflicts:
2168         src/test/librbd/test_internal.cc: trivial resolution
2169         src/test/librbd/test_librbd.cc: trivial resolution
2170
2171 commit dd2e4c13ff6d88edb25f90af62af16ba825c15c9
2172 Author: Jason Dillaman <dillaman@redhat.com>
2173 Date:   Wed Apr 8 21:37:50 2015 -0400
2174
2175     librbd: internal AIO methods no longer return result
2176     
2177     All failures should be returned via the AioCompletion.
2178     
2179     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2180     (cherry picked from commit 9ab42d613128ab08c688ddbea93df4c95068b9cd)
2181     
2182     Conflicts:
2183         src/librbd/AioRequest.cc: trivial resolution
2184         src/librbd/internal.cc: trivial resolution
2185
2186 commit dbd4e293d7124c89a22148e8fa5f425a995c900c
2187 Author: Jason Dillaman <dillaman@redhat.com>
2188 Date:   Wed Apr 8 21:48:21 2015 -0400
2189
2190     Throttle: added pending_error method to SimpleThrottle
2191     
2192     Allow the client of SimpleThrottle to detect an async error
2193     so that it can exit early.
2194     
2195     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2196     (cherry picked from commit b88b88c5df91325fb713c2031a56bffe421268e0)
2197
2198 commit 7df6091a30b1b94d764240262195e971175554b3
2199 Author: Jason Dillaman <dillaman@redhat.com>
2200 Date:   Wed Apr 8 20:18:50 2015 -0400
2201
2202     librbd: add new fail method to AioCompletion
2203     
2204     Helper method to handle passing fatal errors generated within
2205     librbd (not from the OSDs) back to the client.
2206     
2207     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2208     (cherry picked from commit 6d1d0c867855a96bee4c13a0c0a39a0e002ccd12)
2209
2210 commit cf6e1f50ea7b5c2fd6298be77c06ed4765d66611
2211 Author: Jason Dillaman <dillaman@redhat.com>
2212 Date:   Wed Apr 8 19:06:52 2015 -0400
2213
2214     librbd: avoid blocking AIO API methods
2215     
2216     Enqueue all AIO API methods within the new librbd thread pool to
2217     reduce the possibility of any blocking operations. To maintain
2218     backwards compatibility with the legacy return codes of the API's
2219     AIO methods, it's still possible to block attempting to acquire
2220     the snap_lock.
2221     
2222     Fixes: #11056
2223     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2224     (cherry picked from commit 3a7b5e30efdb21aa1a0aeb68a5d02a1ac2a5faf3)
2225
2226 commit e61974aed09a3f81e1f65a4bbaed43e3f22b27b4
2227 Author: Jason Dillaman <dillaman@redhat.com>
2228 Date:   Wed Apr 8 17:24:08 2015 -0400
2229
2230     librbd: add task pool / work queue for requests
2231     
2232     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2233     (cherry picked from commit afb896d91f886b647baf38f7ec94cc3739f6d2a9)
2234     
2235     Conflicts:
2236         src/librbd/ImageCtx.cc: trivial resolution
2237         src/librbd/ImageCtx.h: trivial resolution
2238
2239 commit bfb144268b803340efad29cd6c627b170ea32402
2240 Author: Samuel Just <sjust@redhat.com>
2241 Date:   Wed May 20 16:10:02 2015 -0700
2242
2243     ReplicatedPG::release_op_ctx_locks: requeue in scrub queue if blocked
2244     
2245     Otherwise we can reorder an op around another op which got blocked by a
2246     scrub which started after the first blocked on an obc.
2247     
2248     Fixes: #11691
2249     Signed-off-by: Samuel Just <sjust@redhat.com>
2250     (cherry picked from commit be873eb8da7b29ecefaa5a99b88de7ddcca711ee)
2251
2252 commit c7b6a6370a69149ea94f9e35d536aa90f06e7659
2253 Author: Samuel Just <sjust@redhat.com>
2254 Date:   Tue May 19 10:56:11 2015 -0700
2255
2256     ReplicatedPG::finish_ctx: take excl lock if operation is rw
2257     
2258     Fixes: #11677
2259     Signed-off-by: Samuel Just <sjust@redhat.com>
2260     (cherry picked from commit 5c2b795724423ed484ab451de855ddcfc085342b)
2261
2262 commit 1550a569dab120ce28396fe365565e8e4acd9801
2263 Author: Samuel Just <sjust@redhat.com>
2264 Date:   Thu May 21 12:13:43 2015 -0700
2265
2266     RadosModel: randomly prefix delete with assert_exists
2267     
2268     Signed-off-by: Samuel Just <sjust@redhat.com>
2269     (cherry picked from commit 4fe7d2abdff2fce359e5e992206644cc03825ee0)
2270
2271 commit 4cdc5f7d6b3ec488c79c09cb44a43d4d9398b74c
2272 Author: Samuel Just <sjust@redhat.com>
2273 Date:   Thu May 21 11:36:42 2015 -0700
2274
2275     RadosModel: assert exists on subsequent writes
2276     
2277     Signed-off-by: Samuel Just <sjust@redhat.com>
2278     (cherry picked from commit 121aa3bc612b86281535ac3bcfe98bc99bc99ace)
2279
2280 commit 25c730bda74b94f2c894c508ab09988dbd528c4e
2281 Author: Samuel Just <sjust@redhat.com>
2282 Date:   Tue May 19 10:23:01 2015 -0700
2283
2284     test/librados/snapshots.cc: add test for 11677
2285     
2286     Signed-off-by: Samuel Just <sjust@redhat.com>
2287     (cherry picked from commit c2d17b927f8a222164b3bf2922a4ff337696f566)
2288
2289 commit 3d74164d3d6caaa5099abd9a1d1920482d3e05c2
2290 Author: Samuel Just <sjust@redhat.com>
2291 Date:   Wed May 27 11:14:15 2015 -0700
2292
2293     ReplicatedPG::trim_object: write filtered snapset while we're at it
2294     
2295     If we trimmed an object, we might as well remove the obsolete snaps
2296     as well.
2297     
2298     Signed-off-by: Samuel Just <sjust@redhat.com>
2299     (cherry picked from commit 90eb7768f99ea249952df195a844a3a7c9a59b78)
2300
2301 commit a1161540bc0094a951021d4ca651b95ec045213e
2302 Author: Samuel Just <sjust@redhat.com>
2303 Date:   Wed May 27 11:00:54 2015 -0700
2304
2305     ReplicatedPG: start_flush: use filtered snapset
2306     
2307     Otherwise, we might send our deletes based on deleted snaps.  This is
2308     problematic since we may have trimmed the clones to which those snaps
2309     belong, causing us to send them at an earlier snap than we used before.
2310     
2311     The specific situation was
2312     
2313     78:[78, 70, 63, 5a, 58, 57]:[64(63), 58(58, 57)]
2314     
2315     with 58 already clean.  To flush 64, we send:
2316     
2317     delete@58
2318     delete@59
2319     copyfrom@62
2320     
2321     Then, snap 63 is trimmed leaving us with a snapset of:
2322     
2323     78:[78, 70, 63, 5a, 58, 57]:[58(58, 57)]
2324     
2325     since trim_object doesn't filter the head object snapset snaps.  This
2326     isn't really a bug since in general all snapset users must be aware
2327     that there may be trimmed snaps in snapset::snaps.  However, here
2328     it becomes a problem when we go to flush head:
2329     
2330     delete@58 -- ignored due to snapc
2331     delete@59 -- ignored due to snapc
2332     copyfrom@78 -- not ignored
2333     
2334     The base pool head is at snap seq 62, so it clones that value into
2335     clone 78(78, 70) instead of forgetting it.  What should have happened
2336     is that we should have based our flushes on filtered snapset:
2337     
2338     78:[78, 70, 58, 57]:[58(58, 57)]
2339     
2340     Causing us to instead send:
2341     
2342     delete@58 -- ignored due to snapc
2343     delete@69 -- not ignored, causes no clone to be made
2344     copyfrom@78 -- not ignored, updates head such that a subsequent clone
2345     will leave 70 out of the clone snaps vector.
2346     
2347     Fixes: 11787
2348     Signed-off-by: Samuel Just <sjust@redhat.com>
2349     (cherry picked from commit 6051e255ac062985ada1989edb7f23cd750915e2)
2350
2351 commit 82988d611bad6226138b94590275faadbca3554a
2352 Author: islepnev <islepnev@gmail.com>
2353 Date:   Fri Apr 17 22:33:01 2015 +0300
2354
2355     ceph-disk: support NVMe device partitions
2356     
2357     Linux nvme kernel module v0.9 enumerate devices as following:
2358     
2359     /dev/nvme0 - characted revice
2360     /dev/nvme0n1 - whole block device
2361     /dev/nvme0n1p1 - first partition
2362     /dev/nvme0n1p2 - second partition
2363     
2364     http://tracker.ceph.com/issues/11612 Fixes: #11612
2365     
2366     Signed-off-by: Ilja Slepnev <islepnev@gmail.com>
2367     (cherry picked from commit 9b62cf254d02d30609793be8b1cb8a94f38891f1)
2368
2369 commit bd91fb027ab91d487b1d61d25516c13590735d89
2370 Author: Sage Weil <sage@redhat.com>
2371 Date:   Tue May 12 16:37:56 2015 -0700
2372
2373     mon: prevent bucket deletion when referenced by a rule
2374     
2375     If a rule references a bucket with 'take', prevent deletion.
2376     
2377     Fixes: #11602
2378     Signed-off-by: Sage Weil <sage@redhat.com>
2379     (cherry picked from commit 3d591afef90b0601572c748f13faac029d05f5a0)
2380
2381 commit 56565ee1cdb06a7705d1c3f26f5592b10399324a
2382 Author: Sage Weil <sage@redhat.com>
2383 Date:   Tue May 12 14:03:49 2015 -0700
2384
2385     crush: fix crash from invalid 'take' argument
2386     
2387     Verify that the 'take' argument is a valid device or bucket.  Otherwise,
2388     ignore it (do not add the value to the working vector).
2389     
2390     Backport: hammer, firefly
2391     Fixes: #11602
2392     Reported-by: shiva rkreddy <shiva.rkreddy@gmail.com>
2393     Signed-off-by: Sage Weil <sage@redhat.com>
2394     (cherry picked from commit 9324d0a1af61e1c234cc48e2175b4e6320fff8f4)
2395
2396 commit 1440122d61d5b0a3f8360f4e2101db1018109799
2397 Author: Kefu Chai <kchai@redhat.com>
2398 Date:   Wed Apr 29 03:28:18 2015 -0700
2399
2400     common/config: detect overflow of float values
2401     
2402     Signed-off-by: Kefu Chai <kchai@redhat.com>
2403     (cherry picked from commit 1ff409ef8d022a1a84d034bd3db976c4d769e993)
2404
2405 commit 9b947fa320b77e0055a581005353c2561a12a198
2406 Author: Kefu Chai <kchai@redhat.com>
2407 Date:   Wed Apr 29 15:41:08 2015 +0800
2408
2409     common/config: detect overflow of int values
2410     
2411     * #include "strtol.h" in strtol.cc, to ensure the function defintions
2412       are consistent.
2413     * add a test accordingly
2414     * fix the testcase of converting 1024E.
2415     * do not accept integers overflow after adding SI suffix
2416     * do not accept integers underflow (i.e. negative values)
2417     
2418     Fixes: #11484
2419     Signed-off-by: Kefu Chai <kchai@redhat.com>
2420     (cherry picked from commit d62f80dc7b25d312ff05b65b7be854aae15b66a8)
2421
2422 commit d723e1156e70a492d633e43b86e7c373e5750065
2423 Author: Yan, Zheng <zyan@redhat.com>
2424 Date:   Tue May 12 14:52:30 2015 +0800
2425
2426     mds: clear CDir::STATE_REJOINUNDEF after fetching dirfrag
2427     
2428     Fixes: #11541
2429     Signed-off-by: Yan, Zheng <zyan@redhat.com>
2430     (cherry picked from commit ab1e5394dc778f6799472bd79a4d9ba7197107c2)
2431
2432 commit 54f4e7d4a534448293c74612f8140cf34b9cf9f8
2433 Author: Javier M. Mellid <jmunhoz@igalia.com>
2434 Date:   Fri May 15 14:22:29 2015 +0200
2435
2436     rgw: Use attrs from source bucket on copy
2437     
2438     On copy objects, when bucket source is the same as the destination, use attrs
2439     from source bucket.
2440     
2441     Fixes: #11639
2442     
2443     Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
2444     (cherry picked from commit 1dac80df1d4a2364154ed8b404d13609936c257b)
2445
2446 commit 9dfef6004d208af3730634796aad199391707826
2447 Author: Anton Aksola <anton.aksola@nebula.fi>
2448 Date:   Fri Apr 10 13:25:21 2015 +0300
2449
2450     rgw: always check if token is expired
2451     
2452     Fixes: #11367
2453     
2454     Currently token expiration is only checked by the token cache. With PKI
2455     tokens no expiration check is done after decoding the token. This causes
2456     PKI tokens to be valid indefinitely. UUID tokens are validated by
2457     keystone after cache miss so they are not affected by this bug.
2458     
2459     This commit adds explicit token expiration check to
2460     RGWSwift::validate_keystone_token()
2461     
2462     Signed-off-by: Anton Aksola <anton.aksola@nebula.fi>
2463     Reported-by: Riku Lehto <riku.lehto@nexetic.com>
2464     (cherry picked from commit 2df069390ea3bbcfbab5022750e89f51d197cc11)
2465
2466 commit fdb43ebe2b1211acdb454836a64dbd589feeef45
2467 Author: Nathan Cutler <ncutler@suse.cz>
2468 Date:   Fri May 15 21:43:34 2015 +0200
2469
2470     ceph.spec.in: tweak ceph-common for SUSE/openSUSE
2471     
2472     ceph-common needs python-argparse in SUSE/openSUSE and
2473     needs redhat-lsb-core only in RHEL/CentOS/Fedora.
2474     
2475     http://tracker.ceph.com/issues/11638 Fixes: #11638
2476     
2477     Signed-off-by: Nathan Cutler <ncutler@suse.cz>
2478     (cherry picked from commit 363d957d8fdd15a1674befbd8e485fd89b76d716)
2479
2480 commit ba1a0167cc809081eda7e6cc9ecfb971e439d696
2481 Author: John Spray <john.spray@redhat.com>
2482 Date:   Wed Jun 3 10:09:09 2015 +0100
2483
2484     admin/build-doc: fix dependency checks
2485     
2486     http://tracker.ceph.com/issues/11857 Fixes: #11857
2487     
2488     Signed-off-by: John Spray <john.spray@redhat.com>
2489     (cherry picked from commit 539c1ba7211f579bad4f59ae824f1e68e620ecbd)
2490     
2491     Conflicts:
2492         admin/build-doc
2493                 Insert lines at appropriate spot
2494
2495 commit 5a60a034bf3015eaf468e5e3f9d8feb08b8fdd95
2496 Author: Nathan Cutler <ncutler@suse.com>
2497 Date:   Wed Jun 3 10:41:27 2015 +0200
2498
2499     man/ceph-create-keys.8: add missing file
2500     
2501     This is the generated manpage, taken from a local build of master
2502     
2503     Signed-off-by: Nathan Cutler <ncutler@suse.com>
2504     (cherry picked from commit bcda61fcbe07ee36cd5172d80018f287591660ec)
2505
2506 commit 19305b897ac147602049752a2dfbe1fd39ba562c
2507 Author: Kefu Chai <kchai@redhat.com>
2508 Date:   Tue Apr 21 14:59:32 2015 +0800
2509
2510     doc: add ceph-create-keys.8
2511     
2512     Fixes: #10725
2513     Signed-off-by: Kefu Chai <kchai@redhat.com>
2514     (cherry picked from commit 27cee2f1f46a9f47cda9dfeb56ff1259e982960c)
2515     
2516     Conflicts:
2517         doc/man/8/ceph-create-keys.rst
2518         Includes fixes from https://github.com/ceph/ceph/pull/4855
2519
2520 commit ffd0933dcc790d7cedc1048b664bf4e8c40464a3
2521 Author: Jason Dillaman <dillaman@redhat.com>
2522 Date:   Mon May 11 17:05:49 2015 -0400
2523
2524     WorkQueue: added virtual destructor
2525     
2526     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2527     (cherry picked from commit b3f5a75332c058816dc39b71e9d2b36e752159f4)
2528
2529 commit a28adfbdd8abc86e7766c303bc610c0c252910f7
2530 Author: Jason Dillaman <dillaman@redhat.com>
2531 Date:   Wed Apr 8 16:46:34 2015 -0400
2532
2533     WorkQueue: add new ContextWQ work queue
2534     
2535     The queue holds a collection of Context pointers that will
2536     be completed by the thread pool.
2537     
2538     Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2539     (cherry picked from commit 24a33e977f7b71962adeeb48f75d488a76e70fa9)
2540
2541 commit 1a321e477effa23bffbb6cb057aa955586197345
2542 Author: Wido den Hollander <wido@42on.com>
2543 Date:   Wed Jun 3 13:13:33 2015 +0200
2544
2545     rgw: Do not enclose the Bucket header in quotes
2546     
2547     Fixes: #11860
2548     Signed-off-by: Wido den Hollander <wido@42on.com>
2549     (cherry picked from commit 8af25faed93fe02d3dad585b8579ce8b041cc4e6)
2550
2551 commit a62c3aa1df9e0f79ac75d94083d10b902dbba382
2552 Author: Kefu Chai <kchai@redhat.com>
2553 Date:   Fri Apr 24 14:04:30 2015 +0800
2554
2555     ceph.in: handle unknown Exception correctly
2556     
2557     * in case parse_cmdargs() throws
2558     
2559     Signed-off-by: Kefu Chai <kchai@redhat.com>
2560     (cherry picked from commit 7789eefc01deb9ca7fe90f5521aece3e36c3c350)
2561
2562 commit cc7f7441c1d0457e840bfdc3413f9bc6d5f5134a
2563 Author: Kefu Chai <kchai@redhat.com>
2564 Date:   Fri Apr 24 01:27:44 2015 +0800
2565
2566     ceph.in: improve the interactive mode
2567     
2568     * if ceph is not reading from a tty, expect EOF instead of "quit"
2569       as the end of input.
2570     * do not panic at seeing the EOF
2571     * update the test case test_mon_injectargs_SI(). since we disables
2572       "ceph injectargs <args,...>" in a458bd83, in which the arguments
2573       of "injectargs" are supposed to be consumed by "tell" instead.
2574       so "ceph injectargs ..." is taken as an incomplete command, and
2575       this command will bring ceph cli into the interactive mode,
2576       redirecting its stdin to /dev/null helps ceph cli quit the loop,
2577       but in a way of throwing EOFError exception. this change handles
2578       the EOF, so the "ceph injectargs ..." does not throws anymore.
2579       but the side effect is that the test fails since it expects a
2580       non-zero return code. so replace it with an equivalent "tell"
2581       command which also fails but due to the non-SI postfix.
2582     
2583     Signed-off-by: Kefu Chai <kchai@redhat.com>
2584     (cherry picked from commit da9d2b4077ab1dceeed979ab71f0d9ed59b14266)
2585
2586 commit eb26388cb985456e8f6e07a52a20fa912cf4efaa
2587 Author: Kefu Chai <kchai@redhat.com>
2588 Date:   Fri Apr 24 00:50:37 2015 +0800
2589
2590     ceph.in: parse quote correctly in interactive mode
2591     
2592     Fixes: #11279
2593     Signed-off-by: Kefu Chai <kchai@redhat.com>
2594     (cherry picked from commit bc7d8c99d2e16a141a8b575281ba12c67628dac3)
2595
2596 commit 558d6391ecdfd5d716558341ce5d84ce1f7ec9c3
2597 Author: Kefu Chai <kchai@redhat.com>
2598 Date:   Fri May 8 12:01:16 2015 +0800
2599
2600     json_sprit: fix the FTBFS on old gcc
2601     
2602     Fixes: #11574
2603     Signed-off-by: Kefu Chai <kchai@redhat.com>
2604     (cherry picked from commit 6b68b27146852f057a3373cd04b08cd6917f3eea)
2605
2606 commit 678b3e6082729698ce3575ba70313dd8399b1aed
2607 Author: Tim Serong <tserong@suse.com>
2608 Date:   Sat May 2 01:59:53 2015 +1000
2609
2610     json_spirit: use utf8 intenally when parsing \uHHHH
2611     
2612     When the python CLI is given non-ASCII characters, it converts them to
2613     \uHHHH escapes in JSON.  json_spirit parses these internally into 16 bit
2614     characters, which could only work if json_spirit were built to use
2615     std::wstring, which it isn't; it's using std::string, so the high byte
2616     ends up being zero'd, leaving the low byte which is effectively garbage.
2617     
2618     This hack^H^H^H^H change makes json_spirit convert to utf8 internally
2619     instead, which can be stored just fine inside a std::string.
2620     
2621     Note that this implementation still assumes \uHHHH escapes are four hex
2622     digits, so it'll only cope with characters in the Basic Multilingual
2623     Plane.  Still, that's rather a lot more characters than it could cope
2624     with before ;)
2625     
2626     (For characters outside the BMP, Python seems to generate escapes in the
2627     form \uHHHHHHHH, i.e. 8 hex digits, which the current implementation
2628     doesn't expect to see)
2629     
2630     Fixes: #7387
2631     
2632     Signed-off-by: Tim Serong <tserong@suse.com>
2633     (cherry picked from commit 8add15b86e7aaef41397ab8fa9e77ee7957eb607)
2634
2635 commit ef6641c0aa47c7f559aa56d7c35a5815afc2ba49
2636 Author: Loic Dachary <ldachary@redhat.com>
2637 Date:   Mon Mar 23 21:26:23 2015 +0100
2638
2639     ceph.spec: update OpenSUSE BuildRequires
2640     
2641     OpenSUSE 13.2 needs libsnappy-devel but not bzip2-devel.
2642     
2643     Signed-off-by: Loic Dachary <ldachary@redhat.com>
2644     (cherry picked from commit bdac3dc3fb189688af52f60b0b34339dd8fea251)
2645
2646 commit 0b6d4427ac7234fd509a9541adf45e303e40cb16 (refs/remotes/jashan/wip-hammer-11535-admin-socket, refs/remotes/gh/wip-hammer-11535-admin-socket)
2647 Author: Jon Bernard <jbernard@tuxion.com>
2648 Date:   Fri May 8 11:54:06 2015 -0400
2649
2650     common/admin_socket: close socket descriptor in destructor
2651     
2652     Long-running processes that do not reuse a single client connection will
2653     see accumulating file descriptors as a result of not closing the
2654     listening socket.  In this case, eventually the system will reach
2655     file-max and subsequent connections will fail.
2656     
2657     Fixes: #11535
2658     
2659     Signed-off-by: Jon Bernard <jbernard@tuxion.com>
2660     (cherry picked from commit 88fabb1ee6cd3c7d211ca46919055195e32245db)