Commit Graph

134731 Commits

Author SHA1 Message Date
zdover23
dce0dfa099
Merge pull request #48747 from zdover23/wip-doc-2022-11-05-glossary-dashboard
doc/glossary.rst: add "Ceph Dashboard" term

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-06 02:49:39 +10:00
Zac Dover
796bc17ddf doc/glossary.rst: add "Ceph Dashboard" term
Add a definition for "Ceph Dashboard".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-06 02:22:25 +10:00
zdover23
9a5dfabe52
Merge pull request #48744 from zdover23/wip-doc-2022-11-05-glossary-rbd
doc/glosary.rst: add "Ceph Block Device" term

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-05 15:59:22 +10:00
Zac Dover
09e4df6a52 doc/glosary.rst: add "Ceph Block Device" term
Add a definition for "Ceph Block Device".

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-05 15:34:20 +10:00
Jos Collin
091db1d012
Merge pull request #48666 from joscollin/wip-cephfs-top-version
cephfs-top: add version in header

 Reviewed-by:  Dhairya Parmar <dparmar@redhat.com>
2022-11-05 07:59:28 +05:30
Laura Flores
5573558a17
Merge pull request #48291 from ljflores/wip-upgrade-telemetry 2022-11-04 20:00:30 -05:00
Jos Collin
2233b68fe0
doc: update cephfs-top.png
Signed-off-by: Jos Collin <jcollin@redhat.com>
2022-11-05 06:18:57 +05:30
Jos Collin
7d2deda2b2
cephfs-top: add version in header
Signed-off-by: Jos Collin <jcollin@redhat.com>
2022-11-05 06:18:57 +05:30
zdover23
05bba6e26d
Merge pull request #48739 from zdover23/wip-doc-2022-11-05-dev-guide-lone-sentence
doc/dev: improve lone sentence

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-05 03:25:54 +10:00
Zac Dover
b0df28b61a doc/dev: improve lone sentence
Improve a lone sentence to make it less ambiguous, and at the same
time permit the testing of a script.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-05 03:11:04 +10:00
zdover23
bd3ecf80ba
Merge pull request #48736 from zdover23/wip-doc-2022-11-05-cephadm-host-management-removing-hosts
doc/cephadm: improve lone sentence

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-05 02:55:32 +10:00
Zac Dover
4a15c77609 doc/cephadm: improve lone sentence
Improve a lone sentence, both to make the cephadm documentation better
and to test a script that is under development.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-05 02:38:13 +10:00
Kefu Chai
c0c0df979e
Merge pull request #48716 from tchaikov/crimson-cpuset
crimson/os/alienstore: parse crimson_alien_thread_cpu_cores in cpuset(7)'s list format

Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
2022-11-04 14:31:49 +08:00
Jos Collin
a1e7e5a68f
Merge pull request #48111 from neesingh-rh/feature_55121
cephfs-top: addition of sort feature and limit option

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
2022-11-04 08:54:10 +05:30
zdover23
e8180d98cd
Merge pull request #48722 from zdover23/wip-doc-2022-11-04-cephadm-index-list-alphabetizing
doc/cephadm: alphabetize external tools list

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-11-04 00:33:02 +10:00
zdover23
bee9bd170d
Merge pull request #48721 from zdover23/wip-doc-2022-11-04-cephadm-host-management-listing-hosts
doc/cephadm: arrange "listing hosts" section

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-11-04 00:27:57 +10:00
Zac Dover
ef6749cad9 doc/cephadm: alphabetize external tools list
Alphabetize "Ansible", "Rook", and "Salt", so that
the items in the list match the items in the sentence
that precedes the list.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-04 00:16:34 +10:00
Zac Dover
d16e4e0737 doc/cephadm: arrange "listing hosts" section
Collect the material at the top of this page into a
"Listing Hosts" section and clean the English so that
it is clearer.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-04 00:12:25 +10:00
Neeraj Pratap Singh
bc360a4503 doc: addition of sort and limit features in doc
Fixes: https://tracker.ceph.com/issues/55121
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
2022-11-03 17:36:49 +05:30
Neeraj Pratap Singh
27cad628ee cephfs-top: addition of sort and limit feature
This commit intends to add:
- sort-by field value feature to cephfs-top.
- feature to limit number of clients displayed

Fixes: https://tracker.ceph.com/issues/55121
Signed-off-by: Neeraj Pratap Singh <neesingh@redhat.com>
2022-11-03 17:36:29 +05:30
Ilya Dryomov
b32837f8ad
Merge pull request #48661 from thesamesam/gcc-13
common: Fix build with GCC 13 (missing <cstdint> include)

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
2022-11-03 11:57:41 +01:00
Kefu Chai
7ad86ff0a6 crimson/os/alienstore: use boost::counting_iterator for setting cpuset
less repeatings this way.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-11-03 15:25:49 +08:00
Kefu Chai
f1ef17edf8 crimson/os/alienstore: parse crimson_alien_thread_cpu_cores as a cpuset(7)
the "List format" listed in cpuset(7) allows us to specify a range of
CPU cores in a comma-separated list. and the upper bound of the range
is optional. before this change, the upper bound is not optional.

before this change, the upper bound of the range is not optional. and
the upper bound is not inclusive. so we don't support the list format
of cpuset(7). Take cores "1,2,3,5,7,8" for example, we need to set the
option to "1-4,5-6,7-9" to represent this cpuset.
after this change, the upper bound is optional, so we can properly
support the list format defined by cpuset(7). and the upper bound is
inclusive. so we can use "1-3,5,7-8", which is compatible with
notation defined by cpuset(7).

in this change, the cpuset option is parsed using a seastar helper,
which is implemented using a regex. so we don't need to manually parse
it. as Seastar's parser returns an `std::optional<std::set<unsigned>>`.
if the string does not match with the regex of comma-separated list,
the returned cpuset does not have a value. this design is more explicit.
so in this change, instead of using `std::vector<uint64_t>`,
`std::optional<cpuset>` is used.

Signed-off-by: Jianxin Li <jianxin1.li@intel.com>
Signed-off-by: Kefu Chai <tchaikov@gmail.com>
2022-11-03 15:25:49 +08:00
zdover23
aa52af91d7
Merge pull request #48712 from zdover23/wip-doc-2022-11-03-cephadm-compatibility-grammar
doc/cephadm: fix grammar in compatibility.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-03 15:38:31 +10:00
Zac Dover
d8167aa63d doc/cephadm: fix grammar in compatibility.rst
Fix grammar in doc/cephadm/compatibility.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-03 15:23:29 +10:00
zdover23
aac5bbd1fe
Merge pull request #48699 from zdover23/wip-doc-2022-11-02-dev-osd-internals-ec-glossary-fixes
doc/dev: refine erasure_coding.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-11-02 15:15:02 +10:00
Zac Dover
6d6de42b6f doc/dev: refine erasure_coding.rst
Improve the readability and clarity of
erasure_coding.rst.

Co-author: Cole Mitchell <cole.mitchell@gmail.com>
Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-02 15:04:04 +10:00
Anthony D'Atri
478cbbb3b1
Merge pull request #48687 from StevenWash/bugfix/fix_command_error_blank
doc/radosgw: fix command error blank
2022-11-01 09:55:19 -04:00
stevenhua
870e8e7b3f doc/radosgw: fix command error blank 2022-11-01 09:53:02 +08:00
zdover23
13e50f6f49
Merge pull request #48684 from zdover23/wip-doc-2022-11-01-dev-osd-internals-ec-glossary-alphabetize
doc/dev: alphabetize EC glossary

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-11-01 10:57:30 +10:00
Zac Dover
5067f575ad doc/dev: alphabetize EC glossary
Alphabetize the glossary in
doc/dev/osd_internals/erasure_coding.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-11-01 10:47:52 +10:00
Ilya Dryomov
a639f084e7
Merge pull request #48673 from idryomov/wip-49947
doc: note architecture availability for PMEM mode of PWL cache

Reviewed-by: Christopher Hoffman <choffman@redhat.com>
2022-10-31 19:33:30 +01:00
Matan
3b874e9930
Merge pull request #48548 from dparmar18/update_debug_script
script/ceph-debug-docker.sh: change default branch to main

Reviewed-by: Matan Breizman <mbreizma@redhat.com>
2022-10-31 14:57:08 +02:00
zdover23
0072b2d69e
Merge pull request #48674 from zdover23/doc-2022-10-31-dev-osd-internals-ec-glossary
doc/dev: improve EC glossary

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-31 13:43:46 +10:00
Zac Dover
64f10fc14b doc/dev: improve EC glossary
Improve the clarity and syntax of the text in
doc/dev/osd_internals/erasure_coding.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-31 13:32:24 +10:00
Ilya Dryomov
9805983bcd doc: note architecture availability for PMEM mode of PWL cache
Fixes: https://tracker.ceph.com/issues/49947
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2022-10-30 18:10:29 +01:00
zdover23
0bb4bf67c2
Merge pull request #48667 from zdover23/wip-doc-2022-10-30-ceph-volume-lvm-prepare-colemitchell-notes
doc/ceph-volume: refine Filestore docs

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-30 16:07:38 +10:00
Zac Dover
d5717fe264 doc/ceph-volume: refine Filestore docs
Add Cole Mitchell's improvements to the filestore section.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-30 15:50:05 +10:00
zdover23
86c2e2cf29
Merge pull request #48665 from zdover23/wip-doc-2022-10-30-ceph-volume-lvm-prepare-datri-notes
doc/ceph-volume: improve prepare.rst

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-30 10:49:31 +10:00
Zac Dover
5c5da781ca doc/ceph-volume: improve prepare.rst
Incorporate Anthony D'Atri's suggestions from
https://github.com/ceph/ceph/pull/48651.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-30 08:46:26 +10:00
Jos Collin
1e794901b6
Merge pull request #48090 from joscollin/wip-F55197-cephfs-top-scroll
cephfs-top: make cephfs-top display scrollable

Reviewed-by: Neeraj Pratap Singh <neesingh@redhat.com>
2022-10-29 07:39:55 +05:30
Laura Flores
a489eefc2f
Merge pull request #48662 from ceph/wip-update-stale-bot
.github/workflows: update `days-before-pr-close`
2022-10-28 15:02:07 -05:00
Laura Flores
2f8b6d6cb6
.github/workflows: update days-before-pr-close
Currently, the stale bot closes PRs 90 days after they are marked stale since it counts "marking a PR stale" as activity. 

We really want the PRs to close after a total of 90 days, or 30 days after they are marked stale. Changing `days-before-prs-close` to 30 will fix this.

Signed-off-by: Laura Flores <lflores@redhat.com>
2022-10-28 13:24:33 -05:00
Sam James
74794f9d6f common: fix build with GCC 13 (missing <cstdint> include)
Needed for uint8_t. Only worked by chance before (see
https://www.gnu.org/software/gcc/gcc-13/porting_to.html).

```
FAILED: src/CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o
/usr/bin/x86_64-pc-linux-gnu-g++ -DBOOST_ASIO_DISABLE_THREAD_KEYWORD_EXTENSION -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -D__CEPH__ -D__STDC_FORMAT_MACROS -D__linux__ -I/var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5_build/src/include -I/var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5/src -isystem /var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5_build/include -isystem /var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5/src/xxHash -isystem /var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5/src/rapidjson/include  -O2 -march=native -pipe -fPIC   -U_FORTIFY_SOURCE -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -Wnon-virtual-dtor -Wno-ignored-qualifiers -ftemplate-depth-1024 -Wpessimizing-move -Wredundant-move -Wstrict-null-sentinel -Woverloaded-virtual -fno-new-ttp-matching -fstack-protector-strong -fdiagnostics-color=auto -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -std=c++17 -MD -MT src/CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o -MF src/CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o.d -o src/CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o -c /var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5/src/mds/FSMapUser.cc
In file included from /var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5/src/log/SubsystemMap.h:12,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5/src/common/config.h:23,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5/src/mds/mdstypes.h:13,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5/src/mds/FSMapUser.h:21,
                 from /var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5/src/mds/FSMapUser.cc:1:
/var/tmp/portage/sys-cluster/ceph-17.2.5/work/ceph-17.2.5/src/common/subsys_types.h:56:23: error: ‘uint8_t’ in namespace ‘std’ does not name a type; did you mean ‘wint_t’?
```

Bug: https://bugs.gentoo.org/878531
Signed-off-by: Sam James <sam@gentoo.org>
2022-10-28 16:48:35 +01:00
zdover23
e7b9cd3f09
Merge pull request #48658 from zdover23/wip-doc-2022-10-28-radosgw-multisite-prompts
doc/radosgw: add prompts to multisite.rst

Reviewed-by: Anthony D'Atri <anthony.datri@gmail.com>
2022-10-28 23:54:31 +10:00
Zac Dover
d85c14bb30 doc/radosgw: add prompts to multisite.rst
Add unselectable prompts to multisite.rst.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
2022-10-28 23:37:16 +10:00
zdover23
bc11fa71d6
Merge pull request #47582 from snosratiershad/docs/correct-add-system-user-to-the-master-zone-command
docs: correct add system user to the master zone command

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2022-10-28 21:14:03 +10:00
zdover23
f6f53dab78
Merge pull request #48649 from ybwang0211/REST-spell
doc: Change 'ReST' to 'REST' in doc/radosgw/layout.rst

Reviewed-by: Zac Dover <zac.dover@gmail.com>
2022-10-28 20:49:52 +10:00
wangyingbin
3acbed815a doc: Change 'ReST' to 'REST' in doc/radosgw/layout.rst
In doc/radosgw/layout.rst, 'ReST' is not spelled properly, so we change it to 'REST'.

Signed-off-by: wangyingbin <wangyingbin@inspur.com>
2022-10-28 16:23:44 +08:00
zdover23
5c066057f2
Merge pull request #48644 from zdover23/wip-doc-2022-10-28-ceph-volume-lvm-prepare-datri-notes
doc/ceph-volume: add A. D'Atri's suggestions

Reviewed-by: Cole Mitchell <cole.mitchell@gmail.com>
2022-10-28 12:56:54 +10:00