]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agolibrbd: diff_iterate needs to handle holes in parent images 5843/head
Jason Dillaman [Tue, 8 Sep 2015 19:47:37 +0000 (15:47 -0400)]
librbd: diff_iterate needs to handle holes in parent images

If a clone's parent image snapshot includes a discarded extent,
this was previously causing an assert failure.  Instead, ignore
any discard holes in the parent image.

Fixes: #12885
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: new test case for librbd diff_iterate over discard extents
Jason Dillaman [Tue, 8 Sep 2015 19:45:45 +0000 (15:45 -0400)]
tests: new test case for librbd diff_iterate over discard extents

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #5838 from ceph/wip-12861
Sage Weil [Tue, 8 Sep 2015 18:08:18 +0000 (14:08 -0400)]
Merge pull request #5838 from ceph/wip-12861

qa/workunits/rados/test_alloc_hint.sh: sudo to ls files

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5396 from XinzeChi/wip-scrub-promote
Sage Weil [Tue, 8 Sep 2015 15:41:38 +0000 (11:41 -0400)]
Merge pull request #5396 from XinzeChi/wip-scrub-promote

bug fix: osd: requeue_scrub when kick_object_context_blocked

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
9 years agoMerge pull request #5772 from yuyuyu101/wip-12912
Sage Weil [Tue, 8 Sep 2015 15:41:06 +0000 (11:41 -0400)]
Merge pull request #5772 from yuyuyu101/wip-12912

AsyncConnection: Close connection when unregistered connection met WAIT

9 years agoMerge pull request #5733 from cxwshawn/rgw-fix
Yehuda Sadeh [Tue, 8 Sep 2015 15:39:43 +0000 (08:39 -0700)]
Merge pull request #5733 from cxwshawn/rgw-fix

rgw: init_rados failed leads to repeated delete

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #5809 from rzarzynski/wip-rgw_putobj_debug_improvement
Yehuda Sadeh [Tue, 8 Sep 2015 15:35:46 +0000 (08:35 -0700)]
Merge pull request #5809 from rzarzynski/wip-rgw_putobj_debug_improvement

rgw: improve debugs in RGWPutObj and RGWPutObj_ObjStore_SWIFT.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #5567 from guce/rgw_check_key_parameter_conflict
Orit Wasserman [Tue, 8 Sep 2015 15:33:13 +0000 (17:33 +0200)]
Merge pull request #5567 from guce/rgw_check_key_parameter_conflict

rgw: add key parameter conflict check for radosgw-admin command line.

9 years agoMerge pull request #5819 from rzarzynski/wip-12950
Yehuda Sadeh [Tue, 8 Sep 2015 15:17:24 +0000 (08:17 -0700)]
Merge pull request #5819 from rzarzynski/wip-12950

rgw: don't append empty ETag HTTP header.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Tue, 8 Sep 2015 15:02:54 +0000 (11:02 -0400)]
Merge remote-tracking branch 'gh/infernalis'

9 years agoqa/workunits/rados/test_alloc_hint.sh: sudo to ls files 5838/head
Kefu Chai [Tue, 8 Sep 2015 10:20:04 +0000 (18:20 +0800)]
qa/workunits/rados/test_alloc_hint.sh: sudo to ls files

The osd data dir is owned by ceph and not readable by other
non-root users.

Fixes: #12861
Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5257 from t-miyamae/wip-mshec-fixlogic4
Loic Dachary [Tue, 8 Sep 2015 11:52:05 +0000 (13:52 +0200)]
Merge pull request #5257 from t-miyamae/wip-mshec-fixlogic4

erasure code: shec performance optimization by decoding cache

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agorgw: init_rados failed leads to repeated delete 5733/head
Xiaowei Chen [Tue, 8 Sep 2015 10:58:57 +0000 (06:58 -0400)]
rgw: init_rados failed leads to repeated delete

Fixes: #12978
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
9 years agoMerge pull request #5463 from kylinstorage/wip-evict_ops
Kefu Chai [Tue, 8 Sep 2015 09:29:29 +0000 (17:29 +0800)]
Merge pull request #5463 from kylinstorage/wip-evict_ops

Allow evict operations to be throttled

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5745 from ceph/wip-12904
Kefu Chai [Tue, 8 Sep 2015 09:27:22 +0000 (17:27 +0800)]
Merge pull request #5745 from ceph/wip-12904

osd: sparse reads returning invalid extent map

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5580 from xinxinsh/wip-merge-two-setattr
Kefu Chai [Tue, 8 Sep 2015 09:26:28 +0000 (17:26 +0800)]
Merge pull request #5580 from xinxinsh/wip-merge-two-setattr

merge two continuous OP_SETATTR ops into one OP_SETATTRS

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5785 from liewegas/wip-12861
Sage Weil [Mon, 7 Sep 2015 14:40:37 +0000 (10:40 -0400)]
Merge pull request #5785 from liewegas/wip-12861

qa/workunits/rados/test_alloc_hint.sh: sudo to list files

9 years agoMerge pull request #5784 from dachary/wip-docker-helper
Kefu Chai [Mon, 7 Sep 2015 11:45:51 +0000 (19:45 +0800)]
Merge pull request #5784 from dachary/wip-docker-helper

fix docker-test.sh for CentOS 7

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agotests: drop docker-tests.sh root and /dev support 5784/head
Loic Dachary [Wed, 2 Sep 2015 23:37:03 +0000 (01:37 +0200)]
tests: drop docker-tests.sh root and /dev support

Now that ceph-disk.sh activation tests switched to the ceph-disk suite
as found in https://github.com/ceph/ceph-qa-suite/tree/master/suites/ceph-disk,
it does not need for root and /dev support from docker-tests.sh. There
currently is no other use case and since it's generally not a good idea
to run anything as root in a container anyway.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agotests: CentOS 7 needs systemd-container
Loic Dachary [Wed, 2 Sep 2015 23:23:45 +0000 (01:23 +0200)]
tests: CentOS 7 needs systemd-container

It is now needed by the Ceph dependencies and won't work unless the fake
version of it is replaced by the actual one.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5728 from trociny/wip-12706-infernalis
Loic Dachary [Mon, 7 Sep 2015 07:39:23 +0000 (09:39 +0200)]
Merge pull request #5728 from trociny/wip-12706-infernalis

ceph-disk: use /sys/dev/block/maj:min/partition to see if partition

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Sun, 6 Sep 2015 21:50:03 +0000 (17:50 -0400)]
Merge remote-tracking branch 'gh/infernalis'

9 years agoMerge pull request #4895 from XinzeChi/wip-outdata-set
Sage Weil [Sun, 6 Sep 2015 21:43:37 +0000 (17:43 -0400)]
Merge pull request #4895 from XinzeChi/wip-outdata-set

bug fix: osd: avoid multi set osd_op.outdata in tier pool

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5707 from athanatos/wip-12809
Sage Weil [Sun, 6 Sep 2015 21:43:24 +0000 (17:43 -0400)]
Merge pull request #5707 from athanatos/wip-12809

PG::handle_advance_map: on_pool_change after handling the map change

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5751 from yuyuyu101/wip-12908
Sage Weil [Sun, 6 Sep 2015 21:42:48 +0000 (17:42 -0400)]
Merge pull request #5751 from yuyuyu101/wip-12908

AsyncConnection: Don't use unsafe feature as message encode feature

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'gh/infernalis'
Sage Weil [Sun, 6 Sep 2015 18:19:39 +0000 (14:19 -0400)]
Merge remote-tracking branch 'gh/infernalis'

9 years agoqa/workunits/post-file.sh: sudo
Sage Weil [Sat, 5 Sep 2015 13:28:17 +0000 (09:28 -0400)]
qa/workunits/post-file.sh: sudo

Only root can read the key in /usr/share/...

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: dump full map bl at 20 when crc doesn't match
Sage Weil [Sun, 6 Sep 2015 17:56:38 +0000 (13:56 -0400)]
osd: dump full map bl at 20 when crc doesn't match

This will help us debug cases where the encoding doesn't match due
to a bug.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5827 from tchaikov/wip-doc-daemon
Loic Dachary [Sun, 6 Sep 2015 11:46:09 +0000 (13:46 +0200)]
Merge pull request #5827 from tchaikov/wip-doc-daemon

doc: fix the typo in command example

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc: fix the typo in command example 5827/head
Kefu Chai [Sun, 6 Sep 2015 11:28:31 +0000 (19:28 +0800)]
doc: fix the typo in command example

always indent using tab, the rendered html looks good, but it helps with
editor to highlight the codeblock properly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5817 from liewegas/wip-ceph-daemon
Loic Dachary [Sat, 5 Sep 2015 21:49:42 +0000 (23:49 +0200)]
Merge pull request #5817 from liewegas/wip-ceph-daemon

doc: 'ceph --admin-daemon ...' -> 'ceph daemon ...'

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5193 from SUSE/wip-babeltrace-suse
Ken Dreyer [Fri, 4 Sep 2015 21:37:24 +0000 (15:37 -0600)]
Merge pull request #5193 from SUSE/wip-babeltrace-suse

ceph.spec.in: fix lttng/babeltrace conditionals

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #5796 from SUSE/wip-group-cond
Ken Dreyer [Fri, 4 Sep 2015 21:36:52 +0000 (15:36 -0600)]
Merge pull request #5796 from SUSE/wip-group-cond

ceph.spec.in: put distro conditionals around Group:

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agodoc: 'ceph --admin-daemon ...' -> 'ceph daemon ...' 5817/head
Sage Weil [Fri, 4 Sep 2015 19:59:34 +0000 (15:59 -0400)]
doc: 'ceph --admin-daemon ...' -> 'ceph daemon ...'

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5624 from vumrao/wip-vumrao-12714
Yehuda Sadeh [Fri, 4 Sep 2015 18:11:03 +0000 (11:11 -0700)]
Merge pull request #5624 from vumrao/wip-vumrao-12714

rgw : setting max number of buckets for users via ceph.conf option

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoceph.spec.in: put distro conditional around Group: 5796/head
Nathan Cutler [Sat, 1 Aug 2015 07:30:59 +0000 (09:30 +0200)]
ceph.spec.in: put distro conditional around Group:

Neither RHEL and Fedora require a Group: line, so retain
only for SLE/openSUSE (and set the right value for these distros)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #5798 from SUSE/wip-fix-license
Ken Dreyer [Fri, 4 Sep 2015 17:38:10 +0000 (11:38 -0600)]
Merge pull request #5798 from SUSE/wip-fix-license

ceph.spec.in: fix License line

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #5801 from dreamhost/wip-12939-header
Yehuda Sadeh [Fri, 4 Sep 2015 17:21:19 +0000 (10:21 -0700)]
Merge pull request #5801 from dreamhost/wip-12939-header

Fix casing of Content-Type header

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #5811 from vumrao/wip-vumrao-12944
Loic Dachary [Fri, 4 Sep 2015 16:58:44 +0000 (18:58 +0200)]
Merge pull request #5811 from vumrao/wip-vumrao-12944

doc: Add pgcalc tool link in placement-groups document

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoceph.spec.in: fix lttng/babeltrace conditionals 5193/head
Nathan Cutler [Wed, 15 Jul 2015 10:54:20 +0000 (12:54 +0200)]
ceph.spec.in: fix lttng/babeltrace conditionals

lttng and babeltrace are build dependencies for rbd-replay-prep. Make
sure the right package names are used. Enable for SLE12, as well as
for openSUSE 13.1 and higher.

Move the BuildRequires out of the ceph-test subpackage and into the
distro-conditional dependencies section.

Make ordering of BuildRequires a little more alphabetical.

http://tracker.ceph.com/issues/12360 Fixes: #12360

Signed-off-by: Nathan Cutler <ncutler@suse.com>
sqme

9 years agoMerge pull request #5791 from SUSE/wip-drop-lsb-release
Ken Dreyer [Fri, 4 Sep 2015 15:48:04 +0000 (09:48 -0600)]
Merge pull request #5791 from SUSE/wip-drop-lsb-release

ceph.spec.in: drop lsb-release dependency from ceph-common

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agorgw: don't append empty ETag HTTP header. 5819/head
Radoslaw Zarzynski [Fri, 4 Sep 2015 13:11:35 +0000 (15:11 +0200)]
rgw: don't append empty ETag HTTP header.

Fixes: #12950
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agoMerge pull request #5808 from ceph/wip-simplify-logrotate
Sage Weil [Fri, 4 Sep 2015 13:02:24 +0000 (09:02 -0400)]
Merge pull request #5808 from ceph/wip-simplify-logrotate

logrotate.conf: Simplify log files reopening after log rotation

Reviewed-by: Milan Broz <mbroz@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agodoc: Add pgcalc tool link in placement-groups document 5811/head
Vikhyat Umrao [Fri, 4 Sep 2015 11:25:13 +0000 (16:55 +0530)]
doc: Add pgcalc tool link in placement-groups document

Fixes #12944

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
9 years agoMerge pull request #5771 from ceph/wip-fix-i386-build
Kefu Chai [Fri, 4 Sep 2015 11:29:01 +0000 (19:29 +0800)]
Merge pull request #5771 from ceph/wip-fix-i386-build

memstore: fix the build on i386

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agorgw: improve debugs in RGWPutObj and RGWPutObj_ObjStore_SWIFT. 5809/head
Radoslaw Zarzynski [Fri, 4 Sep 2015 10:20:08 +0000 (12:20 +0200)]
rgw: improve debugs in RGWPutObj and RGWPutObj_ObjStore_SWIFT.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agoMerge pull request #5794 from dachary/wip-12933-erasure-code-dir
Loic Dachary [Fri, 4 Sep 2015 09:23:21 +0000 (11:23 +0200)]
Merge pull request #5794 from dachary/wip-12933-erasure-code-dir

tests: ceph-erasure-code-corpus must test SIMD variants

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5804 from tchaikov/wip-fix-build-boost-1.59
Loic Dachary [Fri, 4 Sep 2015 09:19:22 +0000 (11:19 +0200)]
Merge pull request #5804 from tchaikov/wip-fix-build-boost-1.59

mon: fix the build with boost 1.59

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoerasure code: shec performance optimization with decoding cache 5257/head
Takanori Nakao [Fri, 10 Jul 2015 04:41:45 +0000 (13:41 +0900)]
erasure code: shec performance optimization with decoding cache

continued from https://github.com/ceph/ceph/pull/4132

Signed-off-by: Takanori Nakao <nakao.takanori@jp.fujitsu.com>
9 years agologrotate.conf: Simplify log files reopening after log rotation 5808/head
Boris Ranto [Fri, 4 Sep 2015 08:08:35 +0000 (10:08 +0200)]
logrotate.conf: Simplify log files reopening after log rotation

SIGHUP (1) signal makes ceph services reopen its log files so we do not
need to call any init scripts magic, here.

Additionally, the old approach caused problems with rhel-based systems
since it found the service command and tried to reload ceph.service
instead of ceph.target.

This also caused problems with SELinux as processes with context
logrotate_t are not allowed to issue systemctl reload on a process.

This patch is also in sync with other logrotate postrotate scripts which
do exactly the same thing (send SIGHUP to the daemon).

Signed-off-by: Boris Ranto <branto@redhat.com>
9 years agoMerge pull request #5802 from liewegas/wip-coverity
Loic Dachary [Fri, 4 Sep 2015 07:18:35 +0000 (09:18 +0200)]
Merge pull request #5802 from liewegas/wip-coverity

a few coverity fixes

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomon: fix the build with boost 1.59 5804/head
Kefu Chai [Fri, 4 Sep 2015 02:37:26 +0000 (10:37 +0800)]
mon: fix the build with boost 1.59

cmd_vartype is a
boost::variant<std::string, bool, int64_t, double,
               std::vector<std::string>>, so we can not get a
int8_t from it.

Fixes: #12922
Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoosd/ReplicatedPG: ProxyWriteOp::reqid should not be a ref 5802/head
Sage Weil [Fri, 4 Sep 2015 02:01:19 +0000 (22:01 -0400)]
osd/ReplicatedPG: ProxyWriteOp::reqid should not be a ref

CID 1322778 (#1 of 1): Pointer to local outside scope (RETURN_LOCAL)
1. escape_local_addr: Returning, through this->reqid, the address of stack variable _reqid.
    2. return: Returning here.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd/osd_types: init coll_t::removal_seq in all ctors
Sage Weil [Fri, 4 Sep 2015 01:59:00 +0000 (21:59 -0400)]
osd/osd_types: init coll_t::removal_seq in all ctors

CID 1322784 (#1 of 1): Uninitialized scalar variable (UNINIT)
2. uninit_use_in_call: Using uninitialized value coll.removal_seq when calling coll_t. [show details]

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotest_cls_numops: fix iterator use
Sage Weil [Fri, 4 Sep 2015 01:57:56 +0000 (21:57 -0400)]
test_cls_numops: fix iterator use

CID 1322828 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
28. use_after_free: Using invalidated internal representation of local it.
CID 1322827 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
25. use_after_free: Using invalidated internal representation of local it.
CID 1322826 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
31. use_after_free: Using invalidated internal representation of local it.
CID 1322825 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
31. use_after_free: Using invalidated internal representation of local it.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoFix casing of Content-Type header 5801/head
Robin H. Johnson [Fri, 4 Sep 2015 01:07:48 +0000 (01:07 +0000)]
Fix casing of Content-Type header

It turns out, despite the HTTP spec declaring that header field names
should be case-insensitive, some clients treat them wrongly, and
consider "Content-type" to not match "Content-Type".

CyberDuck was one of those clients, now fixed upstream in
https://trac.cyberduck.io/ticket/8999

To reduce future occurances of this bug, fix the casing of the
Content-Type header, to strictly comply with the HTTP specification (be
strict about what you send, and generous about what you receive).

Fixes: #12939
Backport: infernalis, hammer, firefly
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agodebian: package radosgw-object-expirer in radosgw deb
Sage Weil [Thu, 3 Sep 2015 22:41:52 +0000 (18:41 -0400)]
debian: package radosgw-object-expirer in radosgw deb

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph.spec: package new rgw files
Sage Weil [Thu, 3 Sep 2015 22:41:26 +0000 (18:41 -0400)]
ceph.spec: package new rgw files

   /usr/bin/radosgw-object-expirer
   /usr/lib64/rados-classes/libcls_timeindex.so

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5799 from liewegas/wip-cmake
Sage Weil [Thu, 3 Sep 2015 19:44:43 +0000 (15:44 -0400)]
Merge pull request #5799 from liewegas/wip-cmake

cmake: fix build (newstore issues)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoCMakeLists.txt: add newstore files 5799/head
Sage Weil [Thu, 3 Sep 2015 19:27:45 +0000 (15:27 -0400)]
CMakeLists.txt: add newstore files

Signed-off-by: Sage Weil <sage@redhat.com>
9 years ago.gitignore: ignore build (usually used by cmake)
Sage Weil [Thu, 3 Sep 2015 19:27:34 +0000 (15:27 -0400)]
.gitignore: ignore build (usually used by cmake)

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'gh/master' into infernalis
Sage Weil [Thu, 3 Sep 2015 19:15:01 +0000 (15:15 -0400)]
Merge remote-tracking branch 'gh/master' into infernalis

9 years agorgw/Makefile.am: ship rgw_object_expirer_core.h
Sage Weil [Thu, 3 Sep 2015 19:13:40 +0000 (15:13 -0400)]
rgw/Makefile.am: ship rgw_object_expirer_core.h

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5744 from ceph/wip-12909
Sage Weil [Thu, 3 Sep 2015 19:09:49 +0000 (15:09 -0400)]
Merge pull request #5744 from ceph/wip-12909

cmake: update FUSE_INCLUDE_DIRS to match autoconf

9 years agoMerge pull request #5610 from ceph/wip-cmake
Sage Weil [Thu, 3 Sep 2015 19:08:36 +0000 (15:08 -0400)]
Merge pull request #5610 from ceph/wip-cmake

cmake: make check

9 years agoceph.spec: build requires cmake 5610/head
Sage Weil [Thu, 3 Sep 2015 19:01:53 +0000 (15:01 -0400)]
ceph.spec: build requires cmake

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodebian/control: build requires cmake
Sage Weil [Thu, 3 Sep 2015 19:01:34 +0000 (15:01 -0400)]
debian/control: build requires cmake

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodebian/control: build-requires libboost-regex-dev
Sage Weil [Thu, 3 Sep 2015 18:59:37 +0000 (14:59 -0400)]
debian/control: build-requires libboost-regex-dev

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotests: ceph-erasure-code-corpus must test SIMD variants 5794/head
Loic Dachary [Thu, 3 Sep 2015 15:27:18 +0000 (17:27 +0200)]
tests: ceph-erasure-code-corpus must test SIMD variants

ceph_erasure_code.cc and ceph_erasure_code_benchmark.cc failed to load
the plugins. It went unnoticed when
660ae5bcbb250b06cf88ec7f9a3f37b05c6c8118 was reviewed because

  * ceph_erasure_code_benchmark is not used in make check
  * qa/workunits/erasure-code/encode-decode-non-regression.sh silently
    interpreted the failure as the absence of SIMD variants

http://tracker.ceph.com/issues/12933 Fixes: #12933

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoceph.spec.in: fix License line 5798/head
Nathan Cutler [Thu, 3 Sep 2015 18:30:50 +0000 (20:30 +0200)]
ceph.spec.in: fix License line

This is closer to my reading of
https://github.com/ceph/ceph/blob/master/COPYING than the previous version.

http://tracker.ceph.com/issues/12935 Fixes: #12935

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #5692 from ceph/wip-rgw-swift-expiration
Yehuda Sadeh [Thu, 3 Sep 2015 17:23:00 +0000 (10:23 -0700)]
Merge pull request #5692 from ceph/wip-rgw-swift-expiration

Wip rgw swift expiration

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agocmake: install crushtool to destdir/bin
Matt Benjamin [Tue, 25 Aug 2015 17:49:25 +0000 (13:49 -0400)]
cmake: install crushtool to destdir/bin

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agocmake: add blkid as dependency to libcommon
Casey Bodley [Tue, 1 Sep 2015 19:33:31 +0000 (15:33 -0400)]
cmake: add blkid as dependency to libcommon

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agocmake: Changed name of crc32 target to crc32c
Ali Maredia [Tue, 25 Aug 2015 17:49:23 +0000 (13:49 -0400)]
cmake: Changed name of crc32 target to crc32c

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Added shell script tests
Ali Maredia [Mon, 24 Aug 2015 22:01:09 +0000 (18:01 -0400)]
cmake: Added shell script tests

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Fixed HAVE_BETTER_YASM_ELF64 variable
Ali Maredia [Mon, 24 Aug 2015 19:32:53 +0000 (15:32 -0400)]
cmake: Fixed HAVE_BETTER_YASM_ELF64 variable

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Removed trailing spaces from isa .s files
Ali Maredia [Mon, 24 Aug 2015 18:11:01 +0000 (14:11 -0400)]
cmake: Removed trailing spaces from isa .s files

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Uncommented erasure-code/shec conditional
Ali Maredia [Fri, 21 Aug 2015 17:33:05 +0000 (13:33 -0400)]
cmake: Uncommented erasure-code/shec conditional

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Removed traces of CDS, minor cmake fixes
Ali Maredia [Wed, 19 Aug 2015 20:15:46 +0000 (16:15 -0400)]
cmake: Removed traces of CDS, minor cmake fixes

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Fixed rbd_replay build issue
Ali Maredia [Tue, 18 Aug 2015 21:03:58 +0000 (17:03 -0400)]
cmake: Fixed rbd_replay build issue

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Removed scripts, check_PROGRAMS included
Ali Maredia [Tue, 18 Aug 2015 19:44:36 +0000 (15:44 -0400)]
cmake: Removed scripts, check_PROGRAMS included

Removed the unittest scripts for the time being.
Built unittests included in check_PROGRAMS target.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Cleaned up syntax for make check targets
Ali Maredia [Tue, 18 Aug 2015 18:34:54 +0000 (14:34 -0400)]
cmake: Cleaned up syntax for make check targets

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: check_TESTPROGRAMS tests running
Ali Maredia [Mon, 17 Aug 2015 20:26:47 +0000 (16:26 -0400)]
cmake: check_TESTPROGRAMS tests running

Make check working, accept rocksdb tests. Clean up coming.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoREADME.md: Add basic CMake instructions
Ali Maredia [Tue, 4 Aug 2015 16:45:52 +0000 (12:45 -0400)]
README.md: Add basic CMake instructions

README.md: Fixed spacing, trimmed cmake section

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #5792 from ceph/wip-vstart-rgw
Sage Weil [Thu, 3 Sep 2015 15:03:26 +0000 (11:03 -0400)]
Merge pull request #5792 from ceph/wip-vstart-rgw

vstart: add -c argument to radosgw-admin commands

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agovstart: add -c argument to radosgw-admin commands 5792/head
Casey Bodley [Wed, 2 Sep 2015 14:54:44 +0000 (10:54 -0400)]
vstart: add -c argument to radosgw-admin commands

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoceph.spec.in: drop redundant centos from conditionals 5791/head
Nathan Cutler [Thu, 3 Sep 2015 14:28:19 +0000 (16:28 +0200)]
ceph.spec.in: drop redundant centos from conditionals

Since the %{rhel} macro is guaranteed to be defined on all CentOS
installations, the %{centos} macro is superfluous.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoceph.spec.in: clean up suse_version conditionals
Nathan Cutler [Thu, 9 Jul 2015 11:42:50 +0000 (13:42 +0200)]
ceph.spec.in: clean up suse_version conditionals

Use 0%{?suse_version} throughout for consistency.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoceph.spec.in: drop lsb-release dependency from ceph-common
Nathan Cutler [Thu, 9 Jul 2015 11:39:03 +0000 (13:39 +0200)]
ceph.spec.in: drop lsb-release dependency from ceph-common

It was there as an equivalent of redhat-lsb-core, but the redhat-lsb-core bits
that ceph-common relies on are included in insserv-compat on SUSE, and
insserv-compat is in base.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #5590 from majianpeng/mds
John Spray [Thu, 3 Sep 2015 09:35:06 +0000 (10:35 +0100)]
Merge pull request #5590 from majianpeng/mds

Mds: add osdmap epoch for setxattr.

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agorgw : setting max number of buckets for users via ceph.conf option 5624/head
Vikhyat Umrao [Thu, 3 Sep 2015 06:32:05 +0000 (12:02 +0530)]
rgw : setting max number of buckets for users via ceph.conf option

This patch adds a new option "rgw_user_max_buckets" for setting
max number of buckets for users via ceph.conf.

Fixes #12714

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
9 years agoqa/workunits/rados/test_alloc_hint.sh: sudo to list files 5785/head
Sage Weil [Thu, 3 Sep 2015 01:58:37 +0000 (21:58 -0400)]
qa/workunits/rados/test_alloc_hint.sh: sudo to list files

The osd data dir is owned by ceph and not readable by other
non-root users.

Fixes: #12861
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorgw: don't copy delete_at attr, unless it's intra region copy 5692/head
Yehuda Sadeh [Thu, 3 Sep 2015 00:56:07 +0000 (17:56 -0700)]
rgw: don't copy delete_at attr, unless it's intra region copy

We don't want to keep the expiration value of a copied object, unless
we're doing a copy within the same zone group.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: objexp shards index by key
Yehuda Sadeh [Thu, 27 Aug 2015 23:38:04 +0000 (16:38 -0700)]
rgw: objexp shards index by key

Not by time. This should provide better concurrency.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: delete-at and delete-after also on obj put / copy
Yehuda Sadeh [Thu, 27 Aug 2015 23:02:44 +0000 (16:02 -0700)]
rgw: delete-at and delete-after also on obj put / copy

And potentially later we could use also the S3 api, so it
could work with multipart upload, and POST obj.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #5775 from dachary/wip-do-autogen
Sage Weil [Wed, 2 Sep 2015 15:38:25 +0000 (11:38 -0400)]
Merge pull request #5775 from dachary/wip-do-autogen

tools: fix do_autogen.sh -R

9 years agoMerge pull request #5712 from yuyuyu101/wip-12801
Sage Weil [Wed, 2 Sep 2015 14:15:44 +0000 (10:15 -0400)]
Merge pull request #5712 from yuyuyu101/wip-12801

Mon: Make ceph osd metadata support dump all osds

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
9 years agotools: fix do_autogen.sh -R 5775/head
Loic Dachary [Wed, 2 Sep 2015 14:00:10 +0000 (16:00 +0200)]
tools: fix do_autogen.sh -R

The R letter was missing from the getopts flags. Also sort the flags
alphabetically to make it easier to spot that kind of lossage.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agorocksdb: fix 32-bit build 5771/head
Kefu Chai [Wed, 2 Sep 2015 13:01:57 +0000 (21:01 +0800)]
rocksdb: fix 32-bit build

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoAsyncConnection: Close connection when unregistered connection met WAIT 5772/head
Haomai Wang [Wed, 2 Sep 2015 10:59:08 +0000 (18:59 +0800)]
AsyncConnection: Close connection when unregistered connection met WAIT

Fix #12912
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>