Commit Graph

50291 Commits

Author SHA1 Message Date
Sage Weil
58a00e01f5 qa/workunits/fs/misc/layout_vxattr.sh: detect data pool name
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:58 -05:00
Sage Weil
efd7625f38 Merge pull request #7837 from rldleblanc/wpq-documentation
doc: osd-config Add Configuration Options for op queue.
2016-03-01 09:27:21 -05:00
Sage Weil
805e37cf8b Merge pull request #7851 from jupiturliu/obj-bencher-bug
rados: fix bug for write bench

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-01 09:25:51 -05:00
Sage Weil
48e2a65b22 Merge pull request #7729 from yuyuyu101/wip-spdk2
osd: bluestore: Revert NVMEDevice task cstor and refresh interface changes
2016-03-01 09:18:15 -05:00
Sage Weil
149f01f3d8 Merge pull request #7739 from xiexingguo/xxg-wip-14387
osd: fix race condition for heartbeat_need_update

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-01 08:46:08 -05:00
Sage Weil
ef5973324b Merge pull request #7703 from xiexingguo/xxg-wip-statfs
osd: filestore: fast abort if statfs encounters ENOENT

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-01 08:45:39 -05:00
Sage Weil
57b838f4b8 Merge pull request #7766 from adamemerson/wip-portable-mutex
common: Do not use non-portable constants in mutex_debug

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2016-03-01 08:45:00 -05:00
Sage Weil
5f429178b5 Merge pull request #7799 from xiexingguo/xxg-wip-fixnvme
osd: bluestore: NVMEDevice: fix error handling

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-01 08:44:21 -05:00
Sage Weil
46bd7bbb8b Merge pull request #7804 from jjhuo/fixes
osd: kstore: fix a race condition in _txc_finish()

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-01 08:43:49 -05:00
Sage Weil
0edaae6305 Merge pull request #7816 from marcan/build-fixes
configure.ac: boost_iostreams is required, not optional

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-03-01 08:43:25 -05:00
Loic Dachary
d5c9349ea8 Merge pull request #7858 from jdurgin/wip-rbd-formatted-output-progress
test/cli-integration/rbd: disable progress output

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-03-01 17:58:25 +07:00
John Spray
3d8fc94381 Merge pull request #7745 from sileht/sileht/rados-cython
pybind: move cephfs to Cython

Reviewed-by: John Spray <john.spray@redhat.com>
2016-03-01 10:40:21 +00:00
Haomai Wang
4ea3d68368 Merge pull request #7831 from yuyuyu101/wip-14912
AsyncMessenger: fix several bugs
2016-03-01 17:54:03 +08:00
Haomai Wang
48a5f2d835 Merge pull request #7852 from xiexingguo/xxg-wip-14928
msg: async: start over after failing to bind a port in specified range

Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kefu@redhat.com>
2016-03-01 17:53:20 +08:00
xie xingguo
8ffc4e8001 msg: async: start over after failing to bind a port in specified range
The original report associated with this fix can be found at
http://tracker.ceph.com/issues/13002. I reopen one in case it
needs to be backported or something alike.

Fixes: #14928
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-03-01 22:45:14 +08:00
Josh Durgin
acc640542c test/cli-integration/rbd: disable progress output
This test is intended to check machine-readable output and usage, not
human-readable output.

Fixes: #14931
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-02-29 22:57:56 -08:00
Josh Durgin
4f98ba25d0 Merge pull request #7778 from marcan/pybind-fixes
pybind/rados: fix object lifetime issues and other bugs in aio

Reviewed-by: Mehdi Abaakouk <sileht@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-02-29 22:48:53 -08:00
Kefu Chai
cbe8dfbdbc Merge pull request #7855 from tchaikov/wip-fix-ftbfs
test/TestPGLog: fix the FTBFS

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-03-01 14:39:29 +08:00
Kefu Chai
203987331e test/TestPGLog: fix the FTBFS
the new pure virtual method was introduced by e7edf20.

Fixes: #14930
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-03-01 13:20:29 +08:00
Josh Durgin
abd708d858 Merge pull request #7781 from ceph/wip-fix-rbd-cli-tests
rbd/run_cli_tests.sh: Reflect test failures

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-02-29 17:30:09 -08:00
James Liu
6cd5e2049e fixed a bug for write bench with rados
Signed-off-by: James Liu <james.liu@ssi.samsung.com>
2016-02-29 16:25:42 -08:00
Samuel Just
440e9b5d56 Merge pull request #7769 from somnathr/wip-make-shared
Use make_shared while creating shared_ptr

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-02-29 15:04:28 -08:00
Samuel Just
306c7bf40e Merge pull request #7765 from athanatos/wip-lost-unfound-repop
Repop and lost-unfound overhaul

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-29 10:42:01 -08:00
Haomai Wang
0c0e8a0fb6 AsyncConnection: log cleanup, remove redundant state display
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-03-01 01:52:05 +08:00
Haomai Wang
324145b702 Event: complete all pending events
Fix #14925
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-03-01 01:42:50 +08:00
Haomai Wang
bd592c0f88 AsyncConnection: dispatch write handler when accept done
Fix #12912
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-03-01 00:28:27 +08:00
Samuel Just
5f82cbe054 Merge pull request #7824 from dillaman/wip-aio-watch-notify
librados: fix test failure with new aio watch/unwatch API 

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-02-29 07:42:08 -08:00
Jason Dillaman
4b0ff1c792 Merge pull request #7832 from trociny/wip-journal-register-async
journal: async methods to (un)register and update client

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-29 08:53:17 -05:00
Kefu Chai
7bc42aaac5 Merge pull request #7829 from xiexingguo/xxg-wip-doc
doc: fix typo, indention etc.

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-29 21:13:10 +08:00
xiexingguo
bcc2866e0f doc: fix typo, indention etc.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-03-01 02:26:18 +08:00
John Spray
4b172fd27d pybind: update ceph_volume_client for cython
No need to explicitly touch the (no-longer-existing)
load_libcephfs method during module load, as with
the cython version we already get an ImportError
if the C library is unavailable.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-02-29 11:36:57 +01:00
John Spray
7f03c0e5b2 pybind: fix error handling on getxattr
The ctypes bindings returned empty string
instead of raising exception.  This was a bug,
because it made it impossible to detect the
difference between missing xattr and empty
xattr.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-02-29 11:36:40 +01:00
Mehdi Abaakouk
10f125f765 pybind: move cephfs to Cython
This change moves cephfs binding to Cython.

Closes-bug: #14818
Signed-off-by: Mehdi Abaakouk <sileht@redhat.com>
2016-02-29 10:58:52 +01:00
Robert LeBlanc
8aa159befa doc: osd-config Add Configuration Options for op queue.
Signed-off-by: Robert LeBlanc <robert.leblanc@endurance.com>
2016-02-28 10:06:33 -07:00
Kefu Chai
8c054f741a Merge pull request #7747 from vsjulu/master
xio: fix incorrect ip being assigned in case of multiple RDMA ports

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-28 00:01:55 +08:00
Yehuda Sadeh
894738f845 Merge pull request #7630 from rzarzynski/wip-rgw-admin-token-cache
rgw: add support for caching of Keystone admin token.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-27 06:22:09 -08:00
Yehuda Sadeh
04884be986 Merge pull request #7825 from ceph/wip-rgw-openssl
rgw: link civetweb with openssl (Sage, Marcus Watts)

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-27 06:17:15 -08:00
Mykola Golub
9453967f62 test: add tests to (un)register and update journal client
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-27 14:59:11 +02:00
Haomai Wang
3e18f564ed Revert "AsyncConnection: Close connection when unregistered connection met WAIT"
This reverts commit 9cc1055eb6.

Fix #14912
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-02-27 20:50:48 +08:00
Mykola Golub
a4527c3cf5 journal: async methods to (un)register and update client
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-27 12:33:13 +02:00
Mykola Golub
378f4c73ba cls::journal: async client_unregister
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-27 12:33:04 +02:00
Marcus Watts
86718592c0 cmake fix: build civetweb with the right include path.
In an earlier commit, civetweb.c got moved into a separate cmake 'object'
library civetweb_common_objs so that it could be built just once for use
with several different targets.  At the time, there was a separate global
"include_directory" to give the right include path for including "civetweb.h".
A later commit in master created an rgw_a library, and restricted civetweb.h's
include path for only building rgw_a objects.  So, as the product of
these these two commits, the target_include_directories command for the
civetweb include path now needs to be applied to civetweb_common_objs
and not rgw_a.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2016-02-27 02:34:14 -05:00
Sage Weil
74d698a406 Merge pull request #7650 from avnerbh/fix1_rand
msg: add thread safety for "random" Messenger + fix wrong usage of random functions

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-02-26 18:58:28 -05:00
Sage Weil
0499ca89a0 Merge pull request #7651 from xiexingguo/xxg-wip-fixtypecheck
osd: bluestore: improve fs-type verification and tidy up

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-26 18:57:19 -05:00
Sage Weil
6e497e077d Merge pull request #7654 from rldleblanc/wip-wpq-optimization
osd: WeightedPriorityQueue: move to intrusive containers
2016-02-26 18:36:52 -05:00
Yehuda Sadeh
888021189c Merge pull request #7821 from rzarzynski/wip-rgw-14903
rgw: fix wrong handling of limit=0 during listing of Swift account.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-26 13:37:44 -08:00
Radoslaw Zarzynski
155f079118 rgw: change naming of utility functions in rgw_keystone.cc.
Slightly improve code formatting and const-correctness as well.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-02-26 22:20:03 +01:00
Marcus Watts
aaa0f6fa77 Use fixed version of civetweb to avoid warning.
The warning about SSLv23_client_method is because when using dynamic
linking, this should always be non-zero.  That's inside of civetweb,
so this commit is to pull the submodule up to the fix.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2016-02-26 12:36:08 -08:00
Marcus Watts
f3925ec5ef Fix ssl link error.
When linking against -lssl, should also include -lcrypto.

// fixup merge with previous

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2016-02-26 12:30:52 -08:00
Marcus Watts
b451cbb368 Use ld.so to link in ssl crypto (cmake changes).
Using dlopen() to load in ssl crypto makes me cringe.
Also it requires either installing the devel package,
or appending library versioning to the library name
civetweb tries to load, which is ugly.  This is only
a license problem for people whose system distribution
does not include openssl.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2016-02-26 12:29:47 -08:00