Kefu Chai
31f9af83b3
Merge pull request #19945 from tchaikov/wip-deprecated-in-cxx17
...
librbd,librados: do not include stdbool.h in C++ headers
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-16 22:16:43 +08:00
Kefu Chai
cff35427ef
Merge pull request #19261 from dillaman/wip-22286
...
mgr: disconnect unregistered service daemon when report received
Reviewed-By: Kefu Chai <kchai@redhat.com>
2018-01-16 22:15:47 +08:00
Sage Weil
5f9911bc4a
Merge pull request #19942 from shinobu-x/wip-sk-minmax-ms_async_op_threads
...
common: Add min/max of ms_async_op_threads
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-16 07:33:22 -06:00
Sage Weil
fdc3f5c24c
Merge pull request #19397 from xxhdx1985126/master
...
mon: update PaxosService::cached_first_committed in PaxosService::maybe_trim()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-16 07:33:09 -06:00
Jason Dillaman
aab2defaca
Merge pull request #19822 from trociny/wip-ggate-ceph-globals
...
rbd-ggate: fix parsing ceph global options
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-01-15 08:51:34 -05:00
Kefu Chai
0c38eb87e2
Merge pull request #19673 from zouaiguo/wip_erase_code
...
mon/OSDMonitor.cc : set erasure-code-profile to "" when create replicated pools.
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-15 18:34:34 +08:00
Kefu Chai
9a9a00cb3d
Merge pull request #19896 from tchaikov/wip-vive-cxx-17
...
msg/simple: s/ceph::size/std::size/
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-15 11:27:28 +08:00
Kefu Chai
1f21f2f3a3
Merge pull request #19870 from liewegas/wip-strip-ceph-base
...
debian/rules: strip ceph-base libraries
Reviewed-By: Kefu Chai <kchai@redhat.com>
2018-01-15 11:24:08 +08:00
Kefu Chai
17dcd13ee5
Merge pull request #18755 from aclamk/wip-reverted-approx-size
...
osd/PG: revert approx size
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-15 11:14:45 +08:00
Kefu Chai
7aba57b9b4
Merge pull request #18191 from hjwsm1989/osd-mark-down
...
qa/standalone/osd/osd-mark-down: create pool to get updated osdmap faster
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-15 11:09:02 +08:00
Kefu Chai
35a57fab84
Merge pull request #19877 from adamemerson/wip-dencish
...
denc cleanups and other fixes
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-15 11:06:12 +08:00
Sage Weil
df5a37091a
Merge pull request #19946 from liewegas/wip-22677
...
qa/workunits/rados/test_rados_tool: fix stray |, race
2018-01-14 13:40:54 -06:00
Sage Weil
ff9fa835da
qa/workunits/rados/test_rados_tool: remove stray |, fix race
...
Fixes: http://tracker.ceph.com/issues/22676
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-14 10:35:14 -06:00
Kefu Chai
cfd4712e0a
librbd,librados: do not include stdbool.h in C++ headers
...
stdbool.h is offered to provide C++ keywords for C source file.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-01-14 18:03:38 +08:00
Jason Dillaman
070b87aa58
Merge pull request #12431 from VictorDenisov/snapshot_rename
...
rbd: group snapshot rename
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-01-13 20:48:39 -05:00
Victor Denisov
838cae45af
rbd: Add group snapshot rename commands
...
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-13 14:00:31 -05:00
Victor Denisov
c4f2eb4adb
librbd: Add group snap rename method
...
Signed-off-by: Victor Denisov <denisovenator@gmail.com>
2018-01-13 14:00:30 -05:00
Sage Weil
ea2c99ec87
qa/workunits/rados/test_rados_tool.sh: -x
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-01-13 10:26:24 -06:00
Sage Weil
7907bc00a9
Merge pull request #19913 from adamemerson/wip-minimax-rados
...
rados: Prefer templates to macros
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-01-13 09:56:28 -06:00
Sage Weil
755ea1c054
Merge pull request #19914 from tchaikov/wip-cmake-check-boost-in-src
...
cmake: check version of boost in src/boost
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2018-01-13 09:56:08 -06:00
Sage Weil
f199490bbd
Merge pull request #19926 from batrick/i22527
...
mon: revert mds metadata argument name change
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-13 09:55:12 -06:00
Mykola Golub
79fbe60d5e
Merge pull request #19903 from dillaman/wip-librbd-op-features
...
librbd: add preliminary support for new operation feature bit
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-01-13 04:13:49 +02:00
Shinobu Kinjo
97731e3ab0
common: Add min/max of ms_async_op_threads
...
Signed-off-by: Shinobu Kinjo <shinobu@redhat.com>
2018-01-13 10:02:39 +09:00
Yuri Weinstein
a7b97806fc
Merge pull request #19793 from badone/wip-blocking-deep-scrub
...
ceph.in: Add blocking mode for scrub and deep-scrub
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-01-12 14:47:30 -08:00
Yuri Weinstein
2b99d31d5e
Merge pull request #19910 from jdurgin/wip-21897
...
config: lower default omap entries recovered at once
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-12 14:46:26 -08:00
Patrick Donnelly
1f530c0fa8
Merge PR #19894 into master
...
* refs/pull/19894/head:
cmake: link against ceph-common instead of common
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-12 14:37:39 -08:00
Patrick Donnelly
653bfcc567
Merge PR #19920 into master
...
* refs/pull/19920/head:
client: fix cap revoke race
client: release revoking Fc after invalidate cache
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-01-12 14:37:32 -08:00
Patrick Donnelly
e592c0210f
Merge PR #19885 into master
...
* refs/pull/19885/head:
qa: increase osd count for ec testing
qa: add missing openstack configs
Reviewed-by: Sage Weil <sage@redhat.com>
2018-01-12 14:37:25 -08:00
Adam C. Emerson
28d35abf89
rados: Switch MIN/MAX for std::min/max and use intarith templates
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-12 14:32:52 -05:00
Mykola Golub
443a7f5f7c
Merge pull request #19900 from dillaman/wip-rbd-lock-list
...
rbd: adjusted "lock list" JSON and XML formatted output
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-01-12 21:31:54 +02:00
Casey Bodley
1fcc8e9b09
Merge pull request #19933 from qrGitHub/wip-rgw-useless-line4
...
rgw: drop redundant RGW_OP_STAT_OBJ check
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-01-12 13:17:48 -05:00
Jason Dillaman
619b0c0244
rbd: adjusted "lock list" JSON and XML formatted output
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-12 11:31:07 -05:00
Jason Dillaman
ffdb65374c
librbd: operations should return -EROFS if disabled
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-12 10:46:33 -05:00
Jason Dillaman
fef89753d8
librbd: retrieve the op features on image refresh
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-12 08:14:34 -05:00
Jason Dillaman
209f6fc5a4
librbd: track new operation features within image
...
This will initially be utilized to restrict older clients from
performing operations against an image if (1) it doesn't
support the new feature bit, or (2) doesn't support the specific
enabled op feature.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-01-12 08:12:58 -05:00
Adam C. Emerson
c06b97b3d7
include: Add templates along side macros in intarith
...
The macros can be removed later.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-12 01:45:53 -05:00
Bingyin Zhang
c378fe6d48
rgw: drop redundant RGW_OP_STAT_OBJ check
...
Signed-off-by: Bingyin Zhang <zhangbingyin@cloudin.cn>
2018-01-12 14:26:30 +08:00
Adam C. Emerson
98572fba64
denc: Clean up tuples even more
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-12 00:51:11 -05:00
Adam C. Emerson
dcd6d70eef
types: Output of arbitrary std::tuples
...
Again, using ceph::for_each
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-12 00:51:06 -05:00
Adam C. Emerson
54bc44c056
encoding: Encode/decode of arbitrary tuples
...
Using ceph::for_each to avoid fiddling with indices everywhere.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-12 00:51:04 -05:00
Adam C. Emerson
abd4c104f8
common: Add ceph::for_each for tuples
...
Expand to pairs, optionals, and variants later.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-12 00:49:36 -05:00
Adam C. Emerson
b3cd103281
common: Make maybe functions support std::optional
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-12 00:49:34 -05:00
Adam C. Emerson
9412de0c67
denc: Simplify tuple decode/encode
...
Use index_sequence instead of rolling our own support infrastructure.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-12 00:49:15 -05:00
Adam C. Emerson
3aefaa8131
denc: Fix std::array bound_encode
...
std::arrays are not variable length structures and thus are not
encoded with a length.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-12 00:49:01 -05:00
Adam C. Emerson
70487bbc48
denc: Remove unneeded enable_ifs
...
The idiom
```
template<typename U = T>
static enable_if_t<!!sizeof(U) && ... >
```
Exists to force SFINAE dependent on some aspect of T on functions that
are themselves members of a template parameterized on T. Without some
other expression conjoined to it, this construct is just noise.
Also replace the reserve switch with constexpr if.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-12 00:24:42 -05:00
Adam C. Emerson
617a0961ce
denc: Simplify is_any_of
...
We can't simplify underlying type in the obvious way since template
evaluation is strict.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-11 23:50:06 -05:00
Adam C. Emerson
74948b5cd8
denc: Support std::optional
...
Since we'll probably want to use it at some point.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-11 23:16:07 -05:00
Adam C. Emerson
6e039e58d7
{common,mds,rbd}: Fix unused lambda capture warnings
...
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-11 22:55:08 -05:00
Adam C. Emerson
8e877e0d31
denc: Unbreak Clang support
...
We were using an enable_if<sizeof(U)> idiom that Clang rejects as an
illicit narrowing conversion.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
2018-01-11 22:55:06 -05:00
Brad Hubbard
774b3735f0
doc/man: Add '--block' option for ceph command
...
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-01-12 12:47:36 +10:00