]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agocmake: Fix mismatched librgw VERSION / SOVERSION 10754/head
Tim Serong [Wed, 17 Aug 2016 11:14:46 +0000 (21:14 +1000)]
cmake: Fix mismatched librgw VERSION / SOVERSION

Without this, rpmlint (on openSUSE Tumbleweed) fails with:

librgw2.x86_64: E: shlib-policy-name-error (Badness: 10000) librgw1
Your package contains a single shared library but is not named
after its SONAME.

It seems that the VERSION/SOVERSION mismatch results in the
creation of librgw.so.1 and librgw.so.2.0.0, whereas it should
be librgw.so.2 and librgw.so.2.0.0.

Signed-off-by: Tim Serong <tserong@suse.com>
9 years agoMerge pull request #10749 from mikulely/fix-rgw-client-cb
Orit Wasserman [Wed, 17 Aug 2016 07:12:20 +0000 (09:12 +0200)]
Merge pull request #10749 from mikulely/fix-rgw-client-cb

rgw: fix flush_read_list() error msg
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #10747 from oliveiradan/master
Brad Hubbard [Wed, 17 Aug 2016 06:53:58 +0000 (16:53 +1000)]
Merge pull request #10747 from oliveiradan/master

gcc 6.1.1 complains about missing include: <random>. 4.8.3 does not c…

9 years agorgw: fix flush_read_list() error msg 10749/head
Jiaying Ren [Wed, 17 Aug 2016 06:19:48 +0000 (14:19 +0800)]
rgw: fix flush_read_list() error msg

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
9 years agotest: gcc 6.1.1 complains about missing include: <random>. 4.8.3 does not complain... 10747/head
oliveiradan [Wed, 17 Aug 2016 02:49:30 +0000 (20:49 -0600)]
test: gcc 6.1.1 complains about missing include: <random>. 4.8.3 does not complain about it

Signed-off-by: Daniel Oliveira <doliveira@suse.com>
9 years agoMerge pull request #10264 from yuyuyu101/wip-async-abstract-backend
Kefu Chai [Tue, 16 Aug 2016 18:18:39 +0000 (02:18 +0800)]
Merge pull request #10264 from yuyuyu101/wip-async-abstract-backend

msg/async: allow other async backend implementations

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agotest_msgr: ensure wait for ms_dispatch executed 10264/head
Haomai Wang [Mon, 18 Jul 2016 09:27:31 +0000 (17:27 +0800)]
test_msgr: ensure wait for ms_dispatch executed

Otherwise in slow runner, ms_dispatch may not executed when assert

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async/Event: remove global_centers assert
Haomai Wang [Fri, 15 Jul 2016 07:20:10 +0000 (15:20 +0800)]
msg/async/Event: remove global_centers assert

In tests we allow to reset EventCenter instance in the same CephContext,
so it may let global_centers->centers to set the same position multi times.

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agotest_async_networkstack: add networkstack tests
Haomai Wang [Fri, 15 Jul 2016 04:14:17 +0000 (12:14 +0800)]
test_async_networkstack: add networkstack tests

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async/AsyncConnection: fix _conn_prefix racing when stopped
Haomai Wang [Tue, 12 Jul 2016 17:26:04 +0000 (01:26 +0800)]
msg/async/AsyncConnection: fix _conn_prefix racing when stopped

When the connection is lossy and enter fault, it will dispatch reset event.
If cleanup handler is executed as well as ms_handle_reset call mark_down,
it may exists racing for "cs". cleanup handler will reset "cs" but
_conn_prefix in mark_down will access "cs".

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async: readd set_priority call
Haomai Wang [Tue, 12 Jul 2016 07:51:23 +0000 (15:51 +0800)]
msg/async: readd set_priority call

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async: allow EventCenter::set_owner reentry
Haomai Wang [Tue, 12 Jul 2016 06:15:23 +0000 (14:15 +0800)]
msg/async: allow EventCenter::set_owner reentry

If daemonlize we need to respawn event threads, it need to allow set_owner again

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async/Stack: register fork watcher
Haomai Wang [Tue, 12 Jul 2016 04:30:50 +0000 (12:30 +0800)]
msg/async/Stack: register fork watcher

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agocommon/ceph_context: add prefork/postfork wathcher support
Haomai Wang [Tue, 12 Jul 2016 04:26:30 +0000 (12:26 +0800)]
common/ceph_context: add prefork/postfork wathcher support

Because daemon() will termniate all existing threads, it will make something go
wrong.

So we want to add hook at CephContext, do something before/after fork.

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async/Stack: disable smart thread spawn now
Haomai Wang [Tue, 12 Jul 2016 02:16:33 +0000 (10:16 +0800)]
msg/async/Stack: disable smart thread spawn now

New async msgr runtime need to spawn threads when binding, but ceph-osd will
call daemon() after binding port. So we need to respawn threads if forked.

Then thread spawn delay will increase complexity for this change and it's
really a simple strategy which help less, we disable auto spawn now.

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async/PosixStack: increase log level
Haomai Wang [Mon, 11 Jul 2016 11:59:23 +0000 (19:59 +0800)]
msg/async/PosixStack: increase log level

AsyncMessenger will try to loop the bind port range, so it will produce
some addr inuse errors which is not abnormal.

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async/Event: remove event wakeup flag
Haomai Wang [Sun, 10 Jul 2016 08:19:29 +0000 (16:19 +0800)]
msg/async/Event: remove event wakeup flag

Now only dispatch external event will wakeup event thread(previously
delete_time_event will call wakeup), we only need to use
"external_num_events" to indicate whether we have extra events.

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async/Event: debug event address when dispatching and executing
Haomai Wang [Sat, 9 Jul 2016 16:18:22 +0000 (00:18 +0800)]
msg/async/Event: debug event address when dispatching and executing

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async/AsyncConnection: support NetworkStack api instead of posix
Haomai Wang [Wed, 13 Jul 2016 07:59:12 +0000 (15:59 +0800)]
msg/async/AsyncConnection: support NetworkStack api instead of posix

1. replace sd to ConnectedSocket
2. Replace WorkerPool with Stack
3. Use Stack worker

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async/net_handler: let set_socket_options return value
Haomai Wang [Wed, 13 Jul 2016 07:58:25 +0000 (15:58 +0800)]
msg/async/net_handler: let set_socket_options return value

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async: add PosixStack support
Haomai Wang [Wed, 13 Jul 2016 07:56:56 +0000 (15:56 +0800)]
msg/async: add PosixStack support

Add default posix backend support, it should be the full replacement for
the original AsyncMessenger IO logics.

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agomsg/async/Stack: add abstract Stack
Haomai Wang [Mon, 4 Jul 2016 06:41:13 +0000 (14:41 +0800)]
msg/async/Stack: add abstract Stack

Stack is a network IO framework which encapsulates all necessary basic network
interface, then it manages threads to work.

Different network backend like posix, dpdk even RDMA need to inherit Stack
class to implement necessary interfaces. So it will make ease for other
network backend to integrated into ceph. Otherwise, each backend need to
implement the whole Messenger logics like reconnect, policy handle, session
maintain...

Signed-off-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #10691 from ceph/wip-jlayton-dotdot
Yan, Zheng [Tue, 16 Aug 2016 13:08:17 +0000 (08:08 -0500)]
Merge pull request #10691 from ceph/wip-jlayton-dotdot

Clean up handling of "/.." in ceph client

9 years agoMerge pull request #10733 from dillaman/wip-16608
Mykola Golub [Tue, 16 Aug 2016 13:05:57 +0000 (16:05 +0300)]
Merge pull request #10733 from dillaman/wip-16608

rbdmap: specify bash shell interpreter

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #10735 from dillaman/wip-17030
Ilya Dryomov [Tue, 16 Aug 2016 12:58:56 +0000 (14:58 +0200)]
Merge pull request #10735 from dillaman/wip-17030

librbd: always respond to "release lock" request if lock owner

Reviewed-off-by: Ilya Dryomov <idryomov@gmail.com>
9 years agoMerge pull request #10712 from dillaman/wip-16740
Mykola Golub [Tue, 16 Aug 2016 12:54:40 +0000 (15:54 +0300)]
Merge pull request #10712 from dillaman/wip-16740

librbd: permit disabling journaling if in corrupt state

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #10711 from dillaman/wip-16984
Mykola Golub [Tue, 16 Aug 2016 12:51:48 +0000 (15:51 +0300)]
Merge pull request #10711 from dillaman/wip-16984

librbd: fix possible inconsistent state when disabling mirroring fails

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #10708 from dillaman/wip-16967
Mykola Golub [Tue, 16 Aug 2016 12:50:19 +0000 (15:50 +0300)]
Merge pull request #10708 from dillaman/wip-16967

rbd: bench io-size should not be larger than image size

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #10714 from dillaman/wip-16529
Mykola Golub [Tue, 16 Aug 2016 12:48:40 +0000 (15:48 +0300)]
Merge pull request #10714 from dillaman/wip-16529

qa/workunits: support filtering cls_rbd unit test cases

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #9688 from shylesh/wip-16280
Loic Dachary [Tue, 16 Aug 2016 12:43:32 +0000 (14:43 +0200)]
Merge pull request #9688 from shylesh/wip-16280

ceph-disk: change ownership of initfile to ceph:ceph

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #10376 from onyb/wip-rbd-pypi
Josh Durgin [Tue, 16 Aug 2016 07:05:24 +0000 (00:05 -0700)]
Merge pull request #10376 from onyb/wip-rbd-pypi

pybind: Rework rbd/setup.py for PyPI

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: always respond to "release lock" request if lock owner 10735/head
Jason Dillaman [Mon, 15 Aug 2016 21:15:48 +0000 (17:15 -0400)]
librbd: always respond to "release lock" request if lock owner

Fixes: http://tracker.ceph.com/issues/17030
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #10709 from cgwalters/doc-use-https-for-repos
Dan Mick [Mon, 15 Aug 2016 19:44:22 +0000 (12:44 -0700)]
Merge pull request #10709 from cgwalters/doc-use-https-for-repos

doc/install: Use https:// for download.ceph.com

Reviewed-by: Dan Mick <dmick@redhat.com>
9 years agodoc: added rbdmap man page to RBD restructured index 10733/head
Jason Dillaman [Mon, 15 Aug 2016 18:10:27 +0000 (14:10 -0400)]
doc: added rbdmap man page to RBD restructured index

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbdmap: specify bash shell interpreter
Jason Dillaman [Mon, 15 Aug 2016 18:07:43 +0000 (14:07 -0400)]
rbdmap: specify bash shell interpreter

Fixes: http://tracker.ceph.com/issues/16608
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #10596 from cbodley/wip-rgw-period-puller
Casey Bodley [Mon, 15 Aug 2016 18:02:28 +0000 (14:02 -0400)]
Merge pull request #10596 from cbodley/wip-rgw-period-puller

rgw multisite: fixes for period puller

9 years agoMerge pull request #10330 from rzarzynski/wip-rgw-objdeler-fixes
Orit Wasserman [Mon, 15 Aug 2016 15:01:48 +0000 (17:01 +0200)]
Merge pull request #10330 from rzarzynski/wip-rgw-objdeler-fixes

rgw: multiple fixes for Swift's object expiration
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #10619 from chengweiv5/fix-doc
Kefu Chai [Mon, 15 Aug 2016 15:00:02 +0000 (23:00 +0800)]
Merge pull request #10619 from chengweiv5/fix-doc

doc: fix rados/configuration/osd-config-ref.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10138 from Yan-waller/yj-wip-rgwrados-0705
Casey Bodley [Mon, 15 Aug 2016 14:39:05 +0000 (10:39 -0400)]
Merge pull request #10138 from Yan-waller/yj-wip-rgwrados-0705

rgw: fix the error return variable in log message and cleanups

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #10729 from SUSE/wip-rnotes-script-regex
Loic Dachary [Mon, 15 Aug 2016 12:30:09 +0000 (14:30 +0200)]
Merge pull request #10729 from SUSE/wip-rnotes-script-regex

script: improve ceph-release-notes regex

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #10705 from chengweiv5/doc-image-format
Jason Dillaman [Mon, 15 Aug 2016 12:26:22 +0000 (08:26 -0400)]
Merge pull request #10705 from chengweiv5/doc-image-format

doc: format 2 now is the default image format

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoscript: improve ceph-release-notes regex 10729/head
Nathan Cutler [Mon, 15 Aug 2016 11:20:52 +0000 (13:20 +0200)]
script: improve ceph-release-notes regex

Tolerate multiple spaces after ':', remove duplicate "fs", add "log" and
"msgr".

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agolibrbd: fix possible memory leak when image open fails 10711/head
Jason Dillaman [Fri, 12 Aug 2016 13:56:49 +0000 (09:56 -0400)]
librbd: fix possible memory leak when image open fails

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #10118 from weiqiaomiao/wqm-wip-bucketcreate
Orit Wasserman [Mon, 15 Aug 2016 08:03:43 +0000 (10:03 +0200)]
Merge pull request #10118 from weiqiaomiao/wqm-wip-bucketcreate

rgw: for the create_bucket api, if the input creation_time is zero, we should set it to 'now"
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #10431 from ifed01/wip-bluestore-fix-csum-disable2
Sage Weil [Sat, 13 Aug 2016 20:33:14 +0000 (16:33 -0400)]
Merge pull request #10431 from ifed01/wip-bluestore-fix-csum-disable2

os/bluestore: proper handling for csum enable/disable settings

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10719 from stiopaa1/mon_pgmonitor_moveC_StatsStr
Sage Weil [Sat, 13 Aug 2016 16:56:27 +0000 (12:56 -0400)]
Merge pull request #10719 from stiopaa1/mon_pgmonitor_moveC_StatsStr

mon/PGMonitor: move C_Stats struct to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10208 from BlaXpirit/cmake-py3
Josh Durgin [Fri, 12 Aug 2016 23:30:35 +0000 (16:30 -0700)]
Merge pull request #10208 from BlaXpirit/cmake-py3

Include Python 3 bindings into the cmake build and make packages for them

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoclient: add a testcase for "/.." handling 10691/head
Jeff Layton [Thu, 11 Aug 2016 11:17:25 +0000 (07:17 -0400)]
client: add a testcase for "/.." handling

Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agoclient: don't use special faked-up inode for /..
Jeff Layton [Fri, 12 Aug 2016 22:48:12 +0000 (18:48 -0400)]
client: don't use special faked-up inode for /..

The CEPH_INO_DOTDOT thing is quite strange. Under most OS (Linux
included), the parent of the root is itself. IOW, at the root, '.' and
'..' refer to the same inode.

Change the ceph client to do the same, as this allows users to get
valid stat info for '..', as well as elimnating some special-casing.

Also in several places, we're checking dn_set.empty as an indicator
of being the root. While that is true for the root, it's also true
for unlinked directories.

This patch has treats them the same. An unlinked directory will
be reparented to itself, effectively acting as a root of its own.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
9 years agomon/PGMonitor: move C_Stats struct to cc file 10719/head
Michal Jarzabek [Fri, 12 Aug 2016 19:37:01 +0000 (20:37 +0100)]
mon/PGMonitor: move C_Stats struct to cc file

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agoMerge pull request #10685 from liewegas/wip-bluefs-extent
Sage Weil [Fri, 12 Aug 2016 19:38:22 +0000 (15:38 -0400)]
Merge pull request #10685 from liewegas/wip-bluefs-extent

os/bluestore/bluefs_types: fix extent operator<<

9 years agoMerge pull request #10676 from Yan-waller/yj-wip-rgwdocmultisite
Casey Bodley [Fri, 12 Aug 2016 18:57:23 +0000 (14:57 -0400)]
Merge pull request #10676 from Yan-waller/yj-wip-rgwdocmultisite

rgw/doc: fix indent

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoqa/workunits: support filtering cls_rbd unit test cases 10714/head
Jason Dillaman [Fri, 12 Aug 2016 18:44:09 +0000 (14:44 -0400)]
qa/workunits: support filtering cls_rbd unit test cases

Fixes: http://tracker.ceph.com/issues/16529
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: permit disabling journaling if in corrupt state 10712/head
Jason Dillaman [Fri, 12 Aug 2016 16:39:45 +0000 (12:39 -0400)]
librbd: permit disabling journaling if in corrupt state

Fixes: http://tracker.ceph.com/issues/16740
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: new journal policy to disable initializing the journal
Jason Dillaman [Fri, 12 Aug 2016 16:21:02 +0000 (12:21 -0400)]
librbd: new journal policy to disable initializing the journal

This will be used in the case where the journal is being disabled.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #10448 from pritha-srivastava/wip_s3_v2_localauth_rework
Matt Benjamin [Fri, 12 Aug 2016 17:06:17 +0000 (13:06 -0400)]
Merge pull request #10448 from pritha-srivastava/wip_s3_v2_localauth_rework

rgw: Rework of s3 v2 local authentication code.

verfied:  f23, subset of s3tests

9 years agoMerge pull request #10449 from ifed01/wip-bluestore-bluestore-perfcnt
Sage Weil [Fri, 12 Aug 2016 15:03:54 +0000 (11:03 -0400)]
Merge pull request #10449 from ifed01/wip-bluestore-bluestore-perfcnt

os/bluestore: add perf counters for compression effectiveness and space utilization measurements

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10193 from yehudasa/wip-16435
Orit Wasserman [Fri, 12 Aug 2016 14:22:20 +0000 (16:22 +0200)]
Merge pull request #10193 from yehudasa/wip-16435

rgw: fix issue 16435
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agolibrbd: fix possible inconsistent state when disabling mirroring
Jason Dillaman [Fri, 12 Aug 2016 13:52:21 +0000 (09:52 -0400)]
librbd: fix possible inconsistent state when disabling mirroring

Fixes: http://tracker.ceph.com/issues/16984
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #10706 from xiexingguo/xxg-wip-fix-mondbstore
Sage Weil [Fri, 12 Aug 2016 13:40:31 +0000 (09:40 -0400)]
Merge pull request #10706 from xiexingguo/xxg-wip-fix-mondbstore

mon/MonDBStore: fix assert which never fires

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10704 from chhabaramesh/master
Sage Weil [Fri, 12 Aug 2016 13:38:39 +0000 (09:38 -0400)]
Merge pull request #10704 from chhabaramesh/master

os/bluestore/BitAllocator: batch is_allocated bit checks

Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
9 years agoMerge pull request #10689 from liewegas/wip-bluestore-hex-extents
Sage Weil [Fri, 12 Aug 2016 13:34:54 +0000 (09:34 -0400)]
Merge pull request #10689 from liewegas/wip-bluestore-hex-extents

os/bluestore: print bluefs_extents in hex

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
9 years agodoc/install: Use https:// for download.ceph.com 10709/head
Colin Walters [Fri, 12 Aug 2016 13:01:50 +0000 (09:01 -0400)]
doc/install: Use https:// for download.ceph.com

While the Ceph RPMs etc. are GPG signed, there are various
attacks against signed RPMs without signed/trusted *metadata*
that are elaborated on in https://theupdateframework.github.io/

Since download.ceph.com handles it today, let's make it the default.
(Might want to run this by the server admins though).

Signed-off-by: Colin Walters <walters@verbum.org>
9 years agorbd: bench io-size should not be larger than image size 10708/head
Jason Dillaman [Fri, 12 Aug 2016 12:26:49 +0000 (08:26 -0400)]
rbd: bench io-size should not be larger than image size

Fixes: http://tracker.ceph.com/issues/16967
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorgw: Rework of s3 v2 local authentication code. 10448/head
Pritha Srivastava [Wed, 27 Jul 2016 05:24:22 +0000 (10:54 +0530)]
rgw: Rework of s3 v2 local authentication code.

The v2 local auth code has been reworked based on the new new authentication infrastructure.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
9 years agodoc: format 2 now is the default image format 10705/head
Chengwei Yang [Fri, 12 Aug 2016 09:44:16 +0000 (17:44 +0800)]
doc: format 2 now is the default image format

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
9 years agocmake: Move Python detection back outside of pybind 10208/head
Oleh Prypin [Fri, 12 Aug 2016 09:27:34 +0000 (12:27 +0300)]
cmake: Move Python detection back outside of pybind

Signed-off-by: Oleh Prypin <oleh@pryp.in>
9 years agobatch is_allocated bit checks 10704/head
Ramesh Chander [Fri, 12 Aug 2016 06:27:38 +0000 (23:27 -0700)]
batch is_allocated bit checks

Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
9 years agodoc: fix command format 10619/head
Chengwei Yang [Fri, 12 Aug 2016 05:23:15 +0000 (13:23 +0800)]
doc: fix command format

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
9 years agoMerge pull request #10621 from tchaikov/wip-doc
Kefu Chai [Fri, 12 Aug 2016 05:21:36 +0000 (13:21 +0800)]
Merge pull request #10621 from tchaikov/wip-doc

doc: silence sphinx warnings

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
9 years agodoc: fix typo maximum -> minimal
Chengwei Yang [Thu, 11 Aug 2016 01:24:00 +0000 (09:24 +0800)]
doc: fix typo maximum -> minimal

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
9 years agodoc: replace cluster name with cluster-name to avoid confusing
Chengwei Yang [Thu, 11 Aug 2016 01:21:01 +0000 (09:21 +0800)]
doc: replace cluster name with cluster-name to avoid confusing

Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
9 years agoMerge pull request #10701 from dx9/wip-run-make-cmake-args
Kefu Chai [Fri, 12 Aug 2016 03:17:23 +0000 (11:17 +0800)]
Merge pull request #10701 from dx9/wip-run-make-cmake-args

run-make-check.sh: pass args to do_cmake.sh

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agomon/MonDBStore: fix assert which never fires 10706/head
xie xingguo [Fri, 12 Aug 2016 01:56:54 +0000 (09:56 +0800)]
mon/MonDBStore: fix assert which never fires

The condition is always true and thus the assert never fires,
which is obvious not our plan.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agorgw/doc: fix typo and indent. 10676/head
Yan Jun [Thu, 11 Aug 2016 11:46:57 +0000 (19:46 +0800)]
rgw/doc: fix typo and indent.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
9 years agorun-make-check.sh: pass args to do_cmake.sh 10701/head
John Coyle [Fri, 12 Aug 2016 00:11:40 +0000 (20:11 -0400)]
run-make-check.sh: pass args to do_cmake.sh

Signed-off-by: John Coyle <dx9err@gmail.com>
9 years agoLowered third example to keep PG count lower.
John Wilkins [Thu, 11 Aug 2016 21:41:54 +0000 (14:41 -0700)]
Lowered third example to keep PG count lower.

Signed-off-by: John Wilkins <jowilkin@redhat.com>
9 years agoMerge pull request #10638 from linuxbox2/rgw-nfs-31
Casey Bodley [Thu, 11 Aug 2016 19:33:17 +0000 (15:33 -0400)]
Merge pull request #10638 from linuxbox2/rgw-nfs-31

rgw file: remove busy-wait in RGWLibFS::gc()

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agorgw file: remove busy-wait in RGWLibFS::gc() 10638/head
Matt Benjamin [Tue, 9 Aug 2016 20:49:41 +0000 (16:49 -0400)]
rgw file: remove busy-wait in RGWLibFS::gc()

This is a background thread.  However, CPU is wasted.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agoos/bluestore: print bluefs_extents in hex 10689/head
Sage Weil [Thu, 11 Aug 2016 17:19:04 +0000 (13:19 -0400)]
os/bluestore: print bluefs_extents in hex

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10670 from ceph/wip-cmake
Ali Maredia [Thu, 11 Aug 2016 17:00:22 +0000 (13:00 -0400)]
Merge pull request #10670 from ceph/wip-cmake

cmake: cleanup Findgperftools.cmake

Reviewed-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #10632 from ryneli/fix_ceph_buffer_list
Josh Durgin [Thu, 11 Aug 2016 16:57:42 +0000 (09:57 -0700)]
Merge pull request #10632 from ryneli/fix_ceph_buffer_list

librados: use bufferlist instead of buffer::list in public header

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #10633 from dx9/wip-sig
Kefu Chai [Thu, 11 Aug 2016 16:20:33 +0000 (00:20 +0800)]
Merge pull request #10633 from dx9/wip-sig

global/signal_handler: use sig_str instead of sys_siglist

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoos/bluestore/bluefs_types: fix extent operator<< 10685/head
Sage Weil [Thu, 11 Aug 2016 16:16:46 +0000 (12:16 -0400)]
os/bluestore/bluefs_types: fix extent operator<<

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10634 from dx9/wip-bit-allocator
Sage Weil [Thu, 11 Aug 2016 16:17:54 +0000 (12:17 -0400)]
Merge pull request #10634 from dx9/wip-bit-allocator

bluestore/BitAllocator: Fix deadlock with musl libc

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10675 from chiehtu/fix-16996
Kefu Chai [Thu, 11 Aug 2016 16:14:40 +0000 (00:14 +0800)]
Merge pull request #10675 from chiehtu/fix-16996

doc: fix broken link in SHEC erasure code plugin

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoos/bluestore: fix whitespace
Sage Weil [Thu, 11 Aug 2016 15:54:15 +0000 (11:54 -0400)]
os/bluestore: fix whitespace

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10215 from ifed01/wip-bluestore-blob-release-fix
Sage Weil [Thu, 11 Aug 2016 15:50:34 +0000 (11:50 -0400)]
Merge pull request #10215 from ifed01/wip-bluestore-blob-release-fix

os/bluestore: refactor dirty blob tracking along with some related fixes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10680 from ifed01/wip-bluestore-somefix
Sage Weil [Thu, 11 Aug 2016 14:22:14 +0000 (09:22 -0500)]
Merge pull request #10680 from ifed01/wip-bluestore-somefix

os/bluestore: fix improper local var variable in collection_list meth…

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix improper local var variable in collection_list method causing Store... 10680/head
Igor Fedotov [Thu, 11 Aug 2016 14:18:42 +0000 (17:18 +0300)]
os/bluestore: fix improper local var variable in collection_list method causing StoreTest.Synthetic to fail.

Signed-off-by: Igor Fedotov <ifed@mirantis.com>
9 years agoMerge pull request #10493 from Yan-waller/yj-wip-librados-0728
Sage Weil [Thu, 11 Aug 2016 14:09:57 +0000 (09:09 -0500)]
Merge pull request #10493 from Yan-waller/yj-wip-librados-0728

rados/client: fix typo

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #10669 from cbodley/wip-rgw-ldap-auth
Matt Benjamin [Thu, 11 Aug 2016 14:07:15 +0000 (10:07 -0400)]
Merge pull request #10669 from cbodley/wip-rgw-ldap-auth

rgw: fix for s3tests failure when ldap auth is not applied

9 years agorpm: Add packages for Python 3 bindings
Oleh Prypin [Tue, 9 Aug 2016 10:26:30 +0000 (13:26 +0300)]
rpm: Add packages for Python 3 bindings

Signed-off-by: Oleh Prypin <oleh@pryp.in>
9 years agodebian: Add packages for Python 3 bindings
Oleh Prypin [Tue, 9 Aug 2016 10:20:29 +0000 (13:20 +0300)]
debian: Add packages for Python 3 bindings

Signed-off-by: Oleh Prypin <oleh@pryp.in>
9 years agopybind: Make ceph_volume_client's syntax compatible with Python 3
Oleh Prypin [Mon, 8 Aug 2016 19:37:07 +0000 (22:37 +0300)]
pybind: Make ceph_volume_client's syntax compatible with Python 3
(just so it passes the bytecompilation step)

Signed-off-by: Oleh Prypin <oleh@pryp.in>
9 years agocmake: Also build Python bindings for Python 3
Oleh Prypin [Wed, 13 Jul 2016 12:57:30 +0000 (15:57 +0300)]
cmake: Also build Python bindings for Python 3

Signed-off-by: Oleh Prypin <oleh@pryp.in>
9 years agorgw: don't overwrite auth result if ldap is not applicable 10669/head
Casey Bodley [Wed, 10 Aug 2016 20:23:32 +0000 (16:23 -0400)]
rgw: don't overwrite auth result if ldap is not applicable

this was causing the following s3tests failure:

======================================================================
FAIL: s3tests.functional.test_s3.test_list_buckets_invalid_auth
----------------------------------------------------------------------
AssertionError: u'AccessDenied' != 'InvalidAccessKeyId'

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #10667 from dillaman/wip-16980
Mykola Golub [Thu, 11 Aug 2016 13:04:26 +0000 (16:04 +0300)]
Merge pull request #10667 from dillaman/wip-16980

rbd-mirror: potential race condition during failure shutdown

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoceph-disk: change ownership of init file to ceph:ceph 9688/head
Shylesh Kumar [Thu, 7 Jul 2016 15:15:57 +0000 (20:45 +0530)]
ceph-disk: change ownership of init file to ceph:ceph

Fixes: http://tracker.ceph.com/issues/16280
Signed-off-by: Shylesh Kumar <shmohan@redhat.com>
9 years agoos/bluestore: collect 'dirty' blobs on per-transaction basis to avoid onode::blob_map... 10215/head
Igor Fedotov [Thu, 7 Jul 2016 17:50:56 +0000 (20:50 +0300)]
os/bluestore: collect 'dirty' blobs on per-transaction basis to avoid onode::blob_map enumeration

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>