]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
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>
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>
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
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>
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 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>
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>
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>
J. Eric Ivancich [Tue, 1 Dec 2020 21:54:27 +0000 (16:54 -0500)]
Merge pull request #37733 from orztt/master
cls/rgw/cls_rgw.cc: fix multiple lastest version problem
Reviewed-by: Casey Bodley <cbodley@redhat.com>
J. Eric Ivancich [Tue, 1 Dec 2020 21:53:49 +0000 (16:53 -0500)]
Merge pull request #31393 from jiahuizeng/int-range
rgw: avoid expiration early triggering caused by overflow
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
J. Eric Ivancich [Tue, 1 Dec 2020 21:52:49 +0000 (16:52 -0500)]
Merge pull request #35059 from matthewoliver/s3_put_bucket_policy_204
rgw: S3 Put Bucket Policy should return 204 on success
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
J. Eric Ivancich [Tue, 1 Dec 2020 21:52:02 +0000 (16:52 -0500)]
Merge pull request #37933 from markhoughton-microfocus/issue_47586_fix
rgw: check object locks in multi-object delete
Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Yuval Lifshitz [Tue, 17 Nov 2020 11:31:59 +0000 (13:31 +0200)]
rgw/notification: trigger notifications on changes from any user
any user authorized to make changes to a bucket may trigger
notifications defined on that bucket.
manual test procedure of the fix is described here:
https://gist.github.com/yuvalif/
39c183aa0f74d286ecef7844268817df
fixes: https://tracker.ceph.com/issues/47904
Signed-off-by: Yuval Lifshitz <ylifshit@redhat.com>
zdover23 [Tue, 1 Dec 2020 18:03:26 +0000 (04:03 +1000)]
Merge pull request #38311 from anthonyeleven/anthonyeleven/fix-typo
doc/rados/operations: typo in stretch-mode.rst
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Kefu Chai [Tue, 1 Dec 2020 16:57:26 +0000 (00:57 +0800)]
Merge pull request #38366 from tchaikov/wip-templated-doc
doc: drop edit-on-github extension and templatize page.html further
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jan Fajerski [Tue, 1 Dec 2020 16:38:25 +0000 (17:38 +0100)]
Merge PR #38034 into master
* refs/pull/38034/head:
lvm/create.py: fix a typo in the help message
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Kefu Chai [Tue, 1 Dec 2020 07:16:15 +0000 (15:16 +0800)]
doc: check "release" context variable for #dev-warning
if $release is "dev", then the release being built is not a stable
version.
drop ceph.js, as the web page is generated at build time.
since the last user of "releases.json" is gone, now we can
drop the hooks preparing "releases.json" in conf.py as well.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 1 Dec 2020 07:00:54 +0000 (15:00 +0800)]
doc: disable eol-warning based on "is_release_eol"
enable/disable #eol-warning based on "is_release_eol" context variable.
this allows us to generate a more static web page. and pave the road to
a releases.json-free doc build process.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 1 Dec 2020 06:56:23 +0000 (14:56 +0800)]
doc: add docubetter link back
check if the release being built is EOL when building the document, so
no need to use javascript to read releases.json anymore.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 1 Dec 2020 15:58:45 +0000 (23:58 +0800)]
Merge pull request #38219 from rzarzynski/wip-crimson-restore-obs
crimson: conditionally reload ObjectState if execution fails
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 1 Dec 2020 15:34:31 +0000 (23:34 +0800)]
Merge pull request #38370 from rzarzynski/wip-kv-memdb-uninitialized_in_init
kv/memdb: fix uninitialized return of MemDB::_init().
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 1 Dec 2020 15:00:06 +0000 (23:00 +0800)]
Merge pull request #36118 from rzarzynski/wip-crimson-backfill-part1
crimson: add support for backfill, part 1 -- unit testing
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Tue, 1 Dec 2020 14:56:38 +0000 (06:56 -0800)]
Merge PR #38365 into master
* refs/pull/38365/head:
doc/mds: fix the default value for mds_dir_max_commit_size
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Kefu Chai [Tue, 1 Dec 2020 14:38:43 +0000 (22:38 +0800)]
Merge pull request #38218 from aaugustinas/patch-1
doc: Remove duplicate sentence in sync module documentation
Reviewed-by: Zac Dover <zac.dover@gmail.com>
Radoslaw Zarzynski [Tue, 1 Dec 2020 14:19:34 +0000 (15:19 +0100)]
kv/memdb: fix uninitialized return of MemDB::_init().
Without this fix GCC complains:
```
src/kv/MemDB.cc:179:10: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized]
179 | return r;
```
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Fri, 20 Nov 2020 15:42:36 +0000 (16:42 +0100)]
crimson: conditionally reload ObjectState if execution fails.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Fri, 20 Nov 2020 14:20:42 +0000 (15:20 +0100)]
crimson: unify error handling paths in PG::do_osd_ops().
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Matt Benjamin [Tue, 1 Dec 2020 12:53:56 +0000 (07:53 -0500)]
rgw_file: return common_prefixes in lexical order
Since inception RGWReaddirRequest has sent all leaf objects first
(in lexical order), then common_prefixes (in lexical order). In
hindsight, an overall listing could trivially be returned out of
lexical order, which can cause continued listing of large, mixed
directories to fail.
RCA by Dan Gryniewicz.
Fixes: https://tracker.ceph.com/issues/48410
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Jason Dillaman [Tue, 1 Dec 2020 13:24:45 +0000 (08:24 -0500)]
Merge pull request #38008 from trociny/wip-47388
librbd: serialize maintenance operations by type
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Radoslaw Zarzynski [Thu, 19 Nov 2020 16:46:51 +0000 (17:46 +0100)]
crimson: fix the condition in the loop of BackfillState::Enqueuing.
The bug here was that if a backfill target has an object-to-delete
placed after the very last object of primary, it will be missed.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Thu, 19 Nov 2020 16:39:37 +0000 (17:39 +0100)]
crimson/tests: bring two_pseudorandomized_replicas.
It discovered an issue with occasional missing deletion
of the very last object on replica if it doesn't exist
on primary.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Thu, 19 Nov 2020 16:12:38 +0000 (17:12 +0100)]
crimson: fix mismatch between backfill's enqueue_push() and recovery.
The unittesting discovered an issue between `BackfillState` and
the low-layer recovery code: `RecoveryBackend::recover_object()`.
`BackfillState::enqueue_push()` was assuming it controlls also
to which backfill target the push is sent while `recover_object()`
calculated the set on its own.
Fixing this is the reason why `enqueue_push()` loses the `const
pg_shard_t& target` parameter.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Thu, 19 Nov 2020 16:01:45 +0000 (17:01 +0100)]
crimson/tests: add simple multi-replica test for backfill.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Thu, 19 Nov 2020 15:53:42 +0000 (16:53 +0100)]
crimson: adhere to aliasing of a variable in BackfillState::Enqueuing.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Thu, 30 Jul 2020 14:46:17 +0000 (16:46 +0200)]
crimson/tests: implement randomized testing for backfill.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Thu, 30 Jul 2020 14:41:48 +0000 (16:41 +0200)]
tests: modernize all occurrences of rand_choose().
We should consider deduplication as well.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 9 Jun 2020 16:03:49 +0000 (18:03 +0200)]
crimson/tests: add unittesting for backfill.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Tue, 14 Jul 2020 13:03:00 +0000 (15:03 +0200)]
crimson/osd: drop unnecessary includes from backfill_state.{cc,h}.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Mon, 13 Jul 2020 12:43:33 +0000 (14:43 +0200)]
crimson/osd: do not refence PGLog in BackfillState.
This commit makes the backfill code unware about pg log
implementation details. The benefit is easier unit testing.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Mon, 13 Jul 2020 12:34:11 +0000 (14:34 +0200)]
crimson/osd: drop the depedency on pg_info_t from PGFacade.
`get_info()` gets replaced with `get_last_update() and
`get_log_tail()`. This entirely removes the awareness of
`pg_info_t` in the backfill code.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Radoslaw Zarzynski [Mon, 13 Jul 2020 12:23:49 +0000 (14:23 +0200)]
crimson/osd: replace get_peer_info() in BackfillState::PGFacade.
`get_peer_info()` gets replaced with `get_peer_last_backfill()`.
The benefit is no need to mock peer's `pg_info_t` in unit test.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Tue, 1 Dec 2020 06:49:56 +0000 (14:49 +0800)]
doc/conf: find the latest stable release in releases.yml
instead of hardwiring the "|stable-release|" to "octopus" use the latest
release name found in 'doc/releases/releases.yml'
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 1 Dec 2020 06:46:19 +0000 (14:46 +0800)]
doc/conf: read version and release from src/ceph_release
instead of hardwiring them to 'dev' and 'dev', use the src/ceph_release
as the source of truth.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 1 Dec 2020 05:43:40 +0000 (13:43 +0800)]
doc: remove edit_on_github sphinx extension
Signed-off-by: Kefu Chai <kchai@redhat.com>
zhangjiao [Fri, 6 Nov 2020 09:26:06 +0000 (17:26 +0800)]
pybind/test_rados: test remove_omap_range2()
Signed-off-by: Zhang Jiao <zhangjiao_yewu@cmss.chinamobile.com>
Avan Thakkar [Thu, 26 Nov 2020 08:36:10 +0000 (14:06 +0530)]
mgr/dashboard: SSO not working after REST API versioning
Fixes: https://tracker.ceph.com/issues/48362
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
saml2: Fix versioning parameter for saml2 endpoints, including minor fix for
endpoints with xml=true
Xiubo Li [Tue, 1 Dec 2020 05:31:21 +0000 (13:31 +0800)]
doc/mds: fix the default value for mds_dir_max_commit_size
The default value has changed to 10MB.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Xiubo Li [Tue, 1 Dec 2020 04:28:37 +0000 (12:28 +0800)]
mds/CDir: make the data length as long as possible for each op
The max_write_size is 10M as default, and every time when the len
of the op data exceed it with a very small size it will be split
into two ops, one of which will always be very small.
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Xiubo Li [Tue, 1 Dec 2020 04:22:54 +0000 (12:22 +0800)]
mds/CDir: correct the write_size
Signed-off-by: Xiubo Li <xiubli@redhat.com>
Patrick Donnelly [Tue, 1 Dec 2020 04:04:18 +0000 (20:04 -0800)]
Merge PR #38093 into master
* refs/pull/38093/head:
qa: add debug information for client address for kclient
qa/kernel_mount.py: rename _read_debug_file to read_debug_file
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>