Commit Graph

71889 Commits

Author SHA1 Message Date
Sage Weil
3f2cc3d248 osd/PrimaryLogPG: debug obs.exists from get_object_context
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 13:38:11 -04:00
Sage Weil
be4d92ca2e osd/PrimaryLogPG: improve make_writeable debug output
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-05 13:38:11 -04:00
Jason Dillaman
965cfb524d Merge pull request #14834 from runsisi/wip-fix-double-free
librbd: minor fixes for image trash move

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-05 13:16:48 -04:00
Jason Dillaman
bcae20d662 Merge pull request #14830 from runsisi/wip-open-cleanup
librbd: remove redundant check for image id emptiness

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-05 13:16:35 -04:00
Kefu Chai
6e1e5407d8 Merge pull request #14927 from tchaikov/wip-19427
logclient: use the seq id of the 1st log entry when resetting session

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-06 00:31:33 +08:00
Kefu Chai
8ecdf9a57d Merge pull request #14920 from tchaikov/wip-14579
mgr: add machinery for python modules to send MCommands to daemons

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-06 00:29:12 +08:00
Kefu Chai
e1d435b196 Merge pull request #13681 from liewegas/wip-epochs
osd: tag fast dispatch messages with min_epoch

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-06 00:27:58 +08:00
Casey Bodley
9667761ecf Merge pull request #14273 from cbodley/wip-rgw-beast-new-parser
rgw: update Beast for streaming reads in asio frontend

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-05-05 11:38:54 -04:00
Casey Bodley
4d076dd565 rgw: rename frontend from asio to beast
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 10:12:35 -04:00
Casey Bodley
5b41fb55e4 rgw: update Beast for streaming reads in asio frontend
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 10:12:35 -04:00
Casey Bodley
78cd41d599 rgw: update Beast submodule
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-05-05 10:12:35 -04:00
Sage Weil
99928c9e0d Merge pull request #14931 from tchaikov/wip-19771
qa/tasks/ceph_manager: always fix pgp_num when done with thrashosd task

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-05 08:53:38 -05:00
Sage Weil
d21ea85f31 Merge pull request #14973 from ifed01/wip-bluestore-kvsync-cond
os/bluestore: remove unused condition variable

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-05 08:20:35 -05:00
Igor Fedotov
71d60ba8c4 os/bluestore: remove unused condition variable
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-05 15:33:01 +03:00
Mykola Golub
dff49227fa Merge pull request #14963 from dillaman/wip-19858
rbd-mirror: failover and failback of unmodified image results in split-brain

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-05-05 15:27:07 +03:00
Jason Dillaman
8c9971b718 Merge pull request #14965 from dmick/wip-19865
test/librbd/test_librbd.cc: set *features even if RBD_FEATURES is unset

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-05 07:30:52 -04:00
Mykola Golub
a20c62760b Merge pull request #14465 from dillaman/wip-librbd-devstack-tempest
qa/workunits: switch to OpenStack Ocata release for RBD testing

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-05-05 14:12:53 +03:00
Dan Mick
73bcaef349 test/librbd/test_librbd.cc: set *features even if RBD_FEATURES is unset
If RBD_FEATURES is not in the environment, set *features to 0 in
get_features(); callers rely on a valid return value.  (This was
breaking on arm64.)

Fixes: http://tracker.ceph.com/issues/19865
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-04 20:15:58 -07:00
Jason Dillaman
4031555dda librbd: add no-op event when promoting an image
The rbd-mirror process needs an event in the journal
to properly detect the transition between primary and
non-primary state between peers.

Fixes: http://tracker.ceph.com/issues/19858
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-04 20:26:03 -04:00
Jason Dillaman
23ad14377f librbd: do not delay propagation of demote events
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-04 19:47:01 -04:00
Jason Dillaman
3f179bf862 rbd-mirror: prevent infinite loop when computing replay status
If the image had a non-primary predecessor epoch whose tag tid
duplicates an epoch within its own journal, an infinite loop
would result.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-05-04 18:00:48 -04:00
Yehuda Sadeh
77a43573ab Merge pull request #14373 from rzarzynski/wip-rgw-19520
rgw: fix broken /crossdomain.xml, /info and /healthcheck of Swift API.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-05-04 11:25:50 -07:00
Casey Bodley
ff724c9498 Merge pull request #9950 from weiqiaomiao/wqm-wip-fetchobj-req
rgw: should delete in_stream_req  if conn->get_obj(...) return not zero value

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-04 14:13:01 -04:00
Casey Bodley
9ddbcfd85e Merge pull request #14601 from Jing-Scott/fix-bulkupload-multisite
rgw: fix forward request for bulkupload to be applied in multisite

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-05-04 14:01:35 -04:00
Mykola Golub
2a71c8f9da Merge pull request #14945 from dillaman/wip-19811
rbd-mirror: ensure missing images are re-synced when detected

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-05-04 20:47:49 +03:00
Mykola Golub
285c4a15a2 Merge pull request #14935 from dillaman/wip-rbd-cli-mirror-pool
rbd: removed spurious error message from mirror pool commands

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-05-04 20:47:20 +03:00
Tamilarasi Muthamizhan
a189b61095 Merge pull request #14400 from ceph/wip-cd-1node
qa/tasks: few fixes to get ceph-deploy 1node to working state
2017-05-04 10:42:50 -07:00
Casey Bodley
cd5eac76e9 Merge pull request #14936 from cbodley/wip-19834
rgw: RGWPeriodPusher spawns http thread before cr thread

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-05-04 13:14:18 -04:00
Matt Benjamin
7f95ff34e8 Merge pull request #14908 from guihecheng/rgw_file-cleanup
rgw_file: cleanup virtual keyword on derived functions
2017-05-04 11:20:36 -04:00
Kefu Chai
cca1640707 Merge pull request #14891 from tchaikov/wip-librbd-test-odr
librbd: do not instantiate templates while building tests

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-04 23:09:23 +08:00
Kefu Chai
995773d423 librbd: do not instantiate templates while building tests
to avoid violation of ODR

Fixes: http://tracker.ceph.com/issues/18938
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-04 21:24:55 +08:00
Sage Weil
81872fdb3f Merge pull request #14844 from liewegas/wip-bluestore-bitalloc
unittest_alloc: add test_alloc_big

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-04 08:11:40 -05:00
Sage Weil
e61d9e4ada unittest_alloc: add test_alloc_big
Ensure that big allocations work.

Verifies http://tracker.ceph.com/issues/16662

Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-04 08:11:13 -05:00
Kefu Chai
f23e4e79f8 Merge pull request #14953 from tchaikov/wip-librbd-silence-Wunused-var
librbd: silence -Wunused-variable warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-05-04 20:53:26 +08:00
Orit Wasserman
94d6eedd62 Merge pull request #14407 from cbodley/wip-rgw-admin-remote
rgw: fix handling of --remote in radosgw-admin period commands
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-05-04 15:31:40 +03:00
Kefu Chai
a7162c81e7 librbd: silence -Wunused-variable warning
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-04 19:49:42 +08:00
Orit Wasserman
144dc78f4a Merge pull request #11179 from rzarzynski/wip-rgw-swift-formpost
rgw: add support for FormPost of Swift API
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-05-04 14:22:58 +03:00
Kefu Chai
b6da0d3f8f Merge pull request #14949 from zhsj/fix-cryptopp-build
common: fix building against libcryptopp

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-04 19:18:43 +08:00
Shengjing Zhu
f031800760 common: fix building against libcryptopp
libnspr is only needed for libnss, move it to if defined(USE_NSS)
section.

ceph::crypto::shutdown's params should be same with declaration.

Signed-off-by: Shengjing Zhu <zhsj@umcloud.com>
2017-05-04 19:13:55 +08:00
Kefu Chai
3a659b8e3f Merge pull request #14923 from joscollin/wip-dmclocktest-function-error
dmclock: include missing <functional> header.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-04 19:11:24 +08:00
Kefu Chai
85c471caa2 Merge pull request #14948 from Liuchang0812/wip-kill-duplicated-cmake-commands
cmake: kill duplicated cmake commands

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-04 18:44:37 +08:00
Kefu Chai
54ba0b4c56 Merge pull request #14951 from smithfarm/wip-19853
cmake: align cmake names of library packages

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-04 18:20:00 +08:00
Orit Wasserman
c074d52198 Update rgw_rest.cc
fix indentation.
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-05-04 12:29:22 +03:00
Nathan Cutler
4acd2cef35 cmake: align cmake names of library packages
The cmake package names of libraries are case-sensitive. The name used in
FIND_PACKAGE_HANDLE_STANDARD_ARGS - e.g. "cryptopp" - must match the name used
in the module name - "Findcryptopp.cmake" - as well as the name used in
find_package() call - "find_package(cryptopp REQUIRED)"

Note that the term "package" here refers to a cmake abstraction, *not* an
actual RPM or Debian package.

Fixes: http://tracker.ceph.com/issues/19853
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-05-04 11:14:43 +02:00
liuchang0812
e2bb57b53b cmake: kill duplicated cmake commands
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-05-04 15:49:08 +08:00
Kefu Chai
e52f94463c Merge pull request #14947 from dmick/wip-arm-compressor
compressor/zlib: fix plugin for non-Intel arches

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-04 13:45:46 +08:00
Dan Mick
84e47f3e82 compressor/zlib: fix plugin for non-Intel arches
unittest_compressor was failing on arm64 because the zlib
compressor was never initialized, even though it works fine in
non-isal mode

Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-05-03 20:17:32 -07:00
Sage Weil
813df820f3 Merge pull request #14363 from majianpeng/finisher-optimize
common/Finisher: batch handle perfcounter && only send signal when waiter existed.

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-03 21:38:04 -05:00
Sage Weil
7e79a4eadc Merge pull request #14627 from badone/wip-peering-state-timing
osd: Implement peering state timing

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-03 21:37:39 -05:00
Sage Weil
1de3820063 Merge pull request #14709 from majianpeng/luestore-txc-finalize-kv
os/blueStore: In osd_tp_thread, call _txc_finalize_kv.

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-03 21:37:07 -05:00