Commit Graph

43021 Commits

Author SHA1 Message Date
David Zafman
2869a8367a Merge pull request #5189 from athanatos/wip-recovery-defaults
config_opts: turn down default recovery tunables

Reviewed-by: David Zafman <dzafman@redhat.com>
2015-07-23 11:47:37 -07:00
David Zafman
6159c6796e 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>
2015-07-23 11:46:17 -07:00
Samuel Just
dd4f722a1e 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>
2015-07-23 11:02:48 -07:00
Samuel Just
fd3c4dcc1d 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>
2015-07-23 11:00:01 -07:00
Samuel Just
e7c394ff6a 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>
2015-07-23 10:49:00 -07:00
Samuel Just
cd2d7d086f 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>
2015-07-23 10:41:45 -07:00
Ken Dreyer
b5fac3d694 Merge pull request #5325 from vumrao/wip-vumrao-10927
rgw: fix radosgw start-up script.

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-07-23 10:11:34 -06:00
Yehuda Sadeh
17eefb4e14 Merge pull request #5308 from oritwas/fix-compilation-warnings
Fix "was hidden" compilation warnings

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-07-23 09:09:11 -07:00
Orit Wasserman
bc348f6b71 Fix "was hidden" compilation warnings
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-07-23 17:38:23 +02:00
Vikhyat Umrao
c83542296a 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>
2015-07-23 20:23:03 +05:30
Sage Weil
3c57f7a9b2 Merge pull request #5326 from tweenk/docs-improvements
Documentation for a few objects

Reviewed-by: Sage Weil <sage@redhat.com>
2015-07-23 10:04:52 -04:00
Ken Dreyer
b8671fd176 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>
2015-07-23 07:48:12 -06:00
Ken Dreyer
fbbed3afaa 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>
2015-07-23 07:46:27 -06:00
Krzysztof Kosiński
2513ba750f docs: Document md_config_obs_t.
Signed-off-by: Krzysztof Kosiński <krzysztof.kosinski@intel.com>
2015-07-23 15:20:20 +02:00
Krzysztof Kosiński
af0d1ab6e2 docs: Document the ThreadPool and WorkQueue classes.
Signed-off-by: Krzysztof Kosiński <krzysztof.kosinski@intel.com>
2015-07-23 15:19:52 +02:00
Krzysztof Kosiński
799fd9f7dd docs: Document the Finisher class.
Signed-off-by: Krzysztof Kosiński <krzysztof.kosinski@intel.com>
2015-07-23 15:18:52 +02:00
Sage Weil
d4a956c383 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>
2015-07-23 08:37:19 -04:00
Sage Weil
8b1df960e2 doc/cephfs/quota: simple doc
Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-23 08:35:35 -04:00
Sage Weil
0fa6e51979 Merge pull request #5305 from ceph/wip-12417
auth: check return value of keyring->get_secret

Reviewed-by: Sage Weil <sage@redhat.com>
2015-07-22 11:38:02 -04:00
Haomai Wang
f0c9fde863 Merge pull request #5300 from yuyuyu101/wip-async-fix-20
AsyncConnection: Fix local message dispatch lack of source name
2015-07-22 23:14:56 +08:00
Kefu Chai
f4bb3777a9 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>
2015-07-22 19:26:45 +08:00
Loic Dachary
e47903727b tests: robust test for the pool create crushmap test
The test that goes with f1e86be589 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>
2015-07-22 10:42:32 +02:00
Kefu Chai
5761d3aeb9 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>
2015-07-22 11:52:24 +08:00
Kefu Chai
1baeb1c743 doc/rados/configuration: add more scrub related config
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-22 11:15:21 +08:00
Loic Dachary
4546a14a5b 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>
2015-07-21 21:02:58 +02:00
Sage Weil
b3a3e0e509 doc: v0.80.10 changelog
Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-21 12:54:19 -04:00
Loic Dachary
5483c14ac0 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>
2015-07-21 18:35:23 +02:00
Kefu Chai
c207b7a6ff Merge pull request #5303 from oritwas/fix-cmake-4
cmake: add missing blkid to ceph-osd

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-07-22 00:02:00 +08:00
John Spray
64e5041008 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>
2015-07-21 16:13:10 +01:00
David Zafman
9e7955e42f Merge pull request #5127 from tchaikov/wip-12193
tools: add osdmap commands to ceph-objectstore-tool

Reviewed-by: David Zafman <dzafman@redhat.com>
2015-07-21 08:01:17 -07:00
Sage Weil
7b8ca747e1 doc/releases: v0.80.10
Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-21 10:56:57 -04:00
Sage Weil
2a61b61198 doc/release-notes: v0.80.10
Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-21 10:55:18 -04:00
Sage Weil
7192d83b18 Merge branch 'wip-firefly-release-notes' of git://github.com/dachary/ceph 2015-07-21 10:53:40 -04:00
Kefu Chai
21ee56ec47 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>
2015-07-21 22:07:56 +08:00
Kefu Chai
32c0fe3222 Merge pull request #5301 from ceph/wip-12251
mon: OSDMonitor: fix hex output on 'osd reweight'

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-07-21 21:46:29 +08:00
Orit Wasserman
c0d2976f63 cmake: add missing blkid libraries
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2015-07-21 15:39:56 +02:00
Kefu Chai
c7729efdbb 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>
2015-07-21 21:29:28 +08:00
renhwztetecs
7fc13c9d6b Update OSDMonitor.cc
OSDMonitor::get_pools_health(), s/objects/bytes/

Fixes: #12402
Signed-off-by: ren.huanwen@zte.com.cn
2015-07-21 18:55:00 +08:00
Joao Eduardo Luis
787fa80c27 mon: OSDMonitor: fix hex output on 'osd reweight'
Fixes: #12251

Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2015-07-21 11:20:53 +01:00
Gregory Farnum
6fecdf1db6 Merge pull request #5294 from ceph/wip-12354
client: fix directory fsync

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2015-07-21 10:46:34 +01:00
Haomai Wang
8f33dc3cc5 AsyncConnection: Fix local message dispatch lack of source
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-07-21 17:46:07 +08:00
Haomai Wang
98d53e8ea4 TestMsgr: Add message source check for local message dispatch
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-07-21 17:45:57 +08:00
Kefu Chai
cc85561ac5 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>
2015-07-21 17:10:50 +08:00
Orit Wasserman
814dc0c894 Merge pull request #5297 from ceph/wip-7647
rgw: avoid using slashes for generated secret keys
2015-07-21 09:02:12 +02:00
Yehuda Sadeh
3f04a6126f rgw: avoid using slashes for generated secret keys
Just use plain alphanumeric characterset.

Fixes: #7647

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-07-20 20:41:19 -07:00
Yan, Zheng
613f548169 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>
2015-07-21 10:23:29 +08:00
Samuel Just
b8814f4ed4 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: d0f1806d57
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-07-20 12:15:28 -07:00
Yehuda Sadeh
ce534e1e0a 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>
2015-07-20 09:56:13 -07:00
Yuan Zhou
b62c3b9537 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>
2015-07-20 15:37:09 +08:00
huangjun
f84e6b8157 mon/PGMonitor: avoid uint64_t overflow when checking pool 'target/max' status.
Fixes: #12401

  Signed-off-by: huangjun <hjwsm1989@gmail.com>
2015-07-20 14:16:59 +08:00