Commit Graph

45359 Commits

Author SHA1 Message Date
Sage Weil
291eb95c52 Merge remote-tracking branch 'gh/infernalis' 2015-10-13 16:57:47 -04:00
Sage Weil
e98408dd51 doc/release-notes: final infernalis notes
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-13 16:57:14 -04:00
Jenkins
666c12da12 Merge branch 'infernalis' of jenkins.front.sepia.ceph.com:ceph/ceph into infernalis 2015-10-13 13:57:16 -07:00
Josh Durgin
b105449243 doc/release-notes: fix some attributions
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2015-10-13 12:34:07 -07:00
Sage Weil
e9f200c7a9 doc/release-notes: infernalis notable changes
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-13 14:16:07 -04:00
Jason Dillaman
638738fff1 Revert "common, global: use lttng ust functions for handling fork-like calls"
This reverts commit 811898912f.
2015-10-13 12:16:48 -04:00
Sage Weil
6315a397b4 Merge pull request #6237 from ceph/wip-13458
rgw: location constraints should return api name

Reviewed-by: Sage Weil <sage@redhat.com>
2015-10-13 11:20:45 -04:00
Kefu Chai
e7b49f582b Merge pull request #6241 from JevonQ/fix-cephfs-doc
doc: remove toctree items under Create CephFS

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-10-13 21:51:31 +08:00
Jevon Qiao
b4c5620d28 doc: remove toctree items under Create CephFS
The two toctree items under Create CephFS should be changed into hyper links.

Signed-off-by: Jevon Qiao <qiaojianfeng@unitedstack.com>
2015-10-13 21:38:02 +08:00
Jenkins
3be81ae6cf 9.1.0 2015-10-13 05:56:36 -07:00
Alfredo Deza
cff675b287 Merge pull request #6245 from liewegas/wip-setuptools
debian/control: python-setuptools is a build dependency

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2015-10-13 08:41:30 -04:00
Sage Weil
036d36f4ff debian/control: python-setuptools is a build dependency
cd ./ceph-detect-init ; python setup.py build
Traceback (most recent call last):
  File "setup.py", line 23, in <module>
    from setuptools import setup
ImportError: No module named setuptools

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-13 08:37:40 -04:00
Sage Weil
a375de1ba1 Merge branch 'infernalis' 2015-10-13 08:24:22 -04:00
Sage Weil
8e59595ffc doc/release-notes: 9.1.0
Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-13 08:24:11 -04:00
John Spray
70264e21a9 Merge pull request #6180 from jcsp/wip-tell-sessions
New filtered MDS tell commands for sessions

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2015-10-13 11:08:12 +01:00
weill
1deb31dfa4 Init crush_location in Objecter from config file.
Fixes: #13473

Signed-off-by: Wei Luo<weilluo@tencent.com>
2015-10-13 04:21:54 -04:00
Jianpeng Ma
303263dd96 os: add a field indicate xattr only one chunk for set xattr.
Because the limit of osd backend, we split xattr into a lot of small
pieces. When set xatt, it should remove the old pieces.
But for some xattr especially for inline xattr, we know it only
one chunk. So it can skip this remove operation.

Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2015-10-13 14:32:48 +08:00
xiexingguo
65064ca05b OSD:shall reset primary and up_primary fields when beginning a new past_interval.
Shall reset primary and up_primary fields when we start over a new past_interval in OSD::build_past_intervals_parallel().
Fixes: #13471
Signed-off-by: xie.xingguo@zte.com.cn
2015-10-13 14:04:20 +08:00
Kefu Chai
f1d2d08ddd Merge pull request #6108 from ceph/wip-dang-cmake
More CMake package check fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-10-13 11:26:38 +08:00
Samuel Just
8855e60858 ReplicatedPG::maybe_handle_cache_detail: always populate missing_oid
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-10-12 18:40:06 -07:00
Samuel Just
da4803ecd2 ReplicatedPG::_rollback_to: handle block on full correctly
If we fail to promote the clone due to a full cache tier, we need
to block writes on the head just as if we were waiting on the
promote.  Generally therefore, we block writes on head if we block
an op on a full cache tier.  Add a new blocked set to support this.

Fixes: 13434
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-10-12 18:09:58 -07:00
Loic Dachary
be35ea9fe6 release-notes: draft v0.94.4 release notes
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-10-13 01:14:54 +02:00
David Zafman
2b7ddde685 osd: Correct the object_info_t::decode() version
Caused by: 13b9dc70

Fixes: #13462
Backport: Hammer, Firefly

Signed-off-by: David Zafman <dzafman@redhat.com>
2015-10-12 14:03:24 -07:00
Yehuda Sadeh
03078bab6e rgw: location constraints should return api name
Fixes: #13458
The S3 location constraints request should return the api name,
not the region name.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-10-12 11:55:40 -07:00
Sage Weil
a077301253 mon/OSDMonitor: put crushtool error in log
Putting it in *ss is useless for mkpool callers who don't return
an error string.  Log it to the mon log, too.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-12 10:33:41 -04:00
Yan, Zheng
5306628a4a Merge pull request #6204 from jcsp/wip-client-mark-down
client: don't mark_down on command reply
2015-10-12 20:30:32 +08:00
Sage Weil
0bf2a79e56 messages/MOSDOp: fix reqid encoding/decoding
Normally, we don't fill in reqid at all (it's only for proxied ops).  But
we need the reqid from the partial decode.  Put client_inc in reqid.inc
when encoding the new format, and when decoding the old formats.  Then
fabricate the correct reqid in get_reqid().

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-12 08:30:28 -04:00
Sage Weil
6f6fe39558 messages/MOSDOp: decode complete message for v6, too.
We can't avoid this because we need the reqid before we've done the
full decoding, and that is at the very end of v6.  Too bad, so sad!

Signed-off-by: Sage Weil <sage@redhat.com>
2015-10-12 08:29:12 -04:00
Kefu Chai
d8076e0367 Merge pull request #6226 from xiaoxichen/osd_misc
osd: fix debug message in osd::is_healthy

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-10-12 16:31:41 +08:00
Xiaoxi Chen
e0cf25f6c0 Fix debug message in osd::is_healthy
Display the actual vaule of osd_heartbeat_min_healthy_ratio instead
of 1/3 (default value).

Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
2015-10-12 10:41:49 +08:00
wenjunhuang
f276308575 ceph-fuse.cc: While starting ceph-fuse, start the log thread first
http://tracker.ceph.com/issues/13443 Fixes: #13443

Signed-off-by: Wenjun Huang <wenjunhuang@tencent.com>
2015-10-10 14:46:47 +08:00
Samuel Just
d36d7f24fb ReplicatedPG: allow maybe_handle_cache to return status detailing what happened
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-10-09 22:42:19 -07:00
Kefu Chai
ec64463c62 Merge pull request #5065 from wonzhq/optracker-histogram
common: OpTracker age histogram calculation is not correct

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-10-10 09:15:27 +08:00
Josh Durgin
7f80bfc3c0 Merge pull request #6220 from dreamhost/wip-pybind-rados-omap-binary
pybind/rados: Fix binary omap values.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-10-09 20:02:17 -04:00
Robin H. Johnson
68c722c897 pybind/rados, get_omap_vals: Fix pydoc type.
pydoc type for filter_prefix did not match code.

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2015-10-09 16:29:15 -07:00
Robin H. Johnson
5a6e762f6b test: pybind/test_rados: add binary data.
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2015-10-09 16:29:15 -07:00
Robin H. Johnson
db03d3027f pybind/rados: Fix binary omap values.
The prior code caused binary omap values to be discarded. This fixes
them to use the same model as the xattr iterator, and correctly return
binary data as python strings, eg:
'object_prefix': '\x15\x00\x00\x00rbd_data.449d2ae8944a'

Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2015-10-09 16:28:55 -07:00
Samuel Just
691d5535ea Merge pull request #6193 from athanatos/wip-13240
ReplicatedPG::maybe_handle_cache: do not promote before checking full

Reviewed-by: Sage Weil <sage@redhat.com>
2015-10-09 16:16:27 -07:00
Sage Weil
1e017ef63d Merge pull request #6190 from SUSE/wip-drop-my-conf-opt
ceph.spec.in: drop MY_CONF_OPTS

Reviewed-by: Ken Dreyer, <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2015-10-09 16:34:25 -04:00
Radoslaw Zarzynski
5b9c326106 rgw: fix wrong etag calculation during POST on S3 bucket.
Fixes: #11241
Backport: infernalis, hammer, firefly
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
(cherry picked from commit 742906ab5e)
2015-10-09 13:34:05 -07:00
Sage Weil
4b7cf9ce83 Merge pull request #6183 from ceph/wip-fix-selinux-man-page
Fix selinux man page

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2015-10-09 16:33:48 -04:00
Sage Weil
093af4277b Merge pull request #6191 from SUSE/wip-concentrate-buildrequires
ceph.spec.in: move BuildRequires out of subpackages

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
2015-10-09 16:33:14 -04:00
Sage Weil
031b41b5d9 Merge pull request #6184 from dillaman/wip-13372-infernalis
librbd: invalidate object map on error even w/o holding lock

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-10-09 16:31:43 -04:00
Yehuda Sadeh
4b07f93335 Merge pull request #6030 from rzarzynski/wip-11241
rgw: fix wrong etag calculation during POST on S3 bucket.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-10-09 13:28:33 -07:00
Haomai Wang
cbf36ad0df LibRBD: Adjust correct op latency scope
Op latency need to cover from queuing to finishing op.

Signed-off-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Jason Dillaman <jdillaman@redhat.com>
2015-10-09 16:28:12 -04:00
Jason Dillaman
4fdc703e84 librados_test_stub: prevent interleaving of operations
It was possible for unrelated ops to interleave within a different
transaction for a given object.

Fixes: #13313
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-10-09 16:26:10 -04:00
Jason Dillaman
d689db8bdc cls: new force-promotion flag for class methods
Class methods that use the cls_get_request_origin should not be
proxied to a base tier -- otherwise the origin will reflect the
cache tier instead of the client.

Fixes: #13380

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-09 15:10:38 -04:00
Jason Dillaman
6eca7d0889 librados: restored pre-infernalis API compatibility
Fixes: #13429
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-09 13:00:13 -04:00
Jason Dillaman
cac1d6f936 buffer: restored pre-infernalis API compatibility
Fixes: #13429
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-10-09 12:58:54 -04:00
Casey Bodley
45c8a928a9 Merge pull request #6044 from ceph/wip-12958
rgw: orphan tool shouldn't clean up head objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2015-10-09 12:32:51 -04:00