]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoRBD: remove redundant parent check 7174/head
xie xingguo [Mon, 11 Jan 2016 10:29:01 +0000 (18:29 +0800)]
RBD: remove redundant parent check

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoRBD: fix unhandle result code during list/list_children
xie xingguo [Mon, 11 Jan 2016 10:25:07 +0000 (18:25 +0800)]
RBD: fix unhandle result code during list/list_children

Fixes: #14333
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoRBD: fix potential memory leak
xie xingguo [Mon, 11 Jan 2016 09:05:37 +0000 (17:05 +0800)]
RBD: fix potential memory leak

Fixes: #14332
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge pull request #7126 from tchaikov/wip-detect-bzip2-lz4
Casey Bodley [Sat, 9 Jan 2016 18:09:44 +0000 (13:09 -0500)]
Merge pull request #7126 from tchaikov/wip-detect-bzip2-lz4

cmake: detect bzip2 and lz4

9 years agoMerge pull request #7166 from kylinstorage/wip-rbdnbd-misc
Li Wang [Sat, 9 Jan 2016 13:25:06 +0000 (21:25 +0800)]
Merge pull request #7166 from kylinstorage/wip-rbdnbd-misc

rbd-nbd: add copyright

9 years agoMerge pull request #7161 from liewegas/wip-port
Loic Dachary [Fri, 8 Jan 2016 18:12:06 +0000 (19:12 +0100)]
Merge pull request #7161 from liewegas/wip-port

test/mon/osd-erasure-code-profile: pick new mon port

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agotest/mon/osd-erasure-code-profile: pick new mon port 7161/head
Sage Weil [Fri, 8 Jan 2016 18:04:57 +0000 (13:04 -0500)]
test/mon/osd-erasure-code-profile: pick new mon port

7108 is used by mark-down.sh

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6911 from stiopaa1/const_variable_length
Sage Weil [Fri, 8 Jan 2016 17:45:39 +0000 (12:45 -0500)]
Merge pull request #6911 from stiopaa1/const_variable_length

tests: add const for ec test

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6989 from stiopaa1/message_inline
Sage Weil [Fri, 8 Jan 2016 17:44:46 +0000 (12:44 -0500)]
Merge pull request #6989 from stiopaa1/message_inline

msg: remove unneeded inline

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7160 from yehudasa/wip-rgw-warn
Sage Weil [Fri, 8 Jan 2016 16:50:36 +0000 (11:50 -0500)]
Merge pull request #7160 from yehudasa/wip-rgw-warn

rgw: fix compilation warning

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agorgw: fix compilation warning 7160/head
Yehuda Sadeh [Fri, 8 Jan 2016 16:44:10 +0000 (08:44 -0800)]
rgw: fix compilation warning

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #7149 from fullerdj/wip-14280
Josh Durgin [Fri, 8 Jan 2016 02:29:15 +0000 (18:29 -0800)]
Merge pull request #7149 from fullerdj/wip-14280

cls_rbd: enable object map checksums for object_map_save

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7154 from liewegas/wip-make-check
Josh Durgin [Fri, 8 Jan 2016 02:01:07 +0000 (18:01 -0800)]
Merge pull request #7154 from liewegas/wip-make-check

unittest_ipaddr: fix segv

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agounittest_ipaddr: fix segv 7154/head
Sage Weil [Fri, 8 Jan 2016 01:53:19 +0000 (20:53 -0500)]
unittest_ipaddr: fix segv

Since b6d0fc9e0e515e50894c08217d688a8c94db7570 we need ifa_name to
be defined.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoAdd copyright for rbd-nbd 7166/head
Li Wang [Fri, 8 Jan 2016 01:42:15 +0000 (09:42 +0800)]
Add copyright for rbd-nbd

Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
9 years agoMerge pull request #6002 from Sandy4999/wip-12890
Yehuda Sadeh [Fri, 8 Jan 2016 01:12:21 +0000 (17:12 -0800)]
Merge pull request #6002 from Sandy4999/wip-12890

rgw: add a method to purge all associate keys when removing a subuser

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6080 from clever215/wkm-master-139
Yehuda Sadeh [Fri, 8 Jan 2016 01:10:43 +0000 (17:10 -0800)]
Merge pull request #6080 from clever215/wkm-master-139

rgw: modify documents and help infos' descriptions to the usage of option date when executing command "log show"

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #4216 from rzarzynski/wip-10682
Yehuda Sadeh [Fri, 8 Jan 2016 01:01:15 +0000 (17:01 -0800)]
Merge pull request #4216 from rzarzynski/wip-10682

rgw: add support for "end_marker" parameter for GET on Swift account.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6652 from ifed01/wip-13824
Yehuda Sadeh [Fri, 8 Jan 2016 00:53:22 +0000 (16:53 -0800)]
Merge pull request #6652 from ifed01/wip-13824

rgw_admin: orphans finish segfaults

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #7037 from mathslinux/rgw-add-missing-error-code
Yehuda Sadeh [Fri, 8 Jan 2016 00:48:19 +0000 (16:48 -0800)]
Merge pull request #7037 from mathslinux/rgw-add-missing-error-code

rgw: add missing error code for admin op API

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #7093 from dwj192/dwj-bucket-index-fix
Yehuda Sadeh [Fri, 8 Jan 2016 00:46:35 +0000 (16:46 -0800)]
Merge pull request #7093 from dwj192/dwj-bucket-index-fix

rgw: radosgw-admin bucket check --fix not work

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #6817 from david-z/wip-fix-init-radosgw
Yehuda Sadeh [Fri, 8 Jan 2016 00:45:43 +0000 (16:45 -0800)]
Merge pull request #6817 from david-z/wip-fix-init-radosgw

rgw: fix a typo in init-radosgw

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #7102 from dzafman/wip-cot-fixes
David Zafman [Thu, 7 Jan 2016 22:50:10 +0000 (14:50 -0800)]
Merge pull request #7102 from dzafman/wip-cot-fixes

Fix for make check.

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7153 from liewegas/wip-make-check
Sage Weil [Thu, 7 Jan 2016 22:47:34 +0000 (17:47 -0500)]
Merge pull request #7153 from liewegas/wip-make-check

build: misc make check fixes

9 years agoMerge pull request #7152 from liewegas/wip-hexdump
Sage Weil [Thu, 7 Jan 2016 22:36:18 +0000 (17:36 -0500)]
Merge pull request #7152 from liewegas/wip-hexdump

unittest_bufferlist: fix hexdump test

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agounittest_bluefs: call close_for_write() 7153/head
Sage Weil [Thu, 7 Jan 2016 22:22:14 +0000 (17:22 -0500)]
unittest_bluefs: call close_for_write()

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotest/test_objectstore_memstore.sh: clear store_test_temp_dir
Sage Weil [Thu, 7 Jan 2016 22:19:05 +0000 (17:19 -0500)]
test/test_objectstore_memstore.sh: clear store_test_temp_dir

ceph_test_objectstore now expects this to not exist.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agounittest_bufferlist: fix hexdump test 7152/head
Sage Weil [Thu, 7 Jan 2016 19:31:09 +0000 (14:31 -0500)]
unittest_bufferlist: fix hexdump test

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agocls_rbd: enable object map checksums for object_map_save 7149/head
Douglas Fuller [Thu, 7 Jan 2016 19:01:19 +0000 (11:01 -0800)]
cls_rbd: enable object map checksums for object_map_save

object_map_save disables CRCs when an object map footer isn't provided.
Unconditionally re-enable object map CRCs before re-encoding the new object
map.

Fixes: #14280
Signed-off-by: Douglas Fuller <dfuller@redhat.com>
9 years agoMerge pull request #6955 from dachary/wip-dev-guide-ceph-qa-suite
Loic Dachary [Thu, 7 Jan 2016 13:22:30 +0000 (14:22 +0100)]
Merge pull request #6955 from dachary/wip-dev-guide-ceph-qa-suite

doc: dev: document ceph-qa-suite

Reviewed-by: Nathan Cutler <ncutler@suse.cz>
9 years agodoc: dev: document ceph-qa-suite 6955/head
Loic Dachary [Wed, 16 Dec 2015 18:50:55 +0000 (19:50 +0100)]
doc: dev: document ceph-qa-suite

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agocmake: detect bzip2 and lz4 for rocksdb 7126/head
Kefu Chai [Wed, 6 Jan 2016 11:37:49 +0000 (19:37 +0800)]
cmake: detect bzip2 and lz4 for rocksdb

* this change is the cmake port of 911e7a0.
  the rocksdb's Makefile will detect the installed libbz2 and libz4 by
  its own. if the building env happens to have these libraries installed,
  a link time dependency is introduced. so we are forced to link against
  them.
* do not REQUIRE BZip2 in cmake anymore
* only link against bzip2 if it is detected

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: add check for liblz4
Kefu Chai [Wed, 6 Jan 2016 11:35:30 +0000 (19:35 +0800)]
cmake: add check for liblz4

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7131 from ceph/wip-cmake
Kefu Chai [Thu, 7 Jan 2016 11:59:33 +0000 (19:59 +0800)]
Merge pull request #7131 from ceph/wip-cmake

cmake: made rocksdb an imported library

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7073 from dllgzcl/wip-zcl-show-version
Joao Eduardo Luis [Thu, 7 Jan 2016 11:49:53 +0000 (11:49 +0000)]
Merge pull request #7073 from dllgzcl/wip-zcl-show-version

tools: monstore: add 'show-versions' command.

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
9 years agocmake: made rocksdb an imported library 7131/head
Ali Maredia [Wed, 6 Jan 2016 18:14:55 +0000 (13:14 -0500)]
cmake: made rocksdb an imported library

Systems with the minimum required version of CMake
such as Ubuntu Trusty Tahr don't support
INTERFACE_LINK_LIBRARIES, so rocksdb was made into
an IMPORTED library. Added ROCKSDB_INCLUDE_DIR to
simplify target_include_directories rocksdb.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge remote-tracking branch 'origin/jewel'
Josh Durgin [Thu, 7 Jan 2016 00:18:56 +0000 (16:18 -0800)]
Merge remote-tracking branch 'origin/jewel'

9 years agoMerge pull request #7129 from dillaman/wip-14167-jewel
Josh Durgin [Thu, 7 Jan 2016 00:18:33 +0000 (16:18 -0800)]
Merge pull request #7129 from dillaman/wip-14167-jewel

librbd: disable copy-on-read when not exclusive lock owner

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6886 from ssssztes/renhw-wip-14047
Josh Durgin [Wed, 6 Jan 2016 23:49:56 +0000 (15:49 -0800)]
Merge pull request #6886 from ssssztes/renhw-wip-14047

rbd: rbd order will be place in 22, when set to 0 in the config_opt

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge remote-tracking branch 'origin/jewel'
Josh Durgin [Wed, 6 Jan 2016 23:43:18 +0000 (15:43 -0800)]
Merge remote-tracking branch 'origin/jewel'

9 years agoMerge branch 'wip-14241-jewel' of git://github.com/dillaman/ceph into jewel
Josh Durgin [Wed, 6 Jan 2016 23:34:50 +0000 (15:34 -0800)]
Merge branch 'wip-14241-jewel' of git://github.com/dillaman/ceph into jewel

librbd: don't use write_full optimization with clones

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #7127 from trociny/wip-rbd-nbd-misc
Josh Durgin [Wed, 6 Jan 2016 23:26:28 +0000 (15:26 -0800)]
Merge pull request #7127 from trociny/wip-rbd-nbd-misc

rbd-nbd: small improvements in logging and forking

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #6388 from ukernel/wip-13583
Gregory Farnum [Wed, 6 Jan 2016 21:55:18 +0000 (13:55 -0800)]
Merge pull request #6388 from ukernel/wip-13583

ceph-fuse: fix fsync()

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge remote-tracking branch 'origin/jewel'
Greg Farnum [Wed, 6 Jan 2016 21:48:06 +0000 (13:48 -0800)]
Merge remote-tracking branch 'origin/jewel'

9 years agoMerge branch 'wip-client-readdir-fix' of git://github.com/ukernel/ceph into jewel
Greg Farnum [Wed, 6 Jan 2016 21:31:39 +0000 (13:31 -0800)]
Merge branch 'wip-client-readdir-fix' of git://github.com/ukernel/ceph into jewel

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agolibrbd: disable write_full optimization if image has parent 7133/head
Jason Dillaman [Wed, 6 Jan 2016 19:55:02 +0000 (14:55 -0500)]
librbd: disable write_full optimization if image has parent

Fixes: #14241
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: new test case for write_full optimization
Jason Dillaman [Wed, 6 Jan 2016 19:12:43 +0000 (14:12 -0500)]
tests: new test case for write_full optimization

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7032 from liupeiyang/wip_metadata_list
Orit Wasserman [Wed, 6 Jan 2016 18:48:02 +0000 (19:48 +0100)]
Merge pull request #7032 from liupeiyang/wip_metadata_list

rgw:modify command stucking when operating radosgw-admin metadata list user

9 years agoMerge pull request #7044 from HeyoQiang/master
Jason Dillaman [Wed, 6 Jan 2016 17:39:46 +0000 (12:39 -0500)]
Merge pull request #7044 from HeyoQiang/master

rbd-fuse:image name can not include snap name

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7010 from majianpeng/skip-promote-for-writefull
Sage Weil [Wed, 6 Jan 2016 17:14:52 +0000 (12:14 -0500)]
Merge pull request #7010 from majianpeng/skip-promote-for-writefull

osd: skip promote for writefull w/ FADVISE_DONTNEED/NOCACHE

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7012 from chenji-kael/wip-fix-eth-bind
Sage Weil [Wed, 6 Jan 2016 17:14:24 +0000 (12:14 -0500)]
Merge pull request #7012 from chenji-kael/wip-fix-eth-bind

msg: filter out lo addr when bind osd addr

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #6879 from dachary/wip-13970-ceph-disk-cciss
Loic Dachary [Wed, 6 Jan 2016 16:06:59 +0000 (17:06 +0100)]
Merge pull request #6879 from dachary/wip-13970-ceph-disk-cciss

ceph-disk: ceph-disk list fails on /dev/cciss!c0d0

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agolibrbd: directly execute copy-on-read copyup operations 7129/head
Jason Dillaman [Wed, 6 Jan 2016 15:02:52 +0000 (10:02 -0500)]
librbd: directly execute copy-on-read copyup operations

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7052 from branch-predictor/bp-faster-kv-get
Sage Weil [Wed, 6 Jan 2016 14:43:15 +0000 (09:43 -0500)]
Merge pull request #7052 from branch-predictor/bp-faster-kv-get

kv: implement value_as_ptr() and use it in .get()

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5351 from Aran85/master
Sage Weil [Wed, 6 Jan 2016 14:42:44 +0000 (09:42 -0500)]
Merge pull request #5351 from Aran85/master

common/Formatter: avoid newline if there is no output

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #7065 from majianpeng/osd-recover-sleep-cause-thread-suicide
Sage Weil [Wed, 6 Jan 2016 14:41:28 +0000 (09:41 -0500)]
Merge pull request #7065 from majianpeng/osd-recover-sleep-cause-thread-suicide

osd: prevent osd_recovery_sleep from causing recovery-thread suicide

Reviewed-by: Sage Weli <sage@redhat.com>
9 years agoMerge pull request #7091 from liewegas/wip-14212
Sage Weil [Wed, 6 Jan 2016 14:40:45 +0000 (09:40 -0500)]
Merge pull request #7091 from liewegas/wip-14212

osd: clear pg_stat_queue after stopping pgs

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7095 from xiexingguo/xxg-wip-14204
Sage Weil [Wed, 6 Jan 2016 14:40:24 +0000 (09:40 -0500)]
Merge pull request #7095 from xiexingguo/xxg-wip-14204

osd: kstore: small fixes to kstore

Reviewed-by: Sage Weil <sage@newdream.net>
9 years agorbd-nbd: prefork only for map command 7127/head
Mykola Golub [Tue, 5 Jan 2016 15:02:06 +0000 (17:02 +0200)]
rbd-nbd: prefork only for map command

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #7105 from vshankar/rdb-dist-cleanup
Kefu Chai [Wed, 6 Jan 2016 11:54:04 +0000 (19:54 +0800)]
Merge pull request #7105 from vshankar/rdb-dist-cleanup

rocksdb: remove rdb sources from dist tarball

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agorbd-nbd: set reply error properly
Mykola Golub [Tue, 5 Jan 2016 14:15:08 +0000 (16:15 +0200)]
rbd-nbd: set reply error properly

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agorbd-nbd: improve logging
Mykola Golub [Tue, 5 Jan 2016 13:04:27 +0000 (15:04 +0200)]
rbd-nbd: improve logging

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoceph-disk: retry cryptsetup remove 6879/head
Loic Dachary [Wed, 6 Jan 2016 10:15:19 +0000 (11:15 +0100)]
ceph-disk: retry cryptsetup remove

Retry a cryptsetup remove ten times. After the ceph-osd terminates, the
device is released asyncrhonously and an attempt to cryptsetup remove
will may fail because it is considered busy. Although a few attempts are
made before giving up, the number of attempts / the duration of the
attempts cannot be controlled with a cryptsetup option. The workaround
is to increase this by trying a few times.

If cryptsetup remove fails for a reason that is unrelated to timeout,
the error will be repeated a few times. There is no undesirable side
effect. It will not hide a problem.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoceph-disk: fix regression in cciss devices names
Loic Dachary [Tue, 5 Jan 2016 16:42:11 +0000 (17:42 +0100)]
ceph-disk: fix regression in cciss devices names

The cciss driver has device paths such as /dev/cciss/c0d1 with a
matching /sys/block/cciss!c0d1. The general case is that whenever a
device name is found in /sys/block, the / is replaced by the !.

When refactoring the ceph-disk list subcommand, this conversion was
overlooked in a few places. All explicit concatenation of /dev with a
device name are replaced with a call to get_dev_name which does the same
but also converts all ! in /.

http://tracker.ceph.com/issues/13970 Fixes: #13970

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoceph-disk: factorize duplicated dmcrypt mapping
Loic Dachary [Tue, 5 Jan 2016 16:38:59 +0000 (17:38 +0100)]
ceph-disk: factorize duplicated dmcrypt mapping

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoceph-disk: list accepts absolute dev names
Loic Dachary [Tue, 5 Jan 2016 16:33:45 +0000 (17:33 +0100)]
ceph-disk: list accepts absolute dev names

The ceph-disk list subcommand now accepts /dev/sda as well as sda.
The filtering is done on the full list of devices instead of restricting
the number of devices explored. Always obtaining the full list of
devices makes things simpler when trying to match a dmcrypted device to
the corresponding raw device.

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoceph-disk: deactivate must unmap dmcrypted journal
Loic Dachary [Tue, 5 Jan 2016 16:11:24 +0000 (17:11 +0100)]
ceph-disk: deactivate must unmap dmcrypted journal

If the journal is not unmapped, ceph-disk destroy will fail to zap the
corresponding devices because it is still held by devicemapper.

A consequence of this modification is that

   ceph-disk activate --dmcrypt --reactivate

no longer works from the command line, because it does not map the
dmcrypted journal. The --reactivate option is added to activate-journal
which will map both the journal and the data devices, if necessary.

http://tracker.ceph.com/issues/14233 Fixes: #14233

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agoceph-disk: display OSD details when listing dmcrypt devices
Loic Dachary [Tue, 5 Jan 2016 13:25:51 +0000 (14:25 +0100)]
ceph-disk: display OSD details when listing dmcrypt devices

The details about a device that mapped via dmcrypt are directly
available. Do not try to fetch them from the device entry describing the
devicemapper entry.

http://tracker.ceph.com/issues/14230 Fixes: #14230

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agotests: limit ceph-disk unit tests to test dir
Loic Dachary [Wed, 9 Dec 2015 15:52:10 +0000 (16:52 +0100)]
tests: limit ceph-disk unit tests to test dir

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agotests: update ceph-disk workunit debug reminders
Loic Dachary [Sat, 5 Dec 2015 17:28:46 +0000 (18:28 +0100)]
tests: update ceph-disk workunit debug reminders

Signed-off-by: Loic Dachary <loic@dachary.org>
9 years agorgw:modify command stucking when operating radosgw-admin metadata list user 7032/head
root [Wed, 6 Jan 2016 03:13:53 +0000 (11:13 +0800)]
rgw:modify command stucking when operating radosgw-admin metadata list user

When no user exists,the command stucks by operating radosgw-admin metadata list user. It seems all right now.

Signed-off-by: Peiyang Liu <liu.peiyang@h3c.com>
9 years agotools: monstore: add 'show-versions' command. 7073/head
Cilang Zhao [Tue, 5 Jan 2016 06:34:05 +0000 (14:34 +0800)]
tools: monstore: add 'show-versions' command.

Using this tool, the first/last committed version of maps will be shown.

Signed-off-by: Cilang Zhao <zhao.cilang@h3c.com>
9 years agoMerge pull request #7119 from dmick/master
Josh Durgin [Wed, 6 Jan 2016 00:45:18 +0000 (16:45 -0800)]
Merge pull request #7119 from dmick/master

admin/build-doc: make paths absolute

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoadmin/build-doc: make paths absolute 7119/head
Dan Mick [Tue, 5 Jan 2016 23:49:18 +0000 (15:49 -0800)]
admin/build-doc: make paths absolute

Build failure on docs.dhc because pip apparently was changing directory
before building rbd with cython, causing the relative library path
references to fail.  Bite the bullet and make everything absolute (since
we already have TOPDIR to use).

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agolibrbd: disable copy-on-read when not exclusive lock owner
Jason Dillaman [Tue, 5 Jan 2016 21:32:41 +0000 (16:32 -0500)]
librbd: disable copy-on-read when not exclusive lock owner

Fixes: #14167
Backport: infernalis, hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agotests: fsx should disable journaling feature for krbd
Jason Dillaman [Tue, 5 Jan 2016 19:33:55 +0000 (14:33 -0500)]
tests: fsx should disable journaling feature for krbd

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #7103 from ceph/wip-cmake-reorg
Casey Bodley [Tue, 5 Jan 2016 21:06:20 +0000 (16:06 -0500)]
Merge pull request #7103 from ceph/wip-cmake-reorg

cmake: cleanups and more features from automake

9 years agocmake: udev linking and Findudev module changes 7103/head
Ali Maredia [Mon, 4 Jan 2016 21:37:32 +0000 (16:37 -0500)]
cmake: udev linking and Findudev module changes

Linked udev into librbd, restored UDEV_I to
UDEV_INCLUDE_DIR in Findudev.cmake

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Findxio.cmake update Xio OFF by default
Ali Maredia [Mon, 4 Jan 2016 20:03:48 +0000 (15:03 -0500)]
cmake: Findxio.cmake update Xio OFF by default

Option WITH_XIO now OFF but required by default,
Findxio.cmake now using
FIND_PACKAGE_HANDLE_STANDARD_ARGS.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Check for required Cython package
Ali Maredia [Fri, 1 Jan 2016 20:44:32 +0000 (15:44 -0500)]
cmake: Check for required Cython package

Added a FindCython.cmake, Cython is required.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Added cls_numops_client library
Ali Maredia [Fri, 1 Jan 2016 04:34:51 +0000 (23:34 -0500)]
cmake: Added cls_numops_client library

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: test/erasure-code CMake additions
Ali Maredia [Fri, 1 Jan 2016 03:48:02 +0000 (22:48 -0500)]
cmake: test/erasure-code CMake additions

Added missing executables and libraries.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: test CMake additions
Ali Maredia [Fri, 1 Jan 2016 03:31:56 +0000 (22:31 -0500)]
cmake: test CMake additions

Added missing tests, changed linking, among
other changes.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: src/erasure-code CMakeLists.txt's changes
Ali Maredia [Fri, 1 Jan 2016 02:54:21 +0000 (21:54 -0500)]
cmake: src/erasure-code CMakeLists.txt's changes

Added ec_neon libraries in jerasure and shec dirs,
reorganized checks for flags, other minor
erasure-code directory changes.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Missing binaries from src/tools added
Ali Maredia [Thu, 31 Dec 2015 23:56:45 +0000 (18:56 -0500)]
cmake: Missing binaries from src/tools added

Added ceph-objecstore-tool, ceph-kvstore-tool,
ceph-psim, ceph-client-debug, ceph-scratchtool,
ceph-scratchtoolpp, ceph-radosacl,
ceph-osdomap-tool, ceph-monmap-tool from src/tools
Makefiles.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: CMAKE_DL_LIBS is not linked into osdmaptool
Ali Maredia [Thu, 31 Dec 2015 22:20:36 +0000 (17:20 -0500)]
cmake: CMAKE_DL_LIBS is not linked into osdmaptool

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: libradosstriper dir CMakeLists.txt added
Ali Maredia [Thu, 31 Dec 2015 22:11:49 +0000 (17:11 -0500)]
cmake: libradosstriper dir CMakeLists.txt added

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Added librados_api library
Ali Maredia [Thu, 31 Dec 2015 21:37:49 +0000 (16:37 -0500)]
cmake: Added librados_api library

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Added common/Cycles.cc to libcommon
Ali Maredia [Thu, 31 Dec 2015 21:27:02 +0000 (16:27 -0500)]
cmake: Added common/Cycles.cc to libcommon

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Boost libraries cleanup
Ali Maredia [Thu, 31 Dec 2015 05:53:12 +0000 (00:53 -0500)]
cmake: Boost libraries cleanup

Added components to Boost find_package, changed
libraries from boost_foo to ${Boost_FOO_LIBRARY}

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: add detection for HAVE_CURL_MULTI_WAIT
Casey Bodley [Mon, 21 Sep 2015 21:06:17 +0000 (17:06 -0400)]
cmake: add detection for HAVE_CURL_MULTI_WAIT

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agocmake: rbd_replay CMakeLists.txt, rbd_replay fixes
Ali Maredia [Thu, 31 Dec 2015 22:46:04 +0000 (17:46 -0500)]
cmake: rbd_replay CMakeLists.txt, rbd_replay fixes

moved rbd_replay targets into it's directory,
rbd-replay-prep added, removed "lib" in front of
all rbd_replay libraries, linked rbd_replay into
ceph-dencoder.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Babeltrace detection supported
Ali Maredia [Thu, 31 Dec 2015 04:34:30 +0000 (23:34 -0500)]
cmake: Babeltrace detection supported

Babeltrace defaults to ON, Findbabeltrace.cmake &
BABELTRACE variables in config-h.in.cmake added.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: LTTng functionality added
Ali Maredia [Thu, 31 Dec 2015 03:01:52 +0000 (22:01 -0500)]
cmake: LTTng functionality added

Set LTTNG option to ON by default, added
Findlttng.cmake, added CMakeLists.txt in
src/tracing that generates .h files using
lttng-gen-tp, added WITH_LTTNG to
config-h.in.cmake.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Updated allocator checking
Ali Maredia [Thu, 31 Dec 2015 02:06:08 +0000 (21:06 -0500)]
cmake: Updated allocator checking

Added a FindJeMalloc.cmake file, changed
allocator checking logic (tcmalloc is default),
replaced TCMALLOC_LIBS to ALLOC_LIBS, added
HAVE_LIB(ALLOCATOR) to config-h.in.cmake.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: kv dir and bluestore unittests
Ali Maredia [Thu, 31 Dec 2015 03:58:55 +0000 (22:58 -0500)]
cmake: kv dir and bluestore unittests

Added CMakeLists.txt in src/kv, replaced
os_mon_objs with kv_objs, linked libkv to os,
added HAVE_LIBROCKSDB to config-h.in.cmake,
tweaked rocksdb unittest, added bluestore
unittests, made rocksdb build with
add_custom_target instead of custom_command.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge remote-tracking branch 'origin/jewel'
Josh Durgin [Tue, 5 Jan 2016 19:42:09 +0000 (11:42 -0800)]
Merge remote-tracking branch 'origin/jewel'

9 years agoMerge pull request #7114 from dillaman/wip-14234-jewel
Josh Durgin [Tue, 5 Jan 2016 19:41:00 +0000 (11:41 -0800)]
Merge pull request #7114 from dillaman/wip-14234-jewel

librbd: reduce verbosity of common error condition logging

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge branch 'wip-14237-jewel' of git://github.com/dillaman/ceph into jewel
Josh Durgin [Tue, 5 Jan 2016 19:39:12 +0000 (11:39 -0800)]
Merge branch 'wip-14237-jewel' of git://github.com/dillaman/ceph into jewel

qa/workunits/rbd: import_export should use clean temp space

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #7113 from dillaman/wip-14168-jewel
Josh Durgin [Tue, 5 Jan 2016 18:30:26 +0000 (10:30 -0800)]
Merge pull request #7113 from dillaman/wip-14168-jewel

journal: disconnect watch after watch error

Reviewed-by: Josh Durgin <jdurgin@redhat.com>