]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Casey Bodley [Fri, 11 Feb 2022 22:18:32 +0000 (17:18 -0500)]
rgw: stop using c++20 keyword 'requires'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Adam C. Emerson [Tue, 8 Mar 2022 01:48:40 +0000 (20:48 -0500)]
rgw: Fix uninitialized warning
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Kefu Chai [Fri, 25 Mar 2022 04:24:24 +0000 (12:24 +0800)]
Merge pull request #45513 from tchaikov/wip-cxx20-fixes-mon
mgr,mon,test: C++20 fixes
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Radosław Zarzyński <rzarzyns@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Samuel Just [Fri, 25 Mar 2022 03:46:02 +0000 (20:46 -0700)]
Merge pull request #45386 from cyx1231st/wip-crimson-epm-split-hot-cold
crimson/os/seastore: reuse RecordSubmitter for SegmentedJournal and EPM::Writer
Reviewed-by: Samuel Just <sjust@redhat.com>
Venky Shankar [Fri, 25 Mar 2022 01:54:05 +0000 (07:24 +0530)]
Merge pull request #45115 from mchangir/mgr-snap_schedule-restart-old-schedules-on-startup
mgr/snap_schedule: restart old schedules
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Adam King [Thu, 24 Mar 2022 19:21:32 +0000 (15:21 -0400)]
Merge pull request #45399 from adk3798/no-firewall
cephadm: respect --skip-firewalld flag
Reviewed-by: Michael Fritch <mfritch@suse.com>
Adam King [Thu, 24 Mar 2022 19:20:32 +0000 (15:20 -0400)]
Merge pull request #45401 from adk3798/legacy-config
cephadm: verify config file exists when inferring it
Reviewed-by: Michael Fritch <mfritch@suse.com>
Adam King [Thu, 24 Mar 2022 19:19:14 +0000 (15:19 -0400)]
Merge pull request #45527 from adk3798/eca-osd-allowed
python-common/drive_group: add extra_container_args to supported features
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Yuri Weinstein [Thu, 24 Mar 2022 16:49:46 +0000 (09:49 -0700)]
Merge pull request #45250 from ifed01/wip-ifed-get-bluest-extents-cleanup
os/bluestore: refactor bluefs get_block_extents interface
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Kefu Chai [Thu, 24 Mar 2022 13:47:24 +0000 (21:47 +0800)]
Merge pull request #45393 from rzarzynski/wip-crimson-fix-throw-in-plugins
build, crimson/osd: do not let Seastar to interfere with ELF's program headers
Reviewed-by: Samuel Just <sjust@redhat.com>
Milind Changire [Thu, 24 Feb 2022 06:20:18 +0000 (11:50 +0530)]
qa: test snap_schedule with mgr restart
Scheduled snaps should follow the created schedule even across mgr
restart.
Signed-off-by: Milind Changire <mchangir@redhat.com>
Milind Changire [Mon, 28 Feb 2022 06:26:09 +0000 (11:56 +0530)]
mgr/snap_schedule: restart old schedules
Old schedules were not picked up from database when mgr was restarted.
Restart old schedules on mgr restart.
Fixes: https://tracker.ceph.com/issues/54052
Signed-off-by: Milind Changire <mchangir@redhat.com>
Milind Changire [Mon, 28 Feb 2022 06:22:26 +0000 (11:52 +0530)]
mgr/util: add function to list all fs names
Signed-off-by: Milind Changire <mchangir@redhat.com>
Venky Shankar [Thu, 24 Mar 2022 06:39:50 +0000 (12:09 +0530)]
Merge pull request #45472 from vshankar/revert-45307
Revert "mds: kill session when mds do ms_handle_remote_reset"
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Thu, 17 Mar 2022 04:36:38 +0000 (10:06 +0530)]
Revert "mds: kill session when mds do ms_handle_remote_reset"
This reverts commit
3651deb4e0b0c102adcaddce79ee4e053f033418 .
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Neha Ojha [Wed, 23 Mar 2022 21:49:23 +0000 (14:49 -0700)]
Merge pull request #45340 from benhanokh/disable_ncb_rotational
os/bluestore: Disable NCB functionality on rotational drives
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Radosław Zarzyński [Tue, 15 Mar 2022 14:33:41 +0000 (15:33 +0100)]
build, crimson/osd: do not let Seastar to interfere with ELF's program headers.
For the sake of avoiding locking on the `__cxa_throw` paths, Seastar
hijacks `dl_iterate_phdr` of the dynamic linker. Unfortunately, this
has a nasty side effect: it makes impossible to catch an exception in
in a plugin (a DSO loaded via the `dlopen()` machinery).
For mote details please consult:
* https://gist.github.com/rzarzynski/
3abe9ed6b50cfa1893d34988e1628bfc ,
* `seastar/src/core/exception_hacks.cc`.
This patch deals with the problem by simply disabling the problematic
workaround which could be iatrogenic too. If that would be the case,
we can consider:
* preloading all our Ceph Classes before reaching `smp::configure()`,
* statically linking them.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Samuel Just [Wed, 23 Mar 2022 20:49:01 +0000 (13:49 -0700)]
Merge pull request #45551 from liu-chunmei/crimson-string-view
crimson: keep string alive during string_view lifetime
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Casey Bodley [Wed, 23 Mar 2022 19:43:38 +0000 (15:43 -0400)]
Merge pull request #44696 from cbodley/wip-arrow-submodule-ext
cmake: add submodule for Apache Arrow at v6.0.1
Reviewed-by: Gal Salomon <gsalomon@redhat.com>
Samuel Just [Wed, 23 Mar 2022 19:02:27 +0000 (12:02 -0700)]
Merge pull request #45550 from liu-chunmei/crimson-fix-read-error-return
crimson: return read error code in MOSDOpReply
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Yuri Weinstein [Wed, 23 Mar 2022 17:18:31 +0000 (10:18 -0700)]
Merge pull request #45246 from aclamk/wip-bluefs-sync-compaction-fix
Fix BlueFS sync compaction
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Laura Flores [Wed, 23 Mar 2022 16:37:38 +0000 (11:37 -0500)]
Merge pull request #45230 from ljflores/wip-github-actions-stale
.github/workflows: replace probot-stale with equivalent github action
Yuri Weinstein [Wed, 23 Mar 2022 15:45:15 +0000 (08:45 -0700)]
Merge pull request #45466 from neha-ojha/wip-54592
osd/PrimaryLogPG.cc: CEPH_OSD_OP_OMAPRMKEYRANGE should mark omap dirty
Reviewed-by: Vikhyat Umrao <vikhyat@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Yuri Weinstein [Wed, 23 Mar 2022 15:35:28 +0000 (08:35 -0700)]
Merge pull request #45366 from NitzanMordhai/wip-nitzan-test-librados-watchnotify-watch2delete
tests: ceph_test_rados_api_watch_notify: watch2Delete reconnect
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Yuri Weinstein [Wed, 23 Mar 2022 14:45:42 +0000 (07:45 -0700)]
Merge pull request #45468 from idryomov/wip-pool-reverse-lookup-osdmap
librados: check latest osdmap on ENOENT in pool_reverse_lookup()
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Ernesto Puerta [Wed, 23 Mar 2022 11:50:41 +0000 (12:50 +0100)]
Merge pull request #45429 from votdev/issue_54591_language_dropdown
mgr/dashboard: Language dropdown box is partly hidden on login page
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Jos Collin [Wed, 23 Mar 2022 11:06:42 +0000 (16:36 +0530)]
Merge pull request #45577 from wxypro/mgr-stat-fix
mgr/stats: fix a typo in comment
Reviewed-by: Jos Collin <jcollin@redhat.com>
Ilya Dryomov [Wed, 23 Mar 2022 07:44:13 +0000 (08:44 +0100)]
Merge pull request #44579 from asm0deuz/fix_pids_limits_bug_52898
cephadm: Remove containers pids-limit
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
wangxinyu [Wed, 23 Mar 2022 07:31:01 +0000 (15:31 +0800)]
mgr/stats: fix an typo in comment
fix an typo in comment
Signed-off-by: wangxinyu <wangxinyu@inspur.com>
Chunmei Liu [Wed, 23 Mar 2022 05:21:24 +0000 (22:21 -0700)]
crimson: keep string alive during string_view lifetime
Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
Chunmei Liu [Mon, 21 Mar 2022 06:14:17 +0000 (23:14 -0700)]
crimson:return read error code in MOSDOpReply
Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
Josh Durgin [Tue, 22 Mar 2022 23:38:40 +0000 (16:38 -0700)]
Merge pull request #45512 from zdover23/wip-doc-2022-03-18-master-to-main
ceph/admin: s/master/main
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Adam King [Tue, 15 Mar 2022 20:41:15 +0000 (16:41 -0400)]
cephadm: verify config file exists when inferring it
Fixes: https://tracker.ceph.com/issues/54571
Signed-off-by: Adam King <adking@redhat.com>
Adam King [Tue, 15 Mar 2022 18:33:52 +0000 (14:33 -0400)]
cephadm: respect --skip-firewalld flag
Fixes: https://tracker.ceph.com/issues/54137
Signed-off-by: Adam King <adking@redhat.com>
Adam King [Tue, 22 Mar 2022 22:00:22 +0000 (18:00 -0400)]
Merge pull request #45286 from adk3798/ssh-offline
mgr/cephadm: add keep-alive requests to ssh connections
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Redouane Kachach <rkachach@redhat.com>
Adam King [Tue, 22 Mar 2022 21:58:28 +0000 (17:58 -0400)]
Merge pull request #45333 from s0nea/config-fqdn
mgr/cephadm: try to get FQDN for configuration files
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Patrick Seidensal <pseidensal@suse.com>
Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Ilya Dryomov [Tue, 22 Mar 2022 10:36:18 +0000 (11:36 +0100)]
qa/suites/orch/cephadm: restrict test_iscsi_pids_limit to CentOS
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Teoman ONAY [Thu, 11 Nov 2021 15:05:49 +0000 (15:05 +0000)]
cephadm: remove containers pids-limit
The default pids-limit (docker 4096/podman 2048) prevent some
customization from working (http threads on RGW) or limits the number
of luns per iscsi target.
Fixes: https://tracker.ceph.com/issues/52898
Signed-off-by: Teoman ONAY <tonay@redhat.com>
Ernesto Puerta [Tue, 22 Mar 2022 18:35:43 +0000 (19:35 +0100)]
Merge pull request #45269 from kalaspuffar/table_fix
mgr/dashboard: Table columns hiding fix
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: kalaspuffar <NOT@FOUND>
Reviewed-by: Laura Flores <lflores@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
Ernesto Puerta [Tue, 22 Mar 2022 17:35:50 +0000 (18:35 +0100)]
Merge pull request #45510 from ceph/fix-github_workflow-master
.github: continue on error
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Daniel Gryniewicz [Tue, 22 Mar 2022 16:17:24 +0000 (12:17 -0400)]
Merge pull request #44616 from dang/wip-dang-zipper-objctx
RGW - Zipper - remove RGWObjectCtx from SAL API
Reviewed-by: Soumya Koduri <skoduri@redhat.com>
Adam C. Emerson [Tue, 8 Mar 2022 03:15:05 +0000 (22:15 -0500)]
test: Remove unused variable
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 8 Mar 2022 03:12:20 +0000 (22:12 -0500)]
test: Pragma to silence infinite recursion warning for GCC
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 8 Mar 2022 03:13:50 +0000 (22:13 -0500)]
test: Initialize possibly uninitialized buffer
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Ernesto Puerta [Tue, 22 Mar 2022 15:27:25 +0000 (16:27 +0100)]
Merge pull request #45533 from rhcs-dashboard/update-grafana-version
mgr/dashboard/monitoring: update grafana version
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Casey Bodley [Mon, 14 Feb 2022 22:58:05 +0000 (17:58 -0500)]
mgr: use constexpr string_view as input to format()
resolves a c++20 compilation error with clang13:
ceph/src/mgr/Mgr.cc:602:42: error: call to consteval function 'fmt::basic_format_string<char, const std::basic_string<char> &>::basic_format_string<const char *, 0>' is not a constant expression
monc->start_mon_command({fmt::format(cmd, name)}, {},
^
ceph/src/fmt/include/fmt/core.h:2839:56: note: read of non-constexpr variable 'cmd' is not allowed in a constant expression
FMT_CONSTEVAL basic_format_string(const S& s) : str_(s) {
^
ceph/src/mgr/Mgr.cc:602:42: note: in call to 'basic_format_string(cmd)'
monc->start_mon_command({fmt::format(cmd, name)}, {},
^
ceph/src/mgr/Mgr.cc:601:17: note: declared here
const char* cmd = R"({{"prefix": "mon metadata", "id": "{}"}})";
^
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Adam C. Emerson [Mon, 7 Mar 2022 23:54:30 +0000 (18:54 -0500)]
mon: Replace deprecated use of format_to
The non-deprecated version takes an explicit OutputIterator.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Mon, 7 Mar 2022 23:46:04 +0000 (18:46 -0500)]
mon: Fix ranged-construct warning
In the case of an uint32_t there's no benefit to a reference so just
remove the const and make the copy.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Mon, 7 Mar 2022 23:02:23 +0000 (18:02 -0500)]
mon: Replace deprecated spirit/include/phoneix.hpp with phoenix.hpp
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam King [Tue, 22 Mar 2022 12:51:57 +0000 (08:51 -0400)]
Merge pull request #45420 from mgfritch/cephadm-infer-image-pull
cephadm: infer the default container image during pull
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: John Mulligan <jmulligan@redhat.com>
Daniel Gryniewicz [Tue, 22 Mar 2022 12:36:20 +0000 (08:36 -0400)]
Merge pull request #45506 from dang/wip-dang-53614
RGW - Make admin bucket chown accept marker
reviewed-by: Casey Bodley <cbodley@redhat.com>
Ernesto Puerta [Tue, 22 Mar 2022 12:07:58 +0000 (13:07 +0100)]
Merge pull request #45360 from rhcs-dashboard/fix-54481-master
mgr/dashboard: fix wrong pg status processing
Reviewed-by: Sarthak0702 <NOT@FOUND>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: sunilangadi2 <NOT@FOUND>
Ilya Dryomov [Tue, 22 Mar 2022 10:13:46 +0000 (11:13 +0100)]
Merge pull request #45353 from PepperJo/readv_writev_overflow_v2
librbd: readv/writev fix iovecs length computation overflow
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Ilya Dryomov [Tue, 22 Mar 2022 10:11:53 +0000 (11:11 +0100)]
Merge pull request #45285 from chrisphoffman/wip-rbd-du-validate
test/librbd: add test to verify diff_iterate size
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Yuri Weinstein [Mon, 21 Mar 2022 21:12:39 +0000 (14:12 -0700)]
Merge pull request #45221 from rzarzynski/wip-core-drop-unused-aiocompletion-in-librados
core, test: fix compile-time warnings
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Samuel Just [Mon, 21 Mar 2022 18:31:42 +0000 (11:31 -0700)]
Merge pull request #45415 from Matan-B/wip-matanb-watch-r-buffer
crimson/osd: fix osd crash due to buffer reference binding
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Casey Bodley [Mon, 21 Mar 2022 13:40:55 +0000 (09:40 -0400)]
Merge pull request #45050 from hualongfeng/qatchange
common/compressor: fix the issue that cannot processed concurrently
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Venky Shankar [Mon, 21 Mar 2022 13:09:35 +0000 (18:39 +0530)]
Merge pull request #44491 from nmshelke/fix-46075
ceph-fuse: ignore fuse mount failure if path is already mounted
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Gabriel BenHanokh [Mon, 21 Mar 2022 10:54:10 +0000 (12:54 +0200)]
Fix a problem in store_test::BluestoreBrokenNoSharedBlobRepairTest where the check for active null-fm was wrong and so reporting bogus errors when null-fm was inactive
The check need to access dynamic value and not config setting (which can be overridden)
Signed-off-by: Gabriel BenHanokh <gbenhano@redhat.com>
Aashish Sharma [Mon, 21 Mar 2022 12:10:03 +0000 (17:40 +0530)]
mgr/dashboard/monitoring: update grafana version
Fixes: https://tracker.ceph.com/issues/54311
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
Venky Shankar [Mon, 21 Mar 2022 09:59:19 +0000 (15:29 +0530)]
Merge pull request #45406 from wxypro/fix-typos
docs,options: fix typos
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Ilya Dryomov [Mon, 21 Mar 2022 09:22:53 +0000 (10:22 +0100)]
Merge pull request #45525 from idryomov/wip-rbd-trash-purge-schedule-relax-assert
qa/workunits/rbd/cli_generic.sh: relax trash purge schedule status assert
Reviewed-by: Mykola Golub <mgolub@suse.com>
Liu-Chunmei [Mon, 21 Mar 2022 05:40:28 +0000 (22:40 -0700)]
Merge pull request #45517 from liu-chunmei/crimson-fix-cmpxattr
crimson: let read operation return result in MOSDOpReply
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Adam King [Mon, 21 Mar 2022 01:44:28 +0000 (21:44 -0400)]
python-common/drive_group: add extra_container_args to supported features
Should have been added when extending extra container args
to all the services but was missed
Signed-off-by: Adam King <adking@redhat.com>
Feng Hualong [Wed, 16 Feb 2022 06:01:17 +0000 (14:01 +0800)]
common/compressor: fix the issue that cannot processed concurrently
Now, one session cannot support concurrent and it will lead to crash.
So there are mutil session using. At same time, it also can improve
the performance.
Fixes: https://tracker.ceph.com/issues/54361
Signed-off-by: Feng Hualong <hualong.feng@intel.com>
Ilya Dryomov [Sat, 19 Mar 2022 13:04:52 +0000 (14:04 +0100)]
qa/workunits/rbd/cli_generic.sh: relax trash purge schedule status assert
Commit
08df6e0fd006 ("qa/workunits/rbd: expand LevelSpec parsing
coverage") didn't account for images with a separate data pool. This
was missed because of small-cache-pool.yaml breakage.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Chunmei Liu [Fri, 18 Mar 2022 04:12:26 +0000 (21:12 -0700)]
crimson: let read operation return result in MOSDOpReply
otherwise cmp_xattr will failed,
only check if return result for write operation.
Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
Liu-Chunmei [Sat, 19 Mar 2022 02:55:31 +0000 (19:55 -0700)]
Merge pull request #45518 from liu-chunmei/crimson-fix-read-length
crimson: set returned read length in op.extent.length not in rval
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Kefu Chai [Sat, 19 Mar 2022 01:46:51 +0000 (09:46 +0800)]
Merge pull request #45520 from rzarzynski/wip-crimson-rvalue-in-future-set_callback
crimson/common, seastar: bump up to a newer version. Fix a FTBFS
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Ernesto Puerta [Fri, 18 Mar 2022 17:12:16 +0000 (18:12 +0100)]
Merge pull request #44835 from rhcs-dashboard/cypress-cucumber
mgr/dashboard: BDD approach for the dashboard cephadm e2e
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
Casey Bodley [Fri, 18 Mar 2022 15:42:50 +0000 (11:42 -0400)]
Merge pull request #45345 from cbodley/wip-cls-rgw-suggest-version
cls/rgw: rgw_dir_suggest_changes detects race with completion
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Mark Kogan <mkogan@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Casey Bodley [Fri, 18 Mar 2022 15:41:35 +0000 (11:41 -0400)]
Merge pull request #45300 from soumyakoduri/wip-skoduri-lc-sync
rgw: Update "CEPH_RGW_DIR_SUGGEST_LOG_OP" for remove entries
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Tatjana Dehler [Wed, 9 Mar 2022 15:23:49 +0000 (16:23 +0100)]
mgr/cephadm: try to get FQDN for inventory address
Fixes: https://tracker.ceph.com/issues/54502
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Tatjana Dehler [Wed, 9 Mar 2022 15:10:49 +0000 (16:10 +0100)]
mgr/cephadm: unify way to get the host address
There are two different ways to get the host address. From the
inventory of the mgr object directly or via the `_inventory_get_addr`
method of `CephadmService`. Update the code in order to use the
`_inventory_get_addr` method only.
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Radosław Zarzyński [Fri, 18 Mar 2022 14:21:09 +0000 (15:21 +0100)]
seastar: bump up to a newer version.
It's needed to addresses a FTBFS due to the Seastar's
no-locking-when-throwing hack.
Tags: seastar submodule
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Radosław Zarzyński [Fri, 18 Mar 2022 13:12:53 +0000 (14:12 +0100)]
crimson/common: pass rvalue reference to future::set_callback().
It's necessary since
710a1bfdc02202fe9e59df8ea31de5b82b893fb4
in Seastar.
This change is a part of ongoing upgrade of Seastar which will
be completed in a follow-up PR, after merging another change
with the Seastar's upstream.
Signed-off-by: Radosław Zarzyński <rzarzyns@redhat.com>
Jonas Pfefferle [Wed, 9 Mar 2022 13:26:42 +0000 (14:26 +0100)]
librbd: readv/writev fix iovecs length computation overflow
iovec have unsigned length (size_t) and before this patch the
total length was computed by adding iovec's length to a signed
length variable (ssize_t). While the code checked if the resulting
length was negative on overflow, the case where length is positive
after overflow was not checked. This patch fixes the overflow check
by changing length to unsigned size_t.
Additionally, this patch fixes the case where some iovecs have been
added to the bufferlist and the aio completion has been blocked, but
adding an additional iovec fails because of overflow. This leads to
the UserBufferDeleter trying to unblock the completion on destruction
of the bufferlist but asserting because the completion was never
armed. We avoid this by first computing the total length and checking
for overflows and iovcnt before adding them to the bufferlist.
Signed-off-by: Jonas Pfefferle <pepperjo@japf.ch>
NitzanMordhai [Sun, 13 Mar 2022 08:52:59 +0000 (08:52 +0000)]
tests: ceph_test_rados_api_watch_notify: watch2Delete reconnect
During test LibRadosWatchNotify.Watch2Delete rados_watch_check can return error -102 if reconnect happened, in that case Broken pipe reconnect and -102 returned
Fixes: https://tracker.ceph.com/issues/51307
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
Signed-off-by: NitzanMordhai <nmordech@redhat.com>
Yingxin Cheng [Fri, 18 Mar 2022 01:41:04 +0000 (09:41 +0800)]
test/crimson/seastore: fix metrics registration conflicts
The conflicts are from adding segment manager to transaction manager
repeatedly. Fixed the repeat adding issue, add ceph_assert() to detect
this issue as early as possible, and consolidate initiation code into
make_transaction_manager().
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 17 Mar 2022 08:35:41 +0000 (16:35 +0800)]
crimson/os/seastore/journal/segment_allocator: fix metrics for RecordSubmitter
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 17 Mar 2022 08:32:12 +0000 (16:32 +0800)]
crimson/os/seastore/journal/segment_allocator: introduce open() and close() to RecordSubmitter
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Thu, 17 Mar 2022 08:14:21 +0000 (16:14 +0800)]
crimson/os/seastore/EPM: clear allocators when close
SeaStore::mkfs() and mount() will both invoke
TransactionManager::add_segment_manager(). Without clearing allocators,
EPM will add the same allocator multiple times.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Tue, 15 Mar 2022 01:26:50 +0000 (09:26 +0800)]
crimson/os/seastore/../segment_allocator: improve log name with device-id, cleanup
Also clean up segment type related special handling.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Tue, 15 Mar 2022 01:25:36 +0000 (09:25 +0800)]
crimson/os/seastore/cache: assign the missing allocation hint
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Tue, 15 Mar 2022 01:18:08 +0000 (09:18 +0800)]
crimson/os/seastore/EPM: coalesce writes using the same writer
After integrated with RecordSubmitter, Writer is able to coalesce
concurrent writes into record groups. There is no need to distribute
writes to multiple Writers for both large and small write sizes.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 14 Mar 2022 08:05:33 +0000 (16:05 +0800)]
crimson/os/seastore/EPM: integrate Writer with RecordSubmitter
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Mon, 14 Mar 2022 05:38:55 +0000 (13:38 +0800)]
crimson/os/seastore/EPM: introduce open() and close()
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Chunmei Liu [Fri, 18 Mar 2022 05:42:32 +0000 (22:42 -0700)]
crimson: set returned read length in op.extent.length not in rval
rval set to be zero, means read success.
otherwise CReadOpsTest failed.
Signed-off-by: Chunmei Liu <chunmei.liu@intel.com>
Yingxin Cheng [Tue, 22 Feb 2022 14:44:43 +0000 (22:44 +0800)]
crimson/os/seastore/EPM: cleanup, drop ool_record_t
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Kefu Chai [Fri, 18 Mar 2022 03:18:34 +0000 (11:18 +0800)]
Merge pull request #45419 from tchaikov/wip-cxx20-fixes-core
osd, common: C++20 related fixes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Yingxin Cheng [Wed, 9 Mar 2022 14:57:26 +0000 (22:57 +0800)]
crimson/os/seastore: move RecordSubmitter to segment_allocator.h
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 9 Mar 2022 13:44:30 +0000 (21:44 +0800)]
crimson/os/seastore/journal: rework RecordSubmitter for reuse
* Redesign submission logic to support concurrent submits;
* Extract out journal specific write_pipeline and flush;
* Distinguish logs by name;
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 9 Mar 2022 14:17:57 +0000 (22:17 +0800)]
crimson/os/seastore/journal/segment_allocator: log name
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Zac Dover [Thu, 17 Mar 2022 23:05:45 +0000 (09:05 +1000)]
ceph/admin: s/master/main
This PR changes the name "master" to "main" so
that builds (and, I assume, a great many other
things) will not fail.
Signed-off-by: Zac Dover <zac.dover@gmail.com>
Casey Bodley [Thu, 17 Mar 2022 21:12:25 +0000 (17:12 -0400)]
Merge pull request #45391 from mkogan1/wip-fix-lc-alloc
rgwlc: fix segfault during lc
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Gabriel BenHanokh [Thu, 17 Mar 2022 20:26:58 +0000 (22:26 +0200)]
Bug-Fix from PR-44370 force setting need_to_destage_allocation_file to True on device expansion without checking if we work in null-fm mode
Signed-off-by: Gabriel Benhanokh <gbenhano@redhat.com>
Yuri Weinstein [Thu, 17 Mar 2022 19:55:49 +0000 (12:55 -0700)]
Merge pull request #45103 from jtlayton/wip-54280
osd: allow sparse reads with a non-zero truncate-seq
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Ernesto Puerta [Thu, 17 Mar 2022 19:53:31 +0000 (20:53 +0100)]
.github: continue on error
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
Matt Benjamin [Thu, 17 Mar 2022 18:03:19 +0000 (14:03 -0400)]
Merge pull request #40703 from linuxbox2/wip-rgwlc-noreset
rgwlc: remove explicit lc shard resets at start-of-run
Yuri Weinstein [Thu, 17 Mar 2022 16:48:12 +0000 (09:48 -0700)]
Merge pull request #45392 from sseshasa/wip-snaptrim-qos-with-mclock
mon, osd: Add snaptrim stats to the existing PG stats.
Reviewed-by: Samuel Just <sjust@redhat.com>