]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Orit Wasserman [Tue, 14 Jul 2015 12:08:26 +0000 (14:08 +0200)]
Fix "was hidden" compilation warnings
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Sage Weil [Thu, 23 Jul 2015 14:04:52 +0000 (10:04 -0400)]
Merge pull request #5326 from tweenk/docs-improvements
Documentation for a few objects
Reviewed-by: Sage Weil <sage@redhat.com>
Ken Dreyer [Thu, 23 Jul 2015 13:48:09 +0000 (07:48 -0600)]
Merge pull request #5261 from SUSE/wip-drop-py-requires
ceph.spec.in: drop SUSE-specific %py_requires macro
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Ken Dreyer [Thu, 23 Jul 2015 13:46:23 +0000 (07:46 -0600)]
Merge pull request #5263 from SUSE/wip-apache-not-required
ceph.spec.in: remove SUSE-specific apache2-mod_fcgid dependency
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Krzysztof Kosiński [Thu, 23 Jul 2015 13:20:20 +0000 (15:20 +0200)]
docs: Document md_config_obs_t.
Signed-off-by: Krzysztof Kosiński <krzysztof.kosinski@intel.com>
Krzysztof Kosiński [Thu, 23 Jul 2015 13:19:52 +0000 (15:19 +0200)]
docs: Document the ThreadPool and WorkQueue classes.
Signed-off-by: Krzysztof Kosiński <krzysztof.kosinski@intel.com>
Krzysztof Kosiński [Tue, 14 Jul 2015 10:38:41 +0000 (12:38 +0200)]
docs: Document the Finisher class.
Signed-off-by: Krzysztof Kosiński <krzysztof.kosinski@intel.com>
Sage Weil [Thu, 23 Jul 2015 12:37:19 +0000 (08:37 -0400)]
Merge pull request #5317 from ceph/wip-quota-doc
doc/cephfs/quota: simple doc
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Travis Rhoden <trhoden@redhat.com>
Sage Weil [Thu, 23 Jul 2015 12:35:35 +0000 (08:35 -0400)]
doc/cephfs/quota: simple doc
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 22 Jul 2015 15:38:02 +0000 (11:38 -0400)]
Merge pull request #5305 from ceph/wip-12417
auth: check return value of keyring->get_secret
Reviewed-by: Sage Weil <sage@redhat.com>
Haomai Wang [Wed, 22 Jul 2015 15:14:56 +0000 (23:14 +0800)]
Merge pull request #5300 from yuyuyu101/wip-async-fix-20
AsyncConnection: Fix local message dispatch lack of source name
Kefu Chai [Wed, 22 Jul 2015 11:26:45 +0000 (19:26 +0800)]
Merge pull request #5314 from dachary/wip-12419-rule-create-erasure
tests: robust test for the pool create crush map test
Reviewed-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Wed, 22 Jul 2015 08:42:32 +0000 (10:42 +0200)]
tests: robust test for the pool create crushmap test
The test that goes with
f1e86be589803596e86acc964ac5c5c03b4038d8 to
verify that a bugous crush ruleset will prevent the creation of a pool
trying to use it was fragile. I depends on the implementation of the
erasure code lrc plugin and turns out to not work on i386.
The test is modified to use a fake crushtool that always returns false
and validate that it prevents the creation of a pool, which demonstrate
it is used for crushmap validation prior to the pool creation.
http://tracker.ceph.com/issues/12419 Fixes: #12419
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Wed, 22 Jul 2015 03:52:24 +0000 (11:52 +0800)]
Merge pull request #5304 from ceph/wip-add-scrub-config-doc
doc/rados/configuration: add more scrub related config
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Tue, 21 Jul 2015 11:50:00 +0000 (19:50 +0800)]
doc/rados/configuration: add more scrub related config
Signed-off-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Tue, 21 Jul 2015 19:02:58 +0000 (21:02 +0200)]
Merge pull request #5306 from dachary/wip-release-notes
src/script/ceph-release-notes: add --text for plain text output
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Sage Weil [Tue, 21 Jul 2015 16:54:19 +0000 (12:54 -0400)]
doc: v0.80.10 changelog
Signed-off-by: Sage Weil <sage@redhat.com>
Loic Dachary [Tue, 21 Jul 2015 16:26:56 +0000 (18:26 +0200)]
src/script/ceph-release-notes: add --text for plain text output
This is a format that's easier to consume when sending a mail.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Tue, 21 Jul 2015 16:02:00 +0000 (00:02 +0800)]
Merge pull request #5303 from oritwas/fix-cmake-4
cmake: add missing blkid to ceph-osd
Reviewed-by: Kefu Chai <kchai@redhat.com>
John Spray [Tue, 21 Jul 2015 15:09:32 +0000 (16:09 +0100)]
auth: check return value of keyring->get_secret
get_secret can fail to populate the passed CryptoKey, for
example if the entity name is not found in the keyring. In
this case, attempts to use the CryptoKey will lead to
segfaults.
Fixes: #12417
Signed-off-by: John Spray <john.spray@redhat.com>
David Zafman [Tue, 21 Jul 2015 15:01:17 +0000 (08:01 -0700)]
Merge pull request #5127 from tchaikov/wip-12193
tools: add osdmap commands to ceph-objectstore-tool
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Tue, 21 Jul 2015 14:56:57 +0000 (10:56 -0400)]
doc/releases: v0.80.10
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 21 Jul 2015 14:55:18 +0000 (10:55 -0400)]
doc/release-notes: v0.80.10
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 21 Jul 2015 14:53:40 +0000 (10:53 -0400)]
Merge branch 'wip-firefly-release-notes' of git://github.com/dachary/ceph
Kefu Chai [Tue, 21 Jul 2015 14:07:56 +0000 (22:07 +0800)]
Merge pull request #4958 from xinxinsh/wip-clone-test
ceph_test_objectstore: improve the StoreTest.SimpleCloneTest
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 21 Jul 2015 13:46:29 +0000 (21:46 +0800)]
Merge pull request #5301 from ceph/wip-12251
mon: OSDMonitor: fix hex output on 'osd reweight'
Reviewed-by: Kefu Chai <kchai@redhat.com>
Orit Wasserman [Tue, 21 Jul 2015 12:31:47 +0000 (14:31 +0200)]
cmake: add missing blkid libraries
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Kefu Chai [Tue, 21 Jul 2015 13:29:28 +0000 (21:29 +0800)]
Merge pull request #5302 from ssssztes/master
mon: fix the message in OSDMonitor::get_pools_health
Reviewed-by: Xinze Chi <xmdxcxz@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
renhwztetecs [Tue, 21 Jul 2015 10:55:00 +0000 (18:55 +0800)]
Update OSDMonitor.cc
OSDMonitor::get_pools_health(), s/objects/bytes/
Fixes: #12402
Signed-off-by: ren.huanwen@zte.com.cn
Joao Eduardo Luis [Tue, 21 Jul 2015 10:20:53 +0000 (11:20 +0100)]
mon: OSDMonitor: fix hex output on 'osd reweight'
Fixes: #12251
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Gregory Farnum [Tue, 21 Jul 2015 09:46:34 +0000 (10:46 +0100)]
Merge pull request #5294 from ceph/wip-12354
client: fix directory fsync
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Haomai Wang [Tue, 21 Jul 2015 09:11:42 +0000 (17:11 +0800)]
AsyncConnection: Fix local message dispatch lack of source
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Haomai Wang [Tue, 21 Jul 2015 09:11:14 +0000 (17:11 +0800)]
TestMsgr: Add message source check for local message dispatch
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Kefu Chai [Tue, 21 Jul 2015 09:10:50 +0000 (17:10 +0800)]
Merge pull request #5288 from hjwsm1989/pgmonitor-overflow
mon/PGMonitor: avoid overflow when checking num_objects against the threshold
Reviewed-by: Kefu Chai <kchai@redhat.com>
Orit Wasserman [Tue, 21 Jul 2015 07:02:12 +0000 (09:02 +0200)]
Merge pull request #5297 from ceph/wip-7647
rgw: avoid using slashes for generated secret keys
Yehuda Sadeh [Tue, 21 Jul 2015 03:27:33 +0000 (20:27 -0700)]
rgw: avoid using slashes for generated secret keys
Just use plain alphanumeric characterset.
Fixes: #7647
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yan, Zheng [Mon, 20 Jul 2015 08:46:39 +0000 (16:46 +0800)]
client: fix directory fsync
When opening a regular file, fuse assigns a 'struct Fh' pointer to
fuse_file_info::fh. but when openning a directory, fuse assigns a
'struct dir_result_t' to fuse_file_info::fh. So we need a seperate
function for fsyncdir (cast fuse_file_info::fh to a struct
dir_result_t pointer)
Fixes: #12354
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yehuda Sadeh [Mon, 20 Jul 2015 16:56:13 +0000 (09:56 -0700)]
Merge pull request #5291 from zhouyuan/rgw_s3_obj_version
rgw: doc: Mark S3 object version API as supported
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yuan Zhou [Mon, 20 Jul 2015 07:37:09 +0000 (15:37 +0800)]
rgw: doc: Mark S3 object version API as supported
S3 object version is already in since Hammer.
Ref: http://marc.info/?l=ceph-devel&m=
143715290627682
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
huangjun [Mon, 20 Jul 2015 02:50:20 +0000 (10:50 +0800)]
mon/PGMonitor: avoid uint64_t overflow when checking pool 'target/max' status.
Fixes: #12401
Signed-off-by: huangjun <hjwsm1989@gmail.com>
Kefu Chai [Sat, 18 Jul 2015 17:07:16 +0000 (01:07 +0800)]
Merge pull request #5282 from ceph/wip-fix-test-mon_deprecated_commands
qa/workunits: cephtool: take EOPNOTSUPP as an alias of ENOTSUP
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Sat, 18 Jul 2015 16:13:26 +0000 (00:13 +0800)]
qa/workunits: cephtool: take EOPNOTSUPP as an alias of ENOTSUP
the proble breaks `test_mon_deprecated_commands` on ubuntu precise,
on the python shipped with ubuntu precise, errno.errorcode[95]
evalutes to `EOPNOTSUPP` but not `ENOTSUP`. but these two errnos
are equal in glibc.
Signed-off-by: Kefu Chai <kchai@redhat.com>
David Zafman [Fri, 17 Jul 2015 22:58:14 +0000 (15:58 -0700)]
Merge pull request #5253 from ceph/wip-12262
Bug fix for rados export
Add rados purge command
Fix and add rados tool testing to make check
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Fri, 17 Jul 2015 21:22:52 +0000 (17:22 -0400)]
Merge pull request #5274 from zhouyuan/rgw_api_link
rgw: doc: adding S3/Swift API link
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Sage Weil [Fri, 17 Jul 2015 21:18:08 +0000 (17:18 -0400)]
Merge pull request #5281 from joehandzik/copyright_mailmap_update
doc: Adding Hewlett-Packard copyright messages
Sage Weil [Fri, 17 Jul 2015 20:50:43 +0000 (16:50 -0400)]
Merge pull request #5270 from dachary/wip-releases
doc: add v9.0.2 to the release timeline
Joe Handzik [Fri, 17 Jul 2015 19:43:45 +0000 (14:43 -0500)]
doc: Adding Hewlett-Packard copyright messages to files containing more than minor enhancements and build scripting
Signed-off-by: Joe Handzik <joseph.t.handzik@hp.com>
David Zafman [Wed, 15 Jul 2015 04:03:23 +0000 (21:03 -0700)]
test: Make test_rados_tool.sh part of make check
Signed-off-by: David Zafman <dzafman@redhat.com>
David Zafman [Tue, 14 Jul 2015 02:07:07 +0000 (19:07 -0700)]
common, tools, test: Add "rados purge" feature to remove all objects from a pool
This required creating an Object type which is a pair of strings an
object id and object namespace. Functionally, nothing has changed
with regards to the bench and cleanup command semantics. Those
commands still allow operation in the default or a specified namespace.
Fixes: #12262
Signed-off-by: David Zafman <dzafman@redhat.com>
Joao Eduardo Luis [Fri, 17 Jul 2015 15:50:25 +0000 (16:50 +0100)]
Merge pull request #5052 from ceph/wip-11815-restore-crushmap
tools: add a tool to restore crush map after a faulty one is injected
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Loic Dachary [Fri, 17 Jul 2015 13:49:14 +0000 (15:49 +0200)]
Merge pull request #5246 from t-miyamae/wip-mshec-fixlogic3
erasure code: shec performance optimization by SIMD instructions
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Fri, 17 Jul 2015 06:46:16 +0000 (14:46 +0800)]
test: add test for {get,set}-inc-osdmap commands.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 17 Jul 2015 11:29:34 +0000 (19:29 +0800)]
Merge pull request #5273 from wonzhq/rados-df
rados.cc: fix an issue in the output of the 'rados df' command
Reviewed-by: Kefu Chai <kchai@redhat.com>
Joao Eduardo Luis [Mon, 13 Jul 2015 14:05:50 +0000 (15:05 +0100)]
tools: ceph-monstore-update-crush: fail early if mon's running
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Mon, 13 Jul 2015 11:35:13 +0000 (12:35 +0100)]
tools: ceph_monstore_tool: describe behavior of rewrite command
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Kefu Chai [Thu, 25 Jun 2015 07:26:19 +0000 (15:26 +0800)]
osd/OSDMap: fix a typo in the comment
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 25 Jun 2015 07:25:19 +0000 (15:25 +0800)]
osd/OSDMap: remove unused dump_json()
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 23 Jun 2015 12:30:23 +0000 (20:30 +0800)]
package ceph-monstore-update-crush.sh
Fixes: #11815
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 19 Jun 2015 15:15:58 +0000 (23:15 +0800)]
test: add a test to exercise ceph-monstore-update-crush.sh
Fixes: #11815
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 23 Jun 2015 12:30:02 +0000 (20:30 +0800)]
tools: add ceph-monstore-update-crush.sh
Fixes: #11815
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 29 Jun 2015 15:44:02 +0000 (23:44 +0800)]
PendingReleaseNotes: add the notes about osdmaptool
* its '--dump-json' option is replaced by '--dump json'
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 25 Jun 2015 07:20:17 +0000 (15:20 +0800)]
tool/osdmaptool: replace --dump-json with --dump
* --dump will accept a formatter argument.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 19 Jun 2015 14:57:57 +0000 (22:57 +0800)]
tools/ceph-monstore-tools: add rewrite command
"rewrite" command will
- add a new osdmap version to update current osdmap held by OSDMonitor
- add a new paxos version, as a proposal it will
* rewrite all osdmap epochs from specified epoch to the last_committed
one with the specified crush map.
* add the new osdmap which is added just now
so the leader monitor can trigger a recovery process to apply the transaction
to all monitors in quorum, and hence bring them back to normal after being
injected with a faulty crushmap.
Fixes: #11815
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 17 Jul 2015 10:25:42 +0000 (18:25 +0800)]
Merge pull request #4807 from dachary/wip-11814-erasure-code-ruleset
mon: validate implicit erasure code crush ruleset
Reviewed-by: Takeshi Miyamae <miyamae.takeshi@jp.fujitsu.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Zhiqiang Wang [Fri, 17 Jul 2015 03:28:19 +0000 (11:28 +0800)]
rados.cc: fix an issue in the output of the 'rados df' command
The output doesn't indent correctly without this fix. Right align the df
stats with their headers. Before this change some of them are 1
character off, and with a strange 'category' column.
Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
Yuan Zhou [Fri, 17 Jul 2015 06:02:36 +0000 (14:02 +0800)]
rgw: doc: adding S3/Swift API link
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
Takeshi Miyamae [Fri, 17 Jul 2015 04:42:08 +0000 (13:42 +0900)]
erasure code: shec add ceph-erasure-code-corpus
Signed-off-by: Takeshi Miyamae <miyamae.takeshi@jp.fujitsu.com>
Kefu Chai [Tue, 14 Jul 2015 02:33:47 +0000 (10:33 +0800)]
tools/ceph-objectstore-tool: add get-inc-osdmap command
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 11 Jul 2015 08:27:47 +0000 (16:27 +0800)]
tools/ceph-objectstore-tool: add set-inc-osdmap command
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 8 Jul 2015 07:51:55 +0000 (15:51 +0800)]
test: add test for {get,set}-osdmap commands
Signed-off-by: Kefu Chai <kchai@redhat.com>
Yan, Zheng [Fri, 17 Jul 2015 01:14:36 +0000 (09:14 +0800)]
Merge pull request #5260 from ceph/wip-12297-readdir
DNM Client: check dir is still complete after dropping locks in _readdir_cache_cb
Loic Dachary [Thu, 16 Jul 2015 22:28:52 +0000 (00:28 +0200)]
doc: add v9.0.2 to the release timeline
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Thu, 16 Jul 2015 19:17:44 +0000 (15:17 -0400)]
doc/release-notes: v9.0.2
Signed-off-by: Sage Weil <sage@redhat.com>
David Zafman [Thu, 16 Jul 2015 19:17:34 +0000 (12:17 -0700)]
Merge pull request #5268 from dachary/wip-ceph-port
tests: test/cephtool-test-mon.sh uses 7202 7203 and 7204
Reviewed-by: David Zafman <dzafman@redhat.com>
David Zafman [Wed, 15 Jul 2015 00:47:24 +0000 (17:47 -0700)]
test: test_rados_tool.sh update due to new import/export semantics
Remove redundant check for rados binary
No longer use the attr command so remove check
Signed-off-by: David Zafman <dzafman@redhat.com>
Loic Dachary [Thu, 16 Jul 2015 19:02:54 +0000 (21:02 +0200)]
Merge pull request #5266 from ceph/wip-ftbfs-cls-cephfs
cls: fix the build on i386
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Thu, 16 Jul 2015 18:32:39 +0000 (20:32 +0200)]
tests: test/cephtool-test-mon.sh uses 7202 7203 and 7204
When running 3 mons, vstart uses ports starting from CEPH_PORT=7202 and
increments to 7203 for the second mon and 7204 for the third. Add a
comment showing the port number. The method for a test to figure out
which port is free is to grep for the port and if nothing matches, use
it. The grep will match 7204 and 7203 and 7202 from the comment and
reduce the chances of someone using 7203 because it was nowhere to be
found in the sources.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
Joao Eduardo Luis [Thu, 16 Jul 2015 17:40:57 +0000 (18:40 +0100)]
Merge branch 'wip-10507'
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Kefu Chai [Fri, 3 Jul 2015 15:09:54 +0000 (23:09 +0800)]
tools/ceph-objectstore-tool: add "get-osdmap" command
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 2 Jul 2015 11:14:55 +0000 (19:14 +0800)]
tools/ceph-objectstore-tool: add "set-osdmap" command
Fixes: #12193
Signed-off-by: Kefu Chai <kchai@redhat.com>
Joao Eduardo Luis [Tue, 14 Jul 2015 15:52:35 +0000 (16:52 +0100)]
messages: MForward: get() message reference
Don't simply put() a reference if it has gone unclaimed without
get()'ing it first. This can cause nefarious consequences for those
users of MForward that do not expect this to happen.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Tue, 30 Jun 2015 14:52:08 +0000 (15:52 +0100)]
mon: MonOpRequest: dump function as private
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Fri, 26 Jun 2015 09:29:04 +0000 (10:29 +0100)]
mon: services: assert on unexpected op request type
Ensures some type safety by asserting on the request type.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Fri, 26 Jun 2015 09:28:36 +0000 (10:28 +0100)]
mon: Monitor: set op request type during dispatch
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Fri, 26 Jun 2015 09:21:49 +0000 (10:21 +0100)]
mon: MonOpRequest: allow setting the op type
When we introduced the MonOpRequest in the monitor and moved pretty much
every single function receiving messages in their arguments to take op
requests, we basically lost the type safety that was guaranteed from
Monitor::dispatch().
This patch adds an op_type field to the op request, as an easy fix for
this now lacking safety.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 24 Jun 2015 23:12:33 +0000 (00:12 +0100)]
mon: Monitor: drop PaxoServiceMessage reply functions
The services are now fully using MonOpRequest and should stay that way.
Drop PaxosService-specific reply functions as we want nothing to do with
them :)
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 24 Jun 2015 22:49:54 +0000 (23:49 +0100)]
mon: MDSMonitor: use op-related no_reply()
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 24 Jun 2015 22:48:23 +0000 (23:48 +0100)]
mon: OSDMonitor: use op requests when sending out full/incrementals
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 24 Jun 2015 16:54:33 +0000 (17:54 +0100)]
mon: OSDMonitor: move failure code to support op requests
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 24 Jun 2015 16:54:05 +0000 (17:54 +0100)]
mon: Monitor: have op-related no_reply()
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 24 Jun 2015 16:51:56 +0000 (17:51 +0100)]
mon: MonOpRequest: send_reply() belongs in the Monitor class
Op Requests should have no business replying to messages. Besides,
given the Monitor is currently the place to do this, because it is the
one with access to all things that may be required to validate state
(e.g., quorum features), permanently moving this code to the Monitor
class also avoid having duplicate/very similar code in two distinct
places.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 24 Jun 2015 10:50:50 +0000 (11:50 +0100)]
mon: Monitor: routed requests handling op requests
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Fri, 19 Jun 2015 17:32:37 +0000 (18:32 +0100)]
mon: Monitor: forward_request_leader() taking ops instead
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Thu, 18 Jun 2015 15:39:07 +0000 (16:39 +0100)]
mon: Monitor: drop reply_command(MMonCommand *m,...)
Monitor commands are now op requests; always use ops when replying to
commands.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 17 Jun 2015 15:07:37 +0000 (16:07 +0100)]
mon: use op's get_session() instead of getting from connection
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 17 Jun 2015 14:54:41 +0000 (15:54 +0100)]
mon: services: use op-based reply_command()
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Kefu Chai [Thu, 16 Jul 2015 17:12:03 +0000 (01:12 +0800)]
cls: fix the build on i386
this is a leftover of
0dae022
Signed-off-by: Kefu Chai <kchai@redhat.com>
Joao Eduardo Luis [Wed, 17 Jun 2015 14:53:12 +0000 (15:53 +0100)]
mon: Monitor: reply_command() wrapper for ops
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Tue, 16 Jun 2015 13:32:46 +0000 (14:32 +0100)]
mon: Paxos: mark events
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
Joao Eduardo Luis [Wed, 10 Jun 2015 00:55:21 +0000 (01:55 +0100)]
mon: Monitor: mark events
Signed-off-by: Joao Eduardo Luis <joao@suse.de>