]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Danny Al-Gaaf [Thu, 2 Oct 2014 16:27:51 +0000 (18:27 +0200)]
mds/flock.cc: reduce scope of some variables
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 2 Oct 2014 16:18:55 +0000 (18:18 +0200)]
osd/ReplicatedBackend.cc: prefer ++operator for non-primitive iterators
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 2 Oct 2014 16:17:15 +0000 (18:17 +0200)]
osd/OSDMap.cc: prefer ++operator for non-primitive iterators
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Danny Al-Gaaf [Thu, 2 Oct 2014 08:48:25 +0000 (10:48 +0200)]
mount.ceph.c: ensure '\0' terminated string
Reserve last char in array for '\0' to ensure termination
of the string.
Fix for:
CID
1128383 (#1 of 1): Buffer not null terminated (BUFFER_SIZE_WARNING)
buffer_size_warning: Calling strncpy with a maximum size argument
of 1000 bytes on destination array secret of size 1000 bytes might
leave the destination string unterminated.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Sage Weil [Wed, 8 Oct 2014 19:39:01 +0000 (12:39 -0700)]
Merge pull request #2586 from ceph/wip-mon-status
mon: make health portion of ceph -s readable (multiple lines)
Reviewed-by: Joao Eduardo Luis <joao.luis@inktank.com>
Loic Dachary [Wed, 8 Oct 2014 19:26:11 +0000 (21:26 +0200)]
Merge pull request #2673 from dachary/wip-ceph-erasure-code-corpus
build: add ceph-erasure-code-corpus to gitmodule_mirrors
Reviewed-by: Sandon Van Ness <sandon@inktank.com>
Loic Dachary [Wed, 8 Oct 2014 19:22:02 +0000 (21:22 +0200)]
build: add ceph-erasure-code-corpus to gitmodule_mirrors
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Samuel Just [Wed, 8 Oct 2014 18:18:13 +0000 (11:18 -0700)]
Merge remote-tracking branch 'upstream/giant'
Samuel Just [Wed, 8 Oct 2014 18:08:35 +0000 (11:08 -0700)]
Merge pull request #2616 from guangyy/wip-giant-9614
PG::actingset should be used when checking the number of acting OSDs for a given PG.
Backport: firefly
Reviewed-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Wed, 8 Oct 2014 18:07:06 +0000 (11:07 -0700)]
Merge pull request #2663 from ceph/wip-9496
mon: PGMonitor: populate scrub timestamps with 'now' on pg creation
Reviewed-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Wed, 8 Oct 2014 18:04:42 +0000 (11:04 -0700)]
Merge pull request #2650 from ceph/wip-9128
Add reset_tp_timeout in long loop in add_source_info for suicide timeout
Reviewed-by: Samuel Just <sam.just@inktank.com>
Samuel Just [Wed, 8 Oct 2014 18:01:26 +0000 (11:01 -0700)]
Merge pull request #2543 from ceph/wip-9419
Wip 9419
Reviewed-by: Samuel Just <sam.just@inktank.com>
John Spray [Wed, 8 Oct 2014 14:45:29 +0000 (15:45 +0100)]
Merge pull request #2670 from dachary/wip-9700-cephtool-mon-osd
qa: move mon_mds tests last
Reviewed-by: John Spray <john.spray@redhat.com>
Loic Dachary [Wed, 8 Oct 2014 14:27:47 +0000 (16:27 +0200)]
qa: move mon_mds tests last
Assuming they are more likely than others to leave OSD/MON in an
unstable state that could have undefined side effects on the tests
following it. A cleaner solution would be to run them in a separate
script that is run on an independent cluster.
http://tracker.ceph.com/issues/9700 Fixes: #9700
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
John Spray [Wed, 8 Oct 2014 14:28:01 +0000 (15:28 +0100)]
Merge pull request #2569 from ceph/wip-9437
Implement `tell` in MDS
Reviewed-by: Reviewed-by: Greg Farnum <greg@inktank.com>
John Spray [Tue, 30 Sep 2014 13:45:42 +0000 (14:45 +0100)]
qa: cephtool tests for `tell mds.X`
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 6 Oct 2014 18:06:20 +0000 (19:06 +0100)]
qa: fixup cephtool test when MDS exists
We added MDS resetting code here a while back,
but the order of operations was such that a
"cluster up" was being run between a fail_all_mds
and the point at which we needed the map not to
be interfered with (testing setmap).
Also the new fs create/destroy cycles for testing
EC pool handling were missing calls to stop the
daemons before fs rm.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 29 Sep 2014 12:43:16 +0000 (13:43 +0100)]
test: unit tests for MDSAuthCaps
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 26 Sep 2014 16:24:12 +0000 (17:24 +0100)]
vstart: create fewer pgs for fs pools
Just so that dev clusters come up more
quickly.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 25 Sep 2014 17:05:18 +0000 (18:05 +0100)]
vstart: mds * auth caps
...so that the default client.admin identity
can call 'tell mds' things.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 7 Oct 2014 20:39:52 +0000 (21:39 +0100)]
mds: fix MDSAuthCap when cephx is disabled
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 22 Sep 2014 09:40:19 +0000 (10:40 +0100)]
pybind/ceph_argparse: implement 'tell mds'
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 22 Sep 2014 09:39:52 +0000 (10:39 +0100)]
pybind/cephfs: implement mds_command
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 23 Sep 2014 11:20:42 +0000 (12:20 +0100)]
pybind/cephfs: implement conf_parse_argv
So that when using `ceph` we can pass through
--debug-x args etc.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 22 Sep 2014 09:38:53 +0000 (10:38 +0100)]
pybind/rados: add conf/conf_defaults attributes
Store these from initialization so that given a Rados
object, we can read back config to initialize a
LibCephFS object.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 18 Sep 2014 17:57:11 +0000 (18:57 +0100)]
libcephfs: add ceph_mds_command
Wraps the equivalent fn in Client.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 18 Sep 2014 17:56:42 +0000 (18:56 +0100)]
client: add mds_command operation
akin to Objecter::osd_command
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 19 Sep 2014 18:34:17 +0000 (19:34 +0100)]
osdc/Objecter: don't consume non-osd cmd replies
...so that Client can get command replies from MDSs.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Wed, 24 Sep 2014 10:37:34 +0000 (11:37 +0100)]
mds: introduce MDS auth caps
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 22 Sep 2014 09:37:36 +0000 (10:37 +0100)]
mds: handle MCommand (mds tell)
Separate path to legacy MMonCommand, because MCommand
from the CLI sends JSON-style commands.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 6 Oct 2014 10:18:51 +0000 (11:18 +0100)]
mds: deprecation-warn on numeric mds names
To be turned into strict check in post-hammer
release, so that we can always unambiguously
discriminate a string into one of name, rank, gid.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 23 Sep 2014 11:21:14 +0000 (12:21 +0100)]
common: fix cmd_getval constness
...so that one can pass in a const cmdmap.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 18 Sep 2014 16:58:48 +0000 (17:58 +0100)]
messages: fix constness in MCommand constructor
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 18 Sep 2014 18:31:43 +0000 (19:31 +0100)]
mds: typedefs for rank and gid in MDSMap
Make it clearer what these numbers are where they appear.
Signed-off-by: John Spray <john.spray@redhat.com>
Loic Dachary [Wed, 8 Oct 2014 10:11:02 +0000 (12:11 +0200)]
Merge pull request #2668 from theanalyst/fix/mailmap-again
Fix/mailmap again
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Abhishek Lekshmanan [Wed, 8 Oct 2014 08:53:30 +0000 (14:23 +0530)]
mailmap: João Eduardo Luís name normalization
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Abhishek Lekshmanan [Wed, 8 Oct 2014 08:52:08 +0000 (14:22 +0530)]
mailmap: Yongyue sun affiliation
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Abhishek Lekshmanan [Wed, 8 Oct 2014 08:50:34 +0000 (14:20 +0530)]
mailmap: Andreas Peters name normalization
Reported-by: Loic Dachary <loic@dachary.org>
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Loic Dachary [Wed, 8 Oct 2014 08:18:54 +0000 (10:18 +0200)]
Merge pull request #2665 from yuyuyu101/update-mailmap
mailmap: add yuandong to organizationmap
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Haomai Wang [Wed, 8 Oct 2014 07:23:47 +0000 (15:23 +0800)]
mailmap: add yuandong to organizationmap
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Loic Dachary [Wed, 8 Oct 2014 06:44:08 +0000 (08:44 +0200)]
Merge pull request #2661 from dachary/wip-9677-ioprio-class-giant
common: ceph_ioprio_string_to_class always returns -EINVAL
Gregory Farnum [Wed, 8 Oct 2014 02:26:20 +0000 (19:26 -0700)]
Merge pull request #2617 from ceph/wip-9628
mds: Add session to sessionmap when its state becomes opening
Reviewed-by: Greg Farnum <greg@inktank.com>
Joao Eduardo Luis [Tue, 7 Oct 2014 23:13:49 +0000 (00:13 +0100)]
mon: PGMonitor: populate scrub timestamps with 'now' on pg creation
Fixes: #9496
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
Joao Eduardo Luis [Tue, 7 Oct 2014 23:12:29 +0000 (00:12 +0100)]
mon: PGMonitor: prettify access to pg_stats_t in register_pg
Signed-off-by: Joao Eduardo Luis <joao@redhat.com>
Sage Weil [Tue, 7 Oct 2014 21:08:39 +0000 (14:08 -0700)]
Merge pull request #2660 from athanatos/wip-9203
test/osd/Object: don't generate length of 0
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Oct 2014 21:06:38 +0000 (14:06 -0700)]
Merge pull request #2659 from athanatos/wip-9113
Wip 9113
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Oct 2014 21:03:55 +0000 (14:03 -0700)]
Merge pull request #2658 from athanatos/wip-9625
PG: release backfill reservations if a backfill peer rejects
Reviewed-by: Sage Weil <sage@redhat.com>
David Zafman [Wed, 24 Sep 2014 23:02:21 +0000 (16:02 -0700)]
osd: Return EOPNOTSUPP if a set-alloc-hint occurs with OSDs that don't support
Add CEPH_FEATURE_OSD_SET_ALLOC_HINT feature bit
Collect the intersection of all peer feature bits during peering
When handling CEPH_OSD_OP_SETALLOCHINT check that all OSDs support it
by checking for CEPH_FEATURE_OSD_SET_ALLOC_HINT feature bit.
Fixes: #9419
Backport: firefly
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Fri, 19 Sep 2014 22:12:55 +0000 (15:12 -0700)]
osd: Remove unused PG functions queue_notify(), queue_info(), queue_log()
Signed-off-by: David Zafman <dzafman@redhat.com>
Sage Weil [Tue, 7 Oct 2014 19:40:45 +0000 (12:40 -0700)]
Merge remote-tracking branch 'gh/giant'
Conflicts:
src/osdc/Objecter.cc
Sage Weil [Tue, 7 Oct 2014 19:34:10 +0000 (12:34 -0700)]
Merge tag 'v0.86' into giant
v0.86
Jenkins [Tue, 7 Oct 2014 13:20:21 +0000 (06:20 -0700)]
0.86
Samuel Just [Tue, 7 Oct 2014 18:42:14 +0000 (11:42 -0700)]
Merge remote-tracking branch 'guangyy/wip-9008' into giant
Sage Weil [Tue, 7 Oct 2014 18:41:11 +0000 (11:41 -0700)]
Merge pull request #2631 from ceph/wip-rwtimer
DNM: osdc/Objecter: use SafeTimer; make callbacks race-tolerant
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Loic Dachary [Tue, 7 Oct 2014 12:06:38 +0000 (14:06 +0200)]
common: ceph_ioprio_string_to_class always returns -EINVAL
The l string is always empty because std::transform needs a
pre-allocated string. Replace with the in-place version. Add unit tests.
http://tracker.ceph.com/issues/9677 Fixes: #9677
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit
3535b7aba3df8b54fa5117b8a9c2f52b8f0f118b )
Loic Dachary [Tue, 7 Oct 2014 12:05:08 +0000 (14:05 +0200)]
osd: log error if set_ioprio fails to parse class
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit
5088e0d49332d579ba7e33c2c9baee3d5f701a3e )
Loic Dachary [Tue, 7 Oct 2014 12:03:39 +0000 (14:03 +0200)]
common: set_ioprio debug message including pid
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit
33339c7754875eb7e513345ee6b26a9b2b4d2707 )
Loic Dachary [Tue, 7 Oct 2014 12:02:09 +0000 (14:02 +0200)]
common: do not set ioprio if pid is not set
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit
c7e4c0bfe70bf29d3b8fe4df4e4b934853e33d26 )
Loic Dachary [Tue, 7 Oct 2014 08:09:46 +0000 (10:09 +0200)]
doc: missing osd prefix to ioprio config options
http://tracker.ceph.com/issues/9676 Fixes: #9676
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
(cherry picked from commit
62235688c417ed19a472bc8a94bba005e03afbc6 )
Samuel Just [Tue, 7 Oct 2014 17:51:21 +0000 (10:51 -0700)]
Merge pull request #2489 from guangyy/wip-9008
For pgls OP, get/put budget on per list session basis, instead of per OP basis.
Reviewed-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
João Eduardo Luís [Tue, 7 Oct 2014 15:54:50 +0000 (15:54 +0000)]
Merge pull request #2655 from ceph/wip-9635
mon: fix async write completion waits
Fixes: #9635
Reviewed-by: Joao Eduardo Luis <joao@redhat.com>
Sage Weil [Tue, 7 Oct 2014 15:47:44 +0000 (08:47 -0700)]
Merge pull request #2654 from dachary/wip-9677-ioprio-class
common: ceph_ioprio_string_to_class always returns -EINVAL
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Oct 2014 15:13:22 +0000 (08:13 -0700)]
Merge pull request #2626 from dachary/wip-rados-empty-file
tools: rados put /dev/null should write() and not create()
Reviewed-by: Sage Weil <sage@redhat.com>
Gregory Farnum [Tue, 7 Oct 2014 14:23:54 +0000 (07:23 -0700)]
Merge pull request #2652 from ceph/wip-msgr
msgr: fix remaining direct references to "new SimpleMessenger" by replacing with the factory method
Reorganize the src/msg hierarchy to push SimpleMessenger down into a subfolder to make way for organizing new in-tree implementations.
Reviewed-by: Greg Farnum <greg@inktank.com>
Sage Weil [Tue, 7 Oct 2014 13:32:53 +0000 (06:32 -0700)]
Merge pull request #2560 from ceph/wip-9418
mon: add new profiles & audit cap checks
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Oct 2014 13:30:46 +0000 (06:30 -0700)]
Merge pull request #2647 from ceph/wip-rm-legacy-cli
tools: remove old ceph.cc
Reviewed-by: Loic Dachary <loic@dachary.org>
Sage Weil [Tue, 7 Oct 2014 13:27:09 +0000 (06:27 -0700)]
Merge pull request #2646 from ceph/wip-osd-op-macro
rados.h: use macros to generate osd ops definitons and strings
Reviewed-by: Sage Weil <sage@redhat.com>
Jenkins [Tue, 7 Oct 2014 13:20:21 +0000 (06:20 -0700)]
0.86
Sandon Van Ness [Tue, 7 Oct 2014 13:03:36 +0000 (06:03 -0700)]
Run configure without liblttng on squeeze as well.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Sandon Van Ness [Tue, 7 Oct 2014 13:03:36 +0000 (06:03 -0700)]
Run configure without liblttng on squeeze as well.
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Loic Dachary [Tue, 7 Oct 2014 12:06:38 +0000 (14:06 +0200)]
common: ceph_ioprio_string_to_class always returns -EINVAL
The l string is always empty because std::transform needs a
pre-allocated string. Replace with the in-place version. Add unit tests.
http://tracker.ceph.com/issues/9677 Fixes: #9677
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Loic Dachary [Tue, 7 Oct 2014 12:05:08 +0000 (14:05 +0200)]
osd: log error if set_ioprio fails to parse class
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Loic Dachary [Tue, 7 Oct 2014 12:03:39 +0000 (14:03 +0200)]
common: set_ioprio debug message including pid
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Loic Dachary [Tue, 7 Oct 2014 12:02:09 +0000 (14:02 +0200)]
common: do not set ioprio if pid is not set
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Loic Dachary [Tue, 7 Oct 2014 08:15:20 +0000 (10:15 +0200)]
Merge pull request #2653 from dachary/wip-9676-ioprio-doc
doc: missing osd prefix to ioprio config options
Reviewed-by: Mehdi Abaakouk <sileht@sileht.net>
Loic Dachary [Tue, 7 Oct 2014 08:09:46 +0000 (10:09 +0200)]
doc: missing osd prefix to ioprio config options
http://tracker.ceph.com/issues/9676 Fixes: #9676
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
Sage Weil [Mon, 6 Oct 2014 15:40:16 +0000 (08:40 -0700)]
msg: move SimpleMessenger to msg/simple/
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Oct 2014 04:20:08 +0000 (21:20 -0700)]
librados: use Messenger factory method
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Oct 2014 04:21:57 +0000 (21:21 -0700)]
msg: use localized cct for derr
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Oct 2014 04:15:33 +0000 (21:15 -0700)]
doc/release-notes: v0.86
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 7 Oct 2014 04:11:51 +0000 (21:11 -0700)]
Merge pull request #2651 from ceph/wip-ostool
ceph_objectstore_tool: Accept CEPH_ARGS environment arguments
Reviewed-by: Sage Weil <sage@redhat.com>
David Zafman [Tue, 7 Oct 2014 01:26:44 +0000 (18:26 -0700)]
ceph_objectstore_tool: Accept CEPH_ARGS environment arguments
Signed-off-by: David Zafman <dzafman@redhat.com>
luowei [Thu, 11 Sep 2014 07:43:13 +0000 (07:43 +0000)]
Add reset_tp_timeout in long loop in add_source_info for suicide timeout
Fixes: #9128
Signed-off-by: luowei@yahoo-inc.com
Sage Weil [Mon, 6 Oct 2014 22:52:24 +0000 (15:52 -0700)]
Merge branch 'wip-9658' into giant
David Zafman [Mon, 6 Oct 2014 22:47:30 +0000 (15:47 -0700)]
Merge pull request #2639 from ceph/wip-9661
Fix 9661: ceph_objectstore_tool doesn't work with memstore
Reviewed-by: Samuel Just <sam.just@inktank.com>
John Spray [Fri, 3 Oct 2014 18:12:52 +0000 (19:12 +0100)]
tools: remove old ceph.cc
Signed-off-by: John Spray <john.spray@redhat.com>
Samuel Just [Mon, 6 Oct 2014 22:22:33 +0000 (15:22 -0700)]
test/osd/Object: don't generate length of 0
Fixes: #9203
Signed-off-by: Samuel Just <sam.just@inktank.com>
Sage Weil [Mon, 6 Oct 2014 18:20:10 +0000 (11:20 -0700)]
Merge pull request #2649 from ceph/wip-os-recommend-doc-fix
doc: update kernel recommendations, add tunables link
Ilya Dryomov [Fri, 3 Oct 2014 15:23:27 +0000 (19:23 +0400)]
doc: update kernel recommendations, add tunables link
No 3.16.[0-2] - same rbd deadlock regression as in 3.15.
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Sage Weil [Mon, 6 Oct 2014 16:37:32 +0000 (09:37 -0700)]
Merge pull request #2645 from ceph/wip-9663
client: clean-up objecter on failed client init
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 6 Oct 2014 16:15:29 +0000 (09:15 -0700)]
ceph.spec: make ceph -> python-ceph dependency specify version
It does this indirectly via ceph -> ceph-common -> python-ceph, but do so
here too for clarity/consistency.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 4 Oct 2014 00:59:40 +0000 (17:59 -0700)]
msg: make messenger type configurable
Eventaully we may want to override this by passing the type in as an
arg, but let's do that later.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 6 Oct 2014 15:50:33 +0000 (08:50 -0700)]
msg/Message: drop unneeded #include
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 6 Oct 2014 15:50:48 +0000 (08:50 -0700)]
mon/MonClient: use generic Messenger factory
Signed-off-by: Sage Weil <sage@redhat.com>
Loic Dachary [Mon, 6 Oct 2014 07:51:05 +0000 (09:51 +0200)]
Merge pull request #2642 from johnugeorge/wip-9492-crush-giant
Crush: Backporting fixes for #9492 to giant
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Loic Dachary [Sun, 5 Oct 2014 21:18:02 +0000 (23:18 +0200)]
Merge pull request #2644 from objoo/master
Add one more case ( "=" ) and test get_str_vec as well.
Reviewed-by: Loic Dachary <loic-201408@dachary.org>
Noah Watkins [Sun, 5 Oct 2014 20:15:13 +0000 (13:15 -0700)]
client: clean-up objecter on failed client init
During mount() the objecter isn't shutdown if the mon client fails to
initialize. Objecter asserts in destructor expect it to have been
shutdown but this skipped.
hadoop@plana85:~$ ./hadoop/bin/hadoop fs -ls /
14/10/05 12:35:50 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
osdc/Objecter.cc: In function 'virtual Objecter::~Objecter()' thread
7ff422705700 time 2014-10-05 12:35:51.090776
osdc/Objecter.cc: 3927: FAILED assert(!m_request_state_hook)
ceph version
0.85-981-g25bcc39 (
25bcc39bb809e2d13beea1529e4ab92d1b61fa5b )
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x7f) [0x7ff3f5c28f7f]
2: (Objecter::~Objecter()+0x397) [0x7ff3f5bca707]
3: (Objecter::~Objecter()+0x9) [0x7ff3f5bca8b9]
4: (Client::~Client()+0x7d) [0x7ff3f5b6770d]
5: (Client::~Client()+0x9) [0x7ff3f5b680a9]
6: (ceph_mount_info::mount(std::string const&)+0x149) [0x7ff3f5b1fa49]
7: (ceph_mount()+0x4e) [0x7ff3f5b1dcbe]
8: (Java_com_ceph_fs_CephMount_native_1ceph_1mount()+0xb7) [0x7ff4158b1c97]
9: [0x7ff41839dd68]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is needed to interpret this.
terminate called after throwing an instance of 'ceph::FailedAssertion'
Aborted
fixes: #9663
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Yann Dupont [Sun, 28 Sep 2014 22:14:45 +0000 (00:14 +0200)]
Add one more case ( "=" ) and test get_str_vec as well.
Signed-off-by: Yann Dupont <yann@objoo.org>
Sage Weil [Sun, 5 Oct 2014 16:00:01 +0000 (09:00 -0700)]
Merge pull request #2641 from dachary/wip-9655-osd-tell
qa: ceph tell must retry on ENXIO
Reviewed-by: Sage Weil <sage@redhat.com>
Ilya Dryomov [Wed, 1 Oct 2014 13:02:00 +0000 (17:02 +0400)]
rados.h: use macros to generate osd ops definitons and strings
Eliminate multiple points of maintenance by using macros - no
functional changes apart from adding strings which were missing.
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>