]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Samuel Just [Thu, 19 Nov 2020 21:07:59 +0000 (13:07 -0800)]
crimson/os/seastore/journal: use specified size types for header
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 19 Nov 2020 21:07:27 +0000 (13:07 -0800)]
crimson/os/seastore/journal: fix debugging lines
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 19 Nov 2020 21:06:10 +0000 (13:06 -0800)]
crimson/os/seastore/journal: add data and metadata checksums
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 6 Nov 2020 23:00:20 +0000 (15:00 -0800)]
crimson/os/seastore/.../lba_btree_node: collapse root on merge if down to one element
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 6 Nov 2020 04:17:09 +0000 (20:17 -0800)]
crimson/os/seastore/.../lba_btree_node_impl: fix merge_entry return values
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 6 Nov 2020 00:10:10 +0000 (00:10 +0000)]
crimson/os/seastore/journal: check segment nonce in scan_segment
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 6 Nov 2020 00:04:49 +0000 (16:04 -0800)]
crimson/os/seastore/journal: factor out read_segment_header
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 5 Nov 2020 23:29:15 +0000 (15:29 -0800)]
crimson/os/seastore/journal: propogate segment headers with replay segments
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 5 Nov 2020 23:11:35 +0000 (15:11 -0800)]
crimson/os/seastore/journal: record segment/record nonces based on seastore_id
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 5 Nov 2020 23:11:17 +0000 (15:11 -0800)]
include/uuid: make bytes() return const *
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 4 Nov 2020 03:37:10 +0000 (19:37 -0800)]
crimson/os/seastore/segment_manager: add seastore_meta_t with uuid
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 5 Nov 2020 22:14:04 +0000 (14:14 -0800)]
include/uuid: convert to denc
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 4 Nov 2020 21:31:59 +0000 (13:31 -0800)]
crimson/os/seastore/segment_manger/ephemeral: add final annotations
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 4 Nov 2020 03:36:57 +0000 (19:36 -0800)]
crimson/os/seastore: use unqualified en/decode for denc types
Otherwise, if definitions from encoding.h are in scope the templated
denc one won't be considered.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 31 Oct 2020 00:04:32 +0000 (17:04 -0700)]
crimson/os/seastore/journal: fix error returns in replay
SegmentManager is allowed to return an enoent if the segment isn't
readable.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 31 Oct 2020 00:03:33 +0000 (17:03 -0700)]
crimson/os/seastore/.../ephemeral: introduce pauses for testing
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 31 Oct 2020 00:03:04 +0000 (17:03 -0700)]
crimson/os/seastore/journal: send aligned buffer in initialize_segment
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 31 Oct 2020 00:00:01 +0000 (17:00 -0700)]
crimson/tools/: add really simple nbd driver for TransactionManager
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 30 Oct 2020 23:58:19 +0000 (16:58 -0700)]
crimson/os/seastore/.../lba_btree_node_impl: fix at_min_capacity()
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 30 Oct 2020 23:57:48 +0000 (16:57 -0700)]
test/crimson: factor out seastar_runner helpers
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 30 Oct 2020 23:54:46 +0000 (16:54 -0700)]
crimson/os/seastore: add block segment_manager
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Fri, 30 Oct 2020 23:53:50 +0000 (16:53 -0700)]
crimson/os/seastore/.../lba_btree_node_impl: fix mutate_mapping for missing element
Also adds assert to LBAInternalNode -- any laddr in the range of an internal
node must necessarily be in the range of a child.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Mon, 28 Sep 2020 07:08:54 +0000 (00:08 -0700)]
crimson/os/seastore/segment_manager: refactor init interface and ephemeral
Just remove init from the interface for now. Real implementations
will need some form of mkfs/mount machinery to bootstrap.
Signed-off-by: Samuel Just <sjust@redhat.com>
zdover23 [Fri, 4 Dec 2020 17:49:48 +0000 (03:49 +1000)]
Merge pull request #38403 from zdover23/wip-doc-CLT-update-02-Dec-2020-1
doc/governance.rst - updating CLT list
Reviewed-by: Neha Ojha <nojha@redhat.com>
Ernesto Puerta [Fri, 4 Dec 2020 17:40:03 +0000 (18:40 +0100)]
Merge pull request #38440 from bk201/wip-48454
mgr/dashboard: fix trusted_ip_list in iSCSI service form
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Fri, 4 Dec 2020 17:33:24 +0000 (01:33 +0800)]
Merge pull request #38398 from tchaikov/wip-48210
pybind/mgr: unpin urllib3
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Fri, 4 Dec 2020 17:24:46 +0000 (18:24 +0100)]
Merge pull request #38298 from bk201/wip-43165
mgr/dashboard: refactor /api/orchestrator/* endpoints
Reviewed-by: Courtney Caldwell <ccaldwel@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Ernesto Puerta [Fri, 4 Dec 2020 17:22:43 +0000 (18:22 +0100)]
Merge pull request #38432 from rhcs-dashboard/orch-not-available-incorrect-status
mgr/dashboard: Fix for misleading "Orchestrator is not available" error
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Mykola Golub [Fri, 4 Dec 2020 15:43:59 +0000 (17:43 +0200)]
Merge pull request #38379 from dillaman/wip-librbd-migration-5
librbd/migration: add thick-provisioned snapshot support to the raw format
Reviewed-by: Mykola Golub <mgolub@suse.com>
Sebastian Wagner [Fri, 4 Dec 2020 15:11:08 +0000 (16:11 +0100)]
Merge pull request #38285 from jmolmo/include_hw_info_in_HostCache
mgr/cephadm: Get host facts data in host cache
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Zac Dover [Wed, 2 Dec 2020 15:18:51 +0000 (01:18 +1000)]
doc/governance.rst - updating CLT list
This PR removes the following people from the
CLT. They've left the CLT:
* Lenz Grimmer
* Alfredo Deza
* Zack Cerza
This commit also adds:
* Ernesto Puerta
Fixes: https://tracker.ceph.com/issues/48436
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Juan Miguel Olmo Martínez [Wed, 25 Nov 2020 14:40:57 +0000 (15:40 +0100)]
mgr/cephadm: Get host facts data in host cache
Include cephadm gather-facts information in host cache
Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Kefu Chai [Fri, 4 Dec 2020 06:15:21 +0000 (14:15 +0800)]
Merge pull request #37631 from zjcmszh/aio_setxattr
pybind/rados: add Ioctx::aio_setxattr() and remove_omap_range2()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 4 Dec 2020 06:14:54 +0000 (14:14 +0800)]
Merge pull request #38168 from agayev/cleaner-plumbing
os/bluestore: Introduce plumbing necessary for garbage collecting zones.
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Kefu Chai [Fri, 4 Dec 2020 06:13:42 +0000 (14:13 +0800)]
Merge pull request #38323 from wjwithagen/wjw-fix-nasm-wrapper
nasm-wrapper: Make nasm-wrapper OS independent
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 4 Dec 2020 06:13:10 +0000 (14:13 +0800)]
Merge pull request #38325 from aclamk/bs-onode-put
os/bluestore: Only pass that decremented nref to 0 deletes object
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Kefu Chai [Fri, 4 Dec 2020 05:52:50 +0000 (13:52 +0800)]
Merge pull request #38387 from hualongfeng/vstart_add_path
vstart.sh: add PATH in vstart_environment
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 4 Dec 2020 05:35:07 +0000 (13:35 +0800)]
Merge pull request #38358 from batrick/i48030
librados: add RadosClient to conf observers
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kiefer Chang [Fri, 4 Dec 2020 02:51:47 +0000 (10:51 +0800)]
mgr/dashboard: fix trusted_ip_list in iSCSI service form
The value should be a comma-separated string rather than a list of strings.
Fixes: https://tracker.ceph.com/issues/48454
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
Matt Benjamin [Thu, 3 Dec 2020 17:13:43 +0000 (12:13 -0500)]
Merge pull request #37548 from ofriedma/wip-ofriedma-quota-hdrs
rgw: send headers of quota settings
Nizamudeen A [Thu, 3 Dec 2020 12:44:04 +0000 (18:14 +0530)]
mgr/dashboard: Fix for misleading "Orchestrator is not available" error
When switching between options, in the Services and Inventory page sometimes it shows "Orchestrator not available" error which appears for 2-3 second and then disappears and shows the normal page. This commit fixes that.
Fixes: https://tracker.ceph.com/issues/48448
Signed-off-by: Nizamudeen A <nia@redhat.com>
Kefu Chai [Thu, 3 Dec 2020 14:04:37 +0000 (22:04 +0800)]
Merge pull request #38433 from tchaikov/wip-rgw
rgw: pass null_yield to ctl->user->read_stats()
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Kefu Chai [Thu, 3 Dec 2020 13:32:41 +0000 (21:32 +0800)]
rgw: pass null_yield to ctl->user->read_stats()
this change fixes the FTBFS introduced by
4758e50c96afb2e14700e3b91161313ec9567692
Signed-off-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Wed, 2 Dec 2020 03:35:51 +0000 (22:35 -0500)]
qa/suites/rbd: new basic migration CLI test case
Pending a larger suite of tests for instant-restore image migration,
this test provides a basic sanity check for both the native and
raw image formats -- including basic snapshot tests.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Matt Benjamin [Thu, 3 Dec 2020 12:55:05 +0000 (07:55 -0500)]
Merge pull request #38167 from CloudFerro/wip-disable-prefetch-in-rgw-file
rgw: disable prefetch in rgw_file to fix 3x read amplification
Matt Benjamin [Thu, 3 Dec 2020 12:36:42 +0000 (07:36 -0500)]
Merge pull request #37595 from pritha-srivastava/wip-rgw-sts-old-users
rgw/sts: adding code for creating oidc users in a backward
Brad Hubbard [Thu, 3 Dec 2020 04:53:19 +0000 (14:53 +1000)]
Merge pull request #38412 from badone/wip-build-uring-alternate-git-repo
cmake: Alter GIT_REPOSITORY for liburing
Reviewed-by: Kefu Chai <kchai@redhat.com>
Brad Hubbard [Thu, 3 Dec 2020 01:56:43 +0000 (11:56 +1000)]
cmake: Alter GIT_REPOSITORY for liburing
https://git.kernel.dk/liburing appears, at least currently, to be
unavailable. This could be reverted once it comes back.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Kiefer Chang [Thu, 3 Dec 2020 01:28:22 +0000 (09:28 +0800)]
Merge pull request #38409 from rhcs-dashboard/fix-48441-master
mgr/dashboard: fix wrong import in iscsi unit test
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Josh Durgin [Thu, 3 Dec 2020 00:51:53 +0000 (16:51 -0800)]
Merge pull request #38289 from smithfarm/wip-rn-hotfix-octo
doc: add release notes for Octopus 15.2.7
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Ernesto Puerta [Wed, 2 Dec 2020 20:49:26 +0000 (21:49 +0100)]
mgr/dashboard: fix wrong import in iscsi unit test
This commit
bdf866e436b8772a4080ade7298192eee9adcc97 happened after the
last run of https://github.com/ceph/ceph/pull/37198 make check. That's
why that latter PR passed the tests then but failed when merged in
master.
Fixes: https://tracker.ceph.com/issues/48441
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Jason Dillaman [Wed, 2 Dec 2020 20:38:15 +0000 (15:38 -0500)]
Merge pull request #38385 from rzarzynski/wip-rbd-memset_s
librbd: use the ceph_memzero_s() wrapper instead of explicit_bzero()
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 2 Dec 2020 20:37:36 +0000 (15:37 -0500)]
Merge pull request #38395 from trociny/wip-rbd-test-migration-verbose
test/librbd: print difference if deep-copy or migration test fails
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 2 Dec 2020 20:37:09 +0000 (15:37 -0500)]
Merge pull request #38386 from petrutlucian94/duplicate_get_size
Revert "rbd: add missing FileStream::get_size"
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Patrick Donnelly [Wed, 2 Dec 2020 20:14:16 +0000 (12:14 -0800)]
Merge PR #38364 into master
* refs/pull/38364/head:
mds/CDir: make the data length as long as possible for each op
mds/CDir: correct the write_size
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 2 Dec 2020 20:13:39 +0000 (12:13 -0800)]
Merge PR #38326 into master
* refs/pull/38326/head:
client: cleanup the handle_mds_map() code
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 2 Dec 2020 20:09:09 +0000 (12:09 -0800)]
Merge PR #38112 into master
* refs/pull/38112/head:
Revert "client: optimize rename operation under different quota root"
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Wed, 2 Dec 2020 20:08:17 +0000 (12:08 -0800)]
Merge PR #38033 into master
* refs/pull/38033/head:
client: do not use g_conf().get_val<>() in libcephfs
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Wed, 2 Dec 2020 20:07:17 +0000 (12:07 -0800)]
Merge PR #37708 into master
* refs/pull/37708/head:
qa/suites/fs: enable thrashing in multifs environment
qa/workunits/fs/snaps: allow tests to be run
qa/tasks/{kclient,ceph_fuse}: allow mounting
qa/tasks: allow per file system config setting
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Matt Benjamin [Wed, 2 Dec 2020 14:54:02 +0000 (09:54 -0500)]
Merge pull request #38369 from linuxbox2/wip-rgwfile-cporder
rgw_file: return common_prefixes in lexical order
Jason Dillaman [Wed, 2 Dec 2020 14:34:38 +0000 (09:34 -0500)]
Merge pull request #38383 from shellwedance/doc_fix_typos
doc/rbd: fix doc typos
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Wed, 2 Dec 2020 14:03:26 +0000 (22:03 +0800)]
Merge pull request #38320 from tchaikov/wip-cmake-std-fs
cmake: do not always require extra link flags for std::filesystem
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Wed, 2 Dec 2020 13:13:51 +0000 (21:13 +0800)]
Merge pull request #38390 from xxhdx1985126/wip-obc-related-issues
crimson/osd: fix several obc related issues
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 2 Dec 2020 13:10:19 +0000 (21:10 +0800)]
Merge pull request #38397 from tchaikov/wip-crimson-tests
test/crimson: adapt to the changes of messenger
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Nathan Cutler [Wed, 25 Nov 2020 18:06:14 +0000 (19:06 +0100)]
doc/releases: add recent releases to timeline
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Matt Benjamin [Wed, 2 Dec 2020 12:43:12 +0000 (07:43 -0500)]
Merge pull request #38136 from yuvalif/wip-yuval-fix-47904
rgw/notification: trigger notifications on changes from any user
Matt Benjamin [Wed, 2 Dec 2020 12:42:03 +0000 (07:42 -0500)]
Merge pull request #38171 from yuvalif/wip-yuval-fix-46296
rgw/notification: support GetTopicAttributes API
Xuehan Xu [Wed, 2 Dec 2020 08:48:15 +0000 (16:48 +0800)]
crimson/osd: drop redundant locking operations in ObjectContext::wait_recovery_read()
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Kefu Chai [Fri, 27 Nov 2020 15:54:27 +0000 (23:54 +0800)]
cmake: pass REQUIRED to find_package(StdFilesystem)
otherwise there is chance that we could link to
StdFilesystem::filesystem which is not defined anywhere.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 27 Nov 2020 15:50:57 +0000 (23:50 +0800)]
cmake: do not always require extra link flags for std::filesystem
since GCC-9
> Using the types and functions in <filesystem> does not require linking
> with -lstdc++fs now.
see https://gcc.gnu.org/gcc-9/changes.html#libstdcxx
Signed-off-by: Kefu Chai <kchai@redhat.com>
Ernesto Puerta [Wed, 2 Dec 2020 11:26:20 +0000 (12:26 +0100)]
Merge pull request #38300 from rhcs-dashboard/fix-saml2-endpoint
mgr/dashboard: SSO not working after REST API versioning
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Ernesto Puerta [Wed, 2 Dec 2020 11:25:39 +0000 (12:25 +0100)]
Merge pull request #38154 from votdev/issue_48181_pipe_function
mgr/dashboard: Use pipe instead of calling function within template wherever possible
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Ernesto Puerta [Wed, 2 Dec 2020 11:25:03 +0000 (12:25 +0100)]
Merge pull request #38019 from bk201/wip-48176
mgr/dashboard: allow selecting all daemons for Orchestrator NFS clusters
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Ernesto Puerta [Wed, 2 Dec 2020 11:24:13 +0000 (12:24 +0100)]
Merge pull request #37198 from tspmelo/wip-iscsi-fix-frontend
mgr/dashboard: Allow managing iSCSI Initiator after removing from group
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Wed, 2 Dec 2020 11:20:17 +0000 (19:20 +0800)]
pybind/mgr: unpin urllib3
now that requests is able to support urllib v1.26, there is no need to
pin it anymore.
see also
https://github.com/psf/requests/blob/
03957eb1c2b9a1e5e6d61f5e930d7c5ed7cfe853 /HISTORY.md#2250-2020-11-11
Fixes: https://tracker.ceph.com/issues/48210
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 2 Dec 2020 10:58:03 +0000 (18:58 +0800)]
test/crimson: adapt to the changes of messenger
the crimson::net::Messenger interface was changed in
44585adc78bded751b8b50d6304068a8c5186fa1 and
ff2c3b597de4c5707e18529dfa6bed162026014c , so need to change the tests
accordingly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Mykola Golub [Wed, 2 Dec 2020 09:41:13 +0000 (09:41 +0000)]
test/librbd: print difference if deep-copy or migration test fails
It may appear to be useful to track the sporadic test failures
observed on jenkins, not reproducible locally.
Previously it was disabled because the output could be too
large. But after the hexdump was improved to skip repeating bytes
the output will hopefully be much smaller.
Signed-off-by: Mykola Golub <mgolub@suse.com>
Kefu Chai [Wed, 2 Dec 2020 09:31:08 +0000 (17:31 +0800)]
Merge pull request #38360 from cyx1231st/wip-seastar-msgr-fix-gate-exception
crimson/net: misc fixes and cleanups to messenger
Reviewed-by: Kefu Chai <kchai@redhat.com>
Xuehan Xu [Wed, 2 Dec 2020 08:47:10 +0000 (16:47 +0800)]
crimson/osd: call ObjectContext::with_promoted_lock() with the currently demanding lock type
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Kefu Chai [Wed, 2 Dec 2020 08:04:10 +0000 (16:04 +0800)]
Merge pull request #38327 from lnsyyj/wip-make-error
debian/control: add libffi-dev build dep for aarch64
Reviewed-by: Kefu Chai <kchai@redhat.com>
Hualong Feng [Wed, 2 Dec 2020 07:51:08 +0000 (15:51 +0800)]
vstart.sh: add PATH in vstart_environment
Signed-off-by: Hualong Feng <hualong.feng@intel.com>
Kefu Chai [Wed, 2 Dec 2020 07:38:31 +0000 (15:38 +0800)]
Merge pull request #38380 from lixiaoy1/pkg_fix
cmake: fix unknown pkg_search_module
Reviewed-by: Kefu Chai <kchai@redhat.com>
lixiaoy1 [Wed, 2 Dec 2020 10:56:33 +0000 (05:56 -0500)]
cmake: fix unknown pkg_search_module
Signed-off-by: Li, Xiaoyan <xiaoyan.li@intel.com>
Lucian Petrut [Wed, 2 Dec 2020 07:35:25 +0000 (07:35 +0000)]
Revert "rbd: add missing FileStream::get_size"
This function was missing initially and was added by two separate
commits [1][2]. We have to remove one of the two definitions.
This reverts commit
c17c53f460254c29e961227e19484c527fd08fc7 .
[1]
c17c53f460254c29e961227e19484c527fd08fc7
[2]
074dd33c4f0112839a7c51ab97c805ee288d84c1
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
Radoslaw Zarzynski [Wed, 2 Dec 2020 07:21:30 +0000 (08:21 +0100)]
librbd: use the ceph_memzero_s() wrapper instead of explicit_bzero().
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Taeuk Kim [Wed, 2 Dec 2020 06:07:34 +0000 (15:07 +0900)]
doc/rbd: fix doc typos
fix typos in Ceph iSCSI manual
Signed-off-by: Taeuk Kim <taeuk_kim@tmax.co.kr>
JiangYu [Mon, 30 Nov 2020 04:22:24 +0000 (04:22 +0000)]
debian/control: building wheel for cffi(no dependency)
This commit fixes Building wheel for cffi (setup.py) ... error:
c/_cffi_backend.c:15:10: fatal error: ffi.h: No such file or directory
some python packages do not offer precompiled binary packages for aarch64 on PyPI.
only happens on non-amd64 arches, so add [!amd64].
Signed-off-by: JiangYu <lnsyyj@hotmail.com>
Jason Dillaman [Wed, 2 Dec 2020 03:34:00 +0000 (22:34 -0500)]
librbd/migration: minor debug message tweaks
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 2 Dec 2020 02:25:34 +0000 (21:25 -0500)]
librbd/migration: generic method for applying source image metadata
Collect the image size and snapshot details from the constructed format
and apply it to the source image ctx.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 2 Dec 2020 02:26:54 +0000 (21:26 -0500)]
librbd/migration: avoid async callback on image ctx open request
If the ImageState::open call fails, we cannot have the callback be
asynchronously dispatched via the now deleted ImageCtx object.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Yingxin Cheng [Wed, 2 Dec 2020 03:25:10 +0000 (11:25 +0800)]
crimson/net: make ms_dispatch() return optional<future<>>
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Kefu Chai [Wed, 2 Dec 2020 03:19:25 +0000 (11:19 +0800)]
Merge pull request #38378 from xxhdx1985126/wip-obc-with-lock-issue
crimson/osd: add _with_lock method to obc
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yingxin Cheng [Wed, 2 Dec 2020 02:34:52 +0000 (10:34 +0800)]
crimson/net: use boost::container::small_vector in ChainedDispatchers
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Xuehan Xu [Wed, 2 Dec 2020 02:30:07 +0000 (10:30 +0800)]
crimson/osd: add _with_lock method to obc
this is modeling the seastar::with_lock() method with the exception
that obc is also captured in the finally block.
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
Jason Dillaman [Wed, 2 Dec 2020 01:01:23 +0000 (20:01 -0500)]
librbd/api: re-use migration open source image state machine
Let the open source image state machine parse the provided
source-spec JSON and instantiate the source image ctx for the
prepare migration step.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 2 Dec 2020 00:48:41 +0000 (19:48 -0500)]
librbd/migration: tweak open source image state machine
Remove the need for the child (destination) image to be opened
for the state machine to function.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 2 Dec 2020 00:32:46 +0000 (19:32 -0500)]
librbd/migration: simplify the native format JSON spec
Allow the pool id integer to be specified via a string, support an
optional pool name alternative, and make the pool namespace optional
as well.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 1 Dec 2020 22:47:38 +0000 (17:47 -0500)]
librbd/migration: add snapshot support to the raw format
Snapshots can be specified via a new "snapshots" array of
objects within the raw format JSON object.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
J. Eric Ivancich [Tue, 1 Dec 2020 21:55:10 +0000 (16:55 -0500)]
Merge pull request #34462 from inspur-wyq/wip-44987
rgw: belong the anonymous object to the bucket owner
Reviewed-by: Casey Bodley <cbodley@redhat.com>
J. Eric Ivancich [Tue, 1 Dec 2020 21:54:48 +0000 (16:54 -0500)]
Merge pull request #35511 from yehudasa/wip-rgw-cr-drain
rgw: refactor boilerplate coroutine drain callers
Reviewed-by: Casey Bodley <cbodley@redhat.com>