]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agodoc: Added "Hammer" in the list of major releases. 5663/head
ritz303 [Tue, 25 Aug 2015 15:02:49 +0000 (10:02 -0500)]
doc: Added "Hammer" in the list of major releases.

Fixes: #12771
Signed-off-by: ritz303 <ritz_303@yahoo.com>
9 years agoMerge pull request #5342 from tchaikov/wip-fix-perf-local-on-arm
Haomai Wang [Sat, 25 Jul 2015 07:19:50 +0000 (15:19 +0800)]
Merge pull request #5342 from tchaikov/wip-fix-perf-local-on-arm

test/perf_local: disable tests on unsupported archs

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
9 years agotest/perf_local: disable tests on unsupported archs 5342/head
Kefu Chai [Fri, 24 Jul 2015 16:25:37 +0000 (00:25 +0800)]
test/perf_local: disable tests on unsupported archs

* maybe we can have div32 tests on aarch64, but i don't
  think "udiv|sdiv" supports 64bits numerator. probably
  we can use float divde for the benchmark...
* disable cpuid test on non-intel archs.

Fixes: #12453
Reported-by: Tom Deneau <tom.deneau@amd.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5316 from shylesh/bugfix
Loic Dachary [Fri, 24 Jul 2015 14:29:35 +0000 (16:29 +0200)]
Merge pull request #5316 from shylesh/bugfix

mon: ceph osd map shows NONE when an osd is missing

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5322 from majianpeng/mds-log
John Spray [Fri, 24 Jul 2015 08:43:22 +0000 (09:43 +0100)]
Merge pull request #5322 from majianpeng/mds-log

mmds/MDLog: No make sense set offset for LogEvent in _start_entry.

Reviewed-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #5330 from liewegas/wip-cephtool-test
Loic Dachary [Fri, 24 Jul 2015 06:46:40 +0000 (08:46 +0200)]
Merge pull request #5330 from liewegas/wip-cephtool-test

qa/workunits/cephtool/test.sh: escape osd.* and mon.*

Reviewed-by: Loic Dachary <ldachary@redhat.com>
10 years agoqa/workunits/cephtool/test.sh: escape osd.* and mon.* 5330/head
Sage Weil [Thu, 23 Jul 2015 21:04:53 +0000 (17:04 -0400)]
qa/workunits/cephtool/test.sh: escape osd.* and mon.*

Otherwise we get filenames if the glob happens to match something in the
source dir.

Signed-off-by: Sage Weil <sage@redhat.com>
10 years agoMerge branch 'next'
John Spray [Thu, 23 Jul 2015 19:26:51 +0000 (20:26 +0100)]
Merge branch 'next'

10 years agoMerge pull request #5327 from athanatos/wip-12223
David Zafman [Thu, 23 Jul 2015 19:16:09 +0000 (12:16 -0700)]
Merge pull request #5327 from athanatos/wip-12223

WBThrottle::clear_object: signal if we cleared an object

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agoMerge pull request #5328 from athanatos/wip-12263
David Zafman [Thu, 23 Jul 2015 19:13:00 +0000 (12:13 -0700)]
Merge pull request #5328 from athanatos/wip-12263

ReplicatedPG::finish_promote: do not prefill new_clones

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agoWBThrottle::clear_object: signal if we cleared an object 5327/head
Samuel Just [Tue, 7 Jul 2015 15:49:54 +0000 (08:49 -0700)]
WBThrottle::clear_object: signal if we cleared an object

Fixes: #12223
Signed-off-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #5189 from athanatos/wip-recovery-defaults
David Zafman [Thu, 23 Jul 2015 18:47:37 +0000 (11:47 -0700)]
Merge pull request #5189 from athanatos/wip-recovery-defaults

config_opts: turn down default recovery tunables

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agoMerge pull request #5329 from athanatos/wip-8193
David Zafman [Thu, 23 Jul 2015 18:46:17 +0000 (11:46 -0700)]
Merge pull request #5329 from athanatos/wip-8193

test/librados/tier.cc: we can exceed the hitset limit while backfilling

Reviewed-by: David Zafman <dzafman@redhat.com>
10 years agoMerge pull request #5323 from ceph/wip-12426
John Spray [Thu, 23 Jul 2015 18:43:53 +0000 (19:43 +0100)]
Merge pull request #5323 from ceph/wip-12426

mon: fix checks on mds add_data_pool

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #4982 from branch-predictor/bp-lighter-rwlocks
Samuel Just [Thu, 23 Jul 2015 18:02:48 +0000 (11:02 -0700)]
Merge pull request #4982 from branch-predictor/bp-lighter-rwlocks

common/RWLock: allow disabling read/write lock counts

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #5152 from branch-predictor/bp-rados-aio-overrun
Samuel Just [Thu, 23 Jul 2015 18:00:01 +0000 (11:00 -0700)]
Merge pull request #5152 from branch-predictor/bp-rados-aio-overrun

tools: fix race condition in seq/rand bench

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #5093 from guangyy/wip-12162
Samuel Just [Thu, 23 Jul 2015 17:49:00 +0000 (10:49 -0700)]
Merge pull request #5093 from guangyy/wip-12162

osd - pg_interval_t::check_new_interval should not rely on pool.min_size to determine if the PG was active

Reviewed-by: Samuel Just <sjust@redhat.com>
10 years agoceph-helpers.sh: don't test the osd_max_backfills value 5189/head
Samuel Just [Thu, 16 Jul 2015 21:56:13 +0000 (14:56 -0700)]
ceph-helpers.sh: don't test the osd_max_backfills value

This isn't a very meaningful assert since the default could
easily change.

Signed-off-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #5325 from vumrao/wip-vumrao-10927
Ken Dreyer [Thu, 23 Jul 2015 16:11:32 +0000 (10:11 -0600)]
Merge pull request #5325 from vumrao/wip-vumrao-10927

rgw: fix radosgw start-up script.

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
10 years agoMerge pull request #5308 from oritwas/fix-compilation-warnings
Yehuda Sadeh [Thu, 23 Jul 2015 16:09:11 +0000 (09:09 -0700)]
Merge pull request #5308 from oritwas/fix-compilation-warnings

Fix "was hidden" compilation warnings

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
10 years agoFix "was hidden" compilation warnings 5308/head
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>
10 years agorgw: fix radosgw start-up script. 5325/head
Vikhyat Umrao [Thu, 23 Jul 2015 12:40:06 +0000 (18:10 +0530)]
rgw: fix radosgw start-up script.

radosgw init script is unable to start radosgw daemon.
as it is relies on requiretty being disabled.
once init script start this daemon with sudo it fails
to start the daemon.

changing 'sudo' to 'su', it will fix this issue and
will also help running radosgw daemon with our new
"ceph" UID project.

Fixes: #10927
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
10 years agoMerge pull request #5326 from tweenk/docs-improvements
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>
10 years agoMerge pull request #5261 from SUSE/wip-drop-py-requires
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>
10 years agoMerge pull request #5263 from SUSE/wip-apache-not-required
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>
10 years agodocs: Document md_config_obs_t. 5326/head
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>
10 years agodocs: Document the ThreadPool and WorkQueue classes.
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>
10 years agodocs: Document the Finisher class.
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>
10 years agomon: fix checks on mds add_data_pool 5323/head
John Spray [Thu, 23 Jul 2015 09:15:56 +0000 (10:15 +0100)]
mon: fix checks on mds add_data_pool

Use same _check_pool helper as during fs creation.

Fixes: #12426
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agoMerge pull request #5324 from ceph/wip-12355
John Spray [Thu, 23 Jul 2015 13:04:20 +0000 (14:04 +0100)]
Merge pull request #5324 from ceph/wip-12355

mds: fix crash while stopping rank

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
10 years agoMerge pull request #5317 from ceph/wip-quota-doc
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>
10 years agodoc/cephfs/quota: simple doc 5317/head
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>
10 years agomds: fix crash while stopping rank 5321/head 5324/head
John Spray [Wed, 22 Jul 2015 20:57:33 +0000 (21:57 +0100)]
mds: fix crash while stopping rank

trim() was broken in:
8a91daae mds: fix mds crash when mds_max_log_events smaller

When doing a final trim in shutdown we need to trim everything,
not just all but the last segment.  The previous change's intent
was to prevent badness when mds_log_max_events was too small: accomplish
the same thing here by clamping the value to something sane.

Fixes: #12355
Signed-off-by: John Spray <john.spray@redhat.com>
10 years agommds/MDLog: No make sense set offset for LogEvent in _start_entry. 5322/head
Jianpeng Ma [Thu, 23 Jul 2015 03:09:08 +0000 (11:09 +0800)]
mmds/MDLog: No make sense set offset for LogEvent in _start_entry.

For offset of LogEvent only determine in submit_thread. So in
_start_entry it's no make sense set.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
10 years agoMerge pull request #5305 from ceph/wip-12417
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>
10 years agoMerge pull request #5300 from yuyuyu101/wip-async-fix-20
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

10 years agomon: ceph osd map shows NONE when an osd is missing 5316/head
Shylesh Kumar [Wed, 22 Jul 2015 13:17:20 +0000 (18:47 +0530)]
mon: ceph osd map shows NONE when an osd is missing

Signed-off-by: Shylesh Kumar <shmohan@redhat.com>
10 years agoMerge pull request #5314 from dachary/wip-12419-rule-create-erasure
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>
10 years agotests: robust test for the pool create crushmap test 5314/head
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>
10 years agoMerge pull request #5304 from ceph/wip-add-scrub-config-doc
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>
10 years agodoc/rados/configuration: add more scrub related config 5304/head
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>
10 years agoMerge pull request #5306 from dachary/wip-release-notes
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>
10 years agodoc: v0.80.10 changelog
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>
10 years agosrc/script/ceph-release-notes: add --text for plain text output 5306/head
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>
10 years agoMerge pull request #5303 from oritwas/fix-cmake-4
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>
10 years agoauth: check return value of keyring->get_secret 5305/head
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>
10 years agoMerge pull request #5127 from tchaikov/wip-12193
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>
10 years agodoc/releases: v0.80.10
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>
10 years agodoc/release-notes: v0.80.10
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>
10 years agoMerge branch 'wip-firefly-release-notes' of git://github.com/dachary/ceph
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

10 years agoMerge pull request #4958 from xinxinsh/wip-clone-test
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>
10 years agoMerge pull request #5301 from ceph/wip-12251
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>
10 years agocmake: add missing blkid libraries 5303/head
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>
10 years agoMerge pull request #5302 from ssssztes/master
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>
10 years agoUpdate OSDMonitor.cc 5302/head
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
10 years agomon: OSDMonitor: fix hex output on 'osd reweight' 5301/head
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>
10 years agoMerge pull request #5294 from ceph/wip-12354
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>
10 years agoAsyncConnection: Fix local message dispatch lack of source 5300/head
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>
10 years agoTestMsgr: Add message source check for local message dispatch
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>
10 years agoMerge pull request #5288 from hjwsm1989/pgmonitor-overflow
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>
10 years agoMerge pull request #5297 from ceph/wip-7647 5363/head
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

10 years agorgw: avoid using slashes for generated secret keys 5297/head
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>
10 years agoclient: fix directory fsync 5294/head
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>
10 years agotest/librados/tier.cc: we can exceed the hitset limit while backfilling 5329/head
Samuel Just [Mon, 20 Jul 2015 19:15:28 +0000 (12:15 -0700)]
test/librados/tier.cc: we can exceed the hitset limit while backfilling

We leave the time limit as the actual test, but we are allowed to
temperarily exceed the number of hitsets during backfilling.

Fixes: 8193
Related: d0f1806d57646ec24e844af368c46285ab9a59f8
Signed-off-by: Samuel Just <sjust@redhat.com>
10 years agoMerge pull request #5291 from zhouyuan/rgw_s3_obj_version
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>
10 years agorgw: doc: Mark S3 object version API as supported 5291/head
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>
10 years ago mon/PGMonitor: avoid uint64_t overflow when checking pool 'target/max' status. 5288/head
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>
10 years agoMerge pull request #5282 from ceph/wip-fix-test-mon_deprecated_commands
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>
10 years agoqa/workunits: cephtool: take EOPNOTSUPP as an alias of ENOTSUP 5282/head
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>
10 years agoMerge pull request #5253 from ceph/wip-12262
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>
10 years agoMerge pull request #5274 from zhouyuan/rgw_api_link
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>
10 years agoMerge pull request #5281 from joehandzik/copyright_mailmap_update
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

10 years agoMerge pull request #5270 from dachary/wip-releases
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

10 years agodoc: Adding Hewlett-Packard copyright messages to files containing more than minor... 5281/head
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>
10 years agotest: Make test_rados_tool.sh part of make check 5253/head
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>
10 years agocommon, tools, test: Add "rados purge" feature to remove all objects from a pool
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>
10 years agoMerge pull request #5052 from ceph/wip-11815-restore-crushmap
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>
10 years agoMerge pull request #5246 from t-miyamae/wip-mshec-fixlogic3
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>
10 years agotest: add test for {get,set}-inc-osdmap commands. 5127/head
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>
10 years agoMerge pull request #5273 from wonzhq/rados-df
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>
10 years agotools: ceph-monstore-update-crush: fail early if mon's running 5052/head
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>
10 years agotools: ceph_monstore_tool: describe behavior of rewrite command
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>
10 years agoosd/OSDMap: fix a typo in the comment
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>
10 years agoosd/OSDMap: remove unused dump_json()
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>
10 years agopackage ceph-monstore-update-crush.sh
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>
10 years agotest: add a test to exercise ceph-monstore-update-crush.sh
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>
10 years agotools: add ceph-monstore-update-crush.sh
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>
10 years agoPendingReleaseNotes: add the notes about osdmaptool
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>
10 years agotool/osdmaptool: replace --dump-json with --dump
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>
10 years agotools/ceph-monstore-tools: add rewrite command
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>
10 years agoMerge pull request #4807 from dachary/wip-11814-erasure-code-ruleset
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>
10 years agorados.cc: fix an issue in the output of the 'rados df' command 5273/head
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>
10 years agorgw: doc: adding S3/Swift API link 5274/head
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>
10 years agoerasure code: shec add ceph-erasure-code-corpus 5246/head
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>
10 years agotools/ceph-objectstore-tool: add get-inc-osdmap command
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>
10 years agotools/ceph-objectstore-tool: add set-inc-osdmap command
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>
10 years agotest: add test for {get,set}-osdmap commands
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>
10 years agoMerge pull request #5260 from ceph/wip-12297-readdir
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

10 years agodoc: add v9.0.2 to the release timeline 5270/head
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>
10 years agodoc/release-notes: v9.0.2
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>