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
Kefu Chai
3573f33744
qa/tasks/workunit: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
5d56234b45
qa/tasks/s3tests: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
29ac8118a3
qa/tasks/rbd: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
4d9cca04e5
qa/tasks/radosgw_admin: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
2ade261bc6
qa/tasks/osd_failsafe_enospc: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
a7f18e46b9
qa/tasks/{ceph,ceph_manager}: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
51efa33ac8
test/pybind: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
cf7632cfd5
pybind/mgr/dashboard: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
b81778c313
pybind: drop py2 support
...
the python bindings are compiled using python3-cython, and packaged as
python3-{rados,rbd,cephfs,rgw}, so there is no need and is wrong to
claim that they are python2 compatible.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
0a8188e461
qa/workunits: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
91b76afa20
qa/tasks/vstart_runner: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
ee90f40905
qa/tasks/cephfs: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
0ac787be2a
qa/standalone: drop py2 support
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-05 10:58:28 +08:00
Kefu Chai
3bb47bc41c
crimson/os/seastore: s/assert/ceph_abort_msg/ when hitting unreachable code
...
clang++ complains with
```
crimson/os/seastore/root_block.h💯 3: warning: control reaches end of non-void function [-Wreturn-type]
}
^
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-04 00:17:38 +08:00
Kefu Chai
6b43a39518
crimson: silence -Wunused-lambda-capture warnings
...
they are pointed out by clang++.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-04 00:17:38 +08:00
Kefu Chai
7b8c3e5792
crimson/common: make FixedKVNodeLayout::set_val() public
...
otherwise clang++ fails with
```
mson/os/seastore/lba_manager/btree/lba_btree_node_impl.cc:183:10: error: 'set_val' is a private member of 'crimson::common::FixedKVNodeLayout<255, unsigned long, ceph_le<unsigned long long>,
crimson::os::seastore::paddr_t, crimson::os::seastore::paddr_le_t, true>::iter_t<false>'
i->set_val(updated);
^
/home/jenkins-build/build/workspace/ceph-perf-crimson/ceph-master/src/crimson/common/fixed_kv_node_layout.h:148:10: note: declared private here
void set_val(V val) const {
^
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
2020-07-04 00:17:38 +08:00
Mykola Golub
f202994fcf
Merge pull request #35855 from dillaman/wip-45986
...
librbd: new 'write_zeroes' API methods to suppliment the `discard` APIs
Reviewed-by: Mykola Golub <mgolub@suse.com>
2020-07-03 17:57:15 +03:00
Ulrich Weigand
e26612d32b
unittest_cdc: fix test on big-endian hosts
...
The specific_result test hardcodes a particular output. However,
the input buffer used by the test is currently initialized to a
different byte string depending host the host byte order, which
makes the expected result not match on big-endian hosts.
Fixed by always initializing the input buffer to the same string.
Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
2020-07-03 15:57:59 +02:00
Ulrich Weigand
31da17378b
msg/msg_types: entity_addrvec_t: fix decode on big-endian hosts
...
When decoding an entity_addrvec_t with marker 1, we just have
a single (non-legacy) entity_addr_t. This should be decoded
exactly the same as done by entity_addr_t::decode, but it
currently is not. Specifically, the sa_family member of
the sockaddr is not converted from the on-wire little-endian
format to host byte order (as done by entity_addr_t::decode).
Fixed by using the same code as in entity_addr_t::decode.
Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
2020-07-03 15:47:00 +02:00
Lenz Grimmer
319d123cfe
Merge pull request #35859 from tspmelo/wip-remove-ngx-bootstrap
...
mgr/dashboard: Remove ngx-bootstrap
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2020-07-03 15:40:35 +02:00
Abutalib Aghayev
da70e5e6c1
doc/dev: Update zoned-storage.rst to indicate that OSDs can now be written to after restart on zoned devices.
...
Signed-off-by: Abutalib Aghayev <agayev@cs.cmu.edu>
2020-07-03 09:34:31 -04:00
Abutalib Aghayev
e6046074bb
os/bluestore: Introduce zoned freelist manager.
...
Introduced ZonedFreelistManager, which tracks the write pointer and the number
of dead bytes per zone.
Signed-off-by: Abutalib Aghayev <agayev@cs.cmu.edu>
2020-07-03 09:34:18 -04:00
Lenz Grimmer
00251f4355
Merge pull request #35875 from Devp00l/wip-46303
...
mgr/dashboard: Fixes regression in device selection modal
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2020-07-03 13:53:46 +02:00
Kefu Chai
dda2815f46
Merge pull request #35912 from tchaikov/wip-crimson-osd-flush-pg-stats
...
crimson/osd: implement flush_pg_stats command
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2020-07-03 18:51:19 +08:00