Commit Graph

67445 Commits

Author SHA1 Message Date
Jason Dillaman
60b79473fe Merge pull request #12821 from SUSE/wip-drop-rbd_cli_tests
tests: drop rbd_cli_tests.pl and RbdLib.pm

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-10 09:29:11 -05:00
Sage Weil
c96cb2d02e Merge pull request #12850 from xiexingguo/xxg-wip-bluestore-20170110
os/bluestore: shrink buffer_map key into uint32_t

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-01-10 07:33:18 -06:00
Jason Dillaman
0dd25f240a Merge pull request #12815 from rjfd/wip-journal-unittest-build-error
tests: fix template specialization of PromoteRequest class

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-10 08:32:53 -05:00
Sage Weil
a7da1eb092 Merge pull request #12853 from xiexingguo/xxg-wip-kill-orphan
os/bluestore: kill orphan declaration of do_write_check_depth()

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-01-10 07:31:43 -06:00
Sage Weil
533311e999 Merge pull request #12856 from xiexingguo/xxg-wip-clean-kd
os/bluestore/KernelDevice: kill zeros

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-01-10 07:27:57 -06:00
Sage Weil
f70b6fdec6 Merge pull request #12858 from yangdongsheng/rbd_cleanup
rbd: cleanup: fix the typo in namespace comment
2017-01-10 07:26:12 -06:00
xie xingguo
842098d480 os/bluestore: shrink buffer_map key into uint32_t
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-10 20:45:02 +08:00
Dongsheng Yang
50e088deeb rbd: cleanup: fix the typo in namespace comment
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
2017-01-10 04:26:43 -05:00
Brad Hubbard
fbad77c727 Merge pull request #12855 from badone/wip-md_config_t-_apply_changes-unchangeable
config: Improve warning for unobserved value

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-10 18:17:52 +10:00
xie xingguo
12366280cc os/bluestore/KernelDevice: reuse r
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-10 15:53:25 +08:00
xie xingguo
c8123e50c1 os/bluestore/KernelDevice: drop redundant assignment statements
The memset() call has already done it.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-10 15:50:23 +08:00
xie xingguo
e353d8e0b1 os/bluestore/NVMeDevice: kill zeros
See 2cd63d2209
The aio_zero() interface is deprecated.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-10 15:46:32 +08:00
xie xingguo
b9c1c0fe7c os/bluestore/KernelDevice: kill zeros
This is not needed anymore and can save us 1MB memory.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-10 15:39:37 +08:00
Brad Hubbard
1e8e754007 config: Improve warning for unobserved value
When a variable is not being observed we currently mark it
"unchangable". This can be misleading so try something hopefully a
little more informative.

Fixes: http://tracker.ceph.com/issues/18424
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-01-10 15:35:19 +10:00
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
xie xingguo
01ff6bf51a os/bluestore: kill orphan declaration of do_write_check_depth()
The gc logic is gone and this is not relevant anymore.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-01-10 11:47:36 +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
Ricardo Dias
69f8146299
rbd: fix template specialization of PromoteRequest class
Signed-off-by: Ricardo Dias <rdias@suse.com>
2017-01-09 15:22:30 +00: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
Nathan Cutler
4f4f35e37c tests: drop rbd_cli_tests.pl and RbdLib.pm
The rbd_cli_tests Perl script is not maintained and currently serves no
purpose. The RbdLib.pm module was only used by rbd_functional_tests.pl (which
was dropped by 276ffb4631) and rbd_cli_tests.pl
so drop it as well.

Fixes: http://tracker.ceph.com/issues/14825
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-08 16:17:08 +01: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