]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Kefu Chai [Thu, 12 Feb 2015 05:02:45 +0000 (13:02 +0800)]
osd: fix OSDCap parser on old boost/spirit
* on boost 1.41, the ascii::space skipper fails to skip the spaces at the
beginning of the parsed string, so as a workaround we replace the `lit(' ')`
in grammar spec with `ascii::blank`. this also simplifies the grammar
a little bit.
Fixes: #10757
Signed-off-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Thu, 12 Feb 2015 10:06:41 +0000 (11:06 +0100)]
Merge pull request #3707 from dachary/wip-erasure-code-uninitialized
erasure-code: initialize all data members
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Loic Dachary [Thu, 12 Feb 2015 10:05:19 +0000 (11:05 +0100)]
Merge pull request #3713 from tchaikov/pass-string-by-ref
Pass string by ref
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Thu, 12 Feb 2015 02:32:34 +0000 (10:32 +0800)]
osd/OpRequest: pass string by const&
Signed-off-by: Kefu Chai <kchai@redhat.com>
Gregory Farnum [Thu, 12 Feb 2015 05:04:03 +0000 (21:04 -0800)]
Merge pull request #3711 from ceph/hadoop
qa: hadoop plays nice with new teuthology task
Sage Weil [Thu, 12 Feb 2015 02:31:39 +0000 (18:31 -0800)]
Merge remote-tracking branch 'gh/master' into hammer
Sage Weil [Thu, 12 Feb 2015 02:31:42 +0000 (18:31 -0800)]
Merge pull request #3522 from ceph/wip-8600
mon: OSDMonitor: tolerate catastrophically bad crush maps
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 12 Feb 2015 02:21:24 +0000 (18:21 -0800)]
Merge pull request #3703 from vuhuong/wip-xio-hammer
Wip xio hammer
Reviewed-by: Matt Benjamin <matt@cohortfs.com>
Samuel Just [Thu, 12 Feb 2015 01:35:22 +0000 (17:35 -0800)]
Merge pull request #3664 from liewegas/wip-10695
mon: fix 'nan' from osd df output
Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
Josh Durgin [Thu, 12 Feb 2015 01:32:53 +0000 (17:32 -0800)]
Merge pull request #3704 from ceph/wip-10761
librbd: blacklist clients before breaking locks
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Thu, 12 Feb 2015 01:29:41 +0000 (17:29 -0800)]
Merge pull request #3513 from rzarzynski/wip-10425
librados: Wip 10425
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Thu, 12 Feb 2015 01:28:09 +0000 (17:28 -0800)]
Merge pull request #3515 from rzarzynski/wip-10458
librados: Wip 10458 - rectify the pool name caching in IoCtxImpl.
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Thu, 12 Feb 2015 01:26:43 +0000 (17:26 -0800)]
Merge pull request #3674 from jdurgin/wip-python-leak
rados.py: keep reference to python callbacks
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Thu, 12 Feb 2015 01:26:05 +0000 (17:26 -0800)]
Merge pull request #3676 from majianpeng/misc
Misc
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Thu, 12 Feb 2015 01:24:35 +0000 (17:24 -0800)]
Merge pull request #3678 from tchaikov/fix-pg-leak
osd: fix PG leak in SnapTrimWQ._clear()
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Loic Dachary [Thu, 12 Feb 2015 00:08:07 +0000 (01:08 +0100)]
Merge remote-tracking branch 'ceph/hammer'
Noah Watkins [Thu, 12 Feb 2015 00:02:49 +0000 (16:02 -0800)]
qa: hadoop plays nice with new teuthology task
This brings the hadoop wordcount up-to-date with the new teuthology
hadoop task.
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Ken Dreyer [Wed, 11 Feb 2015 23:57:30 +0000 (16:57 -0700)]
Merge pull request #3683 from dachary/wip-10845-python-flask
tests: no need for python-flask at build time
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Loic Dachary [Wed, 11 Feb 2015 22:16:24 +0000 (23:16 +0100)]
tests: no need for python-flask at build time
http://tracker.ceph.com/issues/10845 Refs: #10845
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Gregory Farnum [Wed, 11 Feb 2015 23:01:06 +0000 (15:01 -0800)]
Merge pull request #3699 from ceph/wip-early-adopters
doc: Early adopter notes for CephFS
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Gregory Farnum [Wed, 11 Feb 2015 22:47:41 +0000 (14:47 -0800)]
Merge pull request #3617 from ceph/wip-10737
mds: disallow layout changes for files with data
Reviewed-by: John Spray <john.spray@redhat.com>
Gregory Farnum [Wed, 11 Feb 2015 22:39:29 +0000 (14:39 -0800)]
Merge pull request #3683 from ceph/wip-10791-stopping
MDSMonitor: do not allow MDS to transition from STATE_STOPPING
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Gregory Farnum [Wed, 11 Feb 2015 22:26:17 +0000 (14:26 -0800)]
Merge pull request #3599 from ceph/wip-traceless-reply
Wip traceless reply
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Josh Durgin [Wed, 11 Feb 2015 22:04:09 +0000 (14:04 -0800)]
Merge pull request #3700 from ceph/wip-librbd-maint-tests
tests: add simple tests for proxied maintenance operations
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Wed, 11 Feb 2015 21:56:02 +0000 (13:56 -0800)]
Merge pull request #3706 from dachary/wip-10839-shec-uninitialized-hammer
erasure-code: fix uninitialized data members on SHEC
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Wed, 11 Feb 2015 20:48:34 +0000 (21:48 +0100)]
erasure-code: initialize all data members
As a safeguard against unitialized memory in isa and jerasure
plugins. Since the init method is supposed to be called before the
plugin is used, it is mostly not relevant. However it can lead to
problems that are non trivial to figure out.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Wed, 11 Feb 2015 20:46:02 +0000 (21:46 +0100)]
erasure-code: fix uninitialized data members on SHEC
Also fix the tests that verify the result when init is not called and
factorize the two tests that were almost identical for simplicity.
http://tracker.ceph.com/issues/10839 Fixes: #10839
Backport: hammer
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Samuel Just [Wed, 11 Feb 2015 18:29:47 +0000 (10:29 -0800)]
Merge pull request #3692 from athanatos/wip-8753
ReplicatedPG::on_change: clean up callbacks_for_degraded_object
Reviewed-by: Sage Weil <sage@redhat.com>
Samuel Just [Mon, 9 Feb 2015 18:37:15 +0000 (10:37 -0800)]
ReplicatedPG::on_change: clean up callbacks_for_degraded_object
Backport: dumpling, firefly, giant
Fixes: 8753
Signed-off-by: Samuel Just <sjust@redhat.com>
Sage Weil [Wed, 11 Feb 2015 18:26:25 +0000 (10:26 -0800)]
Merge pull request #3643 from athanatos/wip-10734
ObjectStore: fix Transaction encoding version number
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 11 Feb 2015 17:21:36 +0000 (09:21 -0800)]
Merge remote-tracking branch 'gh/master' into hammer
Sage Weil [Wed, 11 Feb 2015 17:21:53 +0000 (09:21 -0800)]
Merge pull request #3092 from abartlet/ceph-dmcrypt-plain
Ceph dmcrypt with LUKS (split into 4 patches)
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Wed, 11 Feb 2015 17:20:19 +0000 (09:20 -0800)]
Merge branch 'hammer' of github.com:ceph/ceph into hammer
mon bits
Reviewed-by: Sage Weil <sage@redhat.com>
cli bits
Reviewed-by: Dan Mick <dmick@redhat.com>
Sage Weil [Wed, 11 Feb 2015 15:58:38 +0000 (07:58 -0800)]
mon/PGMonitor: drop pg ls debug line
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Wed, 11 Feb 2015 12:11:03 +0000 (12:11 +0000)]
doc: add a page for CephFS early adopters
This is where we should point people who are
trying out CephFS in evaluation environments.
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Mon, 2 Feb 2015 11:36:43 +0000 (03:36 -0800)]
doc/cephfs: Ceph FS -> CephFS
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 2 Feb 2015 11:34:46 +0000 (03:34 -0800)]
doc/cephfs: clarify the 'not production ready' warning
Continue to run into people who see this and run away (occasionally to
less robust solutions) without understanding why.
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Wed, 11 Feb 2015 13:18:53 +0000 (13:18 +0000)]
build-doc: package checks for fedora
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 11 Feb 2015 12:56:34 +0000 (12:56 +0000)]
build-doc: don't ignore errors
It's hard to see what went wrong when e.g. a pip
install fails, if it just steams right past.
Signed-off-by: John Spray <john.spray@redhat.com>
Vu Pham [Wed, 11 Feb 2015 10:36:11 +0000 (02:36 -0800)]
xio: Fix out-of-order responses
Without this clients received out-of-order responses from xio messenger
Signed-off-by: Raju.Kurunkad@sandisk.com
Vu Pham [Wed, 11 Feb 2015 10:21:19 +0000 (02:21 -0800)]
cmake: Fix cmakelist to compile librbd
Signed-off-by: Vu Pham <vu@melanox.com>
Sage Weil [Wed, 11 Feb 2015 01:42:21 +0000 (17:42 -0800)]
Merge pull request #3691 from athanatos/wip-6003
FileJournal: fix journalq population in do_read_entry()
Reviewed-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 11 Feb 2015 01:36:35 +0000 (17:36 -0800)]
Merge pull request #3690 from athanatos/wip-10817
Wip 10817
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 11 Feb 2015 01:33:18 +0000 (17:33 -0800)]
Merge pull request #3689 from athanatos/wip-10771
ReplicatedPG::eval_repop: check waiting_for_* even if !m
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 11 Feb 2015 01:19:44 +0000 (17:19 -0800)]
Merge branch 'wip-7701' of git://github.com/xinxinsh/ceph into hammer
Conflicts:
src/osd/osd_types.h
Ken Dreyer [Tue, 10 Feb 2015 23:47:27 +0000 (16:47 -0700)]
Merge branch 'dachary-wip-10728-fedora-junit'
ceph.spec.in: junit always except for EPEL 6
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Loic Dachary [Tue, 3 Feb 2015 15:14:23 +0000 (16:14 +0100)]
ceph.spec.in: junit always except for EPEL 6
The package was renamed a long time ago (around the Fedora 15
timeframe). The "junit4" name is only relevant for EPEL 6. For EPEL 7
and Fedora 20, the "junit" package has "Provides: junit4". And most
recently, in the junit package that ships in Fedora 21 and 22, the
package maintainer dropped the old Provides: line.
http://tracker.ceph.com/issues/10728 Fixes: #10728
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Greg Farnum [Tue, 10 Feb 2015 22:18:52 +0000 (14:18 -0800)]
MDSMonitor: do not allow MDS to transition from STATE_STOPPING
They can only go into STATE_STOPPED. I was a little concerned
that some of the rejoin code might inadvertently allow a stopping
MDS to end up active, but after a little auditing it looks like
that all behaves properly and this is an invariant we maintain.
Fixes: #10791
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Dmytro Iurchenko [Mon, 9 Feb 2015 15:07:53 +0000 (17:07 +0200)]
rgw: Swift API. The second way of specifying desirable response format.
OpenStack Object Storage API v1 defines two ways for the client to tell which response format it understands.
Until now RGW looked at query variable 'format' only. This commit implements the second way of setting the format by
providing 'Accept' HTTP-header with the desirable response mime-type.
Backport: hammer
Fixes: #10746
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
Josh Durgin [Tue, 10 Feb 2015 21:36:23 +0000 (13:36 -0800)]
Merge pull request #3682 from ceph/wip-10719
Wip 10719
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Tue, 10 Feb 2015 21:00:26 +0000 (13:00 -0800)]
Merge pull request #3680 from ceph/wip-10827
osdc/Objecter: linger_register now acquires rwlock
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Fri, 6 Feb 2015 02:18:23 +0000 (18:18 -0800)]
rgw: remove multipart entries for bucket index when aborting
Fixes #10719
Since we now let the gc clean the aborter multipart uploads, we need to
clear the multipart entries from the bucket index when cleaning up the
meta object.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Tue, 10 Feb 2015 02:16:13 +0000 (18:16 -0800)]
rgw: encode rgw_obj::orig_obj
We weren't encoding orig_obj, however, it's now needed so that we can
call get_index_key() on decoded objects. Only encode/decode it if ns or
instance are not empty.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Tue, 10 Feb 2015 20:38:45 +0000 (12:38 -0800)]
Merge pull request #3672 from ceph/wip-old-gcc
fix build and warnings on older gcc
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Yehuda Sadeh [Tue, 10 Feb 2015 17:44:08 +0000 (09:44 -0800)]
Merge branch 'wip-diurchenko-master' into hammer
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Dmytro Iurchenko [Tue, 3 Feb 2015 15:54:38 +0000 (17:54 +0200)]
rgw: Swift API. Support for X-Remove-Container-Meta-{key} header.
Fixes: #10475
Backport: hammer, firefly
Reported-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
Dmytro Iurchenko [Mon, 2 Feb 2015 10:52:44 +0000 (12:52 +0200)]
rgw: fix doc, A typo in command line argument name
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
Dmytro Iurchenko [Mon, 2 Feb 2015 09:27:00 +0000 (11:27 +0200)]
rgw: Swift API. Dump container's custom metadata.
Fixes: #10665
Backport: hammer, firefly
Reported-by: Ahmad Faheem <ahmad.faheem@ril.com>
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
Loic Dachary [Tue, 10 Feb 2015 12:43:31 +0000 (13:43 +0100)]
Merge pull request #3525 from qiushanggao/master
Fix bug: When run Test_filejournal testcase with gtest argument, all of testcases is failed.
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jianpeng Ma [Fri, 6 Feb 2015 07:19:46 +0000 (15:19 +0800)]
rados: add 'watch/notify' in rados --help command.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Jianpeng Ma [Tue, 10 Feb 2015 12:34:22 +0000 (20:34 +0800)]
rados: Using readable format to print object mtime when call 'stat obj'.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Loic Dachary [Tue, 10 Feb 2015 10:59:52 +0000 (11:59 +0100)]
Merge pull request #3677 from tchaikov/fix-sign-unsigned-comparison-warnings
erasure-code: fix compilation warnings
Reviewed-by: Loic Dachary <ldachary@redhat.com>
qiushanggao [Tue, 20 Jan 2015 02:27:50 +0000 (10:27 +0800)]
Fix bug: When run Test_filejournal testcase with gtest argument, all of testcases is failed.
when run testcase with gtest argument, for example, with argument --gtest_output=xml:/root/reports/ceph_test_cls_version.xml,
then the test result is failed, because of the test program use the first argument as the journal file name.
Signed-off-by: shanggao qiu <qiushanggao@qq.com>
Kefu Chai [Tue, 10 Feb 2015 10:24:23 +0000 (18:24 +0800)]
erasure-code: fix compilation warnings
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 10 Feb 2015 08:29:45 +0000 (16:29 +0800)]
osd: fix PG leak in SnapTrimWQ._clear()
Fixes: #10421
Signed-off-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Tue, 10 Feb 2015 08:21:41 +0000 (09:21 +0100)]
Merge pull request #3673 from tchaikov/cosmetic-init-with-false-no-0
osd/PG.c: use boolean to init `bool` variables
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Greg Farnum [Fri, 6 Feb 2015 05:12:17 +0000 (21:12 -0800)]
fsync-tester: print info about PATH and locations of lsof lookup
We're seeing the lsof invocation fail (as not found) in testing and nobody can
identify why. Since attempting to reproduce the issue has not worked, this
patch will gather data from a genuinely in-vitro location.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Greg Farnum [Fri, 6 Feb 2015 06:01:43 +0000 (22:01 -0800)]
test_libcephfs: test we can't set layouts on existing files
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Josh Durgin [Tue, 10 Feb 2015 04:50:23 +0000 (20:50 -0800)]
rados.py: keep reference to python callbacks
If we don't keep a reference to these, the librados aio calls will
segfault since the python-level callbacks will have been garbage
collected. Passing them to aio_create_completion() does not take a
reference to them. Keep a reference in the python Completion object
associated with the request, since they need the same lifetime.
This fixes a regression from
60b019f69aa0e39d276c669698c92fc890599f50 .
Fixes: #10775
Backport: dumpling, firefly, giant
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Tue, 10 Feb 2015 01:41:19 +0000 (17:41 -0800)]
ShardedThreadPool: make wait timeout on empty queue configurable
Fixes: 10818
Backport: giant
Signed-off-by: Samuel Just <sjust@redhat.com>
Kefu Chai [Tue, 10 Feb 2015 02:32:47 +0000 (10:32 +0800)]
osd/PG.c: use boolean to init `bool` variables
Signed-off-by: Kefu Chai <kchai@redhat.com>
Samuel Just [Tue, 10 Feb 2015 01:11:38 +0000 (17:11 -0800)]
WorkQueue: make wait timeout on empty queue configurable
Fixes: 10817
Backport: giant, firefly, dumpling
Signed-off-by: Samuel Just <sjust@redhat.com>
xinxin shu [Fri, 30 Jan 2015 06:36:35 +0000 (14:36 +0800)]
add tests for ceph pg ls-by-pool
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Fri, 30 Jan 2015 04:58:54 +0000 (12:58 +0800)]
add CLI ceph pg ls-by-pool
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Fri, 30 Jan 2015 04:55:19 +0000 (12:55 +0800)]
add tests for ceph pg ls-by-osd
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Fri, 30 Jan 2015 02:41:22 +0000 (10:41 +0800)]
add CLI ceph pg ls-by-osd
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Fri, 30 Jan 2015 02:38:27 +0000 (10:38 +0800)]
add tests for ceph pg ls-by-primary
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
xinxin shu [Fri, 30 Jan 2015 06:09:16 +0000 (14:09 +0800)]
fix error : ceph pg ls 0
no valid command found; 10 closest matches:
pg ls-by-primary <osdname (id|osd.id)> {<int>} {active|clean|down|replay|splitting|scrubbing|scrubq|degraded|inconsistent|peering|repair|recovery|backfill_wait|incomplete|stale|remapped|deep_scrub|backfill|backfill_toofull|recovery_wait|undersized [active|clean|down|replay|splitting|scrubbing|scrubq|degraded|inconsistent|peering|repair|recovery|backfill_wait|incomplete|stale|remapped|deep_scrub|backfill|backfill_toofull|recovery_wait|undersized...]}
Error EINVAL: invalid command
this is due to partial compare of prefix
Signed-off-by: xinxin shu <xinxin.shu@intel.com>
Josh Durgin [Mon, 9 Feb 2015 23:00:18 +0000 (15:00 -0800)]
locally disable pragma warnings on gcc < 4.6
diagnostic push|pop are not present before 4.6, so each use gives a
warning. Temporarily ignore these by disabling/reenabling -Wpragmas.
Note that this means the other disabled warnings are not scoped on
old gcc. I don't think this is worth fixing, since newer gcc will
respect the scope and show us the warnings outside of it.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Mon, 9 Feb 2015 22:55:15 +0000 (14:55 -0800)]
Pipe: conditionally compile IPTOS setting
This doesn't exist on older platforms.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Thu, 5 Feb 2015 06:20:00 +0000 (01:20 -0500)]
librbd: consolidate all async operation flush logic
librbd has three different methods for flushing asynchronous
operations. These have all been consolidated down to a single,
shared method to fix an existing issue and simplify maintenance
going forward.
Fixes: #10783
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Thu, 5 Feb 2015 06:22:38 +0000 (01:22 -0500)]
xlist: added missing include
The xlist header references NULL without including
the header which defines it.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Samuel Just [Thu, 5 Feb 2015 17:51:08 +0000 (09:51 -0800)]
ReplicatedPG::eval_repop: check waiting_for_* even if !m
There can be client ops waiting on a promote now.
Fixes: 10771
Signed-off-by: Samuel Just <sjust@redhat.com>
Loic Dachary [Mon, 9 Feb 2015 14:20:43 +0000 (15:20 +0100)]
Merge pull request #3602 from dachary/wip-10730-fedora-docker
tests: add Dockerfile for fedora
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Mon, 9 Feb 2015 14:18:57 +0000 (15:18 +0100)]
Merge pull request #3656 from dachary/wip-osd-scrub-repair
tests: run osd-scrub-repair.sh with make check
Reviewed-by: Sebastien Ponce <Sebastien.Ponce@cern.ch>
Sage Weil [Mon, 9 Feb 2015 06:35:39 +0000 (22:35 -0800)]
Merge pull request #3631 from liewegas/wip-mon-dup-down
mon: fix unnecessary osd mark down
Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
Sage Weil [Mon, 9 Feb 2015 06:27:02 +0000 (22:27 -0800)]
Merge pull request #3605 from ceph/wip-da-SCA-
20150129
Various SCA and smaller bugfixes
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 Feb 2015 06:13:29 +0000 (22:13 -0800)]
mon: have two COMMAND two COMMAND_WITH_FLAG macros
This avoids 2 separate calls to define each item and keeps the blame
info intact.
Signed-off-by: Sage Weil <sage@redhat.com>
Mykola Golub [Wed, 28 Jan 2015 12:43:32 +0000 (14:43 +0200)]
tests: make ceph_watch_wait output watchfile content on failure
It should help in troubleshooting remote test failures.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Wed, 21 Jan 2015 13:47:25 +0000 (15:47 +0200)]
mon: noforward flag for commands that are not supposed to be forwarded
For not a monitor leader, if a received command is not supported
locally, but is supported by the leader, it is forwarded to the
leader.
For some commands that may have undesirable behaviour. E.g. for the
recently added "ceph tell mon.x version", if the mon.x is not a leader
and does not support "version" command yet, but the leader does, the
user will receive the version of the leader, and can't be actually
sure about a non leader version.
Fix this by adding noforward flag to commands that are not supposed to
be forwarded. Set the flag for "version" command. Although there are
other non-forwardable commands (like injectargs) it is not necessary
to add the flag to them, as the commands are too old to suffer from
the describe problem.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Wed, 28 Jan 2015 08:45:59 +0000 (10:45 +0200)]
mon: fix Monitor::_get_moncommand()
It should match command prefix, not any substring.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Mon, 9 Feb 2015 05:57:14 +0000 (21:57 -0800)]
Merge branch 'wip-mshec-r44' of git://github.com/t-miyamae/ceph into hammer
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Sun, 8 Feb 2015 15:53:56 +0000 (07:53 -0800)]
Merge pull request #3667 from ceph/wip-doc-ports
doc: updates for port ranges
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Sun, 8 Feb 2015 14:47:04 +0000 (15:47 +0100)]
doc: remind user to calculate the correct max port
This was kind of easy to miss, and if users
just paste in the command as given then their
first few OSDs will work, and from their
4th OSD onwards things will get weird.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 8 Feb 2015 14:38:14 +0000 (15:38 +0100)]
doc: fix "7810" port typo
The correct value is now 7300, used to be
7100, was never 7810.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Sun, 8 Feb 2015 14:31:26 +0000 (15:31 +0100)]
doc: correct default of ms_bind_port_max
It's 7300 in the code, whereas these docs
had it as 7100.
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Sun, 8 Feb 2015 10:21:33 +0000 (02:21 -0800)]
Merge pull request #3665 from yuyuyu101/wip-fix-qa
AsyncConnection: Fix several bugs from qa test
Reviewed-by: Sage Weil <sage@redhat.com>
Haomai Wang [Sun, 8 Feb 2015 07:47:39 +0000 (15:47 +0800)]
AsyncConnection: fix incorrect condition for exchanging in_seq
Originally we use "in_seq==0" to judge whether need to exchange in_seq,
it's wrong when peer side already receive message and need to reply new
in_seq to this side.
Now use "is_reset_from_peer" to indicate whether not need to exchange
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Loic Dachary [Sat, 7 Feb 2015 21:53:06 +0000 (22:53 +0100)]
Merge pull request #3660 from SUSE/wip-fix-suse-tests
Handle differently-named xmlstarlet binary for *suse
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Sat, 7 Feb 2015 19:13:52 +0000 (11:13 -0800)]
mon/OSDMonitor: fix nan on 'osd df' variance
Fixes: half of #10695
Signed-off-by: Sage Weil <sage@redhat.com>