]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agolibrados: add timeout parameter to rados_watch 11378/head
Ryne Li [Mon, 10 Oct 2016 19:47:32 +0000 (15:47 -0400)]
librados: add timeout parameter to rados_watch

Signed-off-by: Ryne Li <lizhenqiangsnake@gmail.com>
8 years agoosd: add comfigurable timeout for OSD_OP_WATCH
Ryne Li [Mon, 10 Oct 2016 19:46:15 +0000 (15:46 -0400)]
osd: add comfigurable timeout for OSD_OP_WATCH

Signed-off-by: Ryne Li <lizhenqiangsnake@gmail.com>
8 years agoosd: add check of ceph_osd_op for compatibility
Ryne Li [Mon, 10 Oct 2016 20:00:12 +0000 (16:00 -0400)]
osd: add check of ceph_osd_op for compatibility

Signed-off-by: Ryne Li <lizhenqiangsnake@gmail.com>
8 years agoMerge pull request #11173 from tchaikov/wip-17306
Kefu Chai [Wed, 21 Sep 2016 15:35:04 +0000 (23:35 +0800)]
Merge pull request #11173 from tchaikov/wip-17306

test/cli/crushtool: fix the test of compile-decompile-recompile.t

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agotest/cli/crushtool: fix the test of compile-decompile-recompile.t 11173/head
Kefu Chai [Wed, 21 Sep 2016 14:58:49 +0000 (22:58 +0800)]
test/cli/crushtool: fix the test of compile-decompile-recompile.t

should read the map from $TESTDIR,
it's a regression introduced by b2c0a07

Fixes: http://tracker.ceph.com/issues/17306
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11166 from xiexingguo/xxg-wip-bluestore-0921
Sage Weil [Wed, 21 Sep 2016 14:11:52 +0000 (09:11 -0500)]
Merge pull request #11166 from xiexingguo/xxg-wip-bluestore-0921

os/bluestore: simplify calculation of collection key range

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11131 from ceph/rgw-lifecycle-testing
Casey Bodley [Wed, 21 Sep 2016 14:05:57 +0000 (10:05 -0400)]
Merge pull request #11131 from ceph/rgw-lifecycle-testing

Rgw lifecycle testing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoLifecycle testing 11131/head
Daniel Gryniewicz [Thu, 14 Jul 2016 16:40:29 +0000 (12:40 -0400)]
Lifecycle testing

Add new config option - rgw_lc_debug_interval - that modifies the
lifecycle algorithm.  It treats days as being the configured number of
seconds.  This allows lifecycle to be tested in minutes, rather than
days.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
8 years agoLifecycle - Fix config locking
Daniel Gryniewicz [Wed, 14 Sep 2016 17:38:36 +0000 (13:38 -0400)]
Lifecycle - Fix config locking

The lifecycle config lock was not setting a cookie.  This means that all
instances of that lock conflict, causing errors to be returned to the
client.

Set a unique cookie on each lock instance.

Signed-off-by: Daniel Gryniewicz <dang@redhat.com>
8 years agoMerge pull request #11031 from yangdongsheng/du
Jason Dillaman [Wed, 21 Sep 2016 12:56:05 +0000 (08:56 -0400)]
Merge pull request #11031 from yangdongsheng/du

rbd: return error if we specified a wrong image name for rbd du

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #11163 from jcsp/wip-cmake-vstart
John Spray [Wed, 21 Sep 2016 09:18:04 +0000 (10:18 +0100)]
Merge pull request #11163 from jcsp/wip-cmake-vstart

doc: Update developer docs for cmake paths

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agodoc: update vstart guide for cmake-ish paths 11163/head
John Spray [Wed, 21 Sep 2016 07:59:45 +0000 (08:59 +0100)]
doc: update vstart guide for cmake-ish paths

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agodoc: update build instructions for cmake
John Spray [Wed, 21 Sep 2016 07:54:24 +0000 (08:54 +0100)]
doc: update build instructions for cmake

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoos/bluestore: simplify calculation of collection key range 11166/head
xie xingguo [Wed, 21 Sep 2016 05:57:39 +0000 (13:57 +0800)]
os/bluestore: simplify calculation of collection key range

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11083 from ifed01/wip-load-plugins-fix
Kefu Chai [Wed, 21 Sep 2016 03:59:55 +0000 (11:59 +0800)]
Merge pull request #11083 from ifed01/wip-load-plugins-fix

common/compressor: add libcommon as a dependency for zlib and snappy p…

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #10975 from stiopaa1/osd_replicatedbackend_moveSomeClassesToCC
Kefu Chai [Wed, 21 Sep 2016 03:59:01 +0000 (11:59 +0800)]
Merge pull request #10975 from stiopaa1/osd_replicatedbackend_moveSomeClassesToCC

osd/PGBackend.h: move structs to .cc file

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11073 from badone/wip-remove-check_disk_write_cache
Kefu Chai [Wed, 21 Sep 2016 03:58:38 +0000 (11:58 +0800)]
Merge pull request #11073 from badone/wip-remove-check_disk_write_cache

FileJournal: Remove obsolete _check_disk_write_cache function

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #11060 from stiopaa1/mon_osdmonitor_removeAssign
Kefu Chai [Wed, 21 Sep 2016 03:57:14 +0000 (11:57 +0800)]
Merge pull request #11060 from stiopaa1/mon_osdmonitor_removeAssign

mon/OSDMonitor.cc: remove use of boost assign

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11039 from stiopaa1/osd_inprogress_removingCount
Kefu Chai [Wed, 21 Sep 2016 03:56:24 +0000 (11:56 +0800)]
Merge pull request #11039 from stiopaa1/osd_inprogress_removingCount

osd/OSD.cc: remove unneeded searching of maps

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge branch 'wip-rocksdb-librados-test'
Josh Durgin [Wed, 21 Sep 2016 03:13:44 +0000 (20:13 -0700)]
Merge branch 'wip-rocksdb-librados-test'

qa: add test of envlibrados for rocksdb

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoadd qa test of envlibrados for rocksdb
Ryne Li [Thu, 11 Aug 2016 20:33:27 +0000 (16:33 -0400)]
add qa test of envlibrados for rocksdb

Signed-off-by: Ryne Li <lizhenqiangsnake@gmail.com>
8 years agoMerge pull request #11146 from tchaikov/wip-17307
Kefu Chai [Wed, 21 Sep 2016 02:56:01 +0000 (10:56 +0800)]
Merge pull request #11146 from tchaikov/wip-17307

os/filestore/FileJournal: error out if FileJournal is not a file

Reviewed-by: David Zafman <dzafman@redhat.com>
8 years agoMerge pull request #11103 from liewegas/wip-clone-range
Sage Weil [Tue, 20 Sep 2016 22:36:31 +0000 (17:36 -0500)]
Merge pull request #11103 from liewegas/wip-clone-range

ceph_test_objectstore: test clone_range and fix a few bugs

8 years agoceph_test_objectstore: disable filestore_fiemap 11103/head
Sage Weil [Thu, 15 Sep 2016 21:29:45 +0000 (17:29 -0400)]
ceph_test_objectstore: disable filestore_fiemap

This very reliably triggers a test failure for
ObjectStore/StoreTest.Synthetic/1.

FIEMAP is bad!  Do not use it!

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoceph_test_objectstore: exercise clone_range from synthetic
Sage Weil [Thu, 15 Sep 2016 21:15:25 +0000 (17:15 -0400)]
ceph_test_objectstore: exercise clone_range from synthetic

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/memstore: fix bug in BufferlistObject::write
Sage Weil [Thu, 15 Sep 2016 19:48:07 +0000 (15:48 -0400)]
os/memstore: fix bug in BufferlistObject::write

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoos/ObjectStore: clarify clone_range semantics
Sage Weil [Thu, 15 Sep 2016 19:38:01 +0000 (15:38 -0400)]
os/ObjectStore: clarify clone_range semantics

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11157 from cbodley/wip-memstore-clone
Sage Weil [Tue, 20 Sep 2016 22:35:34 +0000 (17:35 -0500)]
Merge pull request #11157 from cbodley/wip-memstore-clone

memstore: clone zero-fills holes from source range

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10991 from weiqiaomiao/wqm-wip-sync-error
Casey Bodley [Tue, 20 Sep 2016 20:31:14 +0000 (16:31 -0400)]
Merge pull request #10991 from weiqiaomiao/wqm-wip-sync-error

rgw: fix failed to create bucket if a non-master zonegroup has a single zone

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #10942 from JellevdK/master
Jason Dillaman [Tue, 20 Sep 2016 20:31:00 +0000 (16:31 -0400)]
Merge pull request #10942 from JellevdK/master

systemd: add install section to rbdmap.service file

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agotest: add tests for memstore clone_range 11157/head
Casey Bodley [Mon, 19 Sep 2016 20:46:23 +0000 (16:46 -0400)]
test: add tests for memstore clone_range

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agomemstore: clone zero-fills holes from source range
Casey Bodley [Fri, 16 Sep 2016 19:34:57 +0000 (15:34 -0400)]
memstore: clone zero-fills holes from source range

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agomemstore: use const_iterator instead of const_cast
Casey Bodley [Mon, 19 Sep 2016 14:57:42 +0000 (10:57 -0400)]
memstore: use const_iterator instead of const_cast

Signed-off-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11070 from VictorDenisov/consistency_groups_extract_module
Jason Dillaman [Tue, 20 Sep 2016 18:54:47 +0000 (14:54 -0400)]
Merge pull request #11070 from VictorDenisov/consistency_groups_extract_module

librbd: extract group module from librbd/internal

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #9844 from rzarzynski/wip-rgw-swift-website
Casey Bodley [Tue, 20 Sep 2016 16:57:21 +0000 (12:57 -0400)]
Merge pull request #9844 from rzarzynski/wip-rgw-swift-website

rgw: add support for Static Website of Swift API

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #11149 from xiexingguo/xxg-wip-bluestore-0920
Sage Weil [Tue, 20 Sep 2016 12:50:53 +0000 (07:50 -0500)]
Merge pull request #11149 from xiexingguo/xxg-wip-bluestore-0920

os/bluestore: narrow condition of sanity check when get_object_key()

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11121 from stiopaa1/osd_osd_moveMembersToPrivate
Sage Weil [Tue, 20 Sep 2016 12:00:25 +0000 (07:00 -0500)]
Merge pull request #11121 from stiopaa1/osd_osd_moveMembersToPrivate

osd/OSD.h: move some members under private

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10563 from stiopaa1/mon_healthmonitor_removeUnneededInclude
Sage Weil [Tue, 20 Sep 2016 11:59:16 +0000 (06:59 -0500)]
Merge pull request #10563 from stiopaa1/mon_healthmonitor_removeUnneededInclude

mon/HealthMonitor: remove unneeded include

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10515 from stiopaa1/mon_monitor_addOverride
Sage Weil [Tue, 20 Sep 2016 11:58:44 +0000 (06:58 -0500)]
Merge pull request #10515 from stiopaa1/mon_monitor_addOverride

mon/Monitor.h: add override to virtual functions

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10333 from stiopaa1/msg_EventSelect_RemoveIncFromHeader
Sage Weil [Tue, 20 Sep 2016 11:58:06 +0000 (06:58 -0500)]
Merge pull request #10333 from stiopaa1/msg_EventSelect_RemoveIncFromHeader

msg/EventSelect: move includes to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10269 from stiopaa1/osd_watch_removeUnneededForwardDecl
Sage Weil [Tue, 20 Sep 2016 11:57:34 +0000 (06:57 -0500)]
Merge pull request #10269 from stiopaa1/osd_watch_removeUnneededForwardDecl

osd/Watch.h: remove unneeded forward declaration

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #9644 from stiopaa1/osdc_ObjectCacher_const
Sage Weil [Tue, 20 Sep 2016 11:56:27 +0000 (06:56 -0500)]
Merge pull request #9644 from stiopaa1/osdc_ObjectCacher_const

osdc/ObjectCacher: change iterator to const_iterator and add const to member functions

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #11093 from ceph/wip-jlayton-statx
jtlayton [Tue, 20 Sep 2016 10:29:52 +0000 (06:29 -0400)]
Merge pull request #11093 from ceph/wip-jlayton-statx

Small interface cleanups for struct ceph_statx

8 years agoclient: always provide the file type in stx_mode 11093/head
Jeff Layton [Mon, 19 Sep 2016 17:02:45 +0000 (13:02 -0400)]
client: always provide the file type in stx_mode

The proposed statx interface does this, and this would allow ganesha
to get away without requesting CEPH_STATX_MODE when all it wants is
enough to instantiate a filehandle.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
8 years agoclient: remove unimplemented fields from ceph_statx
Jeff Layton [Thu, 15 Sep 2016 14:39:37 +0000 (10:39 -0400)]
client: remove unimplemented fields from ceph_statx

We don't provide stx_version and stx_information is currently unused.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
8 years agoRevert "client: move the device bitshift handling macros to Client.h"
Jeff Layton [Wed, 14 Sep 2016 14:51:07 +0000 (10:51 -0400)]
Revert "client: move the device bitshift handling macros to Client.h"

This reverts commit 2115de04a417e6df4272fc836829b70bd6a2b97e.

This is unnecessary now that we're using dev_t's in ceph_statx.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
8 years agoclient: convert ceph_statx to use dev_t for devices
Jeff Layton [Wed, 14 Sep 2016 14:48:45 +0000 (10:48 -0400)]
client: convert ceph_statx to use dev_t for devices

Signed-off-by: Jeff Layton <jlayton@redhat.com>
8 years agoclient: switch ceph_statx time fields to struct timespec
Jeff Layton [Tue, 20 Sep 2016 10:26:36 +0000 (06:26 -0400)]
client: switch ceph_statx time fields to struct timespec

This is just much more convenient for applications that want to use
the API. We're not talking to the kernel here, so there's no real
reason we need to use fixed length fields.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
8 years agoclient: remove unneeded extra padding from ceph_statx
Jeff Layton [Wed, 14 Sep 2016 13:53:00 +0000 (09:53 -0400)]
client: remove unneeded extra padding from ceph_statx

Holdover from the proposed kernel API that doesn't really help anything
here. If we ever want to extend this struct, we'll just append to the
end and add new want mask bits.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
8 years agoos/filestore/FileJournal: fail out if FileJournal is not block device or regular... 11146/head
Kefu Chai [Tue, 20 Sep 2016 09:39:24 +0000 (17:39 +0800)]
os/filestore/FileJournal: fail out if FileJournal is not block device or regular file

otherwise JournalingFileStore will assert when deleting FileJournal
which still has the non block/regular file opened.

Fixes: http://tracker.ceph.com/issues/17307
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11144 from tchaikov/wip-17306
Brad Hubbard [Tue, 20 Sep 2016 06:45:23 +0000 (16:45 +1000)]
Merge pull request #11144 from tchaikov/wip-17306

crush/CrushCompiler: error out as long as parse fails

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agocrush/CrushCompiler: error out as long as parse fails 11144/head
Kefu Chai [Tue, 20 Sep 2016 06:10:16 +0000 (14:10 +0800)]
crush/CrushCompiler: error out as long as parse fails

do not output compiled crush map if anything goes wrong when parsing
crush map.

Fixes: http://tracker.ceph.com/issues/17306
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: narrow condition of sanity check when get_object_key() 11149/head
xie xingguo [Tue, 20 Sep 2016 06:14:47 +0000 (14:14 +0800)]
os/bluestore: narrow condition of sanity check when get_object_key()

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11129 from xiexingguo/xxg-wip-bluestore-0919
Sage Weil [Tue, 20 Sep 2016 03:11:20 +0000 (22:11 -0500)]
Merge pull request #11129 from xiexingguo/xxg-wip-bluestore-0919

os/bluestore: misc. fixes

Reviewed-by: Sage Weil <sage@redhat.com.
8 years agoMerge pull request #11116 from badone/wip-rm-modprobe-run-cmake-check
Sage Weil [Tue, 20 Sep 2016 03:08:38 +0000 (22:08 -0500)]
Merge pull request #11116 from badone/wip-rm-modprobe-run-cmake-check

run-cmake-check.sh: Remove redundant calls

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
8 years agoMerge pull request #10943 from jdurgin/wip-tox-coverage
Dan Mick [Mon, 19 Sep 2016 23:41:19 +0000 (16:41 -0700)]
Merge pull request #10943 from jdurgin/wip-tox-coverage

tox.ini: remove extraneous coverage --omit option

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #11006 from iain-buclaw-sociomantic/pyaiostat
Josh Durgin [Mon, 19 Sep 2016 23:32:34 +0000 (16:32 -0700)]
Merge pull request #11006 from iain-buclaw-sociomantic/pyaiostat

python-rados: implement new aio_stat.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agofix test_rgw_ldap.cc for search filter
Matt Benjamin [Mon, 19 Sep 2016 20:54:24 +0000 (16:54 -0400)]
fix test_rgw_ldap.cc for search filter

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge branch 'ldap-auth-custom-searchfilter' of https://github.com/haklein/ceph into...
Matt Benjamin [Mon, 19 Sep 2016 21:26:29 +0000 (17:26 -0400)]
Merge branch 'ldap-auth-custom-searchfilter' of https://github.com/haklein/ceph into haklein-ldap-auth-custom-searchfilter

8 years agomon/Monitor.h: add override to virtual functions 10515/head
Michal Jarzabek [Sun, 31 Jul 2016 10:10:17 +0000 (11:10 +0100)]
mon/Monitor.h: add override to virtual functions

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agomon/HealthMonitor: remove unneeded include 10563/head
Michal Jarzabek [Wed, 3 Aug 2016 19:43:09 +0000 (20:43 +0100)]
mon/HealthMonitor: remove unneeded include

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
8 years agoMerge pull request #11134 from tserlin/wip-tserlin-fix-radosgw-admin-manpage
Casey Bodley [Mon, 19 Sep 2016 20:19:55 +0000 (16:19 -0400)]
Merge pull request #11134 from tserlin/wip-tserlin-fix-radosgw-admin-manpage

Add two options to radosgw-admin.rst manpage

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoAdd two options to radosgw-admin.rst manpage 11134/head
tserlin [Mon, 19 Sep 2016 18:40:12 +0000 (14:40 -0400)]
Add two options to radosgw-admin.rst manpage

Add '--job-id' and '--max-concurrent-ios' to Orphan Search Options

Fixes: http://tracker.ceph.com/issues/17281
Signed-off-by: Thomas Serlin <tserlin@redhat.com>
8 years agoMerge pull request #11051 from prallabh/wip-17256
Casey Bodley [Mon, 19 Sep 2016 19:25:05 +0000 (15:25 -0400)]
Merge pull request #11051 from prallabh/wip-17256

rgw: Do not archive metadata by default

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoclient: reinstate clearing of *fhp in ll_create and don't allow fhp == NULL
Jeff Layton [Mon, 19 Sep 2016 19:20:58 +0000 (15:20 -0400)]
client: reinstate clearing of *fhp in ll_create and don't allow fhp == NULL

The logic in ll_create relies on *fhp being zeroed out on entry into the
function, but that's no longer being done since commit e08210dda. Fix
this by reinstating that initialization.

Luckily, it looks like the two main callers (FUSE and nfs-ganesha)
already handle this safely, but the SyntheticClient does not. Move the
zeroing of the pointer into ll_create, and allow callers to pass in a
pointer to an uninitialized value. With this, we can remove the
initialization in the fuse client code as well.

Also, we can get rid of some unneeded NULL pointer checks if we don't
allow callers to pass in a NULL fhp pointer. As best I can tell, no one
does that currently and no comments over ceph_ll_create seem to claim
that this should be allowed.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
8 years agoMerge pull request #11132 from ceph/wip-17167
Casey Bodley [Mon, 19 Sep 2016 18:29:36 +0000 (14:29 -0400)]
Merge pull request #11132 from ceph/wip-17167

rgw: fix decoding of creation_time and last_update.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw: fix decoding of creation_time and last_update. 11132/head
Orit Wasserman [Mon, 19 Sep 2016 13:05:22 +0000 (15:05 +0200)]
rgw: fix decoding of creation_time and last_update.

Fixes: http://tracker.ceph.com/issues/17167
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #11115 from petermaloney/peter-mds-docs3
John Wilkins [Mon, 19 Sep 2016 15:52:52 +0000 (08:52 -0700)]
Merge pull request #11115 from petermaloney/peter-mds-docs3

doc: manual instructions to set up mds daemon

Reviewed-by: John Wilkins<jowilkin@redhat.com>
8 years agoMerge pull request #11063 from ceph/wip-doc-BZ#1368528
Samuel Just [Mon, 19 Sep 2016 12:31:04 +0000 (05:31 -0700)]
Merge pull request #11063 from ceph/wip-doc-BZ#1368528

Removed reference about pool ownership based on BZ#1368528

Reviewed-by: Samuel Just <sjust@redhat.com>
8 years agoos/bluestore: simplify marking unused logic of blob tail 11129/head
xie xingguo [Mon, 19 Sep 2016 10:30:46 +0000 (18:30 +0800)]
os/bluestore: simplify marking unused logic of blob tail

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11104 from dillaman/wip-17283
Mykola Golub [Mon, 19 Sep 2016 11:20:41 +0000 (14:20 +0300)]
Merge pull request #11104 from dillaman/wip-17283

rbd-mirror: concurrent access of event might result in heap corruption

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agoMerge pull request #11123 from batrick/ceph-create-keys-bugfix
John Spray [Mon, 19 Sep 2016 10:54:03 +0000 (11:54 +0100)]
Merge pull request #11123 from batrick/ceph-create-keys-bugfix

ceph-create-keys: add missing argument comma

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #10815 from ceph/wip-qa-workunits-py3
Kefu Chai [Mon, 19 Sep 2016 10:45:34 +0000 (18:45 +0800)]
Merge pull request #10815 from ceph/wip-qa-workunits-py3

Python 3 compatibility for workunits

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: exercise handle when trying to get through throttlers
xie xingguo [Mon, 19 Sep 2016 08:38:16 +0000 (16:38 +0800)]
os/bluestore: exercise handle when trying to get through throttlers

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: confirm buffer is empty before moving it into AOUT queue
xie xingguo [Mon, 19 Sep 2016 02:27:39 +0000 (10:27 +0800)]
os/bluestore: confirm buffer is empty before moving it into AOUT queue

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoos/bluestore: avoid reset cache_private if we haven't to
xie xingguo [Mon, 19 Sep 2016 02:24:46 +0000 (10:24 +0800)]
os/bluestore: avoid reset cache_private if we haven't to

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11100 from bassamtabbara/rocksdb-build-improvements
Kefu Chai [Mon, 19 Sep 2016 02:17:59 +0000 (10:17 +0800)]
Merge pull request #11100 from bassamtabbara/rocksdb-build-improvements

cmake: enable ccache for rocksdb too

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11105 from badone/wip-dnf-enable-build-scripts
Kefu Chai [Mon, 19 Sep 2016 02:15:32 +0000 (10:15 +0800)]
Merge pull request #11105 from badone/wip-dnf-enable-build-scripts

build scripts: Enable dnf for Fedora >= 22

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11111 from bassamtabbara/wip-tcmalloc-minimal
Kefu Chai [Mon, 19 Sep 2016 01:57:57 +0000 (09:57 +0800)]
Merge pull request #11111 from bassamtabbara/wip-tcmalloc-minimal

cmake: Support tcmalloc_minimal allocator

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoos/bluestore: fix sanity check of object key length
xie xingguo [Mon, 19 Sep 2016 01:31:29 +0000 (09:31 +0800)]
os/bluestore: fix sanity check of object key length

We now encode shard-id into exactly one byte.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #11109 from dmick/master
Sage Weil [Sun, 18 Sep 2016 23:49:13 +0000 (18:49 -0500)]
Merge pull request #11109 from dmick/master

unittest_chain_xattr: account for existing xattrs

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #9569 from stiopaa1/osdc_objectCacher_const
Sage Weil [Sun, 18 Sep 2016 22:57:31 +0000 (17:57 -0500)]
Merge pull request #9569 from stiopaa1/osdc_objectCacher_const

osdc/ObjectCacher.h: add const to member functions

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #9701 from stiopaa1/osd_removeUnneededReturn
Sage Weil [Sun, 18 Sep 2016 22:56:05 +0000 (17:56 -0500)]
Merge pull request #9701 from stiopaa1/osd_removeUnneededReturn

OSD.cc: remove unneeded return

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #9932 from stiopaa1/test_simple_dispatcher_removeUnusedVariable
Sage Weil [Sun, 18 Sep 2016 22:55:01 +0000 (17:55 -0500)]
Merge pull request #9932 from stiopaa1/test_simple_dispatcher_removeUnusedVariable

test/simple_dispatcher.cc: remove unused variable

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10071 from stiopaa1/compatset_removeUnneededInline_mc
Sage Weil [Sun, 18 Sep 2016 22:54:39 +0000 (17:54 -0500)]
Merge pull request #10071 from stiopaa1/compatset_removeUnneededInline_mc

CompatSet.h: remove unneeded inline

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10503 from stiopaa1/msg_queuestrategy_addOverrideNew
Sage Weil [Sun, 18 Sep 2016 22:52:00 +0000 (17:52 -0500)]
Merge pull request #10503 from stiopaa1/msg_queuestrategy_addOverrideNew

msg/QueueStrategy: add override to virtual functs

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10575 from stiopaa1/mon_osdmonitor_removeUnneededCasts
Sage Weil [Sun, 18 Sep 2016 22:51:25 +0000 (17:51 -0500)]
Merge pull request #10575 from stiopaa1/mon_osdmonitor_removeUnneededCasts

mon/OSDMonitor.cc: remove unneeded casts

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10599 from stiopaa1/mon_monclient_deleteCopyConstrAndAssing
Sage Weil [Sun, 18 Sep 2016 22:46:23 +0000 (17:46 -0500)]
Merge pull request #10599 from stiopaa1/mon_monclient_deleteCopyConstrAndAssing

mon/MonClient.h: delete copy constr and assing op

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10618 from stiopaa1/mon_configkeyservice_passStringByConstRef
Sage Weil [Sun, 18 Sep 2016 22:45:38 +0000 (17:45 -0500)]
Merge pull request #10618 from stiopaa1/mon_configkeyservice_passStringByConstRef

mon/ConfigKeyService: pass strings by const ref

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10639 from stiopaa1/common_trackedop_moveShardedTrackingData
Sage Weil [Sun, 18 Sep 2016 22:44:59 +0000 (17:44 -0500)]
Merge pull request #10639 from stiopaa1/common_trackedop_moveShardedTrackingData

common/TrackedOp: move ShardedTrackingData to .cc

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10721 from stiopaa1/mon_logmonitor_moveCLogStruct
Sage Weil [Sun, 18 Sep 2016 22:44:24 +0000 (17:44 -0500)]
Merge pull request #10721 from stiopaa1/mon_logmonitor_moveCLogStruct

mon/LogMonitor: move C_Log struct to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10549 from stiopaa1/mon_healthmonitor_addOverride
Sage Weil [Sun, 18 Sep 2016 22:43:40 +0000 (17:43 -0500)]
Merge pull request #10549 from stiopaa1/mon_healthmonitor_addOverride

mon/HealthMonitor: add override to virtual functs

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10529 from stiopaa1/mon_paxosservice_moveClassesTocc
Sage Weil [Sun, 18 Sep 2016 22:43:18 +0000 (17:43 -0500)]
Merge pull request #10529 from stiopaa1/mon_paxosservice_moveClassesTocc

mon/PaxosService: move classes to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10422 from stiopaa1/msg_accepter_addOverride
Sage Weil [Sun, 18 Sep 2016 22:42:48 +0000 (17:42 -0500)]
Merge pull request #10422 from stiopaa1/msg_accepter_addOverride

msg/Accepter.h: add override to virtual function

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10416 from stiopaa1/mon_elector_moveCElectionExpire
Sage Weil [Sun, 18 Sep 2016 22:42:17 +0000 (17:42 -0500)]
Merge pull request #10416 from stiopaa1/mon_elector_moveCElectionExpire

mon/Elector:move C_ElectionExpire class to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10383 from stiopaa1/mon_monclient_moveCTickClass
Sage Weil [Sun, 18 Sep 2016 22:40:25 +0000 (17:40 -0500)]
Merge pull request #10383 from stiopaa1/mon_monclient_moveCTickClass

mon/MonClient: move C_Tick struct to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10441 from stiopaa1/msg_accepter_moveIncludeToCC
Sage Weil [Sun, 18 Sep 2016 22:39:57 +0000 (17:39 -0500)]
Merge pull request #10441 from stiopaa1/msg_accepter_moveIncludeToCC

msg/Accepter: move include to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10513 from stiopaa1/mon_monitor_moveCScrubCScrubTimeout
Sage Weil [Sun, 18 Sep 2016 22:39:04 +0000 (17:39 -0500)]
Merge pull request #10513 from stiopaa1/mon_monitor_moveCScrubCScrubTimeout

mon/Monitor: move C_Scrub, C_ScrubTimeout to .cc

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #10482 from stiopaa1/msg_faststrategy_addOverride
Sage Weil [Sun, 18 Sep 2016 22:38:07 +0000 (17:38 -0500)]
Merge pull request #10482 from stiopaa1/msg_faststrategy_addOverride

msg/FastStrategy.h: add override to virtual funct

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoosd/OSD.h: move some members under private 11121/head
Michal Jarzabek [Sun, 18 Sep 2016 22:37:50 +0000 (23:37 +0100)]
osd/OSD.h: move some members under private

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>