Commit Graph

54909 Commits

Author SHA1 Message Date
Zhao Junwang
b302eaf451 doc:cephx_protocol
The goal of phase II is to provide C with a session key and ticekt
allowing it to communicate with S

Signed-off-by: Zhao Junwang <zhjwpku@gmail.com>
2016-06-19 18:03:43 -04:00
Kefu Chai
8425df0d92 Merge pull request #9801 from stiopaa1/msg_msg_types_entity_name_t_makeprivate
msg/msg_types.h: make members private in `entity_name_t`

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-20 10:11:41 +08:00
Michal Jarzabek
4623d2e72f msg/msg_types.h: make members private in ...
... entity_name_t class.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-06-19 08:08:40 +01:00
Sage Weil
ee5c9f63f2 Merge pull request #9778 from ifed01/wip-bluestore-blob-reduce
os/bluestore: reduce bluestore blob

Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-18 12:48:22 -04:00
Sage Weil
f29473b961 Merge pull request #9750 from ifed01/wip-bluestore-csum-output-fix
os/bluestore: fix improper blob's csum visualization.

Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-18 12:48:01 -04:00
Sage Weil
636152c00d Merge pull request #9756 from liewegas/wip-bluestore-diet
os/bluestore: remove unused bluestore fields

Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
2016-06-18 12:47:43 -04:00
Kefu Chai
a21071d1ba Merge pull request #9119 from runsisi/wip-fix-cmake-desc
cmake: update description for cmake module Findkeyutils.cmake

Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-18 23:51:41 +08:00
Kefu Chai
71bf392aae Merge pull request #9799 from stiopaa1/common_address_helper_changeScope
common/address_helper.cc:move variables closer...

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-18 22:28:06 +08:00
Casey Bodley
69c52cfe2f Merge pull request #9797 from Yan-waller/yj-wip-rgwcompiling
rgw: kill compiling warning

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-18 10:21:13 -04:00
Michal Jarzabek
e86679d561 common/address_helper.cc:move variables closer...
... to the point where they are first used.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-06-18 13:15:42 +01:00
Yan Jun
4e5b3de028 rgw: kill compiling warning
test/rgw/test_http_manager.cc: In member function ‘virtual void HTTPManager_SignalThread_Test::TestBody()’:
test/rgw/test_http_manager.cc:40:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (int i = 0; i < num_requests; i++) {
                       ^

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2016-06-18 15:54:55 +08:00
vasukulkarni
dbb0a59c88 Merge pull request #9764 from vasukulkarni/master
mention change of owner for /var/log/ceph
2016-06-17 15:41:17 -07:00
Samuel Just
60052a677a Merge pull request #9599 from sdieffen/feature15904
added -f flag for formatting to rados command line tool

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-06-17 14:46:11 -07:00
Orit Wasserman
4b85e312f3 Merge pull request #9785 from cbodley/wip-rgw-httpmgr-select
rgw: fix deadlock in RGWHTTPManager when HAVE_CURL_MULTI_WAIT=0
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-06-17 20:54:02 +02:00
Ali Maredia
a5c9775ac9 Merge pull request #9765 from dx9/wip-run-cmake
cmake: add arguments to cmake invocation to support cache configuration

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-06-17 14:11:24 -04:00
Ali Maredia
435d2ee171 Merge pull request #9634 from ceph/cmake-git-rev
Update git rev parsing in CMake

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-06-17 13:57:28 -04:00
Ali Maredia
b227712453 Merge pull request #9601 from ceph/wip-cmake
cmake: add ceph_test_* used by qa units and ceph-qa-suite tasks

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-06-17 13:51:03 -04:00
Orit Wasserman
b09fd37b7a Merge pull request #9725 from SUSE/wip-16327
rgw: check for -ERR_NOT_MODIFIED in rgw_rest_s3.cc
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-06-17 19:25:24 +02:00
Casey Bodley
75897f82ab rgw: add pipe fd to set for select() in do_curl_wait()
when HAVE_CURL_MULTI_WAIT is 0, the pipe fd is never added to the
readfds for select(), so FD_ISSET() is always false. this prevents us
from ever trying to read from the fd, and the pipe's buffer eventually
fills up and deadlocks callers of RGWHTTPManager::signal_thread() when
they try to write to the pipe

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-06-17 12:37:42 -04:00
Casey Bodley
b8b339c10a test/rgw: add unit test for HTTPManager
unit test to detect a deadlock in RGWHTTPManager::signal_thread() when
HAVE_CURL_MULTI_WAIT=0

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-06-17 12:32:27 -04:00
Casey Bodley
181477e377 Merge pull request #9779 from smanjara/wip-zone-rename
rgw: added zone rename to radosgw_admin

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-06-17 11:58:50 -04:00
Orit Wasserman
b368af69c0 Merge pull request #9686 from weiqiaomiao/wqm-wip-rgw-output
rgw: remove unnecessary output
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-06-17 17:32:09 +02:00
Orit Wasserman
8b53525023 Merge pull request #9687 from theanalyst/rgw/orphans-find-msg
rgw-admin: don't print on ENOENT for orphans find
Reviewed-by" Orit Wasserman <owasserm@redhat.com>
2016-06-17 17:30:29 +02:00
Samuel Just
bdf4a93ed5 Merge pull request #9736 from tchaikov/wip-test-timeout
test: disable dup test for mds respawn cmd

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-06-17 08:08:45 -07:00
Haomai Wang
43042c6435 Merge pull request #9086 from ceph/wip-15849
msg/async/AsyncConnection: create writable event for in progress connection
2016-06-17 22:29:55 +08:00
Sage Weil
c4d6359dbd Merge pull request #9461 from liewegas/wip-msgr2
doc: msgr2 protocol spec
2016-06-17 10:26:56 -04:00
Sage Weil
dd99adf58b Merge pull request #8963 from yuyuyu101/wip-15758
msg/async: Separated nonfast message and fast dispatch message thread

Reviewed-by: Sage Weil <sage@redhat.com>
2016-06-17 10:24:59 -04:00
Igor Fedotov
6a71e01812 os/bluestore: change bluestore_extent_ref_map_t key value(i.e. offset) from 64 to 32 bits.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-17 16:14:47 +03:00
Igor Fedotov
c2fa9a36a7 os/bluestore: remove bluestore_blob_t::length field
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-17 16:14:36 +03:00
Shilpa Jagannath
da3235234e rgw: added zone rename to radosgw_admin
Added zone rename option to radosgw-admin help

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2016-06-17 18:29:42 +05:30
Mykola Golub
85e26eac0c Merge pull request #9759 from dillaman/wip-16352
rbd-mirror: ensure replay status formatter has completed before stopping

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-17 14:15:56 +03:00
Mykola Golub
bd7ed8765d Merge pull request #9730 from dillaman/wip-16329
rbd-mirror: gracefully handle missing sync point snapshots

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-17 14:15:16 +03:00
Mykola Golub
088b1f2cff Merge pull request #9751 from dillaman/wip-16348
librbd: unable to disable journaling feature if in unexpected mirror state

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-17 14:14:50 +03:00
Kefu Chai
50ab0ea114 Merge pull request #8749 from Aran85/wip-check-failure-grace
mon/osdmonitor: decouple adjust_heartbeat_grace and min_down_reporters

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-17 19:02:17 +08:00
Kefu Chai
c4f8b132d6 Merge pull request #8827 from majianpeng/ceph-tell-osd
osd/OSD: make 'ceph tell osd.x get_command_descriptions' work.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-17 18:53:40 +08:00
Kefu Chai
733315663f Merge pull request #9056 from stiopaa1/osd_pistate_localstruct
osd/OSD.cc: make pistate a local struct

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-17 18:49:50 +08:00
Kefu Chai
f3643efc80 qa/workunits/cephtool/test.sh: disable dup test for mds respawn cmd
we set the CEPH_CLI_TEST_DUP_COMMAND enn var to verify the successful
commands are idempotent. but some of them are just not. among the other
things:
- ceph tell mds.a exit
- ceph tell mds.a respawn
the respawn command restart the mds daemon, its bind port changes and
all run-time status are reset. so strictly speaking, even the from the
point of view of client, this command is not idempotent. further more,
it fails the test, if the client sends the 2nd command too soon. because
the monitor might not able to update the re-spawned mds address before
the client asking for the new fsmap. so the cephfs client will just
use the old address of the specified mds, and hence will send the
request to port no one is listening anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-06-17 15:22:26 +08:00
John Coyle
159b786ca3 cmake: add arguments to cmake invocation to support cache configuration
Signed-off-by: John Coyle <dx9err@gmail.com>
2016-06-16 20:25:48 -04:00
Vasu Kulkarni
4d6f0b25b1 Also mention change of owner for /var/log/ceph
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
2016-06-16 16:42:34 -07:00
Sage Weil
9665f4718c os/bluestore/bluestore_types: drop overlay types
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 17:56:59 -04:00
Sage Weil
e5cbb450b6 os/bluestore/bluestore_types: drop overlay fields from wal and onode
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 17:56:59 -04:00
Sage Weil
be61cc921a os/bluestore: drop overlay support
We can resurrect this from the history if/when we decide we want it.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 17:56:59 -04:00
Sage Weil
82c8793bed os/bluestore/bluestore_types: remove flags from lextent_t
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 17:56:58 -04:00
Jason Dillaman
cccdca460b rbd-mirror: ensure replay status formatter has completed before stopping
Fixes: http://tracker.ceph.com/issues/16352
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-16 17:32:20 -04:00
Sage Weil
bd6471fdc9 os/bluestore: drop old bluestore_extent_t
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 15:49:43 -04:00
Sage Weil
80d789f1a1 os/bluestore: extent_t -> pextent_t
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 15:49:42 -04:00
Ali Maredia
94fac96aa0 Merge pull request #9753 from liewegas/wip-readme
README: update with vstart, test, and make check instructions

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-06-16 14:19:46 -04:00
Sage Weil
925691b36c README.md: note where make check test log output goes
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 14:18:12 -04:00
Sage Weil
1a877660e9 README.md: document running a test cluster
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 14:14:26 -04:00
Sage Weil
3b56a2e22c README.md: simplify cmake instructions
Assume build is subdir of the ceph.git checkout.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 14:14:21 -04:00