Commit Graph

79920 Commits

Author SHA1 Message Date
Yao Zongyou
d418a04e9f ceph-bluestore-tool: the right action is prime-osd-dir not prime-osd-dev
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-10-28 18:22:27 +08:00
Mykola Golub
9625274d3f
Merge pull request #18592 from dillaman/wip-21956
cls/journal: fixed possible infinite loop in expire_tags

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-28 09:36:30 +03:00
Xie Xingguo
32f2edd5fd
Merge pull request #18607 from yaozongyou/fix-typo
doc: fix typo e.g,. => e.g.,

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-28 09:44:53 +08:00
Yao Zongyou
9eb9b8f3da doc: fix typo e.g,. => e.g.,
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-10-28 09:06:24 +08:00
Sage Weil
cd94b1bedf
Merge pull request #18519 from liewegas/wip-21712-c
ceph_test_objectstore: do not change model for 0-length zero

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-10-27 17:41:35 -05:00
Jason Dillaman
27613a63d1 qa/suites/rbd: run cls tests for all dependencies
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 15:23:45 -04:00
Jason Dillaman
9e66dca495 cls/journal: fixed possible infinite loop in expire_tags
Fixes: http://tracker.ceph.com/issues/21956
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 15:23:44 -04:00
Matt Benjamin
e000669840
Merge pull request #18571 from linuxbox2/wip-rgwfile-21940
rgw_file:  set s->obj_size from bytes_written
2017-10-27 14:52:12 -04:00
David Zafman
f94322066f
Merge pull request #18449 from dzafman/wip-zafman-misc
mark_unfound_lost fix and some other minor changes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-27 10:21:25 -07:00
Casey Bodley
f9f76e9aef Merge pull request #18402 from cbodley/wip-21831
rgw: fix for pause in beast frontend

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2017-10-27 11:22:28 -04:00
Yuri Weinstein
77ea42afd9 Merge pull request #18328 from PCzhangPC/cplostmeta
librbd: cannot copy all image-metas if we have more than 64 key/value pairs

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 08:17:27 -07:00
Yuri Weinstein
dca707a06f Merge pull request #18419 from majianpeng/librbd-bug-fix
librbd misc cleanup.

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 08:17:03 -07:00
Yuri Weinstein
20cc43f3fa Merge pull request #18542 from trociny/wip-metadata-open
librbd: don't read metadata twice on image open

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 08:16:47 -07:00
Yuri Weinstein
89742b3ef0 Merge pull request #18561 from dillaman/wip-librbd-test-notify
test/librbd: added update_features RPC message to test_notify

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-10-27 08:16:19 -07:00
Jason Dillaman
c2b45a9db8 Merge pull request #18583 from idryomov/wip-qa-xfstests-except
qa/tasks/rbd: run all xfstests runs to completion

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 11:12:18 -04:00
Jason Dillaman
900f1c024a Merge pull request #18557 from tchaikov/wip-cmake-cleanup
cmake: check for aligned_alloc() instead of checking tcmalloc version

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-10-27 10:06:08 -04:00
Sage Weil
748068fff3 Merge pull request #18551 from liewegas/wip-object-stat-decode
osd/osd_types: fix object_stat_sum_t decode

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-10-27 08:23:02 -05:00
Sage Weil
2cc8cc2db8 Merge pull request #18565 from liewegas/wip-prime-fixes
ceph-bluestore-tool: prime-osd-dir: update symlinks instead of bailing

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-10-27 08:19:11 -05:00
Andrew Schoen
6e3180874c Merge pull request #18518 from ceph/wip-cv-fix-default-flags
ceph-volume: ensure correct --filestore/--bluestore behavior

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-10-27 08:01:54 -05:00
Pan Liu
2358a8bfca Merge pull request #18502 from optimistyzy/1024_yzy
bluestore/NVMEDevice: convert the legacy config opt related with SPDK
2017-10-27 17:41:33 +08:00
Kefu Chai
78116c3b21 Merge pull request #18576 from tchaikov/wip-cmake-no-rados_a
cmake: do not link against librados.a

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-27 16:19:04 +08:00
Kefu Chai
d5c9933350 cmake: remove rados_a target
rados_a is librados.a, which is not neeeded anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-27 13:58:53 +08:00
Kefu Chai
11f8770b34 cmake: link librbd against librados not rados_a
link librados.so in hope to reduce the size of librdb, also the size of
debug-info.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-27 13:58:15 +08:00
Kefu Chai
082876f4c7 cmake: link librados tests against librados.so
* in hope to shrink the test, and the debug-info rpm package
* also add librados to radostest's target_link_libraries(),  otherwise we might
   run into linker order issue, like

Undefined reference in
/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/librados/test.cc:61
to `rados_application_enable'

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-27 13:58:15 +08:00
Kefu Chai
3f171e4010 test/librados/cmd.cc: avoid using non-librados facilities
a test for librados should be only depending on librados

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-27 13:58:15 +08:00
Josh Durgin
a8b000fc41 Merge pull request #18543 from neha-ojha/wip-add-cbt-repo
qa: add cbt repo parameter

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-26 20:24:29 -07:00
Josh Durgin
af97e2f757 Merge pull request #18573 from neha-ojha/wip-add-cbt-workloads
qa/suites/rados/perf: add workloads

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-10-26 20:13:40 -07:00
Kefu Chai
16f0a67d83 cmake: check for aligned_alloc()
in case developer is using patched tcmalloc.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-27 11:13:15 +08:00
Patrick Donnelly
7ff6ac907a
Merge PR #18174 into master
* refs/pull/18174/head:
	mds: no assertion on inode being purging in find_ino_peers()

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-10-26 19:39:13 -07:00
Patrick Donnelly
58d7d91516
Merge PR #18537 into master
* refs/pull/18537/head:
	mds: set PRIO_USEFUL on num_sessions counter

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-26 19:39:04 -07:00
Neha Ojha
9cf94276cf qa/suites/rados/perf: add workloads
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-10-26 18:10:49 -07:00
Matt Benjamin
b1f528d35a rgw_file: set s->obj_size from bytes_written
Required to store correct final accounted_size of objects in
RGWWriteWriteRequest::write_finish.

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

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-10-26 19:23:09 -04:00
Sage Weil
3f6e0b6e80 Merge pull request #18524 from liewegas/wip-backfill-rops
osd/PG: fix recovery op leak

Reviewed-by: David Zafman <dzafman@redhat.com>
2017-10-26 17:48:25 -05:00
Sage Weil
7740af808c Merge pull request #18552 from liewegas/wip-mds-cluster-down
qa/workunits/rest/test.py: stop trying to test obsolte cluster_up/down

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-10-26 17:47:51 -05:00
Yehuda Sadeh
a7efb9d84f Merge pull request #18489 from cbodley/wip-21895
rgw: fix extra_data_len handling in PutObj filters

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-10-26 14:16:46 -07:00
Alfredo Deza
634b5caaed ceph-volume lvm.activate remove links on activate before priming
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-26 15:09:18 -04:00
Sage Weil
de8dc42d42 ceph-bluestore-tool: prime-osd-dir: update symlinks instead of bailing
If the symlink points to the right location, do nothing.  If it doesn't,
replace it.  If it's not a symlink, bail with EEXIST.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-26 13:51:40 -05:00
vasukulkarni
b2a1fd1972 Merge pull request #18451 from zmc/wip-cephmetrics
Add cephmetrics suite
2017-10-26 11:31:19 -07:00
Matt Benjamin
664ad1a16c Merge pull request #18198 from cbodley/wip-21735
rgw: fix error handling in ListBucketIndexesCR
2017-10-26 13:41:19 -04:00
Ilya Dryomov
48784f3f32 qa/tasks/rbd: run all xfstests runs to completion
rbd.xfstests task allows spawning xfstests runs on multiple nodes.
Don't unwind task contexts if one of the runs fails -- let the other
runs finish.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2017-10-26 19:30:09 +02:00
Zack Cerza
41f55068cd Add cephmetrics suite
Signed-off-by: Zack Cerza <zack@redhat.com>
2017-10-26 10:55:30 -06:00
Jason Dillaman
b003ff3200 test/librbd: added update_features RPC message to test_notify
Fixes: http://tracker.ceph.com/issues/21936
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-10-26 12:50:43 -04:00
Sage Weil
810a138133 qa/workunits/rest/test.py: stop trying to test obsolete 'mds *' commands
These were recently removed.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-26 11:22:20 -05:00
John Spray
1fbd3b7b9f Merge pull request #18511 from smithfarm/wip-rpm-recommend-influxdb
build/ops: rpm: recommend python-influxdb with ceph-mgr

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2017-10-26 17:23:34 +02:00
John Spray
15e8b1904c Merge pull request #18182 from nrdmn/dashboard
mgr/dashboard: improve error handling

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-10-26 17:17:37 +02:00
Mykola Golub
0cb485ecb3 librbd: don't read metadata twice on image open
After adding get_metadata to RefreshRequest it has become redundant
in OpenRequest.

Signed-off-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-26 17:55:11 +03:00
Sage Weil
c337b8739d Merge pull request #18533 from tchaikov/wip-qa-cephtool
qa: do not "ceph fs get cephfs" w/o a cephfs fs

Reviewed-by: Douglas Fuller <dfuller@redhat.com>
2017-10-26 09:19:11 -05:00
Sage Weil
8afd4ec647 osd/PG: handle remote backfill recovation while waiting for other targets
If we have multiple targets, we may still be waiting on them when we get
a revocation.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-10-26 08:42:34 -05:00
Alfredo Deza
fb36087bc3 ceph-volume lvm.activate ceph-bluestore-tool needs --cluster too
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-10-26 07:48:24 -04:00
Mykola Golub
fb48989eeb Merge pull request #18545 from batrick/pr18393-revert
Revert "ceph_context: re-expand admin_socket metavariables in child process"

Reviewed-by: Mykola Golub <to.my.trociny@gmail.com>
2017-10-26 10:28:58 +03:00