Commit Graph

52730 Commits

Author SHA1 Message Date
Sage Weil
905bfb1edf mon/MonitorDBStore: remember kv backend type
If it is specified, use it; otherwise, go by the config
option.

Record the type when creating the store.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-03 10:41:07 -04:00
Sage Weil
88daf7b3f9 mon/MonitorDBStore: {read,write}_meta
These are lifted from ObjectStore.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-03 08:51:14 -04:00
Sage Weil
3f62c8463a mon/MonitorDBStore: move backend instantiation out of ctor
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-03 08:51:12 -04:00
Sage Weil
3f3ef3faff mon/MonitorDBStore: fix bug in dump output file
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-03 08:50:43 -04:00
Sage Weil
7a5c3f5ea6 mon: remove bad rocksdb option
Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-02 17:47:52 -04:00
Sage Weil
ba32675f8f Merge pull request #8770 from ceph/wip-cmake
cmake: build fixes
2016-05-02 14:10:11 -04:00
Sage Weil
42b4d7166f Merge pull request #8844 from stiopaa1/log_removelexical
common/Graylog.h: remove lexical cast

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-02 14:08:30 -04:00
Sage Weil
4c2a8463a2 Merge pull request #8879 from ktdreyer/doc-rm-up2date
doc: drop references to "up2date"
2016-05-02 14:05:02 -04:00
Ken Dreyer
b94ba8215e doc: drop references to "up2date"
"up2date" has not been used since very old versions of RHEL (rhel4 or
5?). We only support el7 now, which is a yum-based platform.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-05-02 11:08:58 -06:00
Josh Durgin
0401b4dfcb Merge pull request #8878 from ktdreyer/wip-doc-rbd-dillaman
doc: Jason Dillaman is now RBD lead

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-02 10:01:52 -07:00
Ken Dreyer
fbfb5c12bf doc: Jason Dillaman is now RBD lead
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-05-02 10:57:53 -06:00
Ali Maredia
cdd7b77342 cmake: Added rbd-nbd target
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 12:36:44 -04:00
Ali Maredia
aa1bac4b05 compressor: tests for zlib & snappy changes
plugin_dir and compressor_dir not needed by
test_compression_snappy & test_compression_zlib
because they statically link compressor libraries.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:32 -04:00
Ali Maredia
4f50724b32 cmake: rbd_mirror updates
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:32 -04:00
Ali Maredia
a6723e462a cmake: update env vars for osd-copy-from.sh
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:32 -04:00
Ali Maredia
e863724e03 cmake: CEPH_LIB defaults to .libs in cpp unit tests
This makes it possible to run applicable unit tests
without setting environment varibles after building
with autotools.

This will be reverted once autotools is deprecated.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:32 -04:00
Ali Maredia
f5466b05c6 cmake: add test_pool_quota.sh to
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:32 -04:00
Ali Maredia
8ec00dfadd vstart: put missing quotes around cmake env vars
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:31 -04:00
Ali Maredia
4321bb64ed test: added env var setting to make check scripts
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:31 -04:00
Ali Maredia
15a669435a cmake: script that sets env vars for unit tests
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-05-02 10:19:31 -04:00
Haomai Wang
ec5961673a Merge pull request #8874 from roidayan/xio-remove_unused_mutex
xio: remove unused mutex

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-05-02 21:46:16 +08:00
Roi Dayan
33c0cccfe5 xio: remove unused mutex
Signed-off-by: Roi Dayan <roid@mellanox.com>
2016-05-02 14:09:44 +03:00
Kefu Chai
0d98e649b0 Merge pull request #8872 from dachary/wip-make-check
tests: enable make check on ext4 (part 2)

Reviewed-by: Kefu Chai <kefu@redhat.com>
2016-05-02 18:02:37 +08:00
Loic Dachary
b0b3a068d4 tests: enable make check on ext4 (part 2)
Followup of 475cc08c33

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2016-05-02 11:02:59 +02:00
Loic Dachary
5dbe31913c Merge pull request #8851 from liewegas/wip-make-check
qa/workunits/ceph-helpers.sh: make ceph-osd behave on ext4

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-05-02 10:41:48 +02:00
Sage Weil
2265d0ebc2 Merge pull request #8859 from liewegas/wip-fix-scrub
include/rados: fix scrub-map definition

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-01 12:14:08 -04:00
Sage Weil
3045bde162 include/rados: fix scrub-map definition
In commit 40add6a63d we
changed the scrub-map op code, breaking compatibility.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-01 11:07:55 -04:00
Sage Weil
79c01b812f Merge pull request #8842 from SUSE/wip-msd-typo-fix
systemd: fix typo in preset file

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-30 21:11:43 -04:00
Sage Weil
cdaa9e22e1 ceph_time: add operator<< for more clock types
ceph_time: add operator<< for more clock types

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-30 19:24:59 -04:00
Sage Weil
491b2644e3 Revert "Merge pull request #8346 from yuyuyu101/wip-async-clock"
This reverts commit 37117823d1, reversing
changes made to 5ff4988c09.

This broke the build:

msg/async/Event.cc: In member function 'int EventCenter::process_time_events()':
error: msg/async/Event.cc:280:30: cannot bind 'std::basic_ostream' lvalue to 'std::basic_ostream&&'
ldout(cct, 10) << __func__ << " cur time is " << now << dendl;
^

and elsewhere...

Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-30 19:21:02 -04:00
Sage Weil
475cc08c33 qa/workunits/ceph-helpers.sh: make ceph-osd behave on ext4
Signed-off-by: Sage Weil <sage@redhat.com>
2016-04-30 17:12:05 -04:00
Kefu Chai
a24912a9fe ceph_time: add operator<< for more clock types
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-01 02:55:01 +08:00
Kefu Chai
45b8f830c0 Merge pull request #8838 from cbodley/wip-cmake-rbd-mirror-replay-status
cmake: add missing source file to rbd_mirror/image_replayer

Reviewed-by: Kefu Chai <kefu@redhat.com>
2016-05-01 02:37:03 +08:00
Michal Jarzabek
b090015895 common/Graylog.h: remove lexical cast
We can use std::to_string instead of boost's lexical_cast, which saves
us from including lexical_cast header.

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-04-30 16:26:11 +01:00
Nathan Cutler
80be4a8cbf systemd: fix typo in preset file
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-04-30 16:21:13 +02:00
Haomai Wang
37117823d1 Merge pull request #8346 from yuyuyu101/wip-async-clock
msg/async/Event: replace ceph_clock_now with coarse_mono_clock

Reviewed-by: Kefu Chai <kefu@redhat.com>
2016-04-30 16:09:41 +08:00
Sage Weil
5ff4988c09 Merge pull request #8109 from majianpeng/bluestore-cleancode
os/bluestore/BlueStore: cleanup code

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-29 21:54:30 -04:00
Sage Weil
28835b2acf Merge pull request #8110 from majianpeng/bluestore-aio-log
os/bluestore/KernelDevice: Fio aio_write, it call _aio_log_finish by …

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-29 21:54:21 -04:00
Sage Weil
7761fe528f Merge pull request #8416 from vumrao/wip-vumrao-15308
librados: modify Pipe::connect() to return the error code - part 1

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-04-29 21:50:42 -04:00
Sage Weil
289c10c9c7 Merge pull request #8532 from xiexingguo/xxg-wip-misc
osd: miscellaneous fixes

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-29 21:50:01 -04:00
Sage Weil
8dc0fb9168 Merge pull request #8599 from yangdongsheng/on_abort
os: fix submit_transaction return codes

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-04-29 21:49:28 -04:00
Sage Weil
9f4e69c91d Merge pull request #8629 from tchaikov/wip-rados_ping_monitor
librados: always set the outstrlen for rados_ping_monitor()

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-29 21:48:58 -04:00
Sage Weil
2b52c07daa Merge pull request #8677 from tchaikov/wip-graylog-cleanup
log: remove unnecessary src/log/Graylog.*

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-29 21:48:50 -04:00
Sage Weil
ee24aa7f67 Merge pull request #8693 from cooboos/perf-reset
common: show success/fail info in json for 'perf reset' command

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-04-29 21:48:28 -04:00
Sage Weil
c5790481c1 Merge pull request #8731 from Yan-waller/yj-wip-fixkqueue
msg/async: fix some return values and typo.

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-29 21:48:11 -04:00
Casey Bodley
2f3f56170a cmake: add missing source file to rbd_mirror/image_replayer
fixes an undefined reference when linking librbd_mirror_internal.a

Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-04-29 17:33:09 -04:00
Josh Durgin
48a1d27495 Merge pull request #8454 from jdurgin/wip-mirror-test2
rbd_mirror.sh: add env vars to allow running under teuthology

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-04-29 13:26:22 -07:00
Sage Weil
88761322b2 Merge pull request #8836 from athanatos/wip-15655
mon/OSDMonitor: avoid underflow in reweight-by-utilization if max_change=1

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-29 16:12:47 -04:00
Sage Weil
45feec92f4 Merge pull request #8648 from ffilz/master
libcephfs: add ceph_ll_mknod wrapper for ll_mknod

Reviewed-by: Sage Weil <sage@redhat.com>
2016-04-29 14:41:30 -04:00
Ali Maredia
324293f17a Merge pull request #8820 from ceph/wip-cmake-compression
cmake: fix linking of compressor and plugins

Reviewed-by: Ali Maredia
2016-04-29 13:47:00 -04:00