Commit Graph

67455 Commits

Author SHA1 Message Date
Sage Weil
9f54e9f5e4 Merge pull request #12626 from adamemerson/wip-denconstruction
include/denc: improvements

Reviewed-by: Sage Weil <sage@redhat.com>
2017-01-10 14:15:10 -06:00
Haomai Wang
17589d5826 Merge pull request #12862 from optimistyzy/110_1
os/bluestore/NVMEdevice: fix the unrelease segs issue

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-01-11 00:48:07 +08:00
Kefu Chai
7b8eca5be7 Merge pull request #12091 from wjwithagen/wip-wjw-nosetests
nosetests: use /usr/bin/env to find nosetests

Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-01-11 00:43:24 +08:00
Adam C. Emerson
ea52d39be2 denc: Support boost::optional
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-01-10 11:40:34 -05:00
Adam C. Emerson
cf044f7aef denc: Support tuples
We could support zero-length tuples, but contiguous appender doesn't
like zero-length writes, so I've ruled them out for now.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-01-10 11:40:34 -05:00
Adam C. Emerson
26d622c48f denc: Add support for std::array
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-01-10 11:40:34 -05:00
Adam C. Emerson
c92cc9fe51 denc: Support boost::container::flat_set
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-01-10 11:40:34 -05:00
Adam C. Emerson
b7df89b519 denc: Scrap the container boilerplate!
Using template templates, kill off the reduplication in
container encoding.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2017-01-10 11:40:34 -05:00
Willem Jan Withagen
89a61ae2cd nosetests: start using /usr/bin/env to find noestests
- Option nocapture is not really required so no problem
   with the fact that FreeBSD env does not work for params
   for nosetests

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2017-01-10 16:07:40 +01:00
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
optimistyzy
5ffee830f6 NVMEdevice: fix the unrelease segs issue
When the read or flush command fails, we need to
release segs. Or we can abort it like what we do
for write.

Signed-off-by: optimistyzy <optimistyzy@gmail.com>
2017-01-10 21:14:18 +08: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 276ffb46319a78a047f3c1f401d8125ac9e17c1e) 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