Casey Bodley
fc2b872868
Merge pull request #35886 from yuvalif/wip-yuval-fix-46316
...
rgw: make RGWToken string ctor explicit
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2020-07-07 09:08:36 -04:00
Laura Paduano
3375389e14
Merge pull request #35707 from Devp00l/wip-45650
...
mgr/dashboard: Fixes ICU selection regression
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
2020-07-07 14:29:06 +02:00
Kefu Chai
ff17d0b13e
Merge pull request #35764 from rzarzynski/wip-bl-cache-in-release
...
common/bl: document and slightly optimize ptr::release().
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-07 18:49:39 +08:00
Radoslaw Zarzynski
d427acf4a5
common/bl: document and slightly optimize ptr::release().
...
Before the patch GCC was generating:
```
10f9910: mov (%rdi),%rax
10f9913: test %rax,%rax
10f9916: je 10f9951 <ceph::buffer::v15_2_0::ptr::release()+0x41>
10f9918: mov 0x2c(%rax),%eax
10f991b
: cmp $0x1,%eax
10f991e: jne 10f9940 <ceph::buffer::v15_2_0::ptr::release()+0x30>
10f9920: mov (%rdi),%rax
10f9923: movq $0x0,(%rdi)
10f992a: test %rax,%rax
10f992d: je 10f9958 <ceph::buffer::v15_2_0::ptr::release()+0x48>
10f992f: mov (%rax),%rdx
10f9932: mov %rax,%rdi
10f9935: mov 0x8(%rdx),%rdx
10f9939: jmpq *%rdx
10f993b: nopl 0x0(%rax,%rax,1)
10f9940: mov (%rdi),%rax
10f9943: lock subl $0x1,0x2c(%rax)
10f9948: je 10f9920 <ceph::buffer::v15_2_0::ptr::release()+0x10>
10f994a: movq $0x0,(%rdi)
10f9951: retq
10f9952: nopw 0x0(%rax,%rax,1)
10f9958: retq
10f9959: nop
10f995a: nopw 0x0(%rax,%rax,1)
```
after:
```
11209b0: mov (%rdi),%rax
11209b3: movq $0x0,(%rdi)
11209ba: test %rax,%rax
11209bd: je 11209e6 <ceph::buffer::v15_2_0::ptr::release()+0x36>
11209bf: mov 0x2c(%rax),%edx
11209c2: lea 0x2c(%rax),%rcx
11209c6: cmp $0x1,%edx
11209c9: jne 11209e0 <ceph::buffer::v15_2_0::ptr::release()+0x30>
11209cb: mov (%rax),%rdx
11209ce: mov %rax,%rdi
11209d1: mov 0x8(%rdx),%rdx
11209d5: jmpq *%rdx
11209d7: nopw 0x0(%rax,%rax,1)
11209de:
11209e0: lock subl $0x1,(%rcx)
11209e4: je 11209cb <ceph::buffer::v15_2_0::ptr::release()+0x1b>
11209e6: retq
```
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-07-07 11:16:37 +02:00
Kefu Chai
8664843083
Merge pull request #35940 from tchaikov/wip-ceph-dencoder-struct-ver
...
tools/ceph-dencoder: add get_struct_v,get_struct_compat commands
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2020-07-07 10:09:54 +08:00
Kefu Chai
e7227e3d56
Merge pull request #35914 from tchaikov/wip-crimson-clang
...
crimson: clang related cleanups
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2020-07-07 10:04:06 +08:00
Kefu Chai
4d94935262
Merge pull request #35933 from tchaikov/wip-interval-set
...
include/interval_set: use template as the 2nd template parameter
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-07 10:01:53 +08:00
Patrick Donnelly
9b913a1135
Merge PR #35496 into master
...
* refs/pull/35496/head:
client: introduce timeout for client shutdown
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-06 16:50:30 -07:00
Kefu Chai
faab304e9d
Merge pull request #35942 from tchaikov/wip-build-rtd
...
admin: move python-common deps out of doc-requirements.txt
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-06 23:25:23 +08:00
Lenz Grimmer
35a68ebb33
Merge pull request #35354 from ishanrai05/rfs
...
mgr/dashboard: use relative font sizes
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2020-07-06 17:19:15 +02:00
Kefu Chai
8149c9302d
tools/ceph-dencoder: add get_struct_v,get_struct_compat commands
...
for understanding the current encoding version and the lower bound of
supported decoders.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-06 22:58:05 +08:00
Kefu Chai
a5441010ed
Merge pull request #35913 from ideepika/wip-container-tag-change
...
docker/podman: tag crimson flavor container as 'sha-1-flavor'
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-06 21:01:06 +08:00
Kefu Chai
b9e0ae1a2e
Merge pull request #35920 from uweigand/entity-addrvec-fix
...
msg/msg_types: entity_addrvec_t: fix decode on big-endian hosts
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-06 20:51:25 +08:00
Kefu Chai
1f8ec1e49c
Merge pull request #35890 from matthewoliver/cephadm_ipv6_list_networks
...
cephadm: Make list_networks ipv6 enabled
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
2020-07-06 20:50:41 +08:00
Kefu Chai
527e55d485
Merge pull request #35546 from agayev/zoned-fm
...
os/bluestore: Introduce zoned freelist manager.
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
2020-07-06 20:42:48 +08:00
Kefu Chai
b83be6f33b
admin: move python-common deps out of doc-requirements.txt
...
to address the build failure of
python -m pip install --exists-action=w --no-cache-dir -r admin/doc-requirements.txt
ERROR: ../src/python-common is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with svn+, git+, hg+, or bzr+).
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-06 19:19:22 +08:00
Deepika Upadhyay
b0a14d6e1e
docker/podman: tag crimson flavor container as 'sha-1-flavor'
...
see also: ceph/ceph-container#1704
Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
2020-07-06 16:19:28 +05:30
Kefu Chai
4425f3e678
Merge pull request #35936 from tchaikov/wip-cmake-seastar-cxxflags
...
cmake: append to Seastar_CXX_FLAGS
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-07-06 17:00:00 +08:00
Kefu Chai
b4f7cb450c
Merge pull request #35812 from tchaikov/wip-more-log-for-45717
...
mgr/dashboard: print osd log as well
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-07-06 16:52:26 +08:00
Kefu Chai
9ce7c101f2
crimson/osd: assign to bufferlist not to bufferlist*
...
this change addresses a regression introduced by a23a1929f5
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-06 10:07:17 +08:00
Kefu Chai
74fdebaa6b
cmake: append to Seastar_CXX_FLAGS
...
instead of overwriting Seastar_CXX_FLAGS, append to it. this change
allows user to set Seastar_CXX_FLAGS in the command line.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-06 10:06:15 +08:00
pcuzner
0021dd278b
Merge pull request #35610 from pcuzner/wip-grafana-container
...
monitoring: add grafana container build file
2020-07-06 13:06:55 +12:00
Kefu Chai
e9cc7d863a
Merge pull request #35935 from tchaikov/wip-crimson-no-more-claim
...
crimson/osd: use operator=(...) instead of claim()
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-07-05 23:57:05 +08:00
Kefu Chai
a23a1929f5
crimson/osd: use operator=(...) instead of claim()
...
to silence warnings like
objclass.cc:300:26: warning: 'void ceph::buffer::v15_2_0::list::claim(ceph::buffer::v15_2_0::list&)' is deprecated: in favor of operator=(list&&) [-Wdeprecated-declarations]
300 | outbl->claim(op.outdata);
| ^
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 21:48:20 +08:00
Kefu Chai
21321e9ff2
Merge pull request #35921 from uweigand/test_cdc-endianfix
...
unittest_cdc: fix test on big-endian hosts
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2020-07-05 21:31:48 +08:00
Kefu Chai
366ce93acb
test/common: link unittest_interval_set against GTest::Main
...
its main() is offered by GTet::Main library
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 21:23:01 +08:00
Kefu Chai
eef17d68ad
include/interval_set: use template as the 2nd template parameter
...
to avoid repeating the unit for the interval in the internal map's
parameter.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 21:23:01 +08:00
zdover23
664a8dab9f
Merge pull request #35932 from zdover23/wip-doc-cephadm-suites-typo
...
doc/cephadm: index.rst: s/suites/suits/ typo fixed.
2020-07-05 22:01:32 +10:00
Zac Dover
8aebd0fd57
doc/cephadm: index.rst: s/suites/suits/ typo fixed.
...
This commit changes the sentence "Choose the method that best suites
your needs." to "Choose the method that best suits your needs."
Fixes: https://tracker.ceph.com/issues/46359
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2020-07-05 19:18:31 +10:00
Kefu Chai
a67d003e93
Merge pull request #35275 from AmnonHanuhov/wip-objclass_impl
...
crimson/osd: Add support for cls_log
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-05 14:52:20 +08:00
Kefu Chai
c323c3ccc9
Merge pull request #35871 from tchaikov/wip-45717
...
mon/PGMap: do not consider changing pg stuck
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2020-07-05 14:48:09 +08:00
Kefu Chai
ba1c03d5cb
Merge pull request #35864 from tchaikov/wip-osdc-claim
...
osdc: use operator=(...) instead of claim()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-07-05 14:30:31 +08:00
Kefu Chai
db685e26e4
Merge pull request #35863 from wuxingyi/removeunused
...
osd: Remove unused function declearation
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-05 13:09:44 +08:00
Kefu Chai
7ac86d8e56
Merge pull request #35818 from majianpeng/osd-replicatedbackend-redundant-parameter
...
osd/ReplicatedBackend: remove redundant parameter.
Reviewed-by: Kefu Chai <kchai@redhat.com>
2020-07-05 13:05:06 +08:00
Kefu Chai
4a19c8f187
Merge pull request #35817 from tchaikov/wip-drop-py2
...
qa,test,pybind: drop py2 support
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
2020-07-05 12:57:36 +08:00
Kefu Chai
ecb7826422
pybind/mgr/telegraf: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
63b80c514c
pybind/mgr/status: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
83514aa8ee
pybind/mgr/selftest: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
06a551d99e
pybind/mgr/restful: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
5dea1c46e3
pybind/mgr/pg_autoscaler: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
8cdb00e413
pybind/mgr/mgr_module: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
6bdb280954
pybind/mgr/insights: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
ac8bd21e90
pybind/mgr/influx: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:29 +08:00
Kefu Chai
c85f9b015b
pybind/mgr/devicehealth: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
88ff34a9c8
pybind/mgr/cephadm: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
fa5177c403
pybind/mgr/balancer: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
9442683f61
doc: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
a045778d5b
qa/tasks/cephfs: drop six dependency
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
3ee164b92c
qa/tasks/ceph_objectstore_tool: drop six dependency
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
8f12c67ba5
qa/tasks/barbican: drop six dependency
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00