Commit Graph

37532 Commits

Author SHA1 Message Date
Sage Weil
12098b4115 Merge pull request #3084 from ceph/wip-rados-include
librados: Fix rados include problem reported by "sponce"

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-04 10:11:18 -08:00
David Zafman
22c1d9b0cf librados: Fix rados include problem reported by "sponce"
Caused by a03f85a8e7

Signed-off-by: David Zafman <dzafman@redhat.com>
2014-12-04 10:06:30 -08:00
Sage Weil
f9c602a2ce Merge pull request #3059 from dachary/wip-10125-radosgw-init
rgw: run radosgw as apache with systemd

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-04 10:04:30 -08:00
Loic Dachary
7b621f4abf rgw: run radosgw as apache with systemd
Same as sysv.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-12-04 18:57:29 +01:00
Samuel Just
cad4edceda Merge pull request #2997 from ceph/wip-snapmapper
osd: require SNAPMAPPER feature; drop tolerate_collection_add_enoent

Reviewed-by: Samuel Just <sjust@redhat.com>
2014-12-04 09:30:44 -08:00
Samuel Just
a6a8aeaefb Merge pull request #2979 from ceph/wip-kill-category
osd: kill 'category' from pg_stats_t

Reviewed-by: Samuel Just <sjust@redhat.com>
2014-12-04 09:29:31 -08:00
Samuel Just
d212ced82b Merge pull request #2694 from dachary/wip-9728-jerasure-neon
erasure-code: jerasure support for NEON

Reviewed-by: Samuel Just <sjust@redhat.com>
2014-12-04 09:26:48 -08:00
Sage Weil
08aa6d3ee9 Merge pull request #3082 from scuttlemonkey/wip-doc-10247
Changed os-recommendation table sorting to remove implied bias.

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-04 09:25:40 -08:00
Samuel Just
473e36ca0b Merge pull request #3048 from ceph/wip-10209
osd: tolerate sessionless con in fast dispatch path

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2014-12-04 09:25:14 -08:00
Samuel Just
6b27089808 Merge pull request #3049 from dachary/wip-10211-erasure-code-buffer-alignement
erasure-code: enforce chunk size alignment

Reviewed-by: Samuel Just <sjust@redhat.com>
2014-12-04 09:24:14 -08:00
Sage Weil
3f2f42dda4 doc/release-notes: v0.89
Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-04 09:15:37 -08:00
Sage Weil
c0685ec709 Merge remote-tracking branch 'gh/next' 2014-12-04 08:39:56 -08:00
scuttlemonkey
237b29c248 Changed os-recommendation table sorting to remove implied bias.
Fixes: #10247

signed-of by: Patrick McGarry <pmcgarry@redhat.com>
2014-12-04 11:27:35 -05:00
Loic Dachary
a6102f0b19 documentation: add centos 7 to ceph-deploy installation
http://tracker.ceph.com/issues/10246 Fixes: #10246

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-12-04 17:11:02 +01:00
Loic Dachary
ec2677eaa6 Merge pull request #3024 from ceph/wip-librados-symbols
librados: Only public API symbols from the shared library

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-04 15:10:10 +01:00
Yan, Zheng
e42df6afbb MDSMonitor.cc: fix assertion caused by MDSMap::STATE_DNE state
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-12-04 20:28:10 +08:00
Loic Dachary
f9bd970ea3 Merge pull request #3028 from majianpeng/fix4
Add perf reset command.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-04 07:39:40 +01:00
Yan, Zheng
f11fd66f80 Merge pull request #3074 from ceph/wip-10229
osdc/Filer: use finisher to execute C_Probe and C_PurgeRange
2014-12-04 13:32:32 +08:00
Yan, Zheng
d3ee89ace6 osdc/Filer: use finisher to execute C_Probe and C_PurgeRange
Currently contexts C_Probe/C_PurgeRange are executed while holding
OSDSession::completion_lock. C_Probe and C_PurgeRange may call
Objecter::stat() and Objecter::remove() respectively, which acquire
Objecter::rwlock. This can cause deadlock because there is intermediate
dependency between Objecter::rwlock and OSDSession::completion_lock:

 Objecter::rwlock -> OSDSession::lock -> OSDSession::completion_lock

The fix is exexcute C_Probe/C_PurgeRange in finisher thread.

Fixes: #10229
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2014-12-04 13:26:33 +08:00
Ken Dreyer
6edaf4e796 heap_profiler: support new gperftools header locations
The google/ headers location has been deprecated as of gperftools 2.0.
As of gperftools 2.2rc, the google/ headers will now give deprecation
warnings, and they will probably disappear in a future gperftools
update.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-12-03 13:44:00 -07:00
Greg Farnum
d5e2c2cf10 mon: fix signed/unsigned comparison warning
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-12-03 10:45:52 -08:00
Jenkins
68fdc0f68e 0.89 2014-12-03 08:18:33 -08:00
Loic Dachary
6e69955ab5 Merge pull request #3065 from ceph/wip-cephtool-exec
qa: fix cephtool tests not getting run

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-03 16:28:51 +01:00
John Spray
d98cec7f9c qa: fix teardown in cephtool's test_mon_mds
This was missing from 17b5fc9a but we didn't notice
because the test wasn't being run by the gitbuilders.

Signed-off-by: John Spray <john.spray@redhat.com>
2014-12-03 16:26:57 +01:00
Greg Farnum
8cd1fdd7a7 SimpleMessenger: allow RESETSESSION whenever we forget an endpoint
In the past (e229f8451d) we decided to disable
reset of lossless Pipes, because lossless peers resetting caused trouble and
they can't forget about each other. But they actually can: if mark_down()
is called.

I can't figure out how else we could forget about a remote endpoint, so I think
it's okay if we tell them we reset in order to clean up state. That's desirable
so that we don't get into strange situations with out-of-whack counters.

Fixes: #10080
Backport: giant, firefly, dumpling

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2014-12-02 21:33:46 -08:00
Sage Weil
c4f934997a Merge pull request #3044 from osynge/wip=suse-systemd
better systemd support

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-02 20:56:55 -08:00
Sage Weil
cbac460950 Merge pull request #3067 from dachary/wip-cephtool
fix cephtools running only part of the tests + avoid killing wrong daemons

Reviewed-by: Sage Weil <sage@redhat.com>
2014-12-02 20:53:12 -08:00
Jianpeng Ma
8e5dbe7dff common/perf_counters: Remove the duplicated code.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2014-12-03 10:28:00 +08:00
Jianpeng Ma
963b76494b test/perf_counters: Replace perfcounters_dump to perf dump.
The func of command  perfcounters_dump and 'perf dump' are the same .
But from the print 'ceph --admin-daemon help', it only print 'perf
dump'. So replace.
In order to keep consistent, still keep perfcounters_dump in code for
old user.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2014-12-03 10:26:26 +08:00
Jianpeng Ma
eafb22453f test/perf_counters: Add test case for cmd 'perf reset'
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2014-12-03 10:23:03 +08:00
Jianpeng Ma
5f8186b106 common/perf_counters: Add 'perf reset all|perfcountername' for 'ceph
--admin-daemon'

Using this command, we can reset all perfcounters or reset on specified
perfcounter.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2014-12-03 10:10:03 +08:00
Loic Dachary
f152bc69d0 Merge pull request #3068 from ktdreyer/doc-os-recommendations-cleanup
doc: os recommendations cleanup

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-03 01:23:52 +01:00
Ken Dreyer
5d3bff0494 doc: rm Fedora minor versions in os recommendations
Fedora doesn't have point releases, so it doesn't make sense to talk
about "Fedora 18.0" or "Fedora 19.0" - it's just "Fedora 18" or "Fedora
19".

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-12-02 16:33:00 -07:00
Sage Weil
0d4dd10bb6 os/ObjectStore: drop tolerate_collection_add_enoent
This is no longer needed and clutters the interface.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-02 15:19:40 -08:00
Sage Weil
bc5a22b5dc osd: require SNAPMAPPER feature from peers
This was introduced before cuttlefish.  We require users to upgrade first
to a newer release, so there is no need to support a mixed cluster with
such old code.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-12-02 15:19:40 -08:00
Loic Dachary
e83321ee09 Merge pull request #3061 from ktdreyer/rpm-ceph-disk-man-page
packaging: package ceph-disk(8)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-12-03 00:18:50 +01:00
Ken Dreyer
b743a95111 packaging: package ceph-disk(8)
The ceph-disk man page was added in
a450cab2b8, but this was not added to the
RPM or DEB packaging. Add it here.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-12-02 16:13:19 -07:00
Ken Dreyer
2497f16a04 doc: rm old releases in os recommendations page
Similar to the change in commit
4cdc9c7936, remove the references to old
Ceph releases.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-12-02 15:55:47 -07:00
Ken Dreyer
0bb2e1ed5e doc: clarify "B" flag in os recommendations page
We don't exactly do continuous builds on all the platforms marked with
"B", but we have published binary RPMs for them. Adjust the "B"
footnote definition to reflect this.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-12-02 15:55:43 -07:00
Loic Dachary
3047c9e000 qa: cephtool/test.sh use regular strings to list tests
Using the array notation to list test is error prone and more
complicated to write.

It also fixes a bug : only the first test of each series (MON, OSD, MDS)
was run and the others were ignored.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-12-02 23:52:48 +01:00
Loic Dachary
e3e5741581 tests: vstart_wrapper.sh must call vstart.sh with a list of daemons
The list of daemons is provided in the $CEPH_START environment variable
but vstart_wrapper.sh incorrectly uses the $VSTART_ARGS empty variable.

As a consequence vstart.sh calls init-ceph stop which kills daemons that
do not belong to the test.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-12-02 23:52:48 +01:00
Loic Dachary
4e955f4129 erasure-code: enforce chunk size alignment
Let say the ErasureCode::encode function is given a 4096 bytes
bufferlist made of a 1249 bytes bufferptr followed by a 2847 bytes
bufferptr, both properly starting on SIMD_ALIGN address. As a result the
second 2048 had to be reallocated when bufferlist::substr_of gets the
second 2048 buffer, the address starts at 799 bytes after the beginning
of the 2847 buffer ptr and is not SIMD_ALIGN'ed.

The ErasureCode::encode must enforce a size alignment based on the chunk
size in addition to the memory alignment required by SIMD operations,
using the bufferlist::rebuild_aligned_size_and_memory function instead of
bufferlist::rebuild_aligned.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-12-02 21:15:26 +01:00
Loic Dachary
73ad2d63d4 common: allow size alignment that is not a power of two
Do not assume the alignment is a power of two in the is_n_align_sized()
predicate. When used in the context of erasure code it is common
for chunks to not be powers of two.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-12-02 21:15:26 +01:00
Loic Dachary
9ade88e8da common: add bufferlist::rebuild_aligned_size_and_memory
The function bufferlist::rebuild_aligned checks memory and size
alignment with the same variable. It is however useful to separate
memory alignment constraints from size alignment constraints. For
instance rebuild_aligned could be called to allocate an erasure coded
buffer where each 2048 bytes chunk needs to start on a memory address
aligned on 32 bytes.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-12-02 21:15:21 +01:00
John Wilkins
56dae09b9c doc: Reformatting on rbd replay doc.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-12-02 11:23:55 -08:00
John Wilkins
b8f6b5f77c doc: Added rbd-replay-many and restructured index.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-12-02 11:23:29 -08:00
John Wilkins
54d5ed3732 doc: Fixed index syntax.
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2014-12-02 11:23:00 -08:00
John Wilkins
deaae3f5dd Merge pull request #3051 from ceph/wip-doc-rbd-replay
doc: Document RBD Replay

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-12-02 11:09:13 -08:00
John Wilkins
b1aa23ee6e Merge pull request #3060 from ktdreyer/doc-os-recommendations-centos-7
doc: add CentOS 7 to recommended OSes

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-12-02 11:07:07 -08:00
Ken Dreyer
3012c4a097 doc: add CentOS 7 to recommended OSes
CentOS 7 was missing from the list of recommended OSes for Firefly. Add
it to the list.

Reported-By: Frank Even <lists+ceph.com@elitists.org>
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-12-02 11:53:54 -07:00