Commit Graph

79439 Commits

Author SHA1 Message Date
Kefu Chai
9911e905e4 Merge pull request #16745 from Liuchang0812/object-store-repair
common, tool: update kvstore-tool to repair key/value database

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-18 00:24:39 +08:00
Patrick Donnelly
d96255138c
Merge PR #18281 into master
* refs/pull/18281/head:
	Fixed the readme examples
	ptl-tool: Drop Default Labelling of PRs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-17 08:12:46 -07:00
Casey Bodley
68544e4e16 Merge pull request #18331 from Yan-waller/wip-walle-1008vstartrgw
vstart.sh: move rgw configuration to client.rgw section

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-10-17 11:06:53 -04:00
Jos Collin
3d13279b95 Fixed the readme examples
Fixed the readme examples, according to the new --label definition.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-17 20:33:33 +05:30
Jos Collin
65ddee2c3e ptl-tool: Drop Default Labelling of PRs
Dropped default labelling of PRs. Allowed --label '', which won't label the PR. The user can omit --label too, if the PR should not be labelled.

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-17 20:20:36 +05:30
Jos Collin
24dacf5bf5 Merge pull request #18231 from batrick/ptl-tool-labeled-prs
ptl-tool: load labeled PRs

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-10-17 14:09:14 +00:00
Kefu Chai
6cfa275a58 Merge pull request #18348 from Yan-waller/wip-walle-1017readmecmake
README.md: bump up cmake to 2.8.12

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-17 19:51:51 +08:00
Yan Jun
bf7227b62a README.md: bump up cmake to 2.8.12
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-10-17 19:27:26 +08:00
Kefu Chai
ac643bcf86 Merge pull request #18081 from zhsj/revert-15089-add-mirror
doc: change cn mirror to ustc domain

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-17 13:07:19 +08:00
Kefu Chai
f990847a8f Merge pull request #18312 from shinobu-x/sk-buffer_20171015
common/buffer: cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
2017-10-17 13:03:20 +08:00
Kefu Chai
82e3a760f7 Merge pull request #18318 from Linbing/wip-bluestore-compression
bluestore:  comp_min_blob_size init error

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-17 13:02:35 +08:00
Kefu Chai
08fad1f799 Merge pull request #18279 from lixiaoy1/rmrange
os/bluestore: use db->rm_range_keys to delete range of keys

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-17 13:01:30 +08:00
lisali
007d239c12 os/bluestore: use db->rm_range_keys to delete range of keys
As Key Value DB provides the rm_range_keys interface to remove
some range of keys, BlueStore should use the interface. DB can
provide more efficient ways.

Signed-off-by: Xiaoyan Li <xiaoyan.li@intel.com>
2017-10-17 06:56:44 -04:00
Kefu Chai
e6a7597243 Merge pull request #18320 from shinobu-x/sk-include_unordered_x
include: Remove unused header, ciso646

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2017-10-17 12:59:35 +08:00
Kefu Chai
c9414decf6 Merge pull request #18319 from shinobu-x/sk-osd_20171016
osd: Don't include same header twice

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-10-17 12:59:05 +08:00
Patrick Donnelly
99786598f7
ptl-tool: load labeled PRs
This lets you label in GitHub the PRs you want to test/merge.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-16 21:17:11 -07:00
Kefu Chai
34f524c96b Merge pull request #18332 from rzarzynski/wip-testfio-fix-build-error
test/fio: fix building of the fio_ceph_objectstore plugin.

Reviewed-By: Casey Bodley <cbodley@redhat.com>
Reviewed-By: Kefu Chai <kchai@redhat.com>
2017-10-17 10:21:15 +08:00
Jason Dillaman
ecec3217b6 Merge pull request #17134 from PCzhangPC/metaexin
rbd: export/import image-meta when we export/import an image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-16 21:00:08 -04:00
Jason Dillaman
be8e006c17 Merge pull request #18249 from PCzhangPC/addrwpro
rbd: show read:write proportion in the infomation of readwrite bench test

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-16 20:59:49 -04:00
Yuri Weinstein
44c89bd0f0 Merge pull request #18271 from cbodley/wip-21772
rgw: fix bilog entries on multipart complete

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-10-16 12:58:37 -07:00
Yuri Weinstein
f880c5d961 Merge pull request #18212 from shashalu/clean-up-radosgw-admin
rgw: drop "realm remove" in radosgw-admin

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-10-16 12:58:05 -07:00
Radoslaw Zarzynski
23f018c859 test/fio: fix building of the fio_ceph_objectstore plugin.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2017-10-16 19:11:17 +02:00
Jason Dillaman
43b94729ed Merge pull request #18313 from Carbenium/rbd-map-crash
rbd: fix crash during map when "rw" option is specified

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-16 12:02:27 -04:00
Josh Durgin
804f07f3cb Merge pull request #18238 from tchaikov/wip-bufferlist-test
test/unittest_bufferlist: check retvals of syscalls

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-16 08:54:40 -07:00
Yan Jun
96b82796ca vstart.sh: move rgw configuration to client.rgw section
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2017-10-16 23:39:37 +08:00
Jason Dillaman
78e5c0fbd8 Merge pull request #18129 from dragonylffly/wip-fix-coverity-warning-for-uninialized-member
librbd: fix coverity warning for uninitialized member

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-16 11:01:13 -04:00
Jason Dillaman
6a64eef39d Merge pull request #18314 from MahatiC/example_librbd
examples: add new librbd example

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-16 10:54:10 -04:00
Jason Dillaman
717792ee61 Merge pull request #18265 from majianpeng/lirbd-cleanup
librbd: drop redundant check for null ImageCtx

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-16 10:53:00 -04:00
Kefu Chai
211fa02579 Merge pull request #18326 from joscollin/wip-log-sign-compare-warning
log: silence warning from -Wsign-compare

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-16 22:52:25 +08:00
Chang Liu
71fcff2edc tool: do not core dump with a invalid kv type
Fixes: http://tracker.ceph.com/issues/21744

Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2017-10-16 22:52:10 +08:00
Chang Liu
8d5d9c6a62 test: new test case for ceph-kvstore-tool
Signed-off-by: Chang Liu <liuchang0812@gmail.com>
2017-10-16 22:52:10 +08:00
liuchang0812
51b5ba1aa2 doc: introduce repair subcommon of ceph-kvstore-tool
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-10-16 22:52:10 +08:00
liuchang0812
4849ce3cc9 common, tool: update kvstore-tool to repair our key/value database
Fixes: http://tracker.ceph.com/issues/17730

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-10-16 22:52:10 +08:00
Jason Dillaman
80bb052aa3 Merge pull request #18288 from trociny/wip-metadata
test/librbd: test metadata_set/remove is applied

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-16 10:51:50 -04:00
Abhishek L
2a9cbc353f Merge pull request #15941 from oritwas/wip-rgw-dynamic-resharding-doc
rgw: Add dynamic resharding documentation

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Alfredo Deza <adeza@redhat.com>
2017-10-16 15:58:58 +02:00
PCzhangPC
c7a9b385b4 rbd:show read:write proportion in the infomation of readwrite bench test
Signed-off-by: PCzhangPC <pengcheng.zhang@easystack.cn>
2017-10-16 21:26:17 +08:00
Kefu Chai
e5eead34bc Merge pull request #18209 from tchaikov/wip-new-style-opt-mon
mon/OSDMonitor: use new style options

Reviewed-by: John Spray <john.spray@redhat.com>
2017-10-16 21:01:33 +08:00
John Spray
c21765a450 Merge pull request #18093 from jcsp/wip-mgr-gil-safety
mgr: safety checks on pyThreadState usage

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2017-10-16 13:22:07 +01:00
Jos Collin
e380221a45 log: silence warning from -Wsign-compare
This warning appears in jenkins build:

/home/jenkins-build/build/workspace/ceph-pull-requests/src/log/test.cc:266:232:   required from here
/home/jenkins-build/build/workspace/ceph-pull-requests/src/googletest/googletest/include/gtest/gtest.h:1392:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   if (lhs == rhs) {

Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-10-16 17:49:13 +05:30
John Spray
625e1b5cfb mgr: safety checks on pyThreadState usage
Previously relied on the caller of Gil() to
pass new_thread=true if they would be
calling from a different thread.

Enforce this with an assertion, by wrapping
PyThreadState in a SafeThreadState class
that remembers which POSIX thread
it's meant to be used in.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-10-16 07:06:23 -04:00
John Spray
23c3a075ee mgr: move Gil implementation into .cc
The inclusion of Python.h in the .h was awkward
for other files including Gil.h.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-10-16 07:06:23 -04:00
John Spray
987612a975 mgr: reduce Gil verbosity at level 20
Even at 20, it's pretty heavy to be logging
every lock acquire/release.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-10-16 07:06:22 -04:00
Shinobu Kinjo
a583eac46f include/unordered_map/_set | cleanup: Remove unused header, ciso646
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-10-16 14:30:56 +09:00
Shinobu Kinjo
75b812b520 osd | cleanup: Don't include same header twice
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-10-16 12:06:02 +09:00
linbing
da8dc4d4c6 bluestore: using bluestore_compression_min_blob_size instead of bluestore_compression_max_blob_size to config comp_min_blob_size
Signed-off-by: linbing <linbing@t2cloud.net>
2017-10-16 09:57:23 +08:00
Patrick Donnelly
3455a38f73
Merge PR #18309 into master
* refs/pull/18309/head:
	mds: prevent trim count from underflowing

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-10-15 17:02:54 -07:00
Mahati Chamarthy
6e9b62b600 examples: add new librbd example
Adds a librbd example

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
2017-10-15 19:43:45 +05:30
Peter Keresztes Schmidt
9e49c41244 rbd: fix crash during map
Currently the iterator isn't advanced after the erase call leading to a
second call on the iterator, which crashes due to a double free.
Since C++11 the map::erase function returns an iterator pointing to the
next element. Use the return value to set the iterator after erasing.

Fixes: http://tracker.ceph.com/issues/21808

Signed-off-by: Peter Keresztes Schmidt <carbenium@outlook.com>
2017-10-15 14:37:25 +02:00
Orit Wasserman
4f3ab7cda0 rgw: Add dynamic resharding documentation
Fixes: http://tracker.ceph.com/issues/21553
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-10-15 15:02:46 +03:00
Shinobu Kinjo
89a9174fdb common | cleanup: buffer.cc
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2017-10-15 13:41:06 +09:00