]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
4 years agocmake: add "WITH_ZBD" option 36955/head
Kefu Chai [Sat, 5 Sep 2020 05:00:17 +0000 (13:00 +0800)]
cmake: add "WITH_ZBD" option

for enabling Zoned Block Device support using libzbd

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoos/bluestore: Switch from libzbc library to libzbd library
Abutalib Aghayev [Wed, 2 Sep 2020 20:12:50 +0000 (16:12 -0400)]
os/bluestore: Switch from libzbc library to libzbd library

Libzbc maintainers recommend switching to libzbd, which is lighter and supports
both ZNS SSDs and HM-SMR HDDs.

Signed-off-by: Abutalib Aghayev <agayev@cs.cmu.edu>
4 years agoMerge PR #36089 into master
Patrick Donnelly [Mon, 31 Aug 2020 22:18:03 +0000 (15:18 -0700)]
Merge PR #36089 into master

* refs/pull/36089/head:
mds/OpenFileTable: add option that disables dirfrags prefetch
mds: use parent/d_name in cap_reconnect_t to speedup MDCache::open_ino()
client: encode inode's parent/d_name in cap_reconnect_t
mds: explicitly track files with client writeable ranges
mds: properly set CLIENTWRITEABLE flag for imported caps
mds: in-place update projected inode's client ranges
mds: only add inodes that clients want Frw or excl caps to open file table
mds/OpenFileTable: reduce anchor map lookup during prefetch
mds/OpenFileTable: merge dirfrag set into anchor map

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36887 into master
Patrick Donnelly [Mon, 31 Aug 2020 20:23:57 +0000 (13:23 -0700)]
Merge PR #36887 into master

* refs/pull/36887/head:
qa: ignore expected mds failover message

Reviewed-by: Jeff Layton <jlayton@redhat.com>
4 years agoMerge PR #36846 into master
Patrick Donnelly [Mon, 31 Aug 2020 20:21:51 +0000 (13:21 -0700)]
Merge PR #36846 into master

* refs/pull/36846/head:
client: support getting ceph.dir.rsnaps vxattr
messages: fix decode version for snap_btime

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36777 into master
Patrick Donnelly [Mon, 31 Aug 2020 20:21:14 +0000 (13:21 -0700)]
Merge PR #36777 into master

* refs/pull/36777/head:
osdc/Journaler: do not call onsafe->complete() if onsafe is 0

Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36672 into master
Patrick Donnelly [Mon, 31 Aug 2020 20:19:22 +0000 (13:19 -0700)]
Merge PR #36672 into master

* refs/pull/36672/head:
client: handle readdir reply without Fs cap

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36631 into master
Patrick Donnelly [Mon, 31 Aug 2020 20:18:43 +0000 (13:18 -0700)]
Merge PR #36631 into master

* refs/pull/36631/head:
client: dump frag's repmap if dir_replicated is true

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36885 into master
Patrick Donnelly [Mon, 31 Aug 2020 20:05:41 +0000 (13:05 -0700)]
Merge PR #36885 into master

* refs/pull/36885/head:
mon: ignore statfs requests on invalid poolid
qa: test for statfs on deleted file system
qa: move run_shell args to kwargs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36881 from mhackett/wip-mhackett-47189
Vikhyat Umrao [Mon, 31 Aug 2020 19:06:21 +0000 (12:06 -0700)]
Merge pull request #36881 from mhackett/wip-mhackett-47189

doc: document tuning of object gateway garbage collection

4 years agoMerge pull request #36826 from agayev/fix-hmsmr-compilation
Kefu Chai [Mon, 31 Aug 2020 14:14:29 +0000 (22:14 +0800)]
Merge pull request #36826 from agayev/fix-hmsmr-compilation

os/bluestore: Restore HM-SMR functionality on BlueStore

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #34653 from clwluvw/bucket-stats
Daniel Gryniewicz [Mon, 31 Aug 2020 14:02:20 +0000 (10:02 -0400)]
Merge pull request #34653 from clwluvw/bucket-stats

rgw: Add bucket name to bucket stats error logging

4 years agoMerge pull request #36857 from tchaikov/wip-crimson-conf
Kefu Chai [Mon, 31 Aug 2020 14:01:39 +0000 (22:01 +0800)]
Merge pull request #36857 from tchaikov/wip-crimson-conf

crimson/osd: support "dump_pgstate_history" command and update legacy conf vars

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agocrimson/osd: improve the const correctness 36857/head
Kefu Chai [Thu, 27 Aug 2020 14:22:04 +0000 (22:22 +0800)]
crimson/osd: improve the const correctness

it should suffice to pass a `const OSD&` to the ctor of `OsdStatusHook`

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: support "dump_pgstate_history" command
Kefu Chai [Thu, 27 Aug 2020 14:16:25 +0000 (22:16 +0800)]
crimson/osd: support "dump_pgstate_history" command

it is required by the "ceph_test_admin_socket_output" test.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/admin: make injected_args optional
Kefu Chai [Thu, 27 Aug 2020 13:15:42 +0000 (21:15 +0800)]
crimson/admin: make injected_args optional

this option for `injectargs` command is optional, so we should not
crash if it does not exist.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/common: do not check for experimental/filesystem anymore
Kefu Chai [Thu, 27 Aug 2020 13:01:37 +0000 (21:01 +0800)]
crimson/common: do not check for experimental/filesystem anymore

seastar is only compatible with C++17 and C++20, so no need to check for
<experimental/filesystem> anymore. the C++ standard library should be
C++17 compatible.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/common: call config::update_legacy_vals()
Kefu Chai [Thu, 27 Aug 2020 13:00:14 +0000 (21:00 +0800)]
crimson/common: call config::update_legacy_vals()

so the legacy vals are populated with the changes received from conffile.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocommon/config: make update_legacy_vals() public
Kefu Chai [Thu, 27 Aug 2020 12:58:11 +0000 (20:58 +0800)]
common/config: make update_legacy_vals() public

so crimson can call it in `ConfigProxy::parse_config_files()` after calling
`get_config().parse_buffer()`. so the legacy vals are populated with the
changes received from conffile.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36891 from tchaikov/wip-less-warnings
Kefu Chai [Mon, 31 Aug 2020 13:00:43 +0000 (21:00 +0800)]
Merge pull request #36891 from tchaikov/wip-less-warnings

crimson/mon,common: replace #warning with // TODO

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #36892 from tchaikov/wip-crimson-cleanups
Kefu Chai [Mon, 31 Aug 2020 12:55:18 +0000 (20:55 +0800)]
Merge pull request #36892 from tchaikov/wip-crimson-cleanups

crimson/osd: return EAGAIN if !can_serve_replica_read() and cleanups

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
4 years agoMerge pull request #36905 from sebastian-philipp/cephadm-pep8-test-migration
Sebastian Wagner [Mon, 31 Aug 2020 12:12:30 +0000 (14:12 +0200)]
Merge pull request #36905 from sebastian-philipp/cephadm-pep8-test-migration

mgr/cephadm: PEP8tify test_migration.py

Reviewed-by: Adam King <adking@redhat.com>
4 years agoMerge pull request #36676 from matthewoliver/cephadm_orch_ipv6
Sebastian Wagner [Mon, 31 Aug 2020 11:34:02 +0000 (13:34 +0200)]
Merge pull request #36676 from matthewoliver/cephadm_orch_ipv6

cephadm: auto wrap and unwrap ipv6 addresses

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #36896 from xxhdx1985126/wip-47133
Kefu Chai [Mon, 31 Aug 2020 11:12:07 +0000 (19:12 +0800)]
Merge pull request #36896 from xxhdx1985126/wip-47133

crimson/pg: check acting set change before appending pglog

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agomgr/cephadm: PEP8tify test_migration.py 36905/head
Sebastian Wagner [Mon, 31 Aug 2020 09:48:14 +0000 (11:48 +0200)]
mgr/cephadm: PEP8tify test_migration.py

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #36877 from sebastian-philipp/mgr-module-fix-kwargs-cli-command
Sebastian Wagner [Mon, 31 Aug 2020 09:14:59 +0000 (11:14 +0200)]
Merge pull request #36877 from sebastian-philipp/mgr-module-fix-kwargs-cli-command

mgr/mgr_module.py: CLICommand: Fix parsing of kwargs arguments

Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36859 from tspmelo/wip-fix-onselect
Laura Paduano [Mon, 31 Aug 2020 08:46:59 +0000 (10:46 +0200)]
Merge pull request #36859 from tspmelo/wip-fix-onselect

mgr/dashboard: Fix stale table actions

Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
4 years agoMerge pull request #36839 from dillaman/wip-46875
Mykola Golub [Mon, 31 Aug 2020 05:59:06 +0000 (08:59 +0300)]
Merge pull request #36839 from dillaman/wip-46875

librbd: flush all incomplete in-flight IOs upon image close

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agoMerge pull request #36819 from vumrao/wip-vumrao-46663
Kefu Chai [Mon, 31 Aug 2020 05:31:34 +0000 (13:31 +0800)]
Merge pull request #36819 from vumrao/wip-vumrao-46663

mon/PGMap: add pg count for pools in the ceph df command

Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/pg: check acting set change before appending pglog 36896/head
Xuehan Xu [Mon, 31 Aug 2020 05:17:48 +0000 (13:17 +0800)]
crimson/pg: check acting set change before appending pglog

Fixes: https://tracker.ceph.com/issues/47133
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
4 years agoMerge pull request #33852 from rosinL/wip-fix-enqueue-dead-qp-deadlock
Kefu Chai [Mon, 31 Aug 2020 02:39:02 +0000 (10:39 +0800)]
Merge pull request #33852 from rosinL/wip-fix-enqueue-dead-qp-deadlock

msg/async/rdma: avoid enqueue_dead_qp deadlock

Reviewed-by: Peng Liu <liupeng37@baidu.com>
4 years agoMerge pull request #36767 from tchaikov/wip-47061
Kefu Chai [Sun, 30 Aug 2020 15:21:32 +0000 (23:21 +0800)]
Merge pull request #36767 from tchaikov/wip-47061

test/osd/RadosModel: check retval of read op

Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agocrimson/osd: return EAGAIN if !can_serve_replica_read() 36892/head
Kefu Chai [Sun, 30 Aug 2020 15:11:40 +0000 (23:11 +0800)]
crimson/osd: return EAGAIN if !can_serve_replica_read()

it's necessary for serving balanced read.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: check for primary out side of is_misdirected()
Kefu Chai [Sun, 30 Aug 2020 15:09:14 +0000 (23:09 +0800)]
crimson/osd: check for primary out side of is_misdirected()

so we can check can_serve_replica_read() without checking primary again.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: encode OI with CEPH_FEATURES_ALL
Kefu Chai [Sun, 30 Aug 2020 12:59:35 +0000 (20:59 +0800)]
crimson/osd: encode OI with CEPH_FEATURES_ALL

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: use logger() instead of crimson::get_logger(...)
Kefu Chai [Sun, 30 Aug 2020 08:47:10 +0000 (16:47 +0800)]
crimson/osd: use logger() instead of crimson::get_logger(...)

for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: call PeeringState::get_peer_missing(peer)
Kefu Chai [Sun, 30 Aug 2020 08:24:41 +0000 (16:24 +0800)]
crimson/osd: call PeeringState::get_peer_missing(peer)

as PeeringState::get_peer_missing(const pg_shard_t &peer) already checks
for the non-existent shard, and because `get_replica_recovery_order()`
never returns primary osd, it's safe to use
`PeeringState::get_peer_missing(peer)` instead of
`pg->get_peering_state().get_peer_missing().find(peer)`.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/osd: eliminate a local variable
Kefu Chai [Sun, 30 Aug 2020 08:11:46 +0000 (16:11 +0800)]
crimson/osd: eliminate a local variable

for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agotest/osd/RadosModel: assure that tid seq is contiguous 36767/head
Kefu Chai [Mon, 24 Aug 2020 13:49:28 +0000 (21:49 +0800)]
test/osd/RadosModel: assure that tid seq is contiguous

before this change:

4:  finishing write tid 1 to gen81094472-1
4:  finishing write tid 2 to gen81094472-1
4:  finishing write tid 3 to gen81094472-1
4:  finishing write tid 5 to gen81094472-1
4:  finishing write tid 6 to gen81094472-1

after this change:

1:  finishing write tid 1 to gen81117124-1
1:  finishing write tid 2 to gen81117124-1
1:  finishing write tid 3 to gen81117124-1
1:  finishing write tid 4 to gen81117124-1
1:  finishing write tid 5 to gen81117124-1

more pleasant when reading the logging messages.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agotest/osd/RadosModel: check retval of read op
Kefu Chai [Mon, 24 Aug 2020 11:06:11 +0000 (19:06 +0800)]
test/osd/RadosModel: check retval of read op

* check racing read's return value
* check if racing read completes

Fixes: https://tracker.ceph.com/issues/47061
Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agotest/osd/RadosModel: do not set done
Kefu Chai [Mon, 24 Aug 2020 10:35:22 +0000 (18:35 +0800)]
test/osd/RadosModel: do not set done

we don't reuse TestOp, and `done` should have been reset in the
constructor.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agotest/osd/RadosModel: use range-based for loop
Kefu Chai [Mon, 24 Aug 2020 10:34:42 +0000 (18:34 +0800)]
test/osd/RadosModel: use range-based for loop

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agotest/osd/RadosModel: use in-class initiailization
Kefu Chai [Mon, 24 Aug 2020 10:34:06 +0000 (18:34 +0800)]
test/osd/RadosModel: use in-class initiailization

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agotest/osd: use stack for ObjectDesc::iterator::stack
Kefu Chai [Mon, 24 Aug 2020 09:11:40 +0000 (17:11 +0800)]
test/osd: use stack for ObjectDesc::iterator::stack

better readability this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocrimson/mon: replace #warning with TODO 36891/head
Kefu Chai [Sun, 30 Aug 2020 09:57:38 +0000 (17:57 +0800)]
crimson/mon: replace #warning with TODO

less distracting when fixing compiling error / warnings this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agocommon/admin_socket: replace #warning with TODO
Kefu Chai [Sun, 30 Aug 2020 09:56:48 +0000 (17:56 +0800)]
common/admin_socket: replace #warning with TODO

less distracting when fixing compiling error / warnings this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36815 from sebastian-philipp/cephadm-pep8-module
Sebastian Wagner [Sat, 29 Aug 2020 21:49:13 +0000 (23:49 +0200)]
Merge pull request #36815 from sebastian-philipp/cephadm-pep8-module

mgr/cephadm: PEP8tify module.py

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
4 years agomgr/cephadm: PEP8tify module.py 36815/head
Sebastian Wagner [Sat, 29 Aug 2020 18:41:20 +0000 (20:41 +0200)]
mgr/cephadm: PEP8tify module.py

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #36858 from adk3798/cephadm-47171
Sebastian Wagner [Sat, 29 Aug 2020 18:25:11 +0000 (20:25 +0200)]
Merge pull request #36858 from adk3798/cephadm-47171

mgr/cephadm: Verify non-empty list in get_active_daemon functions

Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #36849 from sebastian-philipp/cephadm-kick-when-monmap
Sebastian Wagner [Sat, 29 Aug 2020 18:24:42 +0000 (20:24 +0200)]
Merge pull request #36849 from sebastian-philipp/cephadm-kick-when-monmap

mgr/cephadm: kick serve loop to trigger ceph.conf deployment

Reviewed-by: Michael Fritch <mfritch@suse.com>
4 years agoMerge pull request #36753 from sebastian-philipp/mgr-cephadm-schedule-redeploy
Sebastian Wagner [Sat, 29 Aug 2020 18:24:11 +0000 (20:24 +0200)]
Merge pull request #36753 from sebastian-philipp/mgr-cephadm-schedule-redeploy

mgr/cephadm: Make daemon actions asynchronous

Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
4 years agomon: ignore statfs requests on invalid poolid 36885/head
Patrick Donnelly [Fri, 28 Aug 2020 17:02:47 +0000 (10:02 -0700)]
mon: ignore statfs requests on invalid poolid

Otherwise, we'll see a SIGSEGV when trying to get the size in
get_pool_free_space.

Fixes: https://tracker.ceph.com/issues/47182
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoqa: test for statfs on deleted file system
Patrick Donnelly [Fri, 28 Aug 2020 17:37:25 +0000 (10:37 -0700)]
qa: test for statfs on deleted file system

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoqa: move run_shell args to kwargs
Patrick Donnelly [Fri, 28 Aug 2020 20:13:54 +0000 (13:13 -0700)]
qa: move run_shell args to kwargs

To avoid listing all run args.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #35891 from changchengx/multi_stress_watch
Kefu Chai [Sat, 29 Aug 2020 15:50:59 +0000 (23:50 +0800)]
Merge pull request #35891 from changchengx/multi_stress_watch

test/multi_stress_watch: use internel API to connect cluster

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36868 from zhoufeng2021/removeunsed
Kefu Chai [Sat, 29 Aug 2020 15:49:52 +0000 (23:49 +0800)]
Merge pull request #36868 from zhoufeng2021/removeunsed

msg/async: cleanup unused function local_deliver()

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agotest/osd/RadosModel: use insert_or_assign()
Kefu Chai [Mon, 24 Aug 2020 08:21:50 +0000 (16:21 +0800)]
test/osd/RadosModel: use insert_or_assign()

for better performance, and less repeatings.

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agotest/osd/RadosModel: add more comments
Kefu Chai [Mon, 24 Aug 2020 08:21:29 +0000 (16:21 +0800)]
test/osd/RadosModel: add more comments

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agotest/osd/RadosModel: rename local variable
Kefu Chai [Mon, 24 Aug 2020 05:21:26 +0000 (13:21 +0800)]
test/osd/RadosModel: rename local variable

for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36888 from batrick/release-notes-union
Kefu Chai [Sat, 29 Aug 2020 14:13:04 +0000 (22:13 +0800)]
Merge pull request #36888 from batrick/release-notes-union

doc: use union merge strategy for resolving conflicts in PendingRelea…

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36886 from batrick/librados-statfs-header
Kefu Chai [Sat, 29 Aug 2020 06:56:01 +0000 (14:56 +0800)]
Merge pull request #36886 from batrick/librados-statfs-header

librados: remove unused header

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agomsg/async/rdma: avoid enqueue_dead_qp deadlock 33852/head
Chunsong Feng [Mon, 17 Aug 2020 11:59:34 +0000 (19:59 +0800)]
msg/async/rdma: avoid enqueue_dead_qp deadlock

In RDMADispatcher::handle_async_event, when case
IBV_EVENT_QP_LAST_WQE_REACHED matched, enqueue_dead_qp wants the lock,
result in deadlock here. Change enqueue_dead_qp to lockless.

Fixes: https://tracker.ceph.com/issues/44298
Signed-off-by: Chunsong Feng <fengchunsong@huawei.com>
Signed-off-by: luorixin <luorixin@huawei.com>
4 years agolibrados: remove unused headers 36886/head
Patrick Donnelly [Fri, 28 Aug 2020 17:14:49 +0000 (10:14 -0700)]
librados: remove unused headers

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agodoc: use union merge strategy for resolving conflicts in PendingReleaseNotes 36888/head
Patrick Donnelly [Sat, 29 Aug 2020 01:02:59 +0000 (18:02 -0700)]
doc: use union merge strategy for resolving conflicts in PendingReleaseNotes

Generally, the conflict resolution performed manually is always to do a
union: automate this. This avoids pointless rebases of PRs.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36701 into master
Patrick Donnelly [Sat, 29 Aug 2020 00:48:44 +0000 (17:48 -0700)]
Merge PR #36701 into master

* refs/pull/36701/head:
client: make Client::open() pass proper cap mask to path_walk

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36641 into master
Patrick Donnelly [Sat, 29 Aug 2020 00:48:15 +0000 (17:48 -0700)]
Merge PR #36641 into master

* refs/pull/36641/head:
mds : skip show_cache if level of log is lower than 7

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
4 years agoqa: ignore expected mds failover message 36887/head
Patrick Donnelly [Sat, 29 Aug 2020 00:44:16 +0000 (17:44 -0700)]
qa: ignore expected mds failover message

Fixes: https://tracker.ceph.com/issues/47202
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge PR #36882 into master
Patrick Donnelly [Fri, 28 Aug 2020 20:31:07 +0000 (13:31 -0700)]
Merge PR #36882 into master

* refs/pull/36882/head:
qa/tests: Added "--force-priority"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
4 years agoMerge pull request #36729 from changchengx/zero_malloc
Kefu Chai [Fri, 28 Aug 2020 15:21:27 +0000 (23:21 +0800)]
Merge pull request #36729 from changchengx/zero_malloc

crush: do not malloc for empty bucket and avoid member variables after memset() with 0

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36820 from tchaikov/wip-test-multi_stress_watch
Kefu Chai [Fri, 28 Aug 2020 15:17:05 +0000 (23:17 +0800)]
Merge pull request #36820 from tchaikov/wip-test-multi_stress_watch

test/multi_stress_watch: use condition_variable for level triggering

Reviewed-By: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
4 years agoMerge pull request #36832 from neha-ojha/wip-clean-temps
Kefu Chai [Fri, 28 Aug 2020 15:14:26 +0000 (23:14 +0800)]
Merge pull request #36832 from neha-ojha/wip-clean-temps

tools/osdmaptool.cc: add ability to clean_temps

Reviewed-By: Josh Durgin <jdurgin@redhat.com>
4 years agoqa/tests: Added "--force-priority" 36882/head
Yuri Weinstein [Fri, 28 Aug 2020 14:35:25 +0000 (07:35 -0700)]
qa/tests: Added "--force-priority"

Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
4 years agodoc: document tuning of object gateway garbage collection 36881/head
mhackett [Fri, 28 Aug 2020 14:29:10 +0000 (10:29 -0400)]
doc: document tuning of object gateway garbage collection
Fixes: https://tracker.ceph.com/issues/47189
Signed-off-by: mhackett <mhackett@redhat.com>
4 years agoMerge pull request #36854 from idryomov/wip-krbd-default-pool-fix
Ilya Dryomov [Fri, 28 Aug 2020 11:04:52 +0000 (13:04 +0200)]
Merge pull request #36854 from idryomov/wip-krbd-default-pool-fix

rbd: fix default pool handling for krbd map/unmap

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
4 years agomgr/mgr_module.py: CLICommand: Fix parsing of kwargs arguments 36877/head
Sebastian Wagner [Fri, 28 Aug 2020 10:56:49 +0000 (12:56 +0200)]
mgr/mgr_module.py: CLICommand: Fix parsing of kwargs arguments

Make parsing of keyword arguments a bit safer by
makeing sure the key is actually a valid parameter name

Fixes: https://tracker.ceph.com/issues/47185
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomon/PGMap: add pg count for pools in the ceph df command 36819/head
Vikhyat Umrao [Wed, 26 Aug 2020 10:17:05 +0000 (03:17 -0700)]
mon/PGMap: add pg count for pools in the ceph df command
Fixes: https://tracker.ceph.com/issues/46663
Signed-off-by: Vikhyat Umrao <vikhyat@redhat.com>
4 years agoMerge pull request #36866 from yison/fix-core-dump-issue-of-sync-read
Kefu Chai [Fri, 28 Aug 2020 08:47:51 +0000 (16:47 +0800)]
Merge pull request #36866 from yison/fix-core-dump-issue-of-sync-read

blk/spdk/NVMEDevice.cc: fix a core dump issue of sync read

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoblk/spdk/NVMEDevice.cc: fix a core dump issue of sync read 36866/head
Yuan Lu [Fri, 28 Aug 2020 18:27:50 +0000 (18:27 +0000)]
blk/spdk/NVMEDevice.cc: fix a core dump issue of sync read

Signed-off-by: Yuan Lu <yuan.y.lu@intel.com>
4 years agomsg/async: cleanup unused function local_deliver() 36868/head
zhoufeng [Fri, 28 Aug 2020 08:20:19 +0000 (16:20 +0800)]
msg/async: cleanup unused function local_deliver()

Signed-off-by: zhoufeng <zhoufeng2021@outlook.com>
4 years agoMerge pull request #36802 from dillaman/wip-46916
Mykola Golub [Fri, 28 Aug 2020 08:17:08 +0000 (11:17 +0300)]
Merge pull request #36802 from dillaman/wip-46916

librbd: expose internal plugin API to plugin libraries

Reviewed-by: Mykola Golub <mgolub@suse.com>
4 years agomgr/cephadm: add test_daemon_check 36753/head
Sebastian Wagner [Fri, 21 Aug 2020 15:38:33 +0000 (17:38 +0200)]
mgr/cephadm: add test_daemon_check

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomgr/cephadm: Make daemon actions asynchronous
Sebastian Wagner [Fri, 21 Aug 2020 14:25:31 +0000 (16:25 +0200)]
mgr/cephadm: Make daemon actions asynchronous

Fixes broken `ceph orch redeploy <current active mgr>`

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomgr/cephadm: add scheduled_daemon_actions to HostCache
Sebastian Wagner [Fri, 21 Aug 2020 09:44:15 +0000 (11:44 +0200)]
mgr/cephadm: add scheduled_daemon_actions to HostCache

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomgr/cephadm: move fail_over from upgrade.py to MgrService
Sebastian Wagner [Wed, 19 Aug 2020 10:39:39 +0000 (12:39 +0200)]
mgr/cephadm: move fail_over from upgrade.py to MgrService

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomgr/cephadm: _wait_for_ok_to_stop: add missing f-prefix
Sebastian Wagner [Wed, 19 Aug 2020 10:25:18 +0000 (12:25 +0200)]
mgr/cephadm: _wait_for_ok_to_stop: add missing f-prefix

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomgr/cephadm: _create_daemon: remove usused parameter
Sebastian Wagner [Wed, 19 Aug 2020 10:12:00 +0000 (12:12 +0200)]
mgr/cephadm: _create_daemon: remove usused parameter

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agomgr/orch: daemon redeploy: Fix missing default value
Sebastian Wagner [Wed, 19 Aug 2020 10:10:04 +0000 (12:10 +0200)]
mgr/orch: daemon redeploy: Fix missing default value

Fixes: https://tracker.ceph.com/issues/47035
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
4 years agoMerge pull request #36792 from sebastian-philipp/cephadm-pep8-inventory
Sebastian Wagner [Fri, 28 Aug 2020 07:24:36 +0000 (09:24 +0200)]
Merge pull request #36792 from sebastian-philipp/cephadm-pep8-inventory

mgr/cephadm: PEP8tify inventory.py

Reviewed-by: Michael Fritch <mfritch@suse.com>
4 years agoMerge pull request #36848 from sebastian-philipp/cephadm-no-pep8-test_scheduling
Sebastian Wagner [Fri, 28 Aug 2020 07:20:54 +0000 (09:20 +0200)]
Merge pull request #36848 from sebastian-philipp/cephadm-no-pep8-test_scheduling

mgr/cephadm: disable autopep8 for test_{spec,scheduling}.py

Reviewed-by: Michael Fritch <mfritch@suse.com>
4 years agoMerge pull request #29489 from jan--f/cephfs-snap-schedule
Venky Shankar [Fri, 28 Aug 2020 04:21:53 +0000 (09:51 +0530)]
Merge pull request #29489 from jan--f/cephfs-snap-schedule

pybind/snap_schedule: add initial interface

4 years agoMerge pull request #34566 from X0Ken/master
Kefu Chai [Fri, 28 Aug 2020 03:01:41 +0000 (11:01 +0800)]
Merge pull request #34566 from X0Ken/master

os/bluestore: Support flock retry

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
4 years agoMerge pull request #36507 from matthewoliver/msgr_intercepter_step_enum
Kefu Chai [Fri, 28 Aug 2020 02:51:16 +0000 (10:51 +0800)]
Merge pull request #36507 from matthewoliver/msgr_intercepter_step_enum

msgr: interceptor test step enum to ease readability

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge pull request #36762 from qwren/qat-doc-update
Kefu Chai [Fri, 28 Aug 2020 02:48:52 +0000 (10:48 +0800)]
Merge pull request #36762 from qwren/qat-doc-update

doc: the update for QAT Acceleration

Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoMerge PR #35941 into master
Patrick Donnelly [Fri, 28 Aug 2020 02:11:30 +0000 (19:11 -0700)]
Merge PR #35941 into master

* refs/pull/35941/head:
doc/mgr: Supplement missing keywords 'crash'

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
4 years agoclient: support getting ceph.dir.rsnaps vxattr 36846/head
Yanhu Cao [Fri, 28 Aug 2020 01:49:20 +0000 (09:49 +0800)]
client: support getting ceph.dir.rsnaps vxattr

Fixes: https://tracker.ceph.com/issues/47168
Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
4 years agomessages: fix decode version for snap_btime
Yanhu Cao [Fri, 28 Aug 2020 01:47:11 +0000 (09:47 +0800)]
messages: fix decode version for snap_btime

Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
4 years agomgr/cephadm: Verify non-empty list in get_active_daemon functions 36858/head
Adam King [Thu, 27 Aug 2020 16:22:49 +0000 (12:22 -0400)]
mgr/cephadm: Verify non-empty list in get_active_daemon functions

The get_active_daemon functions for monitoring stack daemons
were just returning the first or last daemon in the given list
without checking the list actually contained any daemons

Fixes: https://tracker.ceph.com/issues/47171
Signed-off-by: Adam King <adking@redhat.com>
4 years agomgr/dashboard: Fix stale table actions 36859/head
Tiago Melo [Thu, 27 Aug 2020 17:31:48 +0000 (17:31 +0000)]
mgr/dashboard: Fix stale table actions

If we don't emit the select event, the action button can become stale and not
update when the data changes.

This fixes a regression introduced in 31e9bbb9b308277d2f89390d5ff62f13457d69cb

Fixes: https://tracker.ceph.com/issues/47175
Signed-off-by: Tiago Melo <tmelo@suse.com>
4 years agotest/cli/osdmaptool/help.t: add clean-temps 36832/head
Neha Ojha [Wed, 26 Aug 2020 18:40:01 +0000 (18:40 +0000)]
test/cli/osdmaptool/help.t: add clean-temps

Signed-off-by: Neha Ojha <nojha@redhat.com>
4 years agodoc: add clean-temps to osdmaptool.rst
Neha Ojha [Wed, 26 Aug 2020 18:37:58 +0000 (18:37 +0000)]
doc: add clean-temps to osdmaptool.rst

Signed-off-by: Neha Ojha <nojha@redhat.com>