]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agorpm: Add rpm scripts for ceph-rbd-mirror 8714/head
Boris Ranto [Wed, 27 Apr 2016 16:10:51 +0000 (18:10 +0200)]
rpm: Add rpm scripts for ceph-rbd-mirror

We are currently missing the systemd scripts for the new ceph-rbd-mirror
daemons. This patch introduces them.

Signed-off-by: Boris Ranto <branto@redhat.com>
9 years agorpm: Start all the targets in %post
Boris Ranto [Wed, 27 Apr 2016 16:00:08 +0000 (18:00 +0200)]
rpm: Start all the targets in %post

We need to have the sub-targets active for the ceph.target to be able
to propagate its calls to the services. If the sub-target is inactive,
the main target won't propagate the stop/restart calls.

Signed-off-by: Boris Ranto <branto@redhat.com>
9 years agorpm: implement scriptlets for the post-split daemon packages
Nathan Cutler [Tue, 19 Apr 2016 12:48:41 +0000 (14:48 +0200)]
rpm: implement scriptlets for the post-split daemon packages

This patch gives each of the ceph-{mds,mon,osd,radosgw} packages its own
%post, %preun, and %postun scriptlets dealing with the package's unit files.

The scriptlets of ceph-base are adapted to handle the ceph.target unit file
only.

The scriptlets of ceph-mon handle ceph-create-keys services in addition to ceph-mon.

The scriptlets of ceph-osd handle ceph-disk services in addition to ceph-osd.

Fixes: http://tracker.ceph.com/issues/14941
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Boris Ranto <branto@redhat.com>
9 years agosystemd: enable all the ceph .target services by default
Nathan Cutler [Tue, 19 Apr 2016 12:51:01 +0000 (14:51 +0200)]
systemd: enable all the ceph .target services by default

Some distros, like Fedora and openSUSE, have a policy that all services are
disabled by default.

This patch changes that default for the ceph.target and
ceph-{mds,mon,osd,radosgw}.target services.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Boris Ranto <branto@redhat.com>
9 years agoSigned-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
Tamil Muthamizhan [Tue, 26 Apr 2016 23:13:28 +0000 (16:13 -0700)]
Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
removed ceph-deploy folder, as its been already replaced with ceph-tests.

9 years agoMerge pull request #8746 from yehudasa/wip-15598
Casey Bodley [Tue, 26 Apr 2016 15:49:42 +0000 (11:49 -0400)]
Merge pull request #8746 from yehudasa/wip-15598

Fixes: http://tracker.ceph.com/issues/15598
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #8762 from ceph/wip-15595
Yehuda Sadeh [Tue, 26 Apr 2016 15:37:42 +0000 (08:37 -0700)]
Merge pull request #8762 from ceph/wip-15595

rgw: fix bad free in RGWCreateBucket_ObjStore_S3

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: fix bad free in RGWCreateBucket_ObjStore_S3 8762/head
Casey Bodley [Tue, 26 Apr 2016 14:36:58 +0000 (10:36 -0400)]
rgw: fix bad free in RGWCreateBucket_ObjStore_S3

get_params() will accept -ERR_LENGTH_REQUIRED from
rgw_rest_read_all_input(), in which case 'data' will not be allocated
and we attempt to free() an uninitialized pointer

Fixes: http://tracker.ceph.com/issues/15595
Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agomsg/async: add numevents statistics for external_eventsReviewed-by: Haomai Wang ...
Haomai Wang [Tue, 26 Apr 2016 14:14:31 +0000 (22:14 +0800)]
msg/async: add numevents statistics for external_eventsReviewed-by: Haomai Wang <haomai@xsky.com>

msg/async: add numevents statistics for external_events

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #8683 from Ved-vampir/zlib_fix
Haomai Wang [Tue, 26 Apr 2016 03:43:51 +0000 (11:43 +0800)]
Merge pull request #8683 from Ved-vampir/zlib_fix

compressor: fix of error code control in zlib decompress

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #8489 from SUSE/wip-15419
Sage Weil [Tue, 26 Apr 2016 02:33:20 +0000 (22:33 -0400)]
Merge pull request #8489 from SUSE/wip-15419

systemd: make Ceph daemons dependent upon time-sync.target

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: James Page <james.page@ubuntu.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #8721 from ibravo/patch-2
Sage Weil [Tue, 26 Apr 2016 02:21:12 +0000 (22:21 -0400)]
Merge pull request #8721 from ibravo/patch-2

doc: update quick-ceph-deploy.rst

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8713 from HeyoQiang/master
Sage Weil [Tue, 26 Apr 2016 02:20:21 +0000 (22:20 -0400)]
Merge pull request #8713 from HeyoQiang/master

osd/PG: remove unused variable have

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoPG:clear an unused variable: have 8713/head
YongQiang [Sat, 23 Apr 2016 10:30:34 +0000 (06:30 -0400)]
PG:clear an unused variable: have

Signed-off-by: Yongqiang He <he.yongqiang@h3c.com>
9 years agoMerge pull request #8723 from cooboos/wrong_spell
Sage Weil [Tue, 26 Apr 2016 02:18:51 +0000 (22:18 -0400)]
Merge pull request #8723 from cooboos/wrong_spell

doc: correct wrong spell 'mnay' to 'many'

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #6764 from kylinstorage/fix-check_become_tier
Sage Weil [Tue, 26 Apr 2016 02:01:19 +0000 (22:01 -0400)]
Merge pull request #6764 from kylinstorage/fix-check_become_tier

mon: fix OSDMonitor::_check_become_tier

Reviewed-by: Xinze Chi <xinze@xsky.com>
9 years agoMerge pull request #8103 from adamemerson/wip-sign-of-the-time-debug
Sage Weil [Tue, 26 Apr 2016 01:59:40 +0000 (21:59 -0400)]
Merge pull request #8103 from adamemerson/wip-sign-of-the-time-debug

common: signed coarse time

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8407 from dx9/wip-os-release
Sage Weil [Tue, 26 Apr 2016 01:59:06 +0000 (21:59 -0400)]
Merge pull request #8407 from dx9/wip-os-release

common/util: add support for distro info from /etc/os-release file

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8437 from jjhuo/single_delete
Sage Weil [Tue, 26 Apr 2016 01:58:55 +0000 (21:58 -0400)]
Merge pull request #8437 from jjhuo/single_delete

os/kv, os/bluestore: Enable SingleDelete with RocksDB and Bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8451 from tchaikov/wip-signal-hanlder-typo
Sage Weil [Tue, 26 Apr 2016 01:58:22 +0000 (21:58 -0400)]
Merge pull request #8451 from tchaikov/wip-signal-hanlder-typo

global/signal_handler: fix typo

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8503 from yuyuyu101/wip-spdk-improve
Sage Weil [Tue, 26 Apr 2016 01:58:03 +0000 (21:58 -0400)]
Merge pull request #8503 from yuyuyu101/wip-spdk-improve

os/bluestore/NVMEDevice: performance improvements

9 years agoMerge pull request #8702 from kmroz/wip-fix-run-dir-chown
Sage Weil [Tue, 26 Apr 2016 01:56:42 +0000 (21:56 -0400)]
Merge pull request #8702 from kmroz/wip-fix-run-dir-chown

global-init: fixup chown of the run directory along with log and asok files

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8728 from liewegas/wip-notify
Sage Weil [Tue, 26 Apr 2016 01:55:54 +0000 (21:55 -0400)]
Merge pull request #8728 from liewegas/wip-notify

osd/osd_types: render notify op properly

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoos/bluestore/BlueStore: cleanup overlay using single delete 8437/head
Jianjian Huo [Mon, 4 Apr 2016 22:07:01 +0000 (15:07 -0700)]
os/bluestore/BlueStore: cleanup overlay using single delete

Overlay entries are also only written once, eligible to use single delete.

Signed-off-by: Jianjian Huo <jianjian.huo@ssi.samsung.com>
9 years agoos/bluestore/BlueStore: cleanup the wal entries using single delete
Jianjian Huo [Mon, 4 Apr 2016 21:50:19 +0000 (14:50 -0700)]
os/bluestore/BlueStore: cleanup the wal entries using single delete

By use of single delete, RocksDB should be able to remove deleted wal
entries with only one compaction in theory, when wal entries land on level0.
This should reduce bluestore wal entries incurred WAF.

Signed-off-by: Jianjian Huo <jianjian.huo@ssi.samsung.com>
9 years agokv/RocksDBStore: implement rm_single_delete
Jianjian Huo [Mon, 4 Apr 2016 21:44:53 +0000 (14:44 -0700)]
kv/RocksDBStore: implement rm_single_delete

Use SingleDelete to delete keys which were never overwritten.

Signed-off-by: Jianjian Huo <jianjian.huo@ssi.samsung.com>
9 years agokv/KeyValueDB: add a new interface for single delete.
Jianjian Huo [Mon, 4 Apr 2016 21:18:50 +0000 (14:18 -0700)]
kv/KeyValueDB: add a new interface for single delete.

This is useful for log-insert-merge tree based key value store, such as
RocksDB, to avoid more LSM compactions for already deleted key value pairs.

Signed-off-by: Jianjian Huo <jianjian.huo@ssi.samsung.com>
9 years agoMerge pull request #8474 from xiaoxichen/wip-pycephfs-namespace
John Spray [Mon, 25 Apr 2016 22:49:45 +0000 (17:49 -0500)]
Merge pull request #8474 from xiaoxichen/wip-pycephfs-namespace

pycephfs: using namespace for data isolation

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agorgw: fix suffix in RGWZoneParams::fix_pool_names() 8746/head
Yehuda Sadeh [Mon, 25 Apr 2016 22:09:47 +0000 (15:09 -0700)]
rgw: fix suffix in RGWZoneParams::fix_pool_names()

Fixes: http://tracker.ceph.com/issues/15598
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoceph.spec.in: recommend ntp-daemon on SUSE 8489/head
Nathan Cutler [Sat, 23 Apr 2016 09:42:25 +0000 (11:42 +0200)]
ceph.spec.in: recommend ntp-daemon on SUSE

SUSE has settled on "ntp-daemon" as the generic package name. The "ntp" and
"chrony" etc. packages have "Provides: ntp-daemon" in their respective spec
files.

References: http://tracker.ceph.com/issues/15419
Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agodeb: make ceph-base and radosgw recommend time-daemon
Nathan Cutler [Thu, 7 Apr 2016 18:54:21 +0000 (20:54 +0200)]
deb: make ceph-base and radosgw recommend time-daemon

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

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #8715 from runsisi/wip-fix-cmake
Ali Maredia [Mon, 25 Apr 2016 17:30:45 +0000 (13:30 -0400)]
Merge pull request #8715 from runsisi/wip-fix-cmake

cmake: use LINK_PRIVATE instead of PRIVATE for CMake version == 2.8.11

Reviewed-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #8730 from ibravo/patch-3
Sage Weil [Mon, 25 Apr 2016 17:20:27 +0000 (13:20 -0400)]
Merge pull request #8730 from ibravo/patch-3

doc: Updated ceph-deploy osd to choose underlying file system

9 years agoMerge pull request #8745 from ErwanAliasr1/evelu-deps
Sage Weil [Mon, 25 Apr 2016 16:24:50 +0000 (12:24 -0400)]
Merge pull request #8745 from ErwanAliasr1/evelu-deps

install-deps: Adding gcc for debian based systems

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoadmin-socket: use chown instead of fchown 8702/head
Karol Mroz [Mon, 25 Apr 2016 15:24:07 +0000 (17:24 +0200)]
admin-socket: use chown instead of fchown

fchown() returns success, but does not change asok file
ownership. chown() does.

Signed-off-by: Karol Mroz <kmroz@suse.com>
9 years agoinstall-deps: Adding gcc for debian based systems 8745/head
Erwan Velu [Mon, 25 Apr 2016 15:11:45 +0000 (17:11 +0200)]
install-deps: Adding gcc for debian based systems

When running install-deps on a minimalistic system, we reach that situation :

dpkg-checkbuilddeps --admindir=/tmp/install-deps.5526 debian/control
    sh: 1: gcc: not found
    dpkg-checkbuilddeps: warning: Couldn't determine gcc system type, falling back to default (native compilation)
    dpkg-checkbuilddeps: error: cannot open /tmp/install-deps.5526/status: No such file or directory

This means that we shall install gcc before calling dpkg-checkbuilddeps.

Signed-off-by: Erwan Velu <erwan@redhat.com>
9 years agoMerge pull request #8743 from ceph/revert-8502-song20
Kefu Chai [Mon, 25 Apr 2016 14:04:02 +0000 (22:04 +0800)]
Merge pull request #8743 from ceph/revert-8502-song20

Revert "crushtool: do not allow to compile crushmap with repeat rules…

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoRevert "crushtool: do not allow to compile crushmap with repeat ruleset." 8743/head
Kefu Chai [Mon, 25 Apr 2016 14:00:47 +0000 (22:00 +0800)]
Revert "crushtool: do not allow to compile crushmap with repeat ruleset."

9 years agocompressor: fix of error code control in zlib decompress 8683/head
Ved-vampir [Thu, 21 Apr 2016 15:40:23 +0000 (18:40 +0300)]
compressor: fix of error code control in zlib decompress

Signed-off-by: Alyona Kiseleva <akiselyova@mirantis.com>
9 years agoMerge pull request #8725 from liewegas/wip-make-check
Kefu Chai [Mon, 25 Apr 2016 05:58:20 +0000 (13:58 +0800)]
Merge pull request #8725 from liewegas/wip-make-check

test/encoding/readable.sh: fix make check for autotool

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agotest/encoding/readable.sh: fix make check for autotools 8725/head
Sage Weil [Mon, 25 Apr 2016 05:12:45 +0000 (01:12 -0400)]
test/encoding/readable.sh: fix make check for autotools

Use ./ if ceph-dencoder is in the local directory.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8719 from SUSE/wip-fix-multidump
Kefu Chai [Mon, 25 Apr 2016 03:04:47 +0000 (11:04 +0800)]
Merge pull request #8719 from SUSE/wip-fix-multidump

multi-dump.sh: fix usage function

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoDoc: Updated ceph-deploy osd to choose underlying file system 8730/head
ibravo [Mon, 25 Apr 2016 00:28:35 +0000 (20:28 -0400)]
Doc: Updated ceph-deploy osd to choose underlying file system

Included paragraph about --fs-type and --bluestore

Signed-off-by: Ignacio Bravo ibravo@hotmail.com
9 years agoDoc: Update quick-ceph-deploy.rst 8721/head
ibravo [Sat, 23 Apr 2016 19:14:06 +0000 (15:14 -0400)]
Doc: Update quick-ceph-deploy.rst

Signed-off-by: Ignacio Bravo ibravo@hotmail.com
9 years agoosd/osd_types: render notify OSDOp properly 8728/head
Sage Weil [Sun, 24 Apr 2016 20:03:05 +0000 (16:03 -0400)]
osd/osd_types: render notify OSDOp properly

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8640 from xiexingguo/xxg-wip-osdsideeffect
Sage Weil [Sun, 24 Apr 2016 19:51:06 +0000 (15:51 -0400)]
Merge pull request #8640 from xiexingguo/xxg-wip-osdsideeffect

osd/ReplicatedPG: allow CMPXATTR ops to trigger side effects too

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8694 from wuxingyi/fixincomplete
Sage Weil [Sun, 24 Apr 2016 19:50:00 +0000 (15:50 -0400)]
Merge pull request #8694 from wuxingyi/fixincomplete

osd/PG: PG is only likely to go active when min_size turns smaller.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoosd: honour result code passed in; tidy-up changesReviewed-by: Sage Weil <sage@redhat...
Sage Weil [Sun, 24 Apr 2016 19:49:09 +0000 (15:49 -0400)]
osd: honour result code passed in; tidy-up changesReviewed-by: Sage Weil <sage@redhat.com>

osd: honour result code passed in; tidy-up changes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8675 from roidayan/xio-build_deb_with_xio
Sage Weil [Sun, 24 Apr 2016 19:48:35 +0000 (15:48 -0400)]
Merge pull request #8675 from roidayan/xio-build_deb_with_xio

xio: add MNop.h to dist tarball

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8678 from jack-changtao/pgbackend
Sage Weil [Sun, 24 Apr 2016 19:48:25 +0000 (15:48 -0400)]
Merge pull request #8678 from jack-changtao/pgbackend

osd/PGBackend: if min > max, PGBackend::objects_list_partial will list all objects of that pg

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8680 from ceph/rm-distribute
Sage Weil [Sun, 24 Apr 2016 19:48:09 +0000 (15:48 -0400)]
Merge pull request #8680 from ceph/rm-distribute

tools: remove installation for distribute. It is no longer maintained

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8681 from xiexingguo/xxg-wip-crushfix
Sage Weil [Sun, 24 Apr 2016 19:47:57 +0000 (15:47 -0400)]
Merge pull request #8681 from xiexingguo/xxg-wip-crushfix

crush: fix mishandled result of get_bucket() method

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8707 from liewegas/wip-kv-merge
Sage Weil [Sun, 24 Apr 2016 19:47:22 +0000 (15:47 -0400)]
Merge pull request #8707 from liewegas/wip-kv-merge

kv: add merge operator support, fix test

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8688 from xiexingguo/xxg-wip-crushtooltip
Sage Weil [Sun, 24 Apr 2016 19:47:08 +0000 (15:47 -0400)]
Merge pull request #8688 from xiexingguo/xxg-wip-crushtooltip

tools/crushtool: add straw2 support for help message

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8671 from majianpeng/rados-objectsize-smaller-blocksize
Sage Weil [Sun, 24 Apr 2016 19:46:57 +0000 (15:46 -0400)]
Merge pull request #8671 from majianpeng/rados-objectsize-smaller-blocksize

tools/rados: fix "Floating point exception" if  objectsize smaller than  blocksize when do write-bench.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8502 from songbaisen/song20
Sage Weil [Sun, 24 Apr 2016 19:46:40 +0000 (15:46 -0400)]
Merge pull request #8502 from songbaisen/song20

crushtool: do not allow to compile crushmap with repeat ruleset.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8724 from aderumier/master
Sage Weil [Sun, 24 Apr 2016 14:31:09 +0000 (10:31 -0400)]
Merge pull request #8724 from aderumier/master

sysvinit: fix ceph init script

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agofix ceph init script 8724/head
Alexandre Derumier [Sun, 24 Apr 2016 07:55:35 +0000 (09:55 +0200)]
fix ceph init script

commit 65963739cd6815b8008282c8f64cd64365662e60 have introduce a bug

test variables need to be quoted, or -n always return true, even if variables don't exist

9 years agodoc: correct wrong spell 'mnay' to 'many' 8723/head
wangsongbo [Sun, 24 Apr 2016 03:19:09 +0000 (11:19 +0800)]
doc: correct wrong spell 'mnay' to 'many'

Signed-off-by: wangsongbo <wangsongbo@unitedstack.com>
9 years agomulti-dump.sh: fix usage function 8719/head
Nathan Cutler [Sat, 23 Apr 2016 16:43:16 +0000 (18:43 +0200)]
multi-dump.sh: fix usage function

The usage() function was not producing any output.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agosystemd: make Ceph daemon units "want" time-sync.target
Nathan Cutler [Thu, 7 Apr 2016 18:17:44 +0000 (20:17 +0200)]
systemd: make Ceph daemon units "want" time-sync.target

Fixes: http://tracker.ceph.com/issues/15419
Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoglobal-init: fixup inconsistent use of ceph ctx and conf
Karol Mroz [Sat, 23 Apr 2016 11:55:18 +0000 (13:55 +0200)]
global-init: fixup inconsistent use of ceph ctx and conf

Signed-off-by: Karol Mroz <kmroz@suse.com>
9 years agoglobal-init: chown pid files
Karol Mroz [Sat, 23 Apr 2016 11:54:45 +0000 (13:54 +0200)]
global-init: chown pid files

Signed-off-by: Karol Mroz <kmroz@suse.com>
9 years agoglobal-init: chown run dir
Karol Mroz [Sat, 23 Apr 2016 11:47:58 +0000 (13:47 +0200)]
global-init: chown run dir

Also performs log file chown() operations if permission drop has been
deferred. Documents that admin socket chown() happen in the common init
path.

Signed-off-by: Karol Mroz <kmroz@suse.com>
9 years agocommon-init: chown admin socket after service thread started
Karol Mroz [Sat, 23 Apr 2016 11:40:08 +0000 (13:40 +0200)]
common-init: chown admin socket after service thread started

Signed-off-by: Karol Mroz <kmroz@suse.com>
9 years agoglobal-init: check init flags and set accordingly
Karol Mroz [Sat, 23 Apr 2016 11:36:01 +0000 (13:36 +0200)]
global-init: check init flags and set accordingly

If init flags have changed between the time ceph context was
instantiated and now, update them. This can happen, for example, if
between manual global_pre_init() and global_init() calls, a daemon adds
modifies it's init flags.

Signed-off-by: Karol Mroz <kmroz@suse.com>
9 years agoglobal-init: add a path chown wrapper function
Karol Mroz [Sat, 23 Apr 2016 11:35:02 +0000 (13:35 +0200)]
global-init: add a path chown wrapper function

Signed-off-by: Karol Mroz <kmroz@suse.com>
9 years agoceph-context: add function to set init flags
Karol Mroz [Sat, 23 Apr 2016 11:32:45 +0000 (13:32 +0200)]
ceph-context: add function to set init flags

Signed-off-by: Karol Mroz <kmroz@suse.com>
9 years agomsg/async: delete the confused comments. 8323/head
Yan Jun [Mon, 28 Mar 2016 07:33:30 +0000 (15:33 +0800)]
msg/async: delete the confused comments.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
9 years agomsg/async: add numevents statistics for external_events
Yan Jun [Fri, 25 Mar 2016 09:34:12 +0000 (17:34 +0800)]
msg/async: add numevents statistics for external_events

Maybe we need to add the statistics for external_events.

Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
9 years agocmake: use LINK_PRIVATE instead of PRIVATE for CMake version == 2.8.11 8715/head
runsisi [Sat, 23 Apr 2016 06:40:56 +0000 (14:40 +0800)]
cmake: use LINK_PRIVATE instead of PRIVATE for CMake version == 2.8.11

with version 2.8.11, i.e., the minimum version required by the building
system, we will hit a compile error as follows:
  /usr/bin/ld: cannot find -lPRIVATE
  collect2: error: ld returned 1 exit status
  make[2]: *** [lib/librbd.so.1.0.0] Error 1
  make[1]: *** [src/librbd/CMakeFiles/librbd.dir/all] Error 2

Signed-off-by: runsisi <runsisi@zte.com.cn>
9 years agoMerge pull request #7942 from xiexingguo/xxg-wip-fixdirtyinc
Sage Weil [Sat, 23 Apr 2016 00:21:57 +0000 (20:21 -0400)]
Merge pull request #7942 from xiexingguo/xxg-wip-fixdirtyinc

mon: OSDMonitor: improve pool creation logic

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Xiaoxi Chen <xiaoxchen@ebay.com>
9 years agoMerge pull request #7997 from songbaisen/song11
Sage Weil [Sat, 23 Apr 2016 00:20:57 +0000 (20:20 -0400)]
Merge pull request #7997 from songbaisen/song11

osdc: Reverse the probing vector in better way.

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8384 from songbaisen/song18
Sage Weil [Sat, 23 Apr 2016 00:20:29 +0000 (20:20 -0400)]
Merge pull request #8384 from songbaisen/song18

crush: when take place the crush map should consider the rule is in …

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8591 from xiexingguo/xxg-wip-15492
Sage Weil [Sat, 23 Apr 2016 00:19:47 +0000 (20:19 -0400)]
Merge pull request #8591 from xiexingguo/xxg-wip-15492

test: generate temp pool name in a safer way

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8577 from runsisi/wip-fix-op-lock
Sage Weil [Sat, 23 Apr 2016 00:19:32 +0000 (20:19 -0400)]
Merge pull request #8577 from runsisi/wip-fix-op-lock

osdc/Objecter: small cleanup for osd op completion lock

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8596 from xiexingguo/xxg-wip-blue
Sage Weil [Sat, 23 Apr 2016 00:18:51 +0000 (20:18 -0400)]
Merge pull request #8596 from xiexingguo/xxg-wip-blue

os/filestore: add sanity check for stat() syscall

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8710 from ceph/wip-rename-tests
Yuri Weinstein [Fri, 22 Apr 2016 23:06:59 +0000 (16:06 -0700)]
Merge pull request #8710 from ceph/wip-rename-tests

Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
9 years agoSigned-off-by: Tamil Muthamizhan <tmuthami@redhat.com> 8710/head
Tamil Muthamizhan [Fri, 22 Apr 2016 22:25:46 +0000 (18:25 -0400)]
Signed-off-by: Tamil Muthamizhan <tmuthami@redhat.com>
  renamed the workunit and test to reflect reality and for better clarity

9 years agoMerge pull request #8395 from renhwsky/renhw-wip-monmap
Sage Weil [Fri, 22 Apr 2016 21:18:56 +0000 (17:18 -0400)]
Merge pull request #8395 from renhwsky/renhw-wip-monmap

mon/monmap:  conditional optimization in build_from_host_list

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #8449 from javacruft/ceph-osd-prestart
Sage Weil [Fri, 22 Apr 2016 21:06:44 +0000 (17:06 -0400)]
Merge pull request #8449 from javacruft/ceph-osd-prestart

ceph-osd-prestart.sh: drop --setuser/--setgroup

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8458 from jjhuo/clean_blue_configs
Sage Weil [Fri, 22 Apr 2016 21:04:02 +0000 (17:04 -0400)]
Merge pull request #8458 from jjhuo/clean_blue_configs

common/config_opts: remove invalid config options of bluestore

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8463 from majianpeng/bluestore-zero-truncate
Sage Weil [Fri, 22 Apr 2016 21:03:20 +0000 (17:03 -0400)]
Merge pull request #8463 from majianpeng/bluestore-zero-truncate

os/bluestore/BlueStore: Don't forget assign nid when offset > size in _do_zero

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8706 from liewegas/wip-jewel
Sage Weil [Fri, 22 Apr 2016 20:47:31 +0000 (16:47 -0400)]
Merge pull request #8706 from liewegas/wip-jewel

doc/release-notes: is, not will be, basis for LTS

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agokv/RocksDBStore: implement merge operator 8707/head
Allen Samuels [Fri, 22 Apr 2016 20:41:16 +0000 (16:41 -0400)]
kv/RocksDBStore: implement merge operator

Signed-off-by: Allen Samuels <allen.samuels@sandisk.com>
9 years agokv/KeyValueDB: add merge operator interface and test
Allen Samuels [Fri, 22 Apr 2016 20:39:09 +0000 (16:39 -0400)]
kv/KeyValueDB: add merge operator interface and test

Signed-off-by: Allen Samuels <allen.samuels@sandisk.com>
Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_keyvaluedb: clean up test dir
Sage Weil [Fri, 22 Apr 2016 20:38:14 +0000 (16:38 -0400)]
ceph_test_keyvaluedb: clean up test dir

Just like ceph_test_objectstore

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/release-notes: is, not will be, basis for LTS 8706/head
Sage Weil [Fri, 22 Apr 2016 20:13:13 +0000 (16:13 -0400)]
doc/release-notes: is, not will be, basis for LTS

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8705 from liewegas/wip-jewel
Gregory Farnum [Fri, 22 Apr 2016 19:44:18 +0000 (15:44 -0400)]
Merge pull request #8705 from liewegas/wip-jewel

doc/release-notes: revise terminology

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agodoc/release-notes: revise terminology 8705/head
Sage Weil [Fri, 22 Apr 2016 19:30:49 +0000 (15:30 -0400)]
doc/release-notes: revise terminology

Avoid loaded 'production ready' term in favor of just 'stable'.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorgw: fix memory leak in func 'RGWCreateBucket_ObjStore_S3::get_params' (#8670)
weiqiaomiao [Fri, 22 Apr 2016 18:19:59 +0000 (02:19 +0800)]
rgw: fix memory leak in func 'RGWCreateBucket_ObjStore_S3::get_params' (#8670)

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoceph_test_keyvaluedb: fixup unit test for keyvaluedb 8703/head
Allen Samuels [Fri, 22 Apr 2016 18:06:56 +0000 (14:06 -0400)]
ceph_test_keyvaluedb: fixup unit test for keyvaluedb

Fixes: http://tracker.ceph.com/issues/15435
Signed-off-by: Allen Samuels <allen.samuels@sandisk.com>
9 years agoMerge pull request #8527 from roidayan/wip-vstart_clean_prints
Sage Weil [Fri, 22 Apr 2016 17:58:41 +0000 (13:58 -0400)]
Merge pull request #8527 from roidayan/wip-vstart_clean_prints

vstart: clean prints

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8549 from tchaikov/wip-kill-filestore-warning
Sage Weil [Fri, 22 Apr 2016 16:32:55 +0000 (12:32 -0400)]
Merge pull request #8549 from tchaikov/wip-kill-filestore-warning

pybind, FileStore: silence gcc warnings

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #8551 from scienceluo/patch-1
Sage Weil [Fri, 22 Apr 2016 16:31:50 +0000 (12:31 -0400)]
Merge pull request #8551 from scienceluo/patch-1

doc: Fixes Different font of the title

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Yatin Kumbhare <yatinkumbhare@gmail.com>
9 years agobufferlist.cc fix typo in outputReviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 22 Apr 2016 16:16:26 +0000 (12:16 -0400)]
bufferlist.cc fix typo in outputReviewed-by: Sage Weil <sage@redhat.com>

bufferlist.cc fix typo in output

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8581 from emenguy/pgnum_pools_documentation
Sage Weil [Fri, 22 Apr 2016 16:16:00 +0000 (12:16 -0400)]
Merge pull request #8581 from emenguy/pgnum_pools_documentation

doc: adding pg_num to pools documentation

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
9 years agoMerge pull request #8595 from qhjindev/fix-LFNIndex
Sage Weil [Fri, 22 Apr 2016 16:15:13 +0000 (12:15 -0400)]
Merge pull request #8595 from qhjindev/fix-LFNIndex

os: fix typo in LFNIndex.h

9 years agoMerge pull request #8623 from rmechler/wip-15504
Sage Weil [Fri, 22 Apr 2016 16:05:36 +0000 (12:05 -0400)]
Merge pull request #8623 from rmechler/wip-15504

pybind: removed unneccesary parentheses from if statements

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8631 from stiopaa1/buffer_fwd
Sage Weil [Fri, 22 Apr 2016 16:04:16 +0000 (12:04 -0400)]
Merge pull request #8631 from stiopaa1/buffer_fwd

image_watcher/Notifier: remove header file

Reviewed-by: Sage Weil <sage@redhat.com>