]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
10 years agoMerge pull request #3049 from dachary/wip-10211-erasure-code-buffer-alignement
Samuel Just [Thu, 4 Dec 2014 17:24:14 +0000 (09:24 -0800)]
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>
10 years agodoc/release-notes: v0.89
Sage Weil [Thu, 4 Dec 2014 17:15:37 +0000 (09:15 -0800)]
doc/release-notes: v0.89

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge remote-tracking branch 'gh/next'
Sage Weil [Thu, 4 Dec 2014 16:39:56 +0000 (08:39 -0800)]
Merge remote-tracking branch 'gh/next'

10 years agoMerge pull request #3024 from ceph/wip-librados-symbols
Loic Dachary [Thu, 4 Dec 2014 14:10:10 +0000 (15:10 +0100)]
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>
10 years agoMerge pull request #3028 from majianpeng/fix4
Loic Dachary [Thu, 4 Dec 2014 06:39:40 +0000 (07:39 +0100)]
Merge pull request #3028 from majianpeng/fix4

Add perf reset command.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #3074 from ceph/wip-10229
Yan, Zheng [Thu, 4 Dec 2014 05:32:32 +0000 (13:32 +0800)]
Merge pull request #3074 from ceph/wip-10229

osdc/Filer: use finisher to execute C_Probe and C_PurgeRange

10 years agoosdc/Filer: use finisher to execute C_Probe and C_PurgeRange 3074/head
Yan, Zheng [Thu, 4 Dec 2014 04:18:47 +0000 (12:18 +0800)]
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>
10 years agomon: fix signed/unsigned comparison warning
Greg Farnum [Wed, 3 Dec 2014 18:45:52 +0000 (10:45 -0800)]
mon: fix signed/unsigned comparison warning

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
10 years ago0.89 v0.89
Jenkins [Wed, 3 Dec 2014 16:18:33 +0000 (08:18 -0800)]
0.89

10 years agoMerge pull request #3065 from ceph/wip-cephtool-exec
Loic Dachary [Wed, 3 Dec 2014 15:28:51 +0000 (16:28 +0100)]
Merge pull request #3065 from ceph/wip-cephtool-exec

qa: fix cephtool tests not getting run

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoqa: fix teardown in cephtool's test_mon_mds 3065/head
John Spray [Tue, 2 Dec 2014 21:43:03 +0000 (21:43 +0000)]
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>
10 years agoMerge pull request #3044 from osynge/wip=suse-systemd
Sage Weil [Wed, 3 Dec 2014 04:56:55 +0000 (20:56 -0800)]
Merge pull request #3044 from osynge/wip=suse-systemd

better systemd support

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3067 from dachary/wip-cephtool
Sage Weil [Wed, 3 Dec 2014 04:53:12 +0000 (20:53 -0800)]
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>
10 years agocommon/perf_counters: Remove the duplicated code. 3028/head
Jianpeng Ma [Wed, 3 Dec 2014 02:28:00 +0000 (10:28 +0800)]
common/perf_counters: Remove the duplicated code.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
10 years agotest/perf_counters: Replace perfcounters_dump to perf dump.
Jianpeng Ma [Wed, 3 Dec 2014 02:26:26 +0000 (10:26 +0800)]
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>
10 years agotest/perf_counters: Add test case for cmd 'perf reset'
Jianpeng Ma [Wed, 3 Dec 2014 02:23:03 +0000 (10:23 +0800)]
test/perf_counters: Add test case for cmd 'perf reset'

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
10 years agocommon/perf_counters: Add 'perf reset all|perfcountername' for 'ceph
Jianpeng Ma [Wed, 3 Dec 2014 02:10:03 +0000 (10:10 +0800)]
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>
10 years agoMerge pull request #3068 from ktdreyer/doc-os-recommendations-cleanup
Loic Dachary [Wed, 3 Dec 2014 00:23:52 +0000 (01:23 +0100)]
Merge pull request #3068 from ktdreyer/doc-os-recommendations-cleanup

doc: os recommendations cleanup

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: rm Fedora minor versions in os recommendations 3068/head
Ken Dreyer [Tue, 2 Dec 2014 23:31:06 +0000 (16:31 -0700)]
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>
10 years agoMerge pull request #3061 from ktdreyer/rpm-ceph-disk-man-page
Loic Dachary [Tue, 2 Dec 2014 23:18:50 +0000 (00:18 +0100)]
Merge pull request #3061 from ktdreyer/rpm-ceph-disk-man-page

packaging: package ceph-disk(8)

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agopackaging: package ceph-disk(8) 3061/head
Ken Dreyer [Tue, 2 Dec 2014 20:58:10 +0000 (13:58 -0700)]
packaging: package ceph-disk(8)

The ceph-disk man page was added in
a450cab2b8148cb8a9b043d629feccf89e5aabac, but this was not added to the
RPM or DEB packaging. Add it here.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
10 years agodoc: rm old releases in os recommendations page
Ken Dreyer [Tue, 2 Dec 2014 22:54:22 +0000 (15:54 -0700)]
doc: rm old releases in os recommendations page

Similar to the change in commit
4cdc9c793627eec13c65543c09c604ec27a4dd8a, remove the references to old
Ceph releases.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
10 years agodoc: clarify "B" flag in os recommendations page
Ken Dreyer [Tue, 2 Dec 2014 22:52:58 +0000 (15:52 -0700)]
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>
10 years agoqa: cephtool/test.sh use regular strings to list tests 3067/head loic/wip-cephtool
Loic Dachary [Tue, 2 Dec 2014 22:16:05 +0000 (23:16 +0100)]
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>
10 years agotests: vstart_wrapper.sh must call vstart.sh with a list of daemons
Loic Dachary [Tue, 2 Dec 2014 06:37:15 +0000 (07:37 +0100)]
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>
10 years agoerasure-code: enforce chunk size alignment 3049/head
Loic Dachary [Tue, 2 Dec 2014 00:07:34 +0000 (01:07 +0100)]
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>
10 years agocommon: allow size alignment that is not a power of two
Loic Dachary [Tue, 2 Dec 2014 01:04:14 +0000 (02:04 +0100)]
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>
10 years agocommon: add bufferlist::rebuild_aligned_size_and_memory
Loic Dachary [Mon, 1 Dec 2014 23:59:08 +0000 (00:59 +0100)]
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>
10 years agodoc: Reformatting on rbd replay doc.
John Wilkins [Tue, 2 Dec 2014 19:23:55 +0000 (11:23 -0800)]
doc: Reformatting on rbd replay doc.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
10 years agodoc: Added rbd-replay-many and restructured index.
John Wilkins [Tue, 2 Dec 2014 19:23:29 +0000 (11:23 -0800)]
doc: Added rbd-replay-many and restructured index.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
10 years agodoc: Fixed index syntax.
John Wilkins [Tue, 2 Dec 2014 19:23:00 +0000 (11:23 -0800)]
doc: Fixed index syntax.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
10 years agoMerge pull request #3051 from ceph/wip-doc-rbd-replay
John Wilkins [Tue, 2 Dec 2014 19:09:13 +0000 (11:09 -0800)]
Merge pull request #3051 from ceph/wip-doc-rbd-replay

doc: Document RBD Replay

Reviewed-by: John Wilkins <jowilkin@redhat.com>
10 years agoMerge pull request #3060 from ktdreyer/doc-os-recommendations-centos-7
John Wilkins [Tue, 2 Dec 2014 19:07:07 +0000 (11:07 -0800)]
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>
10 years agodoc: add CentOS 7 to recommended OSes 3060/head
Ken Dreyer [Tue, 2 Dec 2014 17:45:26 +0000 (10:45 -0700)]
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>
10 years agoMerge pull request #2993 from theanalyst/s3/keystone-date-fixes
Yehuda Sadeh [Tue, 2 Dec 2014 17:39:02 +0000 (09:39 -0800)]
Merge pull request #2993 from theanalyst/s3/keystone-date-fixes

rgw: check for timestamp for s3 keystone auth

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoMerge pull request #3058 from nilamdyuti/wip-doc-ceph-disk
Loic Dachary [Tue, 2 Dec 2014 17:16:56 +0000 (18:16 +0100)]
Merge pull request #3058 from nilamdyuti/wip-doc-ceph-disk

doc: Adds man page for ceph disk in TOC.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: Adds man page for ceph disk in TOC. 3058/head
Nilamdyuti Goswami [Tue, 2 Dec 2014 17:04:57 +0000 (22:34 +0530)]
doc: Adds man page for ceph disk in TOC.

Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
10 years agoMerge pull request #3056 from ceph/wip-9997-1
John Spray [Tue, 2 Dec 2014 14:19:06 +0000 (14:19 +0000)]
Merge pull request #3056 from ceph/wip-9997-1

client: invalidate kernel dentries one by one

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agoclient: invalidate kernel dentries one by one 3056/head
Yan, Zheng [Mon, 1 Dec 2014 13:54:52 +0000 (21:54 +0800)]
client: invalidate kernel dentries one by one

Our trick to trim the whole kernel dentry tree does not work for 3.18+ kernel.
The fix is trim kernel dentries one by one.

Fixes: #9997
Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoMerge pull request #3052 from ceph/wip-flush-journal-fix
John Spray [Tue, 2 Dec 2014 13:18:10 +0000 (13:18 +0000)]
Merge pull request #3052 from ceph/wip-flush-journal-fix

mds: fix race of trimming log segments

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #2994 from dachary/wip-10175-compile-dependencies
Loic Dachary [Tue, 2 Dec 2014 09:32:15 +0000 (10:32 +0100)]
Merge pull request #2994 from dachary/wip-10175-compile-dependencies

script replacement for deps.{rpm,deb}.txt

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
10 years agomds: fix race of trimming log segments 3052/head
Yan, Zheng [Tue, 2 Dec 2014 05:59:11 +0000 (13:59 +0800)]
mds: fix race of trimming log segments

trimming old log segments can start new log segments, make sure
MDLog::trim_all() not expire newly started log segments.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
10 years agoMerge pull request #3041 from xiaoxichen/cleanup-noop
Sage Weil [Tue, 2 Dec 2014 04:47:29 +0000 (20:47 -0800)]
Merge pull request #3041 from xiaoxichen/cleanup-noop

Cleanup noop in message

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agodoc: Document RBD Replay 3051/head
Adam Crume [Tue, 2 Dec 2014 04:44:02 +0000 (20:44 -0800)]
doc: Document RBD Replay

Signed-off-by: Adam Crume <adamcrume@gmail.com>
10 years agoMerge pull request #3008 from ceph/wip-10135
Gregory Farnum [Tue, 2 Dec 2014 02:05:02 +0000 (18:05 -0800)]
Merge pull request #3008 from ceph/wip-10135

mon: OSDMonitor: allow adding tiers to FS pools

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #3050 from dachary/wip-10213-const
Gregory Farnum [Tue, 2 Dec 2014 01:30:36 +0000 (17:30 -0800)]
Merge pull request #3050 from dachary/wip-10213-const

msg: do not const methods that return a mutable pointer

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agomsg: do not const methods that return a mutable pointer 3050/head
Loic Dachary [Tue, 2 Dec 2014 01:20:15 +0000 (02:20 +0100)]
msg: do not const methods that return a mutable pointer

Add remove misleading const on post_rx_buffer argument.

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

Signed-off-by: Loic Dachary <loic@dachary.org>
10 years agoMerge pull request #2825 from ceph/wip-9921
Sage Weil [Mon, 1 Dec 2014 17:23:39 +0000 (09:23 -0800)]
Merge pull request #2825 from ceph/wip-9921

SimpleMessenger: Pipe: do not block on takeover while holding global locks

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #3046 from yuyuyu101/fix-kinetic
Sage Weil [Mon, 1 Dec 2014 17:10:17 +0000 (09:10 -0800)]
Merge pull request #3046 from yuyuyu101/fix-kinetic

KnieticStore: add necessary header file

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2922 from ceph/wip-da-SCA-20141111
Samuel Just [Mon, 1 Dec 2014 17:08:13 +0000 (09:08 -0800)]
Merge pull request #2922 from ceph/wip-da-SCA-20141111

Coverity fixes

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2937 from simon3z/master
Samuel Just [Mon, 1 Dec 2014 17:07:38 +0000 (09:07 -0800)]
Merge pull request #2937 from simon3z/master

common: do not unlock rwlock on destruction

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2945 from ceph/wip-9321
Samuel Just [Mon, 1 Dec 2014 17:05:44 +0000 (09:05 -0800)]
Merge pull request #2945 from ceph/wip-9321

mon: PaxosService: can be readable even if proposing

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agoMerge pull request #2788 from ceph/wip-warn-max-pg
Samuel Just [Mon, 1 Dec 2014 17:05:04 +0000 (09:05 -0800)]
Merge pull request #2788 from ceph/wip-warn-max-pg

mon: warn when there are too many pgs per osd

Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #2735 from ceph/wip-pg-stat
Samuel Just [Mon, 1 Dec 2014 17:00:06 +0000 (09:00 -0800)]
Merge pull request #2735 from ceph/wip-pg-stat

mon: make 'pg stat -f json' not pg dump; make JSON dump of floats floats and not strings

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agodocumentation: replace deps.{deb,rpm}.txt with scripts 2994/head
Loic Dachary [Tue, 25 Nov 2014 16:25:26 +0000 (17:25 +0100)]
documentation: replace deps.{deb,rpm}.txt with scripts

install-deps.sh installs the dependencies based on the content of
debian/control (if apt-get is found) or ceph.spec.in (if yum is
found). The manually maintained list of dependencies for deb based
operating systems (deps.deb.txt) and rpm based operating
systems (deps.rpm.txt) are deprecated.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoKnieticStore: add necessary header file 3046/head
Haomai Wang [Mon, 1 Dec 2014 14:24:45 +0000 (22:24 +0800)]
KnieticStore: add necessary header file

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agobetter systemd support 3044/head
Owen Synge [Mon, 1 Dec 2014 13:32:48 +0000 (14:32 +0100)]
better systemd support

Added ceph.target
Made ceph-mds, ceph-mon, ceph-osd services part of ceph.target
Made ceph-mds, ceph-mon, ceph-osd services require partitions to be available.
Added ceph init script with sysV like behaviour.

Provided by Tim Serong tserong@suse.com and Owen Synge osynge@suse.com

Signed-off-by: Owen Synge <osynge@suse.com>
10 years agoCleanup noop in message 3041/head
Xiaoxi Chen [Mon, 1 Dec 2014 13:35:10 +0000 (21:35 +0800)]
Cleanup noop in message

The noop loop are dead, so clean it up

Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
10 years agoMerge pull request #2855 from ceph/wip-9881
John Spray [Mon, 1 Dec 2014 12:20:44 +0000 (12:20 +0000)]
Merge pull request #2855 from ceph/wip-9881

#9881 MDS flush journal asok command

Reviewed-by: Yan, Zheng <zyan@redhat.com>
10 years agomds: implement "flush journal" asok 2855/head
John Spray [Fri, 31 Oct 2014 12:41:18 +0000 (12:41 +0000)]
mds: implement "flush journal" asok

Start a new segment and flush everything older
to the backing store.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agomds: in segment expiry, use end instead of start
John Spray [Mon, 3 Nov 2014 12:39:56 +0000 (12:39 +0000)]
mds: in segment expiry, use end instead of start

Previously we were always leaving the last log
segment un-expired from Journaler's POV, because
we were updating expire_pos to the *start* of the
expired journal segment instead of the *end*.

This was harmless, but cleaning it up makes it
easier to see what's going on during journal flushes
in testing.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agomds: fix MDLog I/O callback without finisher
John Spray [Thu, 20 Nov 2014 14:27:27 +0000 (14:27 +0000)]
mds: fix MDLog I/O callback without finisher

This could deadlock if another caller was waiting
on a write_head callback while holding mds_lock.

Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #3037 from stiopaa1/cleanup
Loic Dachary [Sun, 30 Nov 2014 22:31:17 +0000 (23:31 +0100)]
Merge pull request #3037 from stiopaa1/cleanup

added some consts, some cleanup

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoadded consts, cleanup 3037/head
Michal Jarzabek [Sun, 30 Nov 2014 20:18:25 +0000 (20:18 +0000)]
added consts, cleanup
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
10 years agoMerge pull request #3019 from theanalyst/doc/typo/ceph-auth
Loic Dachary [Sun, 30 Nov 2014 09:23:43 +0000 (10:23 +0100)]
Merge pull request #3019 from theanalyst/doc/typo/ceph-auth

doc: minor fix in ceph-authtool man page

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #3023 from ktdreyer/rpm-rbd-replay-prep-conditional
Loic Dachary [Sun, 30 Nov 2014 09:18:26 +0000 (10:18 +0100)]
Merge pull request #3023 from ktdreyer/rpm-rbd-replay-prep-conditional

rpm: unconditionally package rbd-replay-prep(8)

Reviewed-by: Adam Crume <adamcrume@gmail.com>
10 years agodoc: minor fix in ceph-authtool man page 3019/head
Abhishek Lekshmanan [Wed, 26 Nov 2014 16:13:10 +0000 (21:43 +0530)]
doc: minor fix in ceph-authtool man page

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
10 years agoMerge pull request #3032 from dachary/wip-osd-log-cosmetics
Loic Dachary [Fri, 28 Nov 2014 23:04:49 +0000 (00:04 +0100)]
Merge pull request #3032 from dachary/wip-osd-log-cosmetics

osd: log message content cosmetics

Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
10 years agoosd: log message content cosmetics 3032/head
Loic Dachary [Fri, 28 Nov 2014 15:20:00 +0000 (16:20 +0100)]
osd: log message content cosmetics

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #2769 from ceph/wip-9557
John Spray [Fri, 28 Nov 2014 12:59:29 +0000 (12:59 +0000)]
Merge pull request #2769 from ceph/wip-9557

mds: verify backtrace when fetching dirfrag

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #3027 from majianpeng/fix1
Loic Dachary [Fri, 28 Nov 2014 07:12:50 +0000 (08:12 +0100)]
Merge pull request #3027 from majianpeng/fix1

Add "make check" dep python-virtualenv in deps.rpm.txt

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoAdd "make check" dep python-virtualenv in deps.rpm.txt 3027/head
Jianpeng Ma [Fri, 28 Nov 2014 06:24:58 +0000 (14:24 +0800)]
Add "make check" dep python-virtualenv in deps.rpm.txt

In fedora20, When 'make  check' and met those error messages:
/src/test/run-cli-tests: virtualenv not installed, skipping python-using
tests.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
10 years agoMerge pull request #3025 from majianpeng/fix1
Loic Dachary [Thu, 27 Nov 2014 08:56:03 +0000 (09:56 +0100)]
Merge pull request #3025 from majianpeng/fix1

Add isa-erasure yasm dep for deps.rpm.txt

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoAdd isa-erasure yasm dep for deps.rpm.txt 3025/head
Jianpeng Ma [Thu, 27 Nov 2014 07:11:09 +0000 (15:11 +0800)]
Add isa-erasure yasm dep for deps.rpm.txt

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
10 years agorpm: unconditionally package rbd-replay-prep(8) 3023/head
Ken Dreyer [Wed, 26 Nov 2014 23:49:53 +0000 (16:49 -0700)]
rpm: unconditionally package rbd-replay-prep(8)

The build system will conditionally build and install the
rbd-replay-prep utility based on the presence of lttng.

Commit 230c5b8e7f58e2e8be32c3f31c6abcc5bdabc5ca adjusted the RPM
packaging so that we only package and ship the rbd-replay-prep utility
and its man page when we're on a platform that has lttng.

The problem is that this is only half-correct. The build system
unconditionally installs the man page for rbd-replay-prep, regardless of
whether lttng was present or absent, and (by extension,) without regard
for whether we've built and installed the rbd-replay-prep binary or not.

We have two options: either the build system should be adjusted to
conditionally skip installing rbd-replay-prep(8), or else we should just
adjust the RPM packaging to always ship the man page. This commit does
the latter.

Backport: firefly
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
10 years agolibrados: Only public API symbols from the shared library 3024/head
Jason Dillaman [Sat, 15 Nov 2014 11:00:30 +0000 (06:00 -0500)]
librados: Only public API symbols from the shared library

The librados shared library was previously exporting all
symbols.  librados public API methods are now explicitly
exported and all other symbols are hidden.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
10 years agoMerge pull request #3022 from leseb/fix-opts
Loic Dachary [Wed, 26 Nov 2014 21:37:31 +0000 (22:37 +0100)]
Merge pull request #3022 from leseb/fix-opts

Minor typos and trailing spaces

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMinor typos and trailing spaces 3022/head
Sébastien Han [Wed, 26 Nov 2014 21:33:31 +0000 (22:33 +0100)]
Minor typos and trailing spaces

Fix typos and trailing spaces.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
10 years agoMerge pull request #3016 from yuyuyu101/fix-kinetic-support
Josh Durgin [Wed, 26 Nov 2014 19:30:16 +0000 (11:30 -0800)]
Merge pull request #3016 from yuyuyu101/fix-kinetic-support

KineticStore: Fix compile error and add _test_init

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
10 years agoKineticStore: Fix compile error and add _test_init 3016/head
Haomai Wang [Wed, 26 Nov 2014 12:37:53 +0000 (20:37 +0800)]
KineticStore: Fix compile error and add _test_init

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
10 years agoMerge pull request #2995 from nilamdyuti/wip-doc-ceph-disk
Loic Dachary [Wed, 26 Nov 2014 18:24:56 +0000 (19:24 +0100)]
Merge pull request #2995 from nilamdyuti/wip-doc-ceph-disk

doc: Adds man page for ceph-disk utility.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #3021 from tchaikov/wip-fix-typos
Loic Dachary [Wed, 26 Nov 2014 18:21:18 +0000 (19:21 +0100)]
Merge pull request #3021 from tchaikov/wip-fix-typos

doc: fix some typos in ObjectStore.h

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agodoc: fix some typos in ObjectStore.h 3021/head
Kefu Chai [Wed, 26 Nov 2014 18:03:27 +0000 (02:03 +0800)]
doc: fix some typos in ObjectStore.h

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
10 years agodoc: Adds the updated man page for ceph-disk utility. 2995/head
Nilamdyuti Goswami [Wed, 26 Nov 2014 16:51:32 +0000 (22:21 +0530)]
doc: Adds the updated man page for ceph-disk utility.

Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
10 years agodoc: Updates the man page for ceph-disk utility with some changes.
Nilamdyuti Goswami [Wed, 26 Nov 2014 16:49:01 +0000 (22:19 +0530)]
doc: Updates the man page for ceph-disk utility with some changes.

Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
10 years agoMerge pull request #3011 from stiopaa1/someConsts
Loic Dachary [Tue, 25 Nov 2014 23:20:24 +0000 (00:20 +0100)]
Merge pull request #3011 from stiopaa1/someConsts

added some consts

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoadded some consts 3011/head
Michal Jarzabek [Tue, 25 Nov 2014 20:58:04 +0000 (20:58 +0000)]
added some consts
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
10 years agomon: OSDMonitor: allow adding tiers to FS pools 3008/head
John Spray [Tue, 25 Nov 2014 16:54:42 +0000 (16:54 +0000)]
mon: OSDMonitor: allow adding tiers to FS pools

This was an overly-strict check.  In fact it is perfectly
fine to set an overlay on a pool that is already in use
as a filesystem data or metadata pool.

Fixes: #10135
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agodoc: Adds man page for ceph-disk utility.
Nilamdyuti Goswami [Tue, 25 Nov 2014 15:53:08 +0000 (21:23 +0530)]
doc: Adds man page for ceph-disk utility.

Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
10 years agodoc: Removes ceph-deploy usage instances from ceph-disk man page.
Nilamdyuti Goswami [Tue, 25 Nov 2014 15:46:16 +0000 (21:16 +0530)]
doc: Removes ceph-deploy usage instances from ceph-disk man page.

Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
10 years agoMerge pull request #3003 from dachary/wip-10185-neon 3017/head
Loic Dachary [Tue, 25 Nov 2014 13:14:20 +0000 (14:14 +0100)]
Merge pull request #3003 from dachary/wip-10185-neon

arch: fix neon feature detection

Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@redhat.com>
10 years agoarch: fix neon feature detection 3003/head
Loic Dachary [Tue, 25 Nov 2014 09:39:21 +0000 (10:39 +0100)]
arch: fix neon feature detection

The fread function returns the number of elements read, not the number
of bytes.

Introduced by 1cef8339f7a2a503327c20c014e696c91d36281e , after giant.

Add tests for protection against similar regressions.

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

Signed-off-by: Loic Dachary <ldachary@redhat.com>
10 years agoMerge pull request #3002 from thesues/fix-init
Loic Dachary [Tue, 25 Nov 2014 11:07:37 +0000 (12:07 +0100)]
Merge pull request #3002 from thesues/fix-init

Remove pidfile and asok after stopping ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoRemove pidfile and asok after stopping ceph 3002/head
Dongmao Zhang [Tue, 25 Nov 2014 07:34:46 +0000 (15:34 +0800)]
Remove pidfile and asok after stopping ceph

Signed-off-by: Dongmao Zhang <deanraccoon@gmail.com>
10 years agoMerge pull request #2996 from ceph/wip-10151
Gregory Farnum [Tue, 25 Nov 2014 01:19:46 +0000 (17:19 -0800)]
Merge pull request #2996 from ceph/wip-10151

mon: fix MDS health status from peons

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #2872 from dachary/wip-10018-primary-erasure-code-hinfo
David Zafman [Mon, 24 Nov 2014 21:26:21 +0000 (13:26 -0800)]
Merge pull request #2872 from dachary/wip-10018-primary-erasure-code-hinfo

osd: erasure code deep scrub must not abort if hinfo is missing

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agoMerge pull request #2984 from stiopaa1/includeFix
Sage Weil [Mon, 24 Nov 2014 20:47:43 +0000 (12:47 -0800)]
Merge pull request #2984 from stiopaa1/includeFix

remove unneeded include file

Reviewed-by: Sage Weil <sage@redhat.com>
10 years agodoc: Updates man page for ceph-disk utility.
Nilamdyuti Goswami [Mon, 24 Nov 2014 20:36:39 +0000 (02:06 +0530)]
doc: Updates man page for ceph-disk utility.

Signed-off-by: Nilamdyuti Goswami <ngoswami@redhat.com>
10 years agoremove unneeded include file 2984/head
Michal Jarzabek [Sun, 23 Nov 2014 20:42:20 +0000 (20:42 +0000)]
remove unneeded include file

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
10 years agoMerge pull request #2998 from theanalyst/doc/rgw-s3-bucket-loc
John Wilkins [Mon, 24 Nov 2014 19:35:26 +0000 (11:35 -0800)]
Merge pull request #2998 from theanalyst/doc/rgw-s3-bucket-loc

doc: rgw document s3 bucket location features.

Reviewed-by: John Wilkins <jowilkin@redhat.com>