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
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
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
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
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
Sage Weil
ed885eaf42
README.md: drop obsolete comment about debian squeeze
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 14:14:18 -04:00
Sage Weil
6041a04e4c
README.md: get source first (including submodules!)
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 14:14:15 -04:00
Sage Weil
e0203b91ba
README.md: document how to run unit tests (with autotools)
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 14:14:11 -04:00
Jason Dillaman
6034019cdf
Merge pull request #9151 from fullerdj/wip-djf-15706
...
rbd: add methods to set and get snapshot limits
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-16 14:05:16 -04:00
Jason Dillaman
799633c72d
Merge pull request #9292 from marcan/pyrbd-aio
...
pybind: AIO bindings for RBD
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-16 14:03:01 -04:00
Jason Dillaman
996b4471e4
Merge pull request #9333 from VictorDenisov/consistency_groups_only_crud
...
rbd: initial operations for consistency groups
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-16 14:00:48 -04:00
Jason Dillaman
89e5d1cc9f
Merge pull request #9535 from xinxinsh/wip-bug
...
librbd: object_may_exist always return true when you write an empty object
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-16 14:00:28 -04:00
Jason Dillaman
4e01557ace
Merge pull request #9682 from yuyuyu101/wip-fix-task-finisher
...
librbd: cancel all tasks should wait until finisher is done
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-06-16 13:55:12 -04:00
Jason Dillaman
8317ce1611
journal: do not log watch errors against deleted journal
...
The peer rbd-mirror process will eventually notice that the journal has
been removed and clean itself up. This avoids flooding the log with
expected error messages when journaling is disabled.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-16 10:37:56 -04:00
Sage Weil
456781c00a
Merge pull request #9567 from liewegas/wip-bluestore-blobcache
...
os/bluestore: convert cache to be blob-based (vs onode-based)
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-16 10:29:10 -04:00
Sage Weil
5bb3fc4f7c
os/bluestore: include device offsets in csum error message
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 10:13:58 -04:00
Sage Weil
eb92ea2ed3
os/bluestore: remove Onode's BufferSpace
...
(now unused)
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 10:13:58 -04:00
Sage Weil
e2a76791bf
os/bluestore: change _do_read to use blob cache
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-16 10:13:58 -04:00
Matt Benjamin
fb6df30b7d
Merge pull request #9748 from Yan-waller/yj-wip-rgwstoreuserinfo
...
rgw/user: remove needless bufferlist encoding
build verfiied, there can be no side effect
2016-06-16 09:54:58 -04:00
Jason Dillaman
d83aa1e0e4
librbd: force-remove journal when disabling feature and removing image
...
If mirroring is enabled, it's nearly certain that the peer rbd-mirror
daemon will be a registered client within the journal. Without
forcing the removal, this would prevent the removal from occurring.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-16 09:38:28 -04:00
Jason Dillaman
4255afd349
librbd: ignore ENOENT error when removing image from mirror directory
...
Fixes: http://tracker.ceph.com/issues/16348
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-16 09:31:03 -04:00
Mykola Golub
00baf49b2b
Merge pull request #9720 from dillaman/wip-16202
...
qa/workunits: rados cppool now requires --yes-i-really-really-mean-it
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-16 12:51:50 +03:00