Commit Graph

45286 Commits

Author SHA1 Message Date
John Coyle
cb2d4540d6 rgw/rgw_resolve: musl libc does not implement res_nquery. Added fallback to res_query.
res_query in musl libc is thread safe. Added a WITH_THREAD_SAFE_RES_QUERY cmake build option to disable default res_query lock.

Signed-off-by: John Coyle <dx9err@gmail.com>
2015-10-27 09:57:47 -04:00
Kefu Chai
89b2b9b5c0 Merge pull request #6285 from dx9/wip-12406-envz
drop envz.h includes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-10-21 10:35:55 +08:00
Gregory Farnum
d763555233 Merge pull request #6301 from dx9/wip-12406-ditch-loff_t-for-off_t
libcephfs: Improve portability by replacing loff_t type usage with off_t

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-10-20 13:44:58 -07:00
David Zafman
6e002c6549 Merge pull request #6196 from guangyy/wip-12754
osd: auto repair EC pool

Reviewed-by: David Zafman <dzafman@redhat.com>
2015-10-20 11:11:00 -07:00
Sage Weil
29fdadc4e6 Merge pull request #6174 from liewegas/wip-13345
fix MOSDOp encoding

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-10-20 10:33:25 -04:00
Sage Weil
0278f5f725 doc/release-notes: drop 0.94.4 plaintext
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-19 17:31:04 -04:00
Sage Weil
5f8ba743ea doc/releases: fix 0.94.4 link
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-19 17:29:01 -04:00
Sage Weil
49d3367fde doc/release-notes: final v0.94.4 notes
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-19 17:05:31 -04:00
Sage Weil
993f5d437f Merge pull request #6238 from dachary/wip-release-notes
release-notes: draft v0.94.4 release notes
2015-10-19 17:03:15 -04:00
John Wilkins
b0a819530f Merge pull request #6297 from ritz303/wip-doc-13502
doc: Renamed the "Create a Ceph User" section and added verbage about…

Reviewed-by: jowilkin@redhat.com
2015-10-19 09:42:59 -07:00
Loic Dachary
d8a320869f Merge pull request #6311 from liewegas/wip-rocksdb
rocksdb: build with PORTABLE=1

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-10-19 16:21:09 +02:00
Sage Weil
b22690e7d6 os/Makefile: build rocksdb with PORTABLE=1
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-19 10:15:38 -04:00
John Spray
d4a4e442d4 Merge pull request #6282 from dx9/wip-12406-client-flock
client: sys/file.h includes for flock operations

Reviewed-by: John Spray <john.spray@redhat.com>
2015-10-19 11:45:53 +01:00
John Coyle
d6803b8416 drop envz.h includes
Signed-off-by: John Coyle <dx9err@gmail.com>
2015-10-18 21:14:30 -04:00
Sage Weil
0ed9088874 Merge pull request #6216 from dx9/wip-12406-alpine-prefixed-typeof
compat: use prefixed typeof extension

Reviewed-by: Sage Weil <sage@redhat.com>
2015-10-18 21:12:53 -04:00
Sage Weil
ba5100df6e Merge pull request #6279 from branch-predictor/bp-reorder-pglog-fields
osd/PGLog.h: reorder bool fields in PGLog struct

Reviewed-by: Sage Weil <sage@redhat.com>
2015-10-18 21:08:05 -04:00
John Coyle
5e811407be client: sys/file.h includes for flock operations
Signed-off-by: John Coyle <dx9err@gmail.com>
2015-10-18 21:06:59 -04:00
Sage Weil
dc4a69b5ed Merge pull request #6288 from dx9/wip-12406-file-offset-check
libcephfs: only check file offset on glibc platforms

Reviewed-by: John Spray <john.spray@redhat.com>
2015-10-18 21:05:46 -04:00
Sage Weil
58a7d66606 Merge pull request #6294 from dx9/wip-12406-rgw_main-compat
rgw/rgw_main: Added compat header for TEMP_FAILURE_RETRY

Reviewed-by: Sage Weil <sage@redhat.com>
2015-10-18 21:04:51 -04:00
John Coyle
c40754bdb5 compat: use prefixed typeof to support stricter environments
Signed-off-by: John Coyle <dx9err@gmail.com>
2015-10-18 15:27:15 -04:00
John Coyle
1ff3870471 libcephfs: Improve portability by replacing loff_t type usage with off_t. 64-bit behavior on glibc is enforced with __USE_FILE_OFFSET64 compiler error.
Signed-off-by: John Coyle <dx9err@gmail.com>
2015-10-18 14:37:53 -04:00
Sage Weil
08b381e2fc Merge pull request #5219 from ceph/wip-12315-libs-compat-conditional
ceph.spec.in: fix libs-compat / devel-compat conditional

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2015-10-18 14:34:47 -04:00
Sage Weil
f771d4e186 Merge pull request #5917 from caibo2014/fix-tool-makefile
tools:remove duplicate references

Reviewed-by: Sage Weil <sage@redhat.com>
2015-10-18 14:33:32 -04:00
Sage Weil
54745c4c95 Merge pull request #6290 from ceph/wip-rocksdb
rocksdb: use native rocksdb makefile (and our autotools)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-10-18 08:36:21 -04:00
Sage Weil
abde0343ef rocksdb: 4.1
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-17 15:56:18 -04:00
Sage Weil
ba0d2c333d rocksdb: build rocksdb with its own Makefile
This lets us track upstream without mantaining our own autotools fork.

Move back to rocksdb vanilla 3.11.2 (without our autotools patches).

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-17 15:56:18 -04:00
Sage Weil
c1e44293d5 Makefile: link libos.a statically (no .la)
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-17 15:55:30 -04:00
Sage Weil
e8614f8978 Makefile: link mon statically (not .la)
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-17 15:39:03 -04:00
Sage Weil
f86fbdb735 Makefile: make libosd.a static (not .la)
We don't dynamically link the osd.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-17 15:39:03 -04:00
Sage Weil
e10301b518 librados_test_stub: add missing headers
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-17 15:39:03 -04:00
Loic Dachary
8b0f59331a Merge pull request #6272 from zhouyuan/fix_cache_tier_doc
doc: fix outdated content in cache tier

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-10-17 00:12:05 +02:00
ritz303
212157a44c doc: Renamed the "Create a Ceph User" section and added verbage about the "ceph" user
Fixes: #13502

Signed-off-by: ritz303 <ritz_303@yahoo.com>
2015-10-16 15:35:43 -05:00
Guang Yang
e82621345e osd: off-by-one when check deep scrubbing
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
2015-10-16 20:29:49 +00:00
Guang Yang
fde458aa56 test: add integration test for the auto repair feature
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
2015-10-16 20:29:48 +00:00
Guang Yang
8c8e1b7835 pg: add auto-repair for EC pool
Fixes: #12754
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
2015-10-16 20:29:48 +00:00
Guang Yang
1079636a70 pg: only queue for recovery if there is any objects to repair after scrubbing
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
2015-10-16 20:29:48 +00:00
John Coyle
c5600207fb rgw/rgw_main: Added compat header for TEMP_FAILURE_RETRY
Signed-off-by: John Coyle dx9err@gmail.com
2015-10-16 13:38:39 -04:00
Sage Weil
63d868106e Merge remote-tracking branch 'gh/infernalis' 2015-10-16 09:49:09 -04:00
Josh Durgin
28131505b8 Merge pull request #6249 from dillaman/wip-13274-infernalis
LTTng-UST tracing should be dynamically enabled

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-10-15 18:07:09 -04:00
John Coyle
b15c541d8b libcephfs: only check file offset on glibc platforms
Signed-off-by: John Coyle dx9err@gmail.com
2015-10-15 16:10:30 -04:00
Josh Durgin
bc6b8b0091 Merge pull request #6284 from dillaman/wip-13483-infernalis
qa: remove legacy OS support from rbd/qemu-iotests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-10-15 14:43:11 -04:00
Jason Dillaman
661e2a0ef7 qa: remove legacy OS support from rbd/qemu-iotests
RHEL7 derivatives were failing test 002 since they were using
legacy test cases for now unsupported OSes.

Fixes: #13483
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-15 12:44:06 -04:00
Jason Dillaman
7c95c50ecf Merge pull request #6273 from jdurgin/wip-13496
librbd: fix rebuild_object_map() when no object map exists

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2015-10-15 11:40:59 -04:00
Yehuda Sadeh
c55f8d4300 Merge pull request #5335 from zhouyuan/radosgw_admin_secret_key_alias
radosgw-admin: Create --secret-key alias for --secret

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-10-15 08:36:41 -07:00
Sage Weil
1c5623247c Merge pull request #6281 from dachary/wip-releases
doc/release-notes: v9.1.0
2015-10-15 10:12:44 -04:00
Loic Dachary
6a9110152f doc/release-notes: v9.1.0
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-10-15 15:54:47 +02:00
Yan, Zheng
400c50c836 Merge pull request #6275 from dx9/wip-12406-prefixed-ints
client: drop prefix from ints
2015-10-15 20:45:26 +08:00
Piotr Dałek
7f337a7012 osd/PGLog.h: reorder bool fields in PGLog struct
Move bool fields to the bottom (end) of the struct so they are next to
each other. On x86/x64, this change saves 16 bytes per single PGLog struct
due to less bytes wasted for field alignment.

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
2015-10-15 11:46:56 +02:00
Josh Durgin
1fb9fc9d35 librbd: fix rebuild_object_map() when no object map exists
Enabling the object map feature and then attempting to rebuild it
results in an assert failure, since the number of objects was
accidentally passed to ObjectMap::aio_resize() instead of the size of
the image.

Fixes: #13496
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-10-15 00:32:08 -07:00
Jason Dillaman
fb62c78637 ceph_context: remove unsafe cast for singletons
It was previously assumed that a CephContext singleton would
inherit from CephContext::AssociatedSingletonObject, but it was
not enforced.  This could result in unknown behavior when the
singleton is destroyed due to the implied virtual destructor.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-15 00:15:54 -04:00