Kefu Chai
38f8bc3628
Merge pull request #12680 from badone/wip-ceph_test_rados_api_misc-valgrind-fixes
...
ceph_test_rados_api_misc: Fix trivial memory leak
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-03 14:07:22 +08:00
liuchang0812
5fa0a015fc
doc/dev: update log_based_pg.rst, fix some display problem
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-01-03 13:11:27 +08:00
Pan Liu
637ba5769c
os/bluestore: add more useful log information in NVMEDevice.cc
...
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2017-01-03 11:08:49 +08:00
Jason Dillaman
e4ca3c17dd
Merge pull request #12747 from SUSE/wip-18388
...
tests: rbd/test_lock_fence.sh: fix rbdrw.py relative path
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-01-02 18:47:53 -05:00
Nathan Cutler
91231de16d
tests: rbd/test_lock_fence.sh: fix rbdrw.py relative path
...
This commit fixes a regression introduced by
cf294777ea
Fixes: http://tracker.ceph.com/issues/18388
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-02 22:53:13 +01:00
Amir Vadai
194bc3cb5f
RDMA: Fix compilation warning
...
Infiniband.cc: In member function ‘int Infiniband::recv_msg(CephContext*, int, IBSYNMsg&)’:
Infiniband.cc:883:86: warning: format ‘%x’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘uint16_t* {aka short unsigned int*}’ [-Wformat=]
sscanf(msg, "%x:%x:%x:%x:%s", &(im.lid), &(im.qpn), &(im.psn),
&(im.peer_qpn),gid);
Signed-off-by: Amir Vadai <amir@vadai.me>
2017-01-02 12:12:04 +02:00
Amir Vadai
3662403e99
RDMA: Move defenitions from RDMAStack.h into .cc
...
Signed-off-by: Amir Vadai <amir@vadai.me>
2017-01-02 12:12:04 +02:00
Amir Vadai
75996d20ae
RDMA: Move defenitions from Infiniband.h into .cc
...
Signed-off-by: Amir Vadai <amir@vadai.me>
2017-01-02 12:12:04 +02:00
Pan Liu
4fb90d4930
os/bluestore: fixed compilation issue when use spdk v16.12
...
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2017-01-02 16:49:38 +08:00
Pan Liu
19ffa3ea7c
spdk: fixed the compilation error for testcases when use spdk v16.12
...
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2017-01-02 16:43:59 +08:00
Pan Liu
2c2cae16cf
dpdk: make compilation successful when use dpdk v16.11
...
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2017-01-02 16:41:08 +08:00
liuchang0812
66fd36d51f
mgr: Make stats period configurable
...
Fixes: http://tracker.ceph.com/issues/17449
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-01-02 15:53:03 +08:00
Kefu Chai
8b07aad0f0
Merge pull request #12706 from Liuchang0812/wip-qa-rados-1228
...
test: update test_rados_tool.sh, use POOL and OBJ var
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-02 14:21:03 +08:00
Pan Liu
4f85bdf91e
spdk: upgrade spdk version to 16.12
...
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2017-01-01 16:22:32 +08:00
Pan Liu
f70cf09c59
dpdk: upgrade dpdk version to 16.11
...
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2017-01-01 16:17:50 +08:00
Sage Weil
d4adeb7500
osd/PG: publish PG stats when backfill-related states change
...
These frequently get flushed because other updates
happen, but we should explicitly ensure that the mon
sees these state changes.
Fixes: http://tracker.ceph.com/issues/18369
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-30 17:29:58 -05:00
Sage Weil
c2fac9c9a9
osd: _exit() intead of exit() for failure injection
...
This avoids a segv from code that doesn't easily shut
down (e.g., bluestore).
Fixes: http://tracker.ceph.com/issues/18372
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-30 15:42:44 -05:00
Sage Weil
4e657c7206
Merge pull request #12716 from kylinstorage/wip-ctypos_h
...
misc: fix code typos in header files
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-12-30 13:06:57 -06:00
Sage Weil
6f53f56702
Merge pull request #12721 from chendave/wip-authx-options
...
auth: Let's not use the deprecated cephx option
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-30 13:04:54 -06:00
Sage Weil
98405376ad
Merge pull request #12676 from chendave/master
...
common/ceph_context: Show clear message if all features are enabled
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-30 12:58:20 -06:00
Sage Weil
eef842e48d
Merge pull request #12633 from liewegas/wip-15784
...
msg/simple: call clear_pipe in wait() shutdown path
Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-12-30 12:57:02 -06:00
Sage Weil
3b0cb4e9b8
Merge pull request #12692 from XinzeChi/wip-bluestore-statfs
...
os/bluestore: _txc_release_alloc when do wal cleaning
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-30 12:55:20 -06:00
Sage Weil
0260de99fe
Merge pull request #12691 from runsisi/wip-dump-osdop
...
osd/OpRequest: dump both name and addr for the client op
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-30 12:52:27 -06:00
Sage Weil
1a3fc9cf64
Merge pull request #12363 from wjwithagen/wip-wjw-freebsd-strerror
...
common/module.c: do not use strerror_r the GNU way.
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-30 12:51:45 -06:00
Sage Weil
882ad33b52
os/bluestore/BlueFS: fix reclaim_blocks
...
We need to return all extents to the caller. The current code
fails to assign *offset so it appears like a single extent from
the start of the device, which is very wrong.
Fixes: http://tracker.ceph.com/issues/18368
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-30 12:22:42 -05:00
Sage Weil
8e313a2496
os/bluestore/bluestore_types: operator<< for AllocExtent
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-12-30 12:20:31 -05:00
Li Wang
83a384de9e
osd/OSD.h: fix uninitialized member
...
Silence Coverity 1398203
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 14:55:21 +00:00
Li Wang
b1620057ba
osd/PrimaryLogPG.cc: fix uninitialized member
...
Silence Coverity 1398201
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 14:53:17 +00:00
Li Wang
df961dd338
os/bluestor/BitAllocator.h: fix uninitialized member
...
Silence Coverity 1398206
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 14:15:15 +00:00
Li Wang
a7b610acf5
os/bluestore/BitmapFreelistManager.cc: fix uninitialized member
...
Silence Coverity 1398205
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 14:10:06 +00:00
Li Wang
387ad76b5e
os/bluestore/BitAllocator.cc: fix uninitialized member
...
Silence Coverity 1398204
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 14:01:17 +00:00
Li Wang
9939a6550f
os/bluestore/BlueStore.h: fix uninitialized member
...
Silence Coverity 1398202
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 13:57:51 +00:00
Li Wang
7f2f216cd0
os/kstore/KStore.h: fix uninitialized member
...
Silence Coverity 1398200
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
2016-12-30 13:57:21 +00:00
Jianpeng Ma
00533e43c0
common/Finisher: Using queue(list<context*>) instead queue(context*).
...
Avoid call many time queue(context*).
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2016-12-30 20:11:19 +08:00
Gaurav Kumar Garg
98a802ab7a
rbd: remove unused condition
...
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
2016-12-30 11:33:42 +01:00
Dave Chen
3953db2b5a
cephx: Let's not use the deprecated option
...
Enable cephx by setting the option of "auth supported" has been
deprecated for a long time, it's better to use the recommended
options instead.
Signed-off-by: Dave Chen <wei.d.chen@intel.com>
2016-12-30 17:04:28 +08:00
Li Wang
68bf649dd2
Merge pull request #12718 from kylinstorage/wip-orig
...
organizationmap: add Xianxia Xiao to Kylin Cloud team
2016-12-30 14:50:06 +08:00
Yunchuan Wen
f3ab967df1
organizationmap: add Xianxia Xiao to Kylin Cloud team
...
Signed-off-by: Yunchuan Wen <yunchuan.wen@kylin-cloud.com>
2016-12-30 14:01:50 +08:00
Xianxia Xiao
fed8aaa37d
src/tools/rbd_mirror/Replayer.h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:48:04 +00:00
Xianxia Xiao
12160b8a23
src/messages/MMDSSlaveRequest.h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:47:44 +00:00
Xianxia Xiao
673c277366
src/tools/rbd_recover_tool/epoch_h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:47:17 +00:00
Xianxia Xiao
e54057e827
src/librados/IoCtxImpl.h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:47:03 +00:00
Xianxia Xiao
da98eaaefc
src/journal/JournalTrimmer.h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:46:45 +00:00
Xianxia Xiao
27e2dac93c
src/common/hobject.h : fix typos
...
Signed-off-by: Xianxia Xiao <xianxia.xiao@kylin-cloud.com>
2016-12-30 02:46:26 +00:00
Brad Hubbard
874aed67a4
Merge pull request #12652 from badone/wip-coverity-TracepointProvider
...
tracing: Fix handle leak in TracepointProvider
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-12-30 12:24:28 +10:00
Brad Hubbard
756c2011e4
tracing: Fix handle leak in TracepointProvider
...
Silences Coverity 1397733
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-30 10:04:11 +10:00
Brad Hubbard
08be44aec8
test_rados_watch_notify: Fix trivial memory leaks
...
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-30 08:56:36 +10:00
Sage Weil
9088f47ee4
Merge pull request #12711 from yuyuyu101/wip-fix-rdma
...
msg/async/rdma: fix ceph_clock_now calls
Reviewed-by: Sage Weil <sage@redhat.com>
2016-12-29 14:35:57 -06:00
Sage Weil
bc197d75cc
Merge pull request #12451 from liewegas/wip-osd-on-applied
...
osd: never send rados ack (only commit)
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-12-29 12:43:01 -06:00
Kefu Chai
bc81c1ba4c
Merge pull request #12480 from dx9/wip-boost-python
...
cmake: fix hard coded boost python lib
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-12-30 01:29:00 +08:00