1
0
mirror of https://github.com/ceph/ceph synced 2024-12-18 01:16:55 +00:00
Commit Graph

53907 Commits

Author SHA1 Message Date
John Spray
56fa20a9e5 Merge pull request from ukernel/wip-posixacl-fix
client: fix setting empty default ACL

Reviewed-by: John Spray <john.spray@redhat.com>
2016-06-01 15:37:19 +01:00
Sage Weil
564a69a30f Merge pull request from liewegas/wip-bluefs
os/bluestore/BlueFS: wait for aios on shutdown
2016-06-01 10:28:59 -04:00
Loic Dachary
7cc0b77a53 Merge pull request from dachary/wip-13522-ceph-disk
ceph-disk: workaround gperftool hang

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-06-01 15:39:10 +02:00
Sage Weil
4b8aeefbfc os/bluestore/BlueFS: wait for aios on shutdown
This fixes segv from unittest_bluefs.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-06-01 09:14:01 -04:00
Loic Dachary
c092321c24 ceph-disk: workaround gperftool hang
Temporary workaround: if ceph-osd --mkfs does not
complete within 5 minutes, assume it is blocked
because of https://github.com/gperftools/gperftools/issues/786

References http://tracker.ceph.com/issues/13522

Signed-off-by: Loic Dachary <loic@dachary.org>
2016-06-01 14:24:27 +02:00
Yan, Zheng
ad02795ad5 qa/workunits/fs/misc: test for setting empty ACL
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-06-01 17:42:24 +08:00
Yehuda Sadeh
39d5ce33a3 Merge pull request from cbodley/wip-rgw-vstart-valgrind
vstart: add --valgrind_rgw

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-06-01 12:10:20 +03:00
Mykola Golub
8ce337e355 Merge pull request from dillaman/wip-14937
rbd-mirror: replicate cloned images

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-06-01 10:59:57 +03:00
xiexingguo
be0de2d9a1 Merge pull request from xiexingguo/xxg-wip-fixbmap
os/bluestore: fix bmap allocator relevant issues

Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-06-01 15:46:06 +08:00
Boris Ranto
7b93841b36 Merge pull request from ceph/wip-16095-parted
packaging: move parted requirement to -osd subpkg

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2016-06-01 08:57:38 +02:00
Brad Hubbard
db353c194a Merge pull request from tchaikov/wip-doc-hyperlink-of-rados_t
doc: add breathe_domain_by_extension to conf.py
2016-06-01 15:28:07 +10:00
xie xingguo
a1277976b8 os/bluestore/BitAllocator: set_bits() in batch
Which is simpler and faster.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-01 13:25:50 +08:00
xie xingguo
775307c613 os/bluestore/BitAllocator: fix race condition for check_bit()
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-01 13:25:50 +08:00
xie xingguo
7e6ad914aa os/bluestore/BitAllocator: use std namespace for atomic_*
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-01 13:25:50 +08:00
xie xingguo
89d906c871 os/bluestore/BitAllocator: fix is_allocated() may return false positive
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-01 13:25:49 +08:00
Jason Dillaman
943ff82987 qa/workunits/rbd: basic cloned image test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 23:08:02 -04:00
Ken Dreyer
115349680b packaging: move parted requirement to -osd subpkg
Prior to this change, ceph-base required the "parted" package, which
meant that any installation of ceph-osd, ceph-mon, or ceph-mds would
pull in the parted package.

Move the parted dependency to ceph-osd, since ceph-disk is the only
thing that uses parted.

The advantage of this change is that Mon and MDS systems will not need
to install the parted package.

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

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-05-31 17:51:55 -06:00
Jason Dillaman
f5fd093737 rbd-mirror: copy snapshot parent image settings
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 16:39:42 -04:00
Jason Dillaman
fcfdebb471 cls_rbd: asynchronous helper method to set parent
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 16:39:42 -04:00
Jason Dillaman
ae6e03dfb1 rbd-mirror: add support for cloning images from mirrored parent
Fixes: http://tracker.ceph.com/issues/14937
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 16:39:41 -04:00
Jason Dillaman
bfaa112c30 librbd: extend internal API to clone from open parent image
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 16:39:41 -04:00
Jason Dillaman
5a26080447 cls_rbd: asynchronous helper methods to retrieve mirror image metadata
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 16:39:41 -04:00
Jason Dillaman
3731c3c34c rbd-mirror: helper state machine to open remote/read-only images
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-31 16:39:41 -04:00
Casey Bodley
d169a27467 rgw: support size suffixes for --max-size in radosgw-admin command
rgw: support size suffixes for --max-size in radosgw-admin command

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-31 15:41:24 -04:00
John Wilkins
83c73398f7 remove references to mds destroy in ceph-deployReviewed-by: John Wilkins
remove references to `mds destroy` in ceph-deploy 

Reviewed-by: John Wilkins jowilkin@redhat.com
2016-05-31 12:31:19 -07:00
Sage Weil
fa1dc125c7 unittest_bluefs: debug bdev, bluefs
Hopefully this will catch the intermittent segv we are
seeing.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-31 15:01:53 -04:00
Alfredo Deza
9d42a0f88d doc: ceph-deploy man: remove references to mds destroy. Not implemented
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2016-05-31 14:12:13 -04:00
Alfredo Deza
41995c260d doc: style fixes for gen_state_diagram 2016-05-31 14:12:13 -04:00
John Spray
f51ab4e59f Merge pull request from Vicente-Cheng/wip-clean-client-lock
client: correct the client_lock order when cleanup

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-31 18:00:46 +01:00
John Spray
2ba061c144 Merge pull request from bniver/wip-bniver-9904
mds: log on bad seq

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-31 16:42:33 +01:00
Matt Benjamin
838a8473a0 Merge pull request from Adirl/bug_fix_xcon
xio: clean xcon on connection teardown

Looks good--taking the new guidance as authoritative.
2016-05-31 09:41:29 -04:00
Sage Weil
106426f172 Merge pull request from majianpeng/common-blkdev-accept-symbolic-link
common/blkdev: accept symbolic link

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-31 09:13:45 -04:00
Kefu Chai
65de919ec3 doc: add breathe_domain_by_extension to conf.py
so it can render the doxygen generated objects with the proper domain by
checking the extension of rendered source file.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-31 18:34:32 +08:00
Orit Wasserman
136efee7a5 Merge pull request from rzarzynski/wip-rgw-remove-unused-token_tag
rgw, cleanup: drop unused variable token_tag in rgw_swift_auth.cc
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-30 16:00:46 +02:00
Roi Dayan
4a1c85c5b7 xio: clean xcon on connection teardown
Accelio could raise connection teardown event without
a disconnected/closed/refused/error event before it which will
leave the xcon reference in XioMessenger entity map and conn list
which will also cause an assertion from boost.

Signed-off-by: Roi Dayan <roid@mellanox.com>
2016-05-30 12:11:18 +03:00
Mykola Golub
14a150bea8 Merge pull request from dillaman/wip-16045
rbd-mirror: support multiple replicated pools

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-05-28 22:21:25 +03:00
Jason Dillaman
f4339ee8cb rbd-mirror: cluster-level asok commands need to support multiple pools
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-28 13:36:10 -04:00
Kefu Chai
60588e82e9 Merge pull request from tchaikov/wip-cmake-doc
cmake,make: speed up man page generation

Reviewed-by: François Lafont <francois.lafont@ac-versailles.fr>
2016-05-29 00:05:21 +08:00
Yuri Weinstein
092827cee7 Merge pull request from xiexingguo/xxg-wip-fstool
tool/cephfs: make EventOutput::binary() idempotent

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-28 08:57:42 -07:00
Yuri Weinstein
acef86675c Merge pull request from ukernel/wip-open-symlink
mds: fix open symlink and truncate bugs

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2016-05-28 08:56:58 -07:00
Yuri Weinstein
fbf0a095fd Merge pull request from liewegas/wip-cppool
rados: refuse to cppool if there are snaps; warn about user_version

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-05-28 08:52:43 -07:00
Yuri Weinstein
d6b5a4d44f Merge pull request from xiexingguo/xxg-wip-scrubq-assert
mon: fix assert triggerred by the deprecated "scrubq" state

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-28 08:50:09 -07:00
Yuri Weinstein
b888ed6a5e Merge pull request from vumrao/wip-vumrao-15809
mon : Display full flag in ceph status if full flag is set

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-28 08:49:20 -07:00
Yuri Weinstein
071e0299c6 Merge pull request from stiopaa1/osd_osdcap_preventCopyingVectorInConstructor
osd/OSDCap: prevent copying vector/strings

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-28 08:48:31 -07:00
Yuri Weinstein
cb9301dfd6 Merge pull request from songbaisen/song27
mon: remove the redundant judge on dispatch_op function

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-28 08:46:38 -07:00
Yuri Weinstein
baebdf5e0c Merge pull request from liewegas/wip-16012
osd: reject rados ops with bad PARALLELEXEC flag

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-28 08:44:53 -07:00
Kefu Chai
9421345112 Merge pull request from ceph/wip-cmake
cmake: add ObjectMapIterate.cc to librbd

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-28 22:57:32 +08:00
Ali Maredia
452f7b859a cmake: fix build when WITH_RADOSGW is set OFF
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-28 10:23:09 -04:00
Jason Dillaman
91e9be44da Merge pull request from xiexingguo/xxg-wip-fixrbdut
test: fix ut failure caused by rbd usage update

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-28 06:55:10 -04:00
xie xingguo
3b0f2d02a2 test: fix ut failure caused by rbd usage update
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-28 18:24:38 +08:00