Commit Graph

67428 Commits

Author SHA1 Message Date
Haomai Wang
0bf9c6242e Merge pull request #12854 from liupan1111/wip-fix-async-dpdk-issue
async: fixed coredump when enable dpdk.

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-01-10 13:09:40 +08:00
Pan Liu
96046f53e9 async: fixed coredump when enable dpdk.
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2017-01-10 11:58:23 +08:00
Jason Dillaman
59c0108241 Merge pull request #12849 from xiexingguo/xxg-wip-fix-compile-crash
librados: fix compile errors from simplified aio completions

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-01-09 21:45:41 -05:00
Kefu Chai
327791feac Merge pull request #9032 from tchaikov/wip-15786
doc: document repair/scrub features

Reviewed-by: David Zafman <dzafman@redhat.com>
2017-01-10 10:23:39 +08:00
xie xingguo
8b64515d1c librados: fix building crash
See https://github.com/ceph/ceph/pull/12607

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-10 10:01:54 +08:00
Sage Weil
d4f033c687 Merge pull request #12726 from liewegas/wip-18372
osd: _exit() intead of exit() for failure injection

Reviewed-by: Samuel Just <sjust@redhat.com>
2017-01-09 16:24:22 -06:00
Sage Weil
25c9910503 Merge pull request #12607 from liewegas/wip-librados-killack
librados,osdc: kill ack vs commit distinction

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-01-09 16:17:43 -06:00
Sage Weil
4ca7757e4a Merge pull request #12695 from hjwsm1989/mark-unfound-lost
osd/PrimaryLogPG: optimal pick_newest_available

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 16:17:07 -06:00
Sage Weil
0a3a8cd58a Merge pull request #12724 from kylinstorage/wip-fix-coverity-warning-for-uninitialized-members
osd: fix coverity warning for uninitialized members

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 16:14:52 -06:00
Sage Weil
93d7a21e42 Merge pull request #12725 from liewegas/wip-bluestore-bluefs-reclaim
os/bluestore/BlueFS: fix reclaim_blocks

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
2017-01-09 16:07:15 -06:00
Sage Weil
cc6d926d3c Merge pull request #12727 from liewegas/wip-18369
osd/PG: publish PG stats when backfill-related states change

Reviewed-by: Samuel Just <sjust@redhat.com>
2017-01-09 16:05:30 -06:00
Casey Bodley
e0acce4953 Merge pull request #12731 from oritwas/wip-rgw-realm-set
rgw realm set fixes

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-01-09 10:54:15 -05:00
John Spray
30cfc81bdc Merge pull request #12274 from ukernel/wip-multimds-misc
mds: misc multimds fixes

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-09 13:05:51 +00:00
John Spray
6542a2e0d0 Merge pull request #12588 from jcsp/wip-18311
mds: check for errors decoding backtraces

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-01-09 11:02:32 +00:00
John Spray
96375cd7bb Merge pull request #12580 from Liuchang0812/fix-clang-warn-client
client: fix clang warn of "argument is an uninitialized value"

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 11:02:02 +00:00
John Spray
572a09cbe3 Merge pull request #12557 from stiopaa1/libcephfs_memoryLeakCephContext
libcephfs.cc: fix memory leak

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 10:36:39 +00:00
John Spray
8a7ad3d9ee Merge pull request #12161 from jcsp/wip-remove-cap
client: simplify remove_cap interface

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-01-09 10:30:27 +00:00
John Spray
411bd53555 Merge pull request #12515 from kylinstorage/wip-safe-trace
client: fix potential buffer overflow

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-09 10:29:47 +00:00
Kefu Chai
637ec53e48 Merge pull request #12560 from wjwithagen/wip-wjw-rocksdb-NO-FAIL
src/CMakeLists.txt: disable -Werror on rocksdb

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-09 18:16:29 +08:00
Kefu Chai
70307c1d6a Merge pull request #12799 from tchaikov/wip-sepia-bt
script/sepia_bt.sh: download packages from shaman not gitbuilder

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-09 10:59:47 +08:00
Jason Dillaman
0fb99b79b3 Merge pull request #12816 from SUSE/wip-18440
tests: subst repo and branch in git.ceph.com URL in qa/tasks/cram.py and qa/tasks/qemu.py

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-08 09:57:36 -05:00
Jason Dillaman
43f401365c Merge pull request #12818 from SUSE/wip-drop-rbd_functional_tests
tests: drop unused rbd_functional_tests.pl script

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-08 09:56:59 -05:00
Mykola Golub
f1eb435770 Merge pull request #12639 from dillaman/wip-18327
librbd: new API method to force break a peer's exclusive lock

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-01-08 14:23:12 +02:00
Orit Wasserman
4facc5f4f3 radosgw-admin: check for name mistmatch in realm set
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-01-08 12:15:42 +02:00
Orit Wasserman
b8b3ae3be3 radosgw-admin: relam set can use input redirection
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-01-08 12:15:35 +02:00
Orit Wasserman
e23339c9ef radosgw-admin: realm set should create a new realm
Fixes: http://tracker.ceph.com/issues/18333
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-01-08 12:15:27 +02:00
Haomai Wang
e3c54bc8eb Merge pull request #12812 from optimistyzy/16_0
NVMEDevice: fix bug in data_buf_next_sge

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-01-08 13:17:37 +08:00
Yehuda Sadeh
5e633a9d5c Merge pull request #12767 from linuxbox2/rgw-invalid-aio-read4
rgw: remove invalid read size4

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-01-07 17:08:58 -08:00
optimistyzy
201d4fc606 NVMEDevice: Eliminate virt to physical address translation in data_buf_next_sge
After SPDK is updated, SPDK requires virtual address
instead of physical address in huge page memory. Thus,
we do not need to pass the physical address since SPDK
library will do the address translation work.If we
still use the original code, it seems a bug.

In this patch, we will also use spdk_zmalloc instead of
dpdk's rte_malloc_socket function.

Signed-off-by: optimistyzy <optimistyzy@gmail.com>
2017-01-08 08:17:32 +08:00
Matt Benjamin
c0233c4abb rgw_rados: sanitize dout print in GWRados::get_obj_iterate_cb(...)
We cannot assume pbl may be deferenced.  Per review, move the dout
print into the r < 0 condition--since it's now an error, make it's
trace level 0.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-01-07 18:34:47 -05:00
Matt Benjamin
d10c37adf9 rgw_rados: add guard assert in add_io()
Use the iterator-returning insert operation in std::map, check
assert the insert case.  As a side effect, this makes use of the
inserted object record more clear.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2017-01-07 18:22:33 -05:00
Nathan Cutler
276ffb4631 tests: drop unused rbd_functional_tests.pl script
This script is no longer used.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 23:33:12 +01:00
Nathan Cutler
2484a55461 tests: subst repo and branch in qemu test urls
References: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 22:49:56 +01:00
Nathan Cutler
74689df754 tests: subst branch and repo in qa/tasks/qemu.py
References: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 22:49:54 +01:00
Nathan Cutler
ed0e8be0b2 tests: subst repo name in krbd/unmap/tasks/unmap.yaml
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 13:40:06 +01:00
Nathan Cutler
56e37e41f4 tests: subst repo name in qa/tasks/cram.py
Inspired by bcbe45d948

Fixes: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 13:40:06 +01:00
Jason Dillaman
a159f3d1c0 Merge pull request #12549 from trociny/wip-16555
librbd: permit removal of image being bootstrapped by rbd-mirror

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 17:57:53 -05:00
Jason Dillaman
21a8c69313 Merge pull request #12638 from yangdongsheng/rbd_remove_incompatible
librbd: don't continue to remove an image w/ incompatible features

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 17:56:53 -05:00
Dan Mick
54c2880152 Merge pull request #12787 from jamincollins/arch-linux
ceph-detect-init: adding Arch Linux support

Reviewed-by: Dan Mick <dmick@redhat.com>
2017-01-06 13:12:26 -08:00
Matt Benjamin
437a187c77 Merge pull request #11776 from ceph/wip-rgw-openssl-7
Wip rgw openssl 7
2017-01-06 12:08:38 -05:00
Jason Dillaman
9242a2e4e1 librados: blacklist_add should wait for latest OSD map
This ensures that future operations against the OSDs force
a OSD map update to notice the blacklisted client.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 11:53:21 -05:00
Jason Dillaman
c720f6e370 librbd: prevent assertion failure when journal IO is blacklisted
Fixes: http://tracker.ceph.com/issues/18429
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 11:53:20 -05:00
Jason Dillaman
418dcf29cb librbd: ignore blacklist error when releasing exclusive lock
This ensures the journal and object map are properly closed so that the
image can be properly closed w/o failing any assertions.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 11:53:20 -05:00
Jason Dillaman
47b89f4d48 librbd: fail immediately if the exclusive lock cannot be acquired
Fixes: http://tracker.ceph.com/issues/16988
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 11:53:20 -05:00
Jason Dillaman
9a5a8c75a0 librbd: add new lock_get_owners / lock_break_lock API methods
If the client application supports failover, let the application
force break the current lock and blacklist the owner. This is
required in case the current lock owner is alive from the point-of-view
of librbd but failover was required due to a higher level reason.

Fixes: http://tracker.ceph.com/issues/18327
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 11:53:19 -05:00
Kefu Chai
cad369754f Merge pull request #12096 from wjwithagen/wip-wjw-readme-20161121
README.FreeBSD: update current status

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-06 23:56:26 +08:00
Kefu Chai
0e0b7a0d58 Merge pull request #12628 from SUSE/wip-18309-alt
ceph_fuse: pid_file default to empty

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-06 23:28:49 +08:00
Jason Dillaman
23f60fee86 librbd: separate break lock logic into standalone state machine
The current lockers are now queried before the lock is attempted to
prevent any possible race conditions when one or more clients attempt
to break the lock of a dead client.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 10:22:59 -05:00
Jason Dillaman
03533b912c librbd: separate locker query into standalone state machine
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-01-06 10:22:59 -05:00
Kefu Chai
9b430a8a04 Merge pull request #12811 from wjwithagen/wip-wjw-rbd-udev-blkid
cmake: cleanup the use of udev and blkid in target_link_lib()

Reviewed-by: Kefu Chai <kefu@redhat.com>
2017-01-06 22:26:39 +08:00