Commit Graph

56328 Commits

Author SHA1 Message Date
Jason Dillaman
1fe05668f5 Merge pull request #10060 from trociny/wip-16386
librbd: discard hangs when 'rbd_skip_partial_discard' is enabled

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-07-28 14:03:50 -04:00
Ali Maredia
2850b6f393 Merge pull request #10472 from tchaikov/wip-cmake
cmake: exclude non-public symbols in shared libraries

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-07-28 13:44:49 -04:00
Gregory Farnum
e58b5c5342 Merge pull request #10273 from yonghengdexin735/wip-zzz-pip-delete-no_casting_required
msg/simple/Pipe: eliminating casts for the comparing of len and recv_max_prefetch

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-07-28 09:17:38 -07:00
Orit Wasserman
c056a8b318 Merge pull request #10477 from cbodley/wip-16839
radosgw-admin: zone[group] modify can change realm id
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-07-28 16:55:53 +02:00
Mark Nelson
f8c0e344ab Merge pull request #9988 from ifed01/wip-bluestore-reduce-blob4
os/bluestore: get rid off blob's ref_map for non-shared objects

Mark's Comments:

This passed Jenkins checks.
This PR did not appear to have a significant impact on performance tests.
This initially failed "ceph_test_objectstore --gtest_filter=*/2" segfaulting in one of the tests.  See the attached log in the comments for the PR for details.  Subsequent reruns passed, and a run through valgrind's memcheck also passed.  Igor indicated that he has seen this particular segfault previously and believes it is related to running out of memory.  Given that the PR has passed the object store tests multiple times and the segfault has been observed in the past, I believe this PR is unrelated.

Reviewed-by: Mark Nelson <mnelson@redhat.com>
2016-07-28 09:53:01 -05:00
Casey Bodley
ef39416173 Merge pull request #10439 from weiqiaomiao/wqm-wip-rgw-zonedump
rgw: add lc_pool when decode or encode struct RGWZoneParams

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-07-28 10:50:21 -04:00
Casey Bodley
064b7e953d radosgw-admin: zone[group] modify can change realm id
allows the default zone and zonegroup (created with empty realm_id) to
be later added to a realm. the 'modify' command now accepts either
--realm_id=id or --rgw-realm=name

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

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-07-28 10:17:05 -04:00
John Spray
a98849782e Merge pull request #10476 from yonghengdexin735/wip-zzz-CDir
mds/CDir: remove the part of judgment for _next_dentry_on_set

Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-28 14:53:53 +01:00
zhang.zezhu
b5dc3af3af mds/CDir: remove the part of judgment for _next_dentry_on_set
Signed-off-by: zhang.zezhu <zhang.zezhu@zte.com.cn>
2016-07-28 12:31:39 +00:00
John Spray
d8d1483160 Merge pull request #10428 from jcsp/wip-16592
mon: validate states transmitted in beacons

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-07-28 13:27:35 +01:00
John Spray
8a8c26b7b5 mon: validate states transmitted in beacons
Since FSMap was added, the state of a daemon can lead
to an entirely invalid map, but we were letting daemons
send any state they wanted.

Especially, we must not allow standby daemons to set
any state other than STANDBY.

Fixes: http://tracker.ceph.com/issues/16592
Signed-off-by: John Spray <john.spray@redhat.com>
2016-07-28 12:59:26 +01:00
Kefu Chai
b41905bdb8 cmake: link rgw_a against cls_lock_client
rgw_lc.cc is using it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-28 19:16:35 +08:00
John Spray
2b119e8188 Merge pull request #10429 from jcsp/wip-16807-assertion
mds: add assertion in handle_slave_rename_prep

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2016-07-28 12:15:27 +01:00
Kefu Chai
0edfad088a cmake: exclude private symbols in public libs
we should avoid exposing non-public symbols from user facing dynamic
libraries. so pass '--exclude-libs' with appropriate argument to linker.
as libcephfs does not add the ((visibility ("default"))) specifier to
the exported symbols, we can not set the default visiblity to hidden for
libcephfs, and "-export-symbols-regex" is a libtool option, we need to
develop a way for cmake to fix the visibility of libcephfs. it's still a
TODO.

* librados
  - pass '--exclude-libs=ALL' to linker
  - add buffer.cc to librados, so we can use '--exclude-libs=ALL'.
* libcephfs: pass '--exclude-libs=libcommon.a,libclient.a,libosdc.a' to
  linker
* libcommon
  - extract common_buffer_obj from libcommon, to avoid compilation
    this source file repeatly.
* tests:
  - link against common_internal_objs explicitly if the test in
    question is using the internal symbols.
* ceph-client-debug:
  - link against client explicitly, and do not link against librados
    anymore, as it is not used in this tool.

Fixes: http://tracker.ceph.com/issues/16556
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-28 19:15:04 +08:00
Kefu Chai
8382dda5f9 cmake: move common_utf8 closer to where it is used
for example, json_spirit uses common_utf8, so link json_spirit against common_utf8.
because libcommon includes json_spirit, this change does not impact the
consumers of libcommon.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-07-28 19:15:03 +08:00
John Spray
ec6dab79a3 Merge pull request #9925 from fullerdj/wip-djf-11171
mds: Add path filtering for dump cache

Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-28 11:35:20 +01:00
John Spray
f742113e6c Merge pull request #10281 from vishalkanaujia/wip_inotable_repair
cephfs: Inotable repair during forward scrub

Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-28 11:25:18 +01:00
Mykola Golub
9717417b7b test: fix librbd tests for rbd_skip_partial_discard
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-07-28 10:00:31 +03:00
Mykola Golub
dc41731fbf librbd: discard hangs when 'rbd_skip_partial_discard' is enabled
Fixes: http://tracker.ceph.com/issues/16386
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-07-28 09:28:33 +03:00
zhang.zezhu
1d01c68769 msg/simple/Pipe: eliminating casts for the comparing of len and recv_max_prefetch
Signed-off-by: zhang.zezhu <zhang.zezhu@zte.com.cn>
2016-07-28 01:47:37 +00:00
Loic Dachary
98602ae6c6 Merge pull request #10457 from SUSE/wip-15497
doc: add Backporting section to Essentials chapter

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-07-27 23:15:39 +02:00
Nathan Cutler
f2dc74e05a doc: add Backporting section to Essentials chapter
... and fix some broken links.

Fixes: http://tracker.ceph.com/issues/15497
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-07-27 21:41:17 +02:00
Loic Dachary
aed7de2919 Merge pull request #10414 from SUSE/wip-doc-dev
doc: add Upload logs to archive server section...

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-07-27 21:21:51 +02:00
Nathan Cutler
2f80519958 doc: add Upload logs to archive server section...
...to Testing in the cloud testing chapter

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-07-27 20:20:49 +02:00
Orit Wasserman
0b85d413fb Merge pull request #10456 from cbodley/wip-16834
rgw: use endpoints from master zone instead of zonegroup
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-07-27 20:13:09 +02:00
Casey Bodley
d4872ec9f7 rgw: use endpoints from master zone instead of zonegroup
Fixes: http://tracker.ceph.com/issues/16834

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-07-27 13:23:14 -04:00
Daniel Gryniewicz
f32562011d Merge pull request #10396 from zhouruisong/master
rgw:add a s3 API of make torrent for a object
2016-07-27 12:20:54 -04:00
Kefu Chai
e93f25c65e Merge pull request #10438 from ceph/wip-arm64
ARM64 fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Tested-by: tone zhang <tone.zhang@linaro.org>
2016-07-27 23:49:05 +08:00
Kefu Chai
ebf0f6b119 Merge pull request #10418 from wjwithagen/wip-wjw-freebsd-rocksdb
cmake: pass cmake's compiler and flags to compile RocksDB into build

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-07-27 23:40:40 +08:00
Jason Dillaman
bdeef717dc Merge pull request #9334 from yangdongsheng/rbd_clone_hiberit
rbd: inherit the parent image features when cloning an image

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-07-27 08:23:09 -04:00
Jason Dillaman
8db3083b92 Merge pull request #10087 from yangdongsheng/rbd_snap_remove_force
rbd: Allow user to remove snapshot with --force to auto flatten children

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-07-27 08:21:59 -04:00
Kefu Chai
4e8e68aa48 Merge pull request #9371 from ukernel/wip-osx-fuse
build ceph-fuse on OSX

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-07-27 20:19:04 +08:00
John Spray
d9a0222197 Merge pull request #10436 from gregsfortytwo/wip-snapshot-doc
Add documentation about snapshots

Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-27 12:44:25 +01:00
John Spray
49d6d40acc Merge pull request #10399 from renhwztetecs/renhw-wip-mds-cleanup2
mds: unuse Class and cleanup

Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-27 12:42:57 +01:00
John Spray
fba249fd90 Merge pull request #10444 from SUSE/wip-drop-cephfs-mopup
man/Makefile-client.am: drop legacy cephfs tool

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2016-07-27 12:15:40 +01:00
huanwen ren
756810fe55 mds: unuse Class and cleanup
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-07-27 17:36:10 +08:00
Willem Jan Withagen
80fcbb6ed8 src/CMakeLists.txt: pass compiler and flags used to compile into RocksDB build
- make sure the right compiler is used in CXX
 - NDEBUG if the current code is not being build with debugging

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-07-27 10:34:50 +02:00
Kefu Chai
4587b0d16d Merge pull request #10433 from SUSE/wip-16808
deb: merge ceph-fs-common into ceph-common

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-07-27 13:32:05 +08:00
Yuri Weinstein
9cd7e990ef Merge pull request #10342 from songbaisen/b6
logmon: check is_leader() before doing any work on get_trim_to()

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2016-07-26 15:48:54 -07:00
Yuri Weinstein
ffc81d1e49 Merge pull request #10343 from xiexingguo/xxg-wip-pipe-2016-07-19
msg/simple: fix wrong condition checking of writing TAG_CLOSE on closing

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2016-07-26 15:48:22 -07:00
Yuri Weinstein
71f393d786 Merge pull request #10345 from tchaikov/wip-dump-cmdline
global/signal_handler: dump cmdline instead of arg[0]

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-07-26 15:47:18 -07:00
Yuri Weinstein
3cb8e3520e Merge pull request #10356 from stiopaa1/msg_message_changeConstructorsRemoveCodeDuplication
msg/Message.h: remove code duplication

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-07-26 15:46:03 -07:00
Yuri Weinstein
f38717269a Merge pull request #9290 from xiexingguo/xxg-wip-replicatedpg-cleaner
tools: do not closed stdout ; fix overload of "<" operator

Reviewed-by: Sage Weil <sage@redhat.com>
2016-07-26 15:39:51 -07:00
Yuri Weinstein
296e485126 Merge pull request #9362 from xiexingguo/xxg-wip-texttable-df
tools: use TextTable for "rados df" plain output

Reviewed-by: Sage Weil <sage@redhat.com>
2016-07-26 15:39:03 -07:00
Yuri Weinstein
38609de1ec Merge pull request #9894 from gaowanlong/osd_recovery_max_omap_entries_per_chunk
osd: limit omap data in push op

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-07-26 15:38:10 -07:00
Yuri Weinstein
a6c0952cdd Merge pull request #10369 from ceph/wip-16715
msg/async/Event: ensure not refer to member variable which may destroyed

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-07-26 15:36:01 -07:00
Mark Nelson
17a5fd22e7 Merge pull request #10358 from xiexingguo/xxg-wip-bluestore-2016-07-20
kv/MemDB: fix wrong output target and add sanity checks

Mark's Comments:

This passed Jenkins checks.
This passed "ceph_test_objectstore --gtest_filter=*/2".
This PR did not appear to have a significant impact on performance tests.

Reviewed-by: Mark Nelson <mnelson@redhat.com>
2016-07-26 14:53:23 -05:00
Mark Nelson
796c29e908 Merge pull request #10349 from xiexingguo/xxg-wip-bluestore-2016-07-19
os/bluestore: add a boundary check of cache read

Mark's Comments:

This passed Jenkins checks.
This passed "ceph_test_objectstore --gtest_filter=*/2".
This PR did not appear to have a significant impact on performance tests.

Reviewed-by: Mark Nelson <mnelson@redhat.com>
2016-07-26 14:51:41 -05:00
Daniel Gryniewicz
4c32c37add Merge pull request #10442 from weiqiaomiao/wqm-wip-rgw-getlc
rgw: return "NoSuchLifecycleConfiguration" if lifecycle config does not exist
2016-07-26 15:07:35 -04:00
Orit Wasserman
5416960dee Merge pull request #10446 from cbodley/wip-16817
rgw: clear realm watch on failed watch_restart
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-07-26 19:43:03 +02:00