]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
Kotresh HR [Tue, 5 Jan 2021 13:25:32 +0000 (18:55 +0530)]
doc/mgr/volumes: Document 'fs subvolume authorized_list' cli
Fixes: https://tracker.ceph.com/issues/44931
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kotresh HR [Wed, 16 Dec 2020 12:49:42 +0000 (18:19 +0530)]
qa: Add tests for list auth-ids of a subvolume
Fixes: https://tracker.ceph.com/issues/44931
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kotresh HR [Tue, 5 Jan 2021 12:55:54 +0000 (18:25 +0530)]
mgr/volumes: Update the 'volumes' key to 'subvolumes' in auth metadata file
The older auth metadata files created by CephVolumeClient stores the
authorized subvolumes using the 'volumes' key as the notion of
'subvolumes' brought in by mgr/volumes. Hence, this would be tranparently
updated to 'subvolumes' and newer auth metadata files would store them
with 'subvolumes' key.
Also fails the deauthorize if the auth-id doesn't exist.
Fixes: https://tracker.ceph.com/issues/44931
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kotresh HR [Tue, 15 Dec 2020 12:12:25 +0000 (17:42 +0530)]
mgr/volumes: Optionally authorize existing auth-ids
Optionally allow authorizing auth-ids not created by mgr plugin
via the option 'allow_existing_id'. This can help existing deployers
of manila to disallow/allow authorization of pre-created auth IDs
via a manila driver config that sets 'allow_existing_id' to False/True.
Fixes: https://tracker.ceph.com/issues/44931
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kotresh HR [Tue, 15 Dec 2020 12:01:54 +0000 (17:31 +0530)]
mgr/volumes: Preserve existing caps while authorize/deauthorize auth-id
Authorize/Deauthorize used to overwrite the caps of auth-id which would
end up deleting existing caps. This patch fixes the same by retaining
the existing caps by appending or deleting the new caps as needed.
Fixes: https://tracker.ceph.com/issues/44931
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kotresh HR [Mon, 4 Jan 2021 13:04:54 +0000 (18:34 +0530)]
mgr/volumes: Disallow authorize existing auth_id
This patch disallow the mgr plugin to authorize the auth_id
which is not created via mgr plugin. Those auth_ids could be
created by other means for other use cases which should not be modified
via mgr plugin.
Fixes: https://tracker.ceph.com/issues/44931
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kotresh HR [Mon, 23 Nov 2020 12:19:04 +0000 (17:49 +0530)]
mgr/volumes: Add subvolume authorized_list command
Fixes: https://tracker.ceph.com/issues/44931
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kotresh HR [Mon, 23 Nov 2020 06:08:27 +0000 (11:38 +0530)]
mgr/volumes: Add tenant_id option to subvolume authorize
Fixes: https://tracker.ceph.com/issues/44931
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kotresh HR [Wed, 18 Nov 2020 10:13:25 +0000 (15:43 +0530)]
mgr/volumes: Persist auth and subvolume metadata
1. Subvolume create and delete operations create and delete subvolume
metadata file respectively.
2. Subvolume authorize creates the auth meta file and persists the
required metadata on subvolume metadata file and auth metdata file
on disk. Subvolume deauthorize clears the required metadata on
both metadata files.
Fixes: https://tracker.ceph.com/issues/44931
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Kefu Chai [Wed, 13 Jan 2021 09:24:09 +0000 (17:24 +0800)]
Merge pull request #33692 from majianpeng/osd-remove-useless-code
osd: remove usless check condition.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 13 Jan 2021 08:51:12 +0000 (16:51 +0800)]
Merge pull request #38765 from tchaikov/wip-mutex-debug-atomic
common/mutex_debug: add memory barrier before load/store nlock
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yingxin [Wed, 13 Jan 2021 07:24:02 +0000 (15:24 +0800)]
Merge pull request #38696 from cyx1231st/wip-seastar-onode-tree-denc-delta
crimson/onode-staged-tree: implement delta encode, decode, replay and tests
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yingxin Cheng [Wed, 13 Jan 2021 02:48:18 +0000 (10:48 +0800)]
crimson/onode-staged-tree: set indent-tabs-mode to nil
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 23 Dec 2020 03:56:14 +0000 (11:56 +0800)]
crimson/onode-staged-tree: implement get_type() for test extents
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yingxin Cheng [Wed, 23 Dec 2020 03:55:09 +0000 (11:55 +0800)]
test/crimson: implement seastore replay test for onode-staged-tree
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
Yuri Weinstein [Tue, 12 Jan 2021 21:25:59 +0000 (13:25 -0800)]
Merge pull request #38806 from yuriw/wip-yuriw-octopus-x-master
qa/tests: added rbd_import_export workload
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Yuri Weinstein [Mon, 11 Jan 2021 20:20:47 +0000 (12:20 -0800)]
qa/tests: added stress-split-no-cephadm tests
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Patrick Donnelly [Tue, 12 Jan 2021 16:59:12 +0000 (08:59 -0800)]
Merge PR #38849 into master
* refs/pull/38849/head:
doc: document ms_mode option in the mount.ceph manpage
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Patrick Donnelly [Tue, 12 Jan 2021 15:27:46 +0000 (07:27 -0800)]
Merge PR #38793 into master
* refs/pull/38793/head:
qa: check for rank hole without racy joinable flag gymnastics
qa: skip client mounts for TestResize
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Kefu Chai [Tue, 12 Jan 2021 12:51:11 +0000 (20:51 +0800)]
Merge pull request #38718 from tchaikov/wip-mgr-health-cleanup
mgr/devicehealth: use helpers to define options and commands
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Kefu Chai [Tue, 12 Jan 2021 09:18:00 +0000 (17:18 +0800)]
Merge pull request #38863 from tchaikov/wip-osd-scrubber-tab
osd/pg_scrubber: use tab-width:8
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Jan Fajerski [Tue, 12 Jan 2021 09:10:44 +0000 (10:10 +0100)]
Merge PR #34859 into master
* refs/pull/34859/head:
test: Initialize timer
test: Avoid named semaphores on Windows
test: Update cmake files, allowing tests to run on Windows
test: port Ceph tests to Windows
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Tue, 12 Jan 2021 05:53:05 +0000 (13:53 +0800)]
osd/pg_scrubber: use tab-width:8
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 12 Jan 2021 04:39:38 +0000 (12:39 +0800)]
Merge pull request #38781 from tchaikov/wip-googletest-gcc11
googletest: pick up change to silence error=maybe-uninitialized warning
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Tue, 12 Jan 2021 04:27:38 +0000 (12:27 +0800)]
Merge pull request #38809 from Rethan/fs-status-style
pybind/mgr: change format_bytes unit color from black to yellow
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Tue, 12 Jan 2021 04:21:22 +0000 (12:21 +0800)]
Merge pull request #38814 from tchaikov/wip-fix-throttle-test
common/Throttle: return new count in put() right away
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Tue, 12 Jan 2021 04:20:24 +0000 (12:20 +0800)]
Merge pull request #38811 from majianpeng/optimize-is_blackhole
msg: using switch-case in place of if-else.
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 12 Jan 2021 04:19:29 +0000 (12:19 +0800)]
Merge pull request #38780 from majianpeng/fix-wrong-num_ios
os/bluestore: fix wrong num_ios for read op.
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Tue, 12 Jan 2021 04:18:43 +0000 (12:18 +0800)]
Merge pull request #38837 from vbashkirtsev/master
common/options.h: use uint64_t for TYPE_SIZE options
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jeff Layton [Mon, 11 Jan 2021 18:38:13 +0000 (13:38 -0500)]
doc: document ms_mode option in the mount.ceph manpage
Fixes: https://tracker.ceph.com/issues/48838
Signed-off-by: Jeff Layton <jlayton@redhat.com>
Yuri Weinstein [Thu, 7 Jan 2021 18:01:24 +0000 (10:01 -0800)]
qa/tests: added rbd_import_export tests
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
Ernesto Puerta [Mon, 11 Jan 2021 18:27:06 +0000 (19:27 +0100)]
Merge pull request #38768 from votdev/fix_path_to_dash_devel_doc
mgr/dashboard: Fix path to dash_devel.rst
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Mon, 11 Jan 2021 18:20:27 +0000 (10:20 -0800)]
Merge PR #38790 into master
* refs/pull/38790/head:
common: remove dead option
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Mon, 11 Jan 2021 18:14:06 +0000 (10:14 -0800)]
Merge PR #38788 into master
* refs/pull/38788/head:
mount.ceph: collect v2 addresses for non-legacy ms_mode options
Reviewed-by: Ilya Dryomov <idryomov@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 11 Jan 2021 18:12:17 +0000 (10:12 -0800)]
Merge PR #38640 into master
* refs/pull/38640/head:
qa: add test for reserved keyword feature
qa: use no client for required client feature tests
mds: do not allow setting a reserved feature by name
mds: return sv for efficiency
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Sebastian Wagner [Mon, 11 Jan 2021 17:39:13 +0000 (18:39 +0100)]
Merge pull request #38766 from sebastian-philipp/cephadm-service-action-async
mgr/cephadm: make `ceph orch {restart|...}` asynchronous
Reviewed-by: Michael Fritch <mfritch@suse.com>
Matt Benjamin [Mon, 11 Jan 2021 17:24:59 +0000 (12:24 -0500)]
Merge pull request #38255 from linuxbox2/wip-fio-librgw
rgw:fio: introduce libfio_rgw
Nathan Cutler [Mon, 11 Jan 2021 16:48:46 +0000 (17:48 +0100)]
Merge pull request #36120 from smithfarm/wip-rpath-ceph-diff-sorted
cmake: add empty RPATH to ceph-diff-sorted
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
Ernesto Puerta [Mon, 11 Jan 2021 16:45:52 +0000 (17:45 +0100)]
Merge pull request #38671 from rhcs-dashboard/48685-upgrade-grafana
mgr/dashboard/monitoring: upgrade Grafana version due to CVE-2020-13379
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: b-ranto <branto@redhat.com>
Reviewed-by: Dimitri Savineau <dsavinea@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Juan Miguel Olmo <jolmomar@redhat.com>
Reviewed-by: p-se <pseidensal@suse.com>
Reviewed-by: sebastian-philipp <NOT@FOUND>
Reviewed-by: Volker Theile <vtheile@suse.com>
Patrick Donnelly [Mon, 11 Jan 2021 16:38:52 +0000 (08:38 -0800)]
Merge PR #38108 into master
* refs/pull/38108/head:
doc, man: man page for `cephfs-top` utility
doc: document `cephfs-top` utility
test: selftest for `cephfs-top` utility
spec, deb: package cephfs-top utility
cephfs-top: top(1) like utility for Ceph Filesystem
mgr/stats: include kernel version (for kclients) in `perf stats` command output
mgr/stats: include version with `perf stats` output
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Mon, 11 Jan 2021 15:48:13 +0000 (07:48 -0800)]
Merge PR #38836 into master
* refs/pull/38836/head:
client: add debug messages for osdmap wait
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Sebastian Wagner [Mon, 11 Jan 2021 14:04:55 +0000 (15:04 +0100)]
Merge pull request #38141 from Daniel-Pivonka/nodeexporterpullauth
cephadm: fix podman failure to pull authenticated registry image from systemd unit
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Paul Cuzner <pcuzner@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Jason Dillaman [Mon, 11 Jan 2021 13:29:51 +0000 (08:29 -0500)]
Merge pull request #38712 from orozery/librbd-encryption-api
librbd: encryption API
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Nathan Cutler [Wed, 15 Jul 2020 16:21:37 +0000 (18:21 +0200)]
cmake: add empty RPATH to ceph-diff-sorted
This fixes a transient FTBFS on openSUSE:
[ 5365s] -- Installing: /home/abuild/rpmbuild/BUILDROOT/ceph-15.2.4.337+g55cec95eaf-1.1.x86_64/usr/bin/ceph-diff-sorted
[ 5365s] CMake Error at src/tools/cmake_install.cmake:230 (file):
[ 5365s] file RPATH_CHANGE could not write new RPATH:
[ 5365s]
[ 5365s] /usr/lib64/ceph
[ 5365s]
[ 5365s] to the file:
[ 5365s]
[ 5365s] /home/abuild/rpmbuild/BUILDROOT/ceph-15.2.4.337+g55cec95eaf-1.1.x86_64/usr/bin/ceph-diff-sorted
[ 5365s]
[ 5365s] No valid ELF RPATH or RUNPATH entry exists in the file;
Fixes: https://tracker.ceph.com/issues/46553
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Or Ozeri [Sun, 10 Jan 2021 16:46:28 +0000 (18:46 +0200)]
librbd: add encryption api
This commit exposes librbd encryption api
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Mon, 11 Jan 2021 11:50:30 +0000 (13:50 +0200)]
librbd: change remap_extents to lvalue reference
This commit changes the remap_extents api to use lvalue instead of ravlue references
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Or Ozeri [Mon, 11 Jan 2021 11:45:00 +0000 (13:45 +0200)]
librbd: fix wrong delete type in DataCryptor
This commit fixes a delete which does not match its allocation
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Venky Shankar [Tue, 8 Dec 2020 07:09:47 +0000 (02:09 -0500)]
doc, man: man page for `cephfs-top` utility
Fixes: http://tracker.ceph.com/issues/48602
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Wed, 18 Nov 2020 07:49:45 +0000 (02:49 -0500)]
doc: document `cephfs-top` utility
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 16 Nov 2020 11:45:48 +0000 (06:45 -0500)]
test: selftest for `cephfs-top` utility
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 16 Nov 2020 14:07:03 +0000 (09:07 -0500)]
spec, deb: package cephfs-top utility
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 16 Nov 2020 14:02:24 +0000 (09:02 -0500)]
cephfs-top: top(1) like utility for Ceph Filesystem
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 21 Dec 2020 05:40:59 +0000 (00:40 -0500)]
mgr/stats: include kernel version (for kclients) in `perf stats` command output
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Venky Shankar [Mon, 16 Nov 2020 14:07:39 +0000 (09:07 -0500)]
mgr/stats: include version with `perf stats` output
So that `fstop` infers the version of mgr/stats to parse the
JSON command output.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
Sebastian Wagner [Mon, 11 Jan 2021 11:03:29 +0000 (12:03 +0100)]
Merge pull request #38804 from sebastian-philipp/cephadm-silence-evict-container
cephadm: silence "Failed to evict container" log msg
Reviewed-by: Adam King <adking@redhat.com>
Sebastian Wagner [Mon, 11 Jan 2021 11:02:25 +0000 (12:02 +0100)]
Merge pull request #38615 from adk3798/haproxy-stuff
mgr/cephadm: HA for RGW endpoints
Reviewed-by: Daniel-Pivonka <dpivonka@redhat.com>
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Volker Theile [Tue, 5 Jan 2021 13:32:08 +0000 (14:32 +0100)]
mgr/dashboard: Fix path to dash_devel.rst
Signed-off-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Mon, 11 Jan 2021 10:26:45 +0000 (18:26 +0800)]
Merge pull request #38543 from zjcmszh/cmpext_op
pybind/rados: add WriteOp::cmpext() and ReadOp::cmpext()
Reviewed-by: Kefu Chai <kchai@redhat.com>
Gregory Farnum [Mon, 11 Jan 2021 06:06:22 +0000 (22:06 -0800)]
Merge pull request #38531 from gregsfortytwo/wip-stretch-updates
More stretch updates for overly-aggressive safety checks that broke clients
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Patrick Donnelly [Sat, 9 Jan 2021 22:25:32 +0000 (14:25 -0800)]
client: add debug messages for osdmap wait
To help debug i47294.
See-also: https://tracker.ceph.com/issues/47294
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Or Ozeri [Sun, 10 Jan 2021 15:55:29 +0000 (17:55 +0200)]
librbd: move object create before set alloc hint
This commit fixes the order of ops in write requests to have create before set alloc hint, so that exclusive create will not falsely fail
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Kefu Chai [Sun, 10 Jan 2021 11:58:03 +0000 (19:58 +0800)]
Merge pull request #38701 from rosinL/fix-memory-over-use
commom/buffer: use small page aligned when bufferlist prealloc memory
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 10 Jan 2021 11:52:00 +0000 (19:52 +0800)]
Merge pull request #38747 from tchaikov/wip-scrub-event
osd/scrub_machine: pass an instance of event to post_event()
Reviewed-by: Ronen Friedman <rfriedma@redhat.com>
Vladimir Bashkirtsev [Sun, 10 Jan 2021 01:07:56 +0000 (11:37 +1030)]
common/options.h: use uint64_t for TYPE_SIZE options regardless of CPU architecture
On 32 bit systems TYPE_SIZE should remain as 64 bit value as large number of default options of TYPE_SIZE easily overflow 32 bit word. Also cluster wide options from 64 bit systems should fit unmodified into options structures on 32 bit systems.
Signed-off-by: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
Or Ozeri [Sat, 9 Jan 2021 20:26:59 +0000 (22:26 +0200)]
librbd: fix crypto related memory leaks
This commit fixes memory leaks introduced by the new librbd encryption feature
Signed-off-by: Or Ozeri <oro@il.ibm.com>
Jason Dillaman [Sat, 9 Jan 2021 21:52:20 +0000 (16:52 -0500)]
Merge pull request #38796 from MahatiC/wip-ssd-read
librbd/cache: Implement aio_read operation
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Sat, 9 Jan 2021 16:25:06 +0000 (00:25 +0800)]
Merge pull request #38272 from vbashkirtsev/master
test/test_arch.cc: search "pni" in CPU flags also when detecting SSE3
Reviewed-by: Kefu Chai <kchai@redhat.com>
Vladimir Bashkirtsev [Wed, 25 Nov 2020 01:54:03 +0000 (12:24 +1030)]
test/test_arch.cc: search "pni" in CPU flags also when detecting SSE3
as sometimes a SSE-3 CPU reports "pni" (Prescott New Instructions) in /proc/cpuinfo.
Signed-off-by: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
Vladimir Bashkirtsev [Wed, 25 Nov 2020 01:40:49 +0000 (12:10 +1030)]
do_cmake.sh: do not perform 'git submodule update' if building from tarball
Signed-off-by: Vladimir Bashkirtsev <vladimir@bashkirtsev.com>
Kefu Chai [Sat, 9 Jan 2021 04:06:47 +0000 (12:06 +0800)]
Merge pull request #38753 from Rethan/style-ceph-df-output
mon/PGMap: align to same side when output ceph df / ceph df detail
Reviewed-by: Kefu Chai <kchai@redhat.com>
Patrick Donnelly [Sat, 9 Jan 2021 03:06:58 +0000 (19:06 -0800)]
Merge PR #38775 into master
* refs/pull/38775/head:
qa: remove ceph file systems on completion
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:17:47 +0000 (15:17 -0800)]
Merge PR #38791 into master
* refs/pull/38791/head:
mon/MDSMonitor: add missing frozen checks
Reviewed-by: Jos Collin <jcollin@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:17:10 +0000 (15:17 -0800)]
Merge PR #38778 into master
* refs/pull/38778/head:
mds: don't use dentry_key_t in C_IO_Dir_Commit_Ops
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:15:54 +0000 (15:15 -0800)]
Merge PR #38773 into master
* refs/pull/38773/head:
mds: avoid spurious sleeps
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Sidharth Anupkrishnan <sanupkri@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:14:10 +0000 (15:14 -0800)]
Merge PR #38698 into master
* refs/pull/38698/head:
client: fix the cache size check
client: add more detail info for the _put_inode debug log
client: skip putting inodes if map is empty
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:13:22 +0000 (15:13 -0800)]
Merge PR #38683 into master
* refs/pull/38683/head:
mds: add scrub perf counters support
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 23:12:42 +0000 (15:12 -0800)]
Merge PR #38642 into master
* refs/pull/38642/head:
rpm/deb/cmake: install mount.fuse.ceph man page
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Greg Farnum [Fri, 8 Jan 2021 22:17:07 +0000 (22:17 +0000)]
osd: osdmap: do not assert target_v when encoding in stretch mode
Again, this was an overly-strict safety check. It passed testing against
(even old) userspace clients, but the kernel clients don't have all the
same feature bits and so when encoding for them, we see lower target_v values
and assert out erroneously.
As before, monitors and OSDs that actually need to interpret this data
are gated on cluster entry, so we don't need this safety check here.
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
Daniel-Pivonka [Mon, 26 Oct 2020 18:34:39 +0000 (14:34 -0400)]
cephadm: HA for RGW endpoints
Cephadm deploying keepalived and HAproxy for providing High availability for RGW endpoints
Fixes: https://tracker.ceph.com/issues/45116
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
Signed-off-by: Adam King <adking@redhat.com>
Signed-off-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Casey Bodley [Fri, 8 Jan 2021 20:16:23 +0000 (15:16 -0500)]
Merge pull request #37882 from cbodley/wip-rgw-data-sync-notification-fix
rgw: data sync: fix obligation check
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Ernesto Puerta [Fri, 8 Jan 2021 20:09:46 +0000 (21:09 +0100)]
Merge pull request #38720 from bk201/wip-48717
mgr/dashboard: fix Reads/Writes ratio of Clients IOPS donut chart
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Patrick Donnelly [Fri, 8 Jan 2021 19:27:08 +0000 (11:27 -0800)]
Merge PR #38776 into master
* refs/pull/38776/head:
qa: get pool holding file data from file layout
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 19:25:23 +0000 (11:25 -0800)]
Merge PR #38664 into master
* refs/pull/38664/head:
qa: bump scrub timeout
qa: move cephfs_ec_profile under cephfs
qa: do not use ec pools for default data pool
qa: skip check-counters for light workloads
qa: remove empty multimds suite
qa: merge multimds:verify with fs:verify
qa: merge multimds:thrash to fs:thrash
qa: remove dead multimds:basic
qa: move functional multimds tests to fs:functional
qa: migrate multimds workloads to fs:workloads
qa: only run valgrind on cephfs daemons
qa: stop testing filestore on cephfs suites
qa: load data pools before deleting fs
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Tested-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 18:47:07 +0000 (10:47 -0800)]
Merge PR #38693 into master
* refs/pull/38693/head:
qa: execute scrubs only on rank 0
client: print debug information about resolved MDS
qa: let Client::resolve_mds lookup the rank
Reviewed-by: Xiubo Li <xiubli@redhat.com>
Patrick Donnelly [Tue, 5 Jan 2021 20:34:00 +0000 (12:34 -0800)]
qa: remove ceph file systems on completion
So that we can avoid MDS replacement warnings.
Fixes: https://tracker.ceph.com/issues/48757
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 8 Jan 2021 18:39:38 +0000 (10:39 -0800)]
Merge PR #38510 into master
* refs/pull/38510/head:
PendingReleaseNotes: Update about volume/nfs cluster id changes
mgr/volumes/nfs: remove 'ganesha-' prefix from cluster id
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Harish Munjulur [Fri, 8 Jan 2021 17:25:35 +0000 (09:25 -0800)]
Merge pull request #38537 from IlsooByun/fix_ret_invalid_err
rgw: return error when trying to copy encrypted object without key
Harish Munjulur [Fri, 8 Jan 2021 17:24:42 +0000 (09:24 -0800)]
Merge pull request #38283 from dvanders/dvanders_throttle
rgw: add an outstanding_requests perf counter
Harish Munjulur [Fri, 8 Jan 2021 17:23:46 +0000 (09:23 -0800)]
Merge pull request #38242 from theanalyst/rgw/reset-stats-1-fix
rgw: cls/user: set from_index for reset stats calls
Patrick Donnelly [Thu, 17 Dec 2020 20:11:23 +0000 (12:11 -0800)]
qa: add test for reserved keyword feature
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Jason Dillaman [Fri, 8 Jan 2021 14:24:21 +0000 (09:24 -0500)]
Merge pull request #38725 from CongMinYin/immutable-obejct-cache-doc
doc/rbd: Immutable object cache doc
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sebastian Wagner [Fri, 8 Jan 2021 14:23:31 +0000 (15:23 +0100)]
Merge pull request #38667 from pcuzner/fix-cephadm-stdout
cephadm: make host add failure message more friendly
Sebastian Wagner [Fri, 8 Jan 2021 14:21:45 +0000 (15:21 +0100)]
Merge pull request #37920 from votdev/issue_48068_timezone
cephadm: Various properties like 'last_refresh' do not contain timezone
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Kefu Chai [Fri, 8 Jan 2021 12:35:28 +0000 (20:35 +0800)]
Merge pull request #38807 from tchaikov/wip-mon-cmd-doc
doc: build mon_command_api.rst using a homebrew extension
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
zhangjiao [Fri, 11 Dec 2020 10:43:37 +0000 (18:43 +0800)]
pybind/rados: add test_cmpext_op()
Signed-off-by: Zhang Jiao <zhangjiao_yewu@cmss.chinamobile.com>
zhangjiao [Fri, 11 Dec 2020 10:36:48 +0000 (18:36 +0800)]
pybind/rados: add ReadOp::cmpext()
Signed-off-by: Zhang Jiao <zhangjiao_yewu@cmss.chinamobile.com>
zhangjiao [Fri, 11 Dec 2020 10:21:51 +0000 (18:21 +0800)]
pybind/rados:add WriteOp::cmpext()
Signed-off-by: Zhang Jiao <zhangjiao_yewu@cmss.chinamobile.com>
Jianpeng Ma [Fri, 8 Jan 2021 08:11:27 +0000 (16:11 +0800)]
msg: using switch-case in place of if-else.
For point of performance, swith-case is better than if-else for
blackhole check.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Kefu Chai [Fri, 8 Jan 2021 07:55:49 +0000 (15:55 +0800)]
common/Throttle: return new count in put() right away
before this change, the is a racing after updating `count`, where
`count` could be updated again by another thread using this Throttle
instance. but the caller expects the value before the second mutation.
actually, the only caller which care about the return value is the
unittests in test/common/Throttle.cc. and without this change, the
ThrottleTest.get test fails randomly. almost 1 out of 5 runs fails.
after this change, the test passes after running for 256 times without
failures.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Varsha Rao [Tue, 5 Jan 2021 11:28:20 +0000 (16:58 +0530)]
PendingReleaseNotes: Update about volume/nfs cluster id changes
Signed-off-by: Varsha Rao <varao@redhat.com>