Commit Graph

55008 Commits

Author SHA1 Message Date
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
Jason Dillaman
9687e5e34a librbd: journal callback to interrupt replay
If the exclusive lock is lost while the journal is in the
replay state, the journal close will block until the replay
completes. The new callback will facilitate stopping replay
in a timely fashion so that the journal can be closed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-17 11:43:46 -04:00
Jason Dillaman
47e25e59a8 rbd-mirror: keep local pointer to image journal
Fixes: http://tracker.ceph.com/issues/16230
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-06-17 11:43:45 -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
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
Igor Fedotov
b69316c647 os/bluestore: fix improper blob's csum visualization.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-06-16 18:28:31 +03: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