]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agovstart.sh: grant full access to Swift testing account 6239/head
Yuan Zhou [Tue, 13 Oct 2015 02:58:40 +0000 (10:58 +0800)]
vstart.sh: grant full access to Swift testing account

This makes Swift testing more convinent.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
9 years agoMerge pull request #6224 from vmcloud/wip-13443
Sage Weil [Sun, 25 Oct 2015 20:09:26 +0000 (16:09 -0400)]
Merge pull request #6224 from vmcloud/wip-13443

ceph-fuse: fix log restart timing after fork

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6305 from majianpeng/optimize-get-object-context
Sage Weil [Sun, 25 Oct 2015 16:09:05 +0000 (12:09 -0400)]
Merge pull request #6305 from majianpeng/optimize-get-object-context

osd: optimize ReplicatedPG::get_object_context() SnapContext setup

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6244 from majianpeng/filestore-xattr
Sage Weil [Sun, 25 Oct 2015 16:06:43 +0000 (12:06 -0400)]
Merge pull request #6244 from majianpeng/filestore-xattr

os/FileStore: avoid removexattr call on chain_setxattr when value is known to be small

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6299 from H3C/wip-yrf-malloc
Sage Weil [Sun, 25 Oct 2015 16:04:17 +0000 (12:04 -0400)]
Merge pull request #6299 from H3C/wip-yrf-malloc

osd/tools: avoid unnecessary new and delete ObjectStore::Transaction calls

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6306 from H3C/wip-mon-auth
Sage Weil [Sun, 25 Oct 2015 16:01:28 +0000 (12:01 -0400)]
Merge pull request #6306 from H3C/wip-mon-auth

mon: should not set isvalid = true when cephx_verify_authorizer return false

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoRevert "Speed optimizations. Merged 3 writes into 1."
Sage Weil [Sun, 25 Oct 2015 15:50:20 +0000 (11:50 -0400)]
Revert "Speed optimizations. Merged 3 writes into 1."

This reverts commit 91497e46331b4755b9ff23b7ba11e631d64413ac.

Oops, this is injecting \0 in the log output.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6307 from aclamk/wip-faster-log
Sage Weil [Sun, 25 Oct 2015 15:38:55 +0000 (11:38 -0400)]
Merge pull request #6307 from aclamk/wip-faster-log

log/Log.cc: speed optimizations. Merged 3 writes into 1.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6326 from liewegas/wip-cache-pin-unpin
Sage Weil [Sat, 24 Oct 2015 12:31:16 +0000 (08:31 -0400)]
Merge pull request #6326 from liewegas/wip-cache-pin-unpin

osd: add pin/unpin support to cache tier

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6240 from xiexingguo/xxg-wip-13471
Sage Weil [Sat, 24 Oct 2015 12:30:47 +0000 (08:30 -0400)]
Merge pull request #6240 from xiexingguo/xxg-wip-13471

osd:  primary and up_primary when building a new past_interval

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5954 from rohanmars/wip-rhel59-fixes
Sage Weil [Sat, 24 Oct 2015 12:30:12 +0000 (08:30 -0400)]
Merge pull request #5954 from rohanmars/wip-rhel59-fixes

rhel 5.9 librados compile fix, moved blkid to RBD check/compilation

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6210 from dx9/wip-12406-alpine-string-macro
Sage Weil [Sat, 24 Oct 2015 12:29:58 +0000 (08:29 -0400)]
Merge pull request #6210 from dx9/wip-12406-alpine-string-macro

assert: __STRING macro is not defined by musl libc.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6243 from free-luowei/master
Sage Weil [Sat, 24 Oct 2015 12:29:48 +0000 (08:29 -0400)]
Merge pull request #6243 from free-luowei/master

Init crush_location in Objecter from config file.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6252 from dx9/wip-12406-mallinfo
Sage Weil [Sat, 24 Oct 2015 12:29:16 +0000 (08:29 -0400)]
Merge pull request #6252 from dx9/wip-12406-mallinfo

common/MemoryModel: Added explicit feature check for mallinfo().

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6277 from branch-predictor/bp-pgload-rm-interim-set
Sage Weil [Sat, 24 Oct 2015 12:28:51 +0000 (08:28 -0400)]
Merge pull request #6277 from branch-predictor/bp-pgload-rm-interim-set

osd: drop the interim set from load_pgs()

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6333 from xiexingguo/xxg-wip-13552
Xiaoxi Chen [Fri, 23 Oct 2015 15:30:58 +0000 (23:30 +0800)]
Merge pull request #6333 from xiexingguo/xxg-wip-13552

LFNIndex: remove redundant local variable 'obj'.

9 years agoMerge pull request #6360 from xiexingguo/xxg-wip-13575
Kefu Chai [Fri, 23 Oct 2015 15:05:58 +0000 (23:05 +0800)]
Merge pull request #6360 from xiexingguo/xxg-wip-13575

ReplicatedPG: remove unused local variables

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6342 from dachary/wip-ceph-disk
Loic Dachary [Fri, 23 Oct 2015 11:56:43 +0000 (13:56 +0200)]
Merge pull request #6342 from dachary/wip-ceph-disk

tests: ceph-disk workunit uses configobj

9 years agoReplicatedPG: remove unused local variables 6360/head
xiexingguo [Fri, 23 Oct 2015 07:54:27 +0000 (15:54 +0800)]
ReplicatedPG: remove unused local variables

remove some unused local variables.
Fixes: #13575
Signed-off-by: xie.xingguo@zte.com.cn
9 years agotests: ceph-disk workunit uses configobj 6342/head
Loic Dachary [Wed, 21 Oct 2015 22:21:49 +0000 (00:21 +0200)]
tests: ceph-disk workunit uses configobj

Instead of using augtool to modify the configuration file, use
configobj. It is also used by the install teuthology task. The .ini
lens (puppet lens really) is unable to read ini files created by
configobj.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agotests: ceph-disk workunit uses the ceph task
Loic Dachary [Wed, 21 Oct 2015 23:48:31 +0000 (01:48 +0200)]
tests: ceph-disk workunit uses the ceph task

The ceph-disk workunit deploy keys that are not deployed by default by
the ceph teuthology task.

The OSD created by the ceph task are removed from the default
bucket (via osd rm) so they do not interfere with the tests.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6355 from ritz303/wip-doc-12784
Sage Weil [Thu, 22 Oct 2015 20:18:15 +0000 (16:18 -0400)]
Merge pull request #6355 from ritz303/wip-doc-12784

doc: Updated the OS recommendations for newer Ceph releases

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agodoc: Removed the NOTE section about non-LTS supported distributions 6355/head
ritz303 [Thu, 22 Oct 2015 20:10:19 +0000 (15:10 -0500)]
doc: Removed the NOTE section about non-LTS supported distributions

Fixes: 12784
Signed-off-by: ritz303 <ritz_303@yahoo.com>
9 years agoMerge pull request #6346 from guangyy/rgw-core
Sage Weil [Thu, 22 Oct 2015 17:51:55 +0000 (13:51 -0400)]
Merge pull request #6346 from guangyy/rgw-core

rgw: support core file limit for radosgw daemon

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agodoc: Updated the OS recommendations for newer Ceph releases
ritz303 [Thu, 22 Oct 2015 16:20:49 +0000 (11:20 -0500)]
doc: Updated the OS recommendations for newer Ceph releases

Fixes: 12784
Signed-off-by: ritz303 <ritz_303@yahoo.com>
9 years agoMerge pull request #6343 from dx9/wip-12406-xattr
Kefu Chai [Thu, 22 Oct 2015 10:04:29 +0000 (18:04 +0800)]
Merge pull request #6343 from dx9/wip-12406-xattr

os/chain_xattr: On linux use linux/limits.h for XATTR_NAME_MAX.

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agorgw: support core file limit for radosgw daemon 6346/head
Guang Yang [Thu, 22 Oct 2015 05:33:08 +0000 (05:33 +0000)]
rgw: support core file limit for radosgw daemon

When calling daemon function, the default is to disable the core dump
by setting the core file limit as 0, we provide a configuration in
ceph.conf to explicity configure the core file size.

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
9 years agoos/chain_xattr: On linux use linux/limits.h for XATTR_NAME_MAX. 6343/head
John Coyle [Thu, 22 Oct 2015 00:08:43 +0000 (20:08 -0400)]
os/chain_xattr: On linux use linux/limits.h for XATTR_NAME_MAX.

Signed-off-by: John Coyle <dx9err@gmail.com>
9 years agoLFNIndex: remove redundant local variable 'obj'. 6333/head
xiexingguo [Wed, 21 Oct 2015 06:08:04 +0000 (14:08 +0800)]
LFNIndex: remove redundant local variable 'obj'.

local variable 'obj' in LFNIndex::list_subdirs() never used and shall be removed.
Fixes: #13552
Signed-off-by: xie.xingguo@zte.com.cn
9 years agoMerge pull request #6285 from dx9/wip-12406-envz
Kefu Chai [Wed, 21 Oct 2015 02:35:55 +0000 (10:35 +0800)]
Merge pull request #6285 from dx9/wip-12406-envz

drop envz.h includes

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #6301 from dx9/wip-12406-ditch-loff_t-for-off_t
Gregory Farnum [Tue, 20 Oct 2015 20:44:58 +0000 (13:44 -0700)]
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>
9 years agoMerge pull request #6196 from guangyy/wip-12754
David Zafman [Tue, 20 Oct 2015 18:11:00 +0000 (11:11 -0700)]
Merge pull request #6196 from guangyy/wip-12754

osd: auto repair EC pool

Reviewed-by: David Zafman <dzafman@redhat.com>
9 years agotracing: add tracepoints for cache pin/unpin 6326/head
Zhiqiang Wang [Thu, 18 Jun 2015 08:50:08 +0000 (16:50 +0800)]
tracing: add tracepoints for cache pin/unpin

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd: return ENOENT when object doesn't exist for cache pin/unpin
Zhiqiang Wang [Thu, 18 Jun 2015 07:32:48 +0000 (15:32 +0800)]
osd: return ENOENT when object doesn't exist for cache pin/unpin

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agotest/tier: add test for cache_pin
Zhiqiang Wang [Wed, 15 Apr 2015 14:40:47 +0000 (22:40 +0800)]
test/tier: add test for cache_pin

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agotest/tier: test flush/evict on pinned object
Zhiqiang Wang [Wed, 15 Apr 2015 13:52:12 +0000 (21:52 +0800)]
test/tier: test flush/evict on pinned object

Should return -EINVAL.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd/ReplicatedPG: reject flush/evict ops on pinned objects
Zhiqiang Wang [Wed, 15 Apr 2015 11:02:35 +0000 (19:02 +0800)]
osd/ReplicatedPG: reject flush/evict ops on pinned objects

Return with -EINVAL.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agolibrados: add RADOS C interfaces for pin/unpin object
Zhiqiang Wang [Wed, 11 Mar 2015 08:52:23 +0000 (16:52 +0800)]
librados: add RADOS C interfaces for pin/unpin object

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd: only allow pin/unpin op on the cache tier
Zhiqiang Wang [Wed, 11 Mar 2015 08:12:48 +0000 (16:12 +0800)]
osd: only allow pin/unpin op on the cache tier

Reject the op when the pin/unpin op is not on the cache tier.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd: add num_objects_pinned in object_stat_sum_t
Zhiqiang Wang [Wed, 11 Mar 2015 07:40:57 +0000 (15:40 +0800)]
osd: add num_objects_pinned in object_stat_sum_t

To track the number of objects pinned in a PG.

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd/ReplicatePG: skip flush/evict pinned objects
Zhiqiang Wang [Wed, 11 Mar 2015 06:48:33 +0000 (14:48 +0800)]
osd/ReplicatePG: skip flush/evict pinned objects

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd: force promotion when pin an object in cache tier
Zhiqiang Wang [Wed, 11 Mar 2015 06:29:59 +0000 (14:29 +0800)]
osd: force promotion when pin an object in cache tier

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoosd: add support of pin/unpin objects in cache tier
Zhiqiang Wang [Wed, 11 Mar 2015 04:21:15 +0000 (12:21 +0800)]
osd: add support of pin/unpin objects in cache tier

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agorados: add the support of pin/unpin object in cache tier
Zhiqiang Wang [Wed, 11 Mar 2015 01:15:53 +0000 (09:15 +0800)]
rados: add the support of pin/unpin object in cache tier

Adding two new APIs in librados: cache_pin_object and cache_unpin_object

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoMerge pull request #6174 from liewegas/wip-13345
Sage Weil [Tue, 20 Oct 2015 14:33:25 +0000 (10:33 -0400)]
Merge pull request #6174 from liewegas/wip-13345

fix MOSDOp encoding

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agodoc/release-notes: drop 0.94.4 plaintext
Sage Weil [Mon, 19 Oct 2015 21:31:04 +0000 (17:31 -0400)]
doc/release-notes: drop 0.94.4 plaintext

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/releases: fix 0.94.4 link
Sage Weil [Mon, 19 Oct 2015 21:29:01 +0000 (17:29 -0400)]
doc/releases: fix 0.94.4 link

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: final v0.94.4 notes
Sage Weil [Mon, 19 Oct 2015 21:05:31 +0000 (17:05 -0400)]
doc/release-notes: final v0.94.4 notes

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6238 from dachary/wip-release-notes
Sage Weil [Mon, 19 Oct 2015 21:03:15 +0000 (17:03 -0400)]
Merge pull request #6238 from dachary/wip-release-notes

release-notes: draft v0.94.4 release notes

9 years agoMerge pull request #6297 from ritz303/wip-doc-13502
John Wilkins [Mon, 19 Oct 2015 16:42:59 +0000 (09:42 -0700)]
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
9 years agoMerge pull request #6311 from liewegas/wip-rocksdb
Loic Dachary [Mon, 19 Oct 2015 14:21:09 +0000 (16:21 +0200)]
Merge pull request #6311 from liewegas/wip-rocksdb

rocksdb: build with PORTABLE=1

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoos/Makefile: build rocksdb with PORTABLE=1 6311/head
Sage Weil [Mon, 19 Oct 2015 14:15:38 +0000 (10:15 -0400)]
os/Makefile: build rocksdb with PORTABLE=1

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agomon: should not set isvalid = true when cephx_verify_authorizer return false 6306/head
yangruifeng [Mon, 19 Oct 2015 12:08:12 +0000 (08:08 -0400)]
mon: should not set isvalid = true when cephx_verify_authorizer return false

Fixes: #13525
Signed-off-by: Ruifeng Yang <yangruifeng.09209@h3c.com>
9 years agoSpeed optimizations. Merged 3 writes into 1. 6307/head
Adam Kupczyk [Mon, 19 Oct 2015 10:20:37 +0000 (12:20 +0200)]
Speed optimizations. Merged 3 writes into 1.
Got rid of std::string construction.
More unification on syslog,stderr,fd.

Signed-off-by: Adam Kupczyk <akupczyk@mirantis.com>
9 years agoMerge pull request #6282 from dx9/wip-12406-client-flock
John Spray [Mon, 19 Oct 2015 10:45:53 +0000 (11:45 +0100)]
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>
9 years agoosd: remove the useless code. 6305/head
Jianpeng Ma [Mon, 19 Oct 2015 05:57:36 +0000 (13:57 +0800)]
osd: remove the useless code.

For get_object_context with can_create is true, we already check
obc->ssc. So don't need other handle

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
9 years agoosd: optimize get_object_context.
Jianpeng Ma [Fri, 16 Oct 2015 08:27:18 +0000 (16:27 +0800)]
osd: optimize get_object_context.

If soid didn't exist and soid is head or snapdir. In
get_snapset_context we can remove the useless objects_get_attr(SS_ATTR).
It mainly for create a new object.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
9 years agodrop envz.h includes 6285/head
John Coyle [Thu, 15 Oct 2015 17:34:50 +0000 (13:34 -0400)]
drop envz.h includes

Signed-off-by: John Coyle <dx9err@gmail.com>
9 years agoMerge pull request #6216 from dx9/wip-12406-alpine-prefixed-typeof
Sage Weil [Mon, 19 Oct 2015 01:12:53 +0000 (21:12 -0400)]
Merge pull request #6216 from dx9/wip-12406-alpine-prefixed-typeof

compat: use prefixed typeof extension

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6279 from branch-predictor/bp-reorder-pglog-fields
Sage Weil [Mon, 19 Oct 2015 01:08:05 +0000 (21:08 -0400)]
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>
9 years agoclient: sys/file.h includes for flock operations 6282/head
John Coyle [Thu, 15 Oct 2015 15:03:01 +0000 (11:03 -0400)]
client: sys/file.h includes for flock operations

Signed-off-by: John Coyle <dx9err@gmail.com>
9 years agoMerge pull request #6288 from dx9/wip-12406-file-offset-check
Sage Weil [Mon, 19 Oct 2015 01:05:46 +0000 (21:05 -0400)]
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>
9 years agoMerge pull request #6294 from dx9/wip-12406-rgw_main-compat
Sage Weil [Mon, 19 Oct 2015 01:04:51 +0000 (21:04 -0400)]
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>
9 years agocommon/MemoryModel: Alpine is a linux variant but does not implement mallinfo().... 6252/head
John Coyle [Wed, 14 Oct 2015 00:20:33 +0000 (20:20 -0400)]
common/MemoryModel: Alpine is a linux variant but does not implement mallinfo(). Added explicit feature check.

Signed-off-by: John Coyle <dx9err@gmail.com>
9 years agocompat: use prefixed typeof to support stricter environments 6216/head
John Coyle [Fri, 9 Oct 2015 19:14:21 +0000 (15:14 -0400)]
compat: use prefixed typeof to support stricter environments

Signed-off-by: John Coyle <dx9err@gmail.com>
9 years agoassert: __STRING is not defined by musl libc. Define __STRING when it is missing. 6210/head
John Coyle [Fri, 9 Oct 2015 03:25:36 +0000 (23:25 -0400)]
assert: __STRING is not defined by musl libc. Define __STRING when it is missing.

Signed-off-by: John Coyle <dx9err@gmail.com>
9 years agolibcephfs: Improve portability by replacing loff_t type usage with off_t. 64-bit... 6301/head
John Coyle [Sun, 18 Oct 2015 18:37:53 +0000 (14:37 -0400)]
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>
9 years agoMerge pull request #5219 from ceph/wip-12315-libs-compat-conditional
Sage Weil [Sun, 18 Oct 2015 18:34:47 +0000 (14:34 -0400)]
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>
9 years agoMerge pull request #5917 from caibo2014/fix-tool-makefile
Sage Weil [Sun, 18 Oct 2015 18:33:32 +0000 (14:33 -0400)]
Merge pull request #5917 from caibo2014/fix-tool-makefile

tools:remove duplicate references

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6290 from ceph/wip-rocksdb
Sage Weil [Sun, 18 Oct 2015 12:36:21 +0000 (08:36 -0400)]
Merge pull request #6290 from ceph/wip-rocksdb

rocksdb: use native rocksdb makefile (and our autotools)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agorocksdb: 4.1 6290/head
Sage Weil [Fri, 16 Oct 2015 13:47:25 +0000 (09:47 -0400)]
rocksdb: 4.1

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorocksdb: build rocksdb with its own Makefile
Sage Weil [Sat, 17 Oct 2015 19:43:11 +0000 (15:43 -0400)]
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>
9 years agoMakefile: link libos.a statically (no .la)
Sage Weil [Sat, 17 Oct 2015 19:14:20 +0000 (15:14 -0400)]
Makefile: link libos.a statically (no .la)

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMakefile: link mon statically (not .la)
Sage Weil [Thu, 15 Oct 2015 21:41:35 +0000 (17:41 -0400)]
Makefile: link mon statically (not .la)

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMakefile: make libosd.a static (not .la)
Sage Weil [Thu, 15 Oct 2015 20:54:16 +0000 (16:54 -0400)]
Makefile: make libosd.a static (not .la)

We don't dynamically link the osd.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agolibrados_test_stub: add missing headers
Sage Weil [Sat, 17 Oct 2015 13:04:42 +0000 (09:04 -0400)]
librados_test_stub: add missing headers

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd/tools: new and delete ObjectStore::Transaction in a function is not necessary 6299/head
yangruifeng [Sat, 17 Oct 2015 02:00:56 +0000 (22:00 -0400)]
osd/tools: new and delete ObjectStore::Transaction in a function is not necessary

Signed-off-by: Ruifeng Yang <yangruifeng.09209@h3c.com>
9 years agoMerge pull request #6272 from zhouyuan/fix_cache_tier_doc
Loic Dachary [Fri, 16 Oct 2015 22:12:05 +0000 (00:12 +0200)]
Merge pull request #6272 from zhouyuan/fix_cache_tier_doc

doc: fix outdated content in cache tier

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc: Renamed the "Create a Ceph User" section and added verbage about the "ceph"... 6297/head
ritz303 [Fri, 16 Oct 2015 20:35:43 +0000 (15:35 -0500)]
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>
9 years agoosd: off-by-one when check deep scrubbing 6196/head
Guang Yang [Fri, 16 Oct 2015 15:52:45 +0000 (15:52 +0000)]
osd: off-by-one when check deep scrubbing

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
9 years agotest: add integration test for the auto repair feature
Guang Yang [Fri, 16 Oct 2015 15:51:51 +0000 (15:51 +0000)]
test: add integration test for the auto repair feature

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
9 years agopg: add auto-repair for EC pool
Guang Yang [Wed, 7 Oct 2015 04:34:34 +0000 (04:34 +0000)]
pg: add auto-repair for EC pool

Fixes: #12754
Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
9 years agopg: only queue for recovery if there is any objects to repair after scrubbing
Guang Yang [Tue, 6 Oct 2015 00:55:22 +0000 (00:55 +0000)]
pg: only queue for recovery if there is any objects to repair after scrubbing

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
9 years agorgw/rgw_main: Added compat header for TEMP_FAILURE_RETRY 6294/head
John Coyle [Fri, 16 Oct 2015 17:38:39 +0000 (13:38 -0400)]
rgw/rgw_main: Added compat header for TEMP_FAILURE_RETRY

Signed-off-by: John Coyle dx9err@gmail.com
9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Fri, 16 Oct 2015 13:49:09 +0000 (09:49 -0400)]
Merge remote-tracking branch 'gh/infernalis'

9 years agoMerge pull request #6249 from dillaman/wip-13274-infernalis
Josh Durgin [Thu, 15 Oct 2015 22:07:09 +0000 (18:07 -0400)]
Merge pull request #6249 from dillaman/wip-13274-infernalis

LTTng-UST tracing should be dynamically enabled

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibcephfs: only check file offset on glibc platforms 6288/head
John Coyle [Thu, 15 Oct 2015 20:10:30 +0000 (16:10 -0400)]
libcephfs: only check file offset on glibc platforms

Signed-off-by: John Coyle dx9err@gmail.com
9 years agoMerge pull request #6284 from dillaman/wip-13483-infernalis
Josh Durgin [Thu, 15 Oct 2015 18:43:11 +0000 (14:43 -0400)]
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>
9 years agoqa: remove legacy OS support from rbd/qemu-iotests 6284/head
Jason Dillaman [Thu, 15 Oct 2015 16:44:06 +0000 (12:44 -0400)]
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>
9 years agoMerge pull request #6273 from jdurgin/wip-13496
Jason Dillaman [Thu, 15 Oct 2015 15:40:59 +0000 (11:40 -0400)]
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>
9 years agoMerge pull request #5335 from zhouyuan/radosgw_admin_secret_key_alias
Yehuda Sadeh [Thu, 15 Oct 2015 15:36:41 +0000 (08:36 -0700)]
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>
9 years agoMerge pull request #6281 from dachary/wip-releases
Sage Weil [Thu, 15 Oct 2015 14:12:44 +0000 (10:12 -0400)]
Merge pull request #6281 from dachary/wip-releases

doc/release-notes: v9.1.0

9 years agodoc/release-notes: v9.1.0 6281/head
Loic Dachary [Thu, 15 Oct 2015 13:54:47 +0000 (15:54 +0200)]
doc/release-notes: v9.1.0

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #6275 from dx9/wip-12406-prefixed-ints
Yan, Zheng [Thu, 15 Oct 2015 12:45:26 +0000 (20:45 +0800)]
Merge pull request #6275 from dx9/wip-12406-prefixed-ints

client: drop prefix from ints

9 years agoosd/PGLog.h: reorder bool fields in PGLog struct 6279/head
Piotr Dałek [Thu, 15 Oct 2015 09:46:56 +0000 (11:46 +0200)]
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>
9 years agoosd: drop the interim set from load_pgs() 6277/head
Piotr Dałek [Thu, 15 Oct 2015 08:53:55 +0000 (10:53 +0200)]
osd: drop the interim set from load_pgs()

During execution of load_pgs(), all PGs are added to interim set and then
processed again from the beginning. Discard this extra loop and entire
interim set, saving a bit of memory and CPU time (by better utilization
of L1/L2 caches).

Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
9 years agolibrbd: fix rebuild_object_map() when no object map exists 6273/head
Josh Durgin [Thu, 15 Oct 2015 01:28:33 +0000 (18:28 -0700)]
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>
9 years agoceph_context: remove unsafe cast for singletons 6249/head
Jason Dillaman [Thu, 15 Oct 2015 04:15:54 +0000 (00:15 -0400)]
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>
9 years agoclient: drop prefix from int types 6275/head
John Coyle [Thu, 15 Oct 2015 04:15:54 +0000 (00:15 -0400)]
client: drop prefix from int types

Signed-off-by: John Coyle dx9err@gmail.com
9 years agodoc: fix outdated content in cache tier 6272/head
Yuan Zhou [Thu, 15 Oct 2015 02:19:19 +0000 (10:19 +0800)]
doc: fix outdated content in cache tier

same as d5a56c497a844da8401661f24e68bb325be551e7

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>