Commit Graph

37127 Commits

Author SHA1 Message Date
Sage Weil
6f8b96a9fe crush/CrushWrapper: fix detach_bucket
In commit 9850227d2f we changed the call that
changed the weight of all instances of item to one that explicitly
changes it in the parent bucket, but parent_id may not be valid at the
call site.  Move this into the conditional block to fix.

Fixes: #10095
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-13 10:59:58 -08:00
Sage Weil
a46fb02381 Makefile: include 'ceph' in base target
This makes 'make base' enough to vstart.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-13 10:49:33 -08:00
Sage Weil
a820bf6f08 Merge pull request #2906 from ceph/wip-9835
osd: fix misdirected ec ops stuck in optracker (9835)

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-11-13 10:35:04 -08:00
Sage Weil
585b9065ec msg/Makefile: add new header to tarball
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-13 10:05:53 -08:00
Sage Weil
b61d834032 Merge pull request #2909 from yuyuyu101/wip-10079
AsyncMessenger: Add select support and tests for async drivers
2014-11-13 09:12:26 -08:00
Swami Reddy
6e5bae4cfc mailmap: Dan Mick name normalization
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2014-11-13 20:30:14 +05:30
Swami Reddy
5fdec031e2 mailmap: Xan Peng affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2014-11-13 20:30:13 +05:30
Swami Reddy
e8a60ce4bf mailmap: BJ Lougee affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2014-11-13 20:30:13 +05:30
Swami Reddy
e8daba61f9 mailmap: Derrick Schneider affiliation
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2014-11-13 20:30:13 +05:30
Swami Reddy
e3865883cd mailmap: Federico Gimenez name normalization
Signed-off-by: M Ranga Swami Reddy <swamireddy@gmail.com>
2014-11-13 20:28:50 +05:30
Loic Dachary
1cd7422a3b mon: ceph-monstore-tool must close()
Otherwise it asserts because the destructor checks for the is_open flag.

http://tracker.ceph.com/issues/10093 Fixes: #10093

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-13 15:37:48 +01:00
Jason Dillaman
ff01842e2f Merge pull request #2912 from dachary/wip-warning
tests: fix compilation warning

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2014-11-13 09:26:02 -05:00
Loic Dachary
7da691af28 Merge pull request #2911 from keichwa/wip-doc-rados
Wip doc rados

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-13 13:45:02 +01:00
Loic Dachary
d6be062be4 tests: fix compilation warning
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-13 13:03:22 +01:00
Karl Eichwalder
0ee6437856 doc: remove superfluous white spaces (for testing)
Signed-off-by: Karl Eichwalder <ke@suse.de>
2014-11-13 11:42:09 +01:00
Karl Eichwalder
ee45f48e3f doc: Fix 2 syntax errors.
Signed-off-by: Karl Eichwalder <ke@suse.de>
2014-11-13 11:17:01 +01:00
Haomai Wang
571c8577a9 AsyncMessenger: Fix select driver for add_event
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-11-13 15:36:05 +08:00
Haomai Wang
17ce4ec36e AsyncMessenger: Add tests for async drivers
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-11-13 15:35:58 +08:00
Haomai Wang
ebc8875a92 AsyncMessenger: Support select for other OS such as Windows
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2014-11-13 15:35:47 +08:00
David Zafman
78d1e6cee2 osd: Check filter ops for pgls and pgnls
Fixes: #9439

Signed-off-by: David Zafman <dzafman@redhat.com>
2014-11-12 17:52:58 -08:00
Sage Weil
9e05ba086a osd/OSD: use OSDMap helper to determine if we are correct op target
Use the new helper.  This fixes our behavior for EC pools where targetting
a different shard is not correct, while for replicated pools it may be. In
the EC case, it leaves the op hanging indefinitely in the OpTracker because
the pgid exists but as a different shard.

Fixes: #9835
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-12 17:11:10 -08:00
Sage Weil
89c0263791 osd/OSDMap: add osd_is_valid_op_target()
Helper to check whether an osd is a given op target for a pg.  This
assumes that for EC we always send ops to the primary, while for
replicated we may target any replica.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-12 17:04:35 -08:00
Chendi.Xue
079a8d74fb Add myself to <contact@intel.com>
Signed-off-by: Chendi Xue <chendi.xue@intel.com>
2014-11-13 08:08:08 +08:00
David Zafman
5ce09198bf ceph_objectstore_tool: Fixes to make import work again
The is_pg() call is now true even for pgs pending removal, fix broken
    finish_remove_pgs() by removing is_pg() check.
Need to add create_collection() to the initial transaction on import

Fixes: #10090

Signed-off-by: David Zafman <dzafman@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-12 16:00:14 -08:00
Sage Weil
21fc9b5ff1 Merge pull request #2903 from ceph/wip-crush-tree
crush: fix tree bucket functions

Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-12 13:58:14 -08:00
Sage Weil
a69b8450f6 vstart.sh: warn less
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-12 13:35:43 -08:00
Josh Durgin
7695a61e89 Merge pull request #2892 from leseb/doc-juno-client-socket
doc: enable RBD cache and socket on OpenStack deployments

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2014-11-12 21:57:06 +01:00
Sage Weil
292be9799e Merge pull request #2902 from dachary/wip-10083-noisy-osd
qa: handle CEPH_CLI_TEST_DUP_COMMAND on ceph osd create

Reviewed-by: Sage Weil <sage@redhat.com>
2014-11-12 11:27:08 -08:00
Josh Durgin
94a10196b5 Merge remote-tracking branch 'origin/next' 2014-11-12 11:18:52 -08:00
Loic Dachary
6c80525551 qa: handle CEPH_CLI_TEST_DUP_COMMAND on ceph osd create
If CEPH_CLI_TEST_DUP_COMMAND is set when ceph osd create is called, it
will create two osd. They must be cleaned up afterwards instead of
assuming only one is going to be created.

http://tracker.ceph.com/issues/10083 Fixes: #10083

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2014-11-12 19:33:46 +01:00
Sage Weil
22b6c1a531 Merge pull request #2124 from ceph/wip-objectstore
simplify ObjectStore interface

sage-2014-11-11_08:26:01-rados-wip-sage-testing-distro-basic-multi

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2014-11-12 10:02:52 -08:00
Sage Weil
1eed56bf5d Merge pull request #2722 from ceph/wip-9598
msgr: make mark_down not block on fast dispatch

sage-2014-11-11_08:26:01-rados-wip-sage-testing-distro-basic-multi

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-11-12 10:01:50 -08:00
John Wilkins
636316a15a Merge pull request #2901 from ktdreyer/doc-spelling-grammar
doc: spelling & grammar fixes

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2014-11-12 09:18:42 -08:00
Ken Dreyer
0cff9148ff doc: correct grammar in RGW SSL cert installation
The SSL certificate generation instruction was missing a preposition.
Add it.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-11-12 09:55:55 -07:00
Ken Dreyer
731ea68bfb doc: correct spelling of "fqdn"
The "fqdn" (fully-qualified domain name) was misspelled in a couple
places as fgdn". Use the correct spelling.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2014-11-12 09:53:43 -07:00
Jason Dillaman
d76bfc2e8e Merge pull request #2899 from jdurgin/wip-import-export-next
qa: allow small allocation diffs for exported rbds

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2014-11-12 09:26:45 -05:00
Sébastien Han
40994c918a doc: enable RBD cache and socket on OpenStack deployments
Enabling the RBD cache improves sequential IOs and the socket helps a
lot while troubleshooting. These 2 items are considered as best
practice for OpenStack deployments with Ceph.

Signed-off-by: Sébastien Han <sebastien.han@enovance.com>
2014-11-12 10:19:44 +01:00
Josh Durgin
e94d3c11ed qa: allow small allocation diffs for exported rbds
The local filesytem may behave slightly differently. This isn't
foolproof, but seems to be reliable enough on rhel7 rootfs, where
exact comparison was failing.

Fixes: #10002
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2014-11-11 18:16:04 -08:00
Josh Durgin
e5e92c7cb1 Merge pull request #2898 from ceph/wip-rbd-python-tests
librbd: Python unit tests now use unique pools and images

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2014-11-12 03:13:04 +01:00
Josh Durgin
c224014ac0 Merge pull request #2820 from ceph/wip-9854
osdc: Constrain max number of in-flight read requests

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2014-11-12 03:05:28 +01:00
Loic Dachary
b0eb532796 Merge pull request #2890 from zhouyuan/fix_mailmap
Fix Yuan's mailmap

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2014-11-12 01:52:44 +01:00
Sage Weil
80865fea71 Merge remote-tracking branch 'gh/next' 2014-11-11 16:22:40 -08:00
Yuan Zhou
09eefac760 Fix Yuan's mailmap
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2014-11-12 08:16:45 +08:00
Sage Weil
05a1c3f128 doc/release-notes: v0.88
Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-11 16:15:08 -08:00
Sage Weil
8e6fe680e6 Merge pull request #2897 from ceph/wip-da-revert-10b68b
Revert "osd: detect (some) misordered ondisk tmaps"

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2014-11-11 15:28:20 -08:00
Rongze Zhu
1342548888 crush: fix tree bucket functions
There are incorrect nodes' weight in tree bucket when construct tree
bucket. The tree bucket don't store item id in items array, so the tree
bucket will not work correctly. The patch fix above bugs and add a
simple test for tree bucket.

Signed-off-by: Rongze Zhu <zrzhit@gmail.com>
2014-11-11 11:18:35 -08:00
Sage Weil
e444b22173 crush/builder: replace printf with an empty dprintk macro
This mirrors mapper.c.

Signed-off-by: Sage Weil <sage@redhat.com>
2014-11-11 11:16:58 -08:00
Danny Al-Gaaf
109bcd44ba Revert "osd: detect (some) misordered ondisk tmaps"
This reverts commit 10b68b2e1a.

The check for 'nextkey < last_disk_key' makes not much sense since
last_disk_key is an empty string and not set before. Comparing a
decoded string to be less than an empty string will be never true.

Since this if() isn't part of a loop last_disk_key is only set
once and there is no other consumer: revert this dead code.

Conflicts:
	src/osd/ReplicatedPG.cc
2014-11-11 19:06:12 +01:00
Jenkins
4be687bf44 0.88 2014-11-11 09:33:12 -08:00
Josh Durgin
2e2fc44f99 Merge pull request #2562 from ceph/wip-5595
Wip 5595

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2014-11-11 18:18:43 +01:00