Commit Graph

52562 Commits

Author SHA1 Message Date
Willem Jan Withagen
629929a8cf FileStore.cc: Add extra info in omap_get_values.
- This is extra information to indicate what the route actually used.

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-04-28 10:04:23 +02:00
Willem Jan Withagen
e5a2a88926 FileStore.cc: Make sure str-pointer has not 0x0 when referenced
ceph-osd crashes on reference to where if it is not get_index or lfn_find.
So init with an "empty" indicator "()

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-04-26 17:09:22 +02:00
Haomai Wang
bd77cd4139 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>
2016-04-26 22:14:31 +08:00
Haomai Wang
25c2f5a793 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>
2016-04-26 11:43:51 +08:00
Sage Weil
68a3173420 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>
2016-04-25 22:33:20 -04:00
Sage Weil
ec2044818e Merge pull request #8721 from ibravo/patch-2
doc: update quick-ceph-deploy.rst

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-25 22:21:12 -04:00
Sage Weil
e265140632 Merge pull request #8713 from HeyoQiang/master
osd/PG: remove unused variable have

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-25 22:20:21 -04:00
YongQiang
48d7519c88 PG:clear an unused variable: have
Signed-off-by: Yongqiang He <he.yongqiang@h3c.com>
2016-04-26 06:10:43 -04:00
Sage Weil
7b78fcee97 Merge pull request #8723 from cooboos/wrong_spell
doc: correct wrong spell 'mnay' to 'many'

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-04-25 22:18:51 -04:00
Sage Weil
4ebca36b3c Merge pull request #6764 from kylinstorage/fix-check_become_tier
mon: fix OSDMonitor::_check_become_tier

Reviewed-by: Xinze Chi <xinze@xsky.com>
2016-04-25 22:01:19 -04:00
Sage Weil
57ea13a65a Merge pull request #8103 from adamemerson/wip-sign-of-the-time-debug
common: signed coarse time

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-04-25 21:59:40 -04:00
Sage Weil
35f4e1fd9a 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>
2016-04-25 21:59:06 -04:00
Sage Weil
acb6bb598a 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>
2016-04-25 21:58:55 -04:00
Sage Weil
fef50f3e62 Merge pull request #8451 from tchaikov/wip-signal-hanlder-typo
global/signal_handler: fix typo

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-25 21:58:22 -04:00
Sage Weil
f3f2463f5c Merge pull request #8503 from yuyuyu101/wip-spdk-improve
os/bluestore/NVMEDevice: performance improvements
2016-04-25 21:58:03 -04:00
Sage Weil
8c10377be1 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>
2016-04-25 21:56:42 -04:00
Sage Weil
0db5e051d0 Merge pull request #8728 from liewegas/wip-notify
osd/osd_types: render notify op properly

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-04-25 21:55:54 -04:00
Jianjian Huo
0860e62b68 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>
2016-04-25 17:03:52 -07:00
Jianjian Huo
dc17107d81 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>
2016-04-25 17:03:52 -07:00
Jianjian Huo
2089cff5b5 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>
2016-04-25 17:03:07 -07:00
Jianjian Huo
9c60532eae 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>
2016-04-25 16:35:24 -07:00
John Spray
a17c9c614f Merge pull request #8474 from xiaoxichen/wip-pycephfs-namespace
pycephfs: using namespace for data isolation

Reviewed-by: John Spray <john.spray@redhat.com>
2016-04-25 17:49:45 -05:00
Nathan Cutler
2310854745 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>
2016-04-25 22:16:19 +02:00
Nathan Cutler
f27cda03b7 deb: make ceph-base and radosgw recommend time-daemon
References: http://tracker.ceph.com/issues/15419

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-04-25 22:16:15 +02:00
Ali Maredia
aede4a6c4d 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>
2016-04-25 13:30:45 -04:00
Sage Weil
d920da71e1 Merge pull request #8730 from ibravo/patch-3
doc: Updated ceph-deploy osd to choose underlying file system
2016-04-25 13:20:27 -04:00
Sage Weil
da53f58628 Merge pull request #8745 from ErwanAliasr1/evelu-deps
install-deps: Adding gcc for debian based systems

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-25 12:24:50 -04:00
Karol Mroz
3d051a58cc 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>
2016-04-25 17:24:07 +02:00
Erwan Velu
bbcda5a2c2 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>
2016-04-25 17:11:45 +02:00
Kefu Chai
850e343d31 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>
2016-04-25 22:04:02 +08:00
Kefu Chai
edfe301a50 Revert "crushtool: do not allow to compile crushmap with repeat ruleset." 2016-04-25 22:00:47 +08:00
Ved-vampir
c127e6ce7e compressor: fix of error code control in zlib decompress
Signed-off-by: Alyona Kiseleva <akiselyova@mirantis.com>
2016-04-25 14:00:21 +03:00
Kefu Chai
ff18083d23 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>
2016-04-25 13:58:20 +08:00
Sage Weil
65a3c21931 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>
2016-04-25 01:12:45 -04:00
Kefu Chai
9d3c0d5b46 Merge pull request #8719 from SUSE/wip-fix-multidump
multi-dump.sh: fix usage function

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-04-25 11:04:47 +08:00
ibravo
893b7a0069 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
2016-04-24 20:28:35 -04:00
ibravo
485ef83e58 Doc: Update quick-ceph-deploy.rst
Signed-off-by: Ignacio Bravo ibravo@hotmail.com
2016-04-24 19:28:55 -04:00
Sage Weil
47ddc266b5 osd/osd_types: render notify OSDOp properly
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-24 16:03:05 -04:00
Sage Weil
749fcadfd3 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>
2016-04-24 15:51:06 -04:00
Sage Weil
56697d0406 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>
2016-04-24 15:50:00 -04:00
Sage Weil
401804e354 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>
2016-04-24 15:49:09 -04:00
Sage Weil
c78b354eff 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>
2016-04-24 15:48:35 -04:00
Sage Weil
2f2cb9eb42 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>
2016-04-24 15:48:25 -04:00
Sage Weil
c2defeb2c0 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>
2016-04-24 15:48:09 -04:00
Sage Weil
2c3ef6d7ed Merge pull request #8681 from xiexingguo/xxg-wip-crushfix
crush: fix mishandled result of get_bucket() method

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:47:57 -04:00
Sage Weil
93d7deff53 Merge pull request #8707 from liewegas/wip-kv-merge
kv: add merge operator support, fix test

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:47:22 -04:00
Sage Weil
1e1d898d1f Merge pull request #8688 from xiexingguo/xxg-wip-crushtooltip
tools/crushtool: add straw2 support for help message

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:47:08 -04:00
Sage Weil
e4409981b8 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>
2016-04-24 15:46:57 -04:00
Sage Weil
8c3ddbea8b Merge pull request #8502 from songbaisen/song20
crushtool: do not allow to compile crushmap with repeat ruleset.

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 15:46:40 -04:00
Sage Weil
bf93c05e41 Merge pull request #8724 from aderumier/master
sysvinit: fix ceph init script

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-24 10:31:09 -04:00