Commit Graph

573 Commits

Author SHA1 Message Date
Jos Collin
35208ebbb5
doc: fix youtube channel url
Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-07-25 10:04:47 +05:30
Kefu Chai
1a379bc202
Merge pull request #28765 from myoungwon/fix-chunk-scrub-dedup-tool
src/tools/ceph-dedup-tool: Fix chunk scrub

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-24 09:59:58 +08:00
Kefu Chai
10af76ab1b
Merge pull request #28778 from myoungwon/wip-chunk-flush-op
src/osd: add tier-flush op

Reviewed-by: Sage Weil <sage@redhat.com>
2019-07-24 09:56:47 +08:00
Gabriella
980a8496e9 doc/dev/developer_guide: remove web address
Removed http://pulpito.ovh.sepia.ceph.com:8081/
in "The nightlies" because it was unreachable

Signed-off-by: gabriellasroman <gsroman@bu.edu>
2019-07-22 18:41:51 -04:00
Kefu Chai
79078f43e8 doc/dev/macos.rst: update to be in sync with master
* we've moved to cmake 3.5, so no need to hack for newer cmake
* nss dependency is dropped, no need to install it anymore
* pass clang and clang++ using cmake variable to be more consistent
* pass CMAKE_EXE_LINKER_FLAGS as `/usr/local/opt/llvm/lib` is
  not in default library paths.
* mention https://github.com/boostorg/atomic/issues/15

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-21 00:47:39 +08:00
Sebastian Wagner
cc86d9e4a0
Merge pull request #28081 from sebastian-philipp/kubejacker-doc-update
doc/dev/kubernetes: Update

Reviewed-by: Travis Nielsen <tnielsen@redhat.com>
2019-07-19 10:22:30 +02:00
Patrick Donnelly
22ed9709a9
Merge PR #28900 into master
* refs/pull/28900/head:
	doc: Update troubleshooting.rst
	doc: drop kernel-client-troubleshooting.rst

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2019-07-17 11:53:58 -07:00
Neha Ojha
f537db9583
Merge pull request #29033 from neha-ojha/wip-add-yt
doc/dev/developer_guide/index.rst: add youtube references

Reviewed-by: Noah Watkins <nwatkins@redhat.com>
2019-07-15 11:31:45 -07:00
Neha Ojha
7031fa2ef3 doc/dev/developer_guide/index.rst: add youtube references
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-07-12 16:27:56 -07:00
myoungwon oh
a0af9f7091 src/osd: add tier_flush operation
Current extensible tier flush a chunked object when all chunks mark as dirty.
So, to make the state of object consistent, tier-flush operation is needed.

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2019-07-12 22:14:14 +09:00
Kefu Chai
24c5225e89 doc/dev/corpus.rst: updates to match gen-corpus.sh
* to reference the script to generate corpus
* use qa/workunits/rgw/run-s3tests.sh for producing rgw corpus

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-11 12:20:18 +08:00
Jos Collin
cf08a98523
doc: drop kernel-client-troubleshooting.rst
Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-07-10 18:52:43 +05:30
Jos Collin
f48760a280 doc: fix typo
Signed-off-by: Jos Collin <jcollin@redhat.com>
2019-07-05 08:54:49 +05:30
Kefu Chai
a1048086b9 doc/dev/corpus.rst: minor tweaks
the executables are located in build/bin after we switched to cmake

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-07-04 16:13:50 +08:00
Sebastian Wagner
800f1544ba doc/dev/kubernetes: Update
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2019-07-02 10:44:52 +02:00
Kefu Chai
db09ea8531
Merge pull request #28794 from tchaikov/wip-crimson-option-help-seastar
crimson/osd: add "--help-seastar" command line option

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2019-06-30 15:52:32 +08:00
Kefu Chai
9e3e5d435e doc/dev/crimson.rst: update with stuff related to seastar options
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 23:16:42 +08:00
Kefu Chai
a66c27ad26 doc/dev/crimson.rst: update logging related doc
as crimson's logging levels are now connected those of ceph, there is no
need to note down the difference between them anymore.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-29 21:41:00 +08:00
Varsha Rao
709f76c528 doc: Updates link to Sepia lab
Signed-off-by: Varsha Rao <varao@redhat.com>
2019-06-28 19:47:50 +05:30
myoungwon oh
c2c29293cd src/tools: fix chunk_scrub
This commit makes chunk_scrub as a chunk_pool-based operation.
chunk_scrub procedure:
1. find references in the chunk_pool
2. check whether the reference exists in a base_pool
3. fix references

Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2019-06-27 22:39:06 +09:00
Kefu Chai
07e02c47ff
Merge pull request #28674 from tchaikov/wip-doc/crimson
doc/dev: add crimson.rst

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-06-21 19:18:11 +08:00
Kefu Chai
ad639c7977
Merge pull request #28462 from myoungwon/wip-doc-dedup
doc: add a deduplication document

Reviewed-by: Kefu Chai <kchai@redhat.com>
2019-06-21 19:13:44 +08:00
myoungwon oh
cd41b64460 doc: add a deduplication document
Signed-off-by: Myoungwon Oh <omwmw@sk.com>
2019-06-21 14:23:41 +09:00
Kefu Chai
3ec6dfa289 doc/dev: add crimson.rst
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-21 12:29:07 +08:00
Sage Weil
18eacb6ed8 Merge PR #22446 into master
* refs/pull/22446/head:
	relicense LGPL-2.1 code as LGPL-2.1 or LGPL-3.0
	COPYING: add reference to a few Apache-2.0 licensed source files
	debian/copyright: sync with COPYING
	COPYING: LGPL2.1 -> LGPL-2.1
	COPYING: extra bits from debian/copyright

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-06-12 09:11:49 -05:00
Neha Ojha
de5c5d8468
Merge pull request #21722 from mslovy/wip-parial-recovery
osd: partial recovery strategy based on PGLog

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-05-10 11:48:23 -07:00
Neha Ojha
984073e44d doc/dev/osd_internals/async_recovery: update cost calculation
Signed-off-by: Neha Ojha <nojha@redhat.com>
2019-05-08 20:19:32 -07:00
letterwuyu
7148dda076 osd: supplement doc
Signed-off-by: lishuhao <lishuhao@unitedstack.com>
2019-05-06 20:17:43 +08:00
lishuhao
20e26e8395 osd: partial recovery add doc
Signed-off-by: Ning Yao <yaoning@unitedstack.com>
Signed-off-by: lishuhao <lishuhao@unitedstack.com>
2019-05-06 15:30:35 +08:00
David Zafman
bc300055e7 doc: Describe recovery and backfill prioritizations
Fixes: http://tracker.ceph.com/issues/39011

Signed-off-by: David Zafman <dzafman@redhat.com>
2019-05-02 21:58:44 -07:00
Samuel Just
5e36acdb6f osd/: mechanically rename RecoveryMachine/State/Ctx to Peering*
I'm going to extract this logic and reuse it in crimson.  Recovery* has
always been a confusing name as it implements neither log-based recovery
nor backfill.  Rather, it's mainly the buisiness logic for agreeing on
an authoritative log and some ancillary things such as scrub/backfill
reservation.

$ for i in $(git grep -l 'RecoveryMachine'); do sed -i 's/RecoveryMachine/PeeringMachine/g' $i; done
$ for i in $(git grep -l 'RecoveryState'); do sed -i 's/RecoveryState/PeeringState/g' $i; done
$ for i in $(git grep -l 'RecoveryCtx'); do sed -i 's/RecoveryCtx/PeeringCtx/g' $i; done

Signed-off-by: Samuel Just <sjust@redhat.com>
2019-05-01 11:22:11 -07:00
Kefu Chai
49117a0414
Merge pull request #27741 from tchaikov/doc/dev/wip-corpus.rst
doc/dev/corpus.rst: correct instructions

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-04-25 13:30:10 +08:00
Kefu Chai
692f4b1a05 doc/dev/corpus.rst: correct instructions
* should keep all OSD up and running, otherwise some tests will wait for
  healthy cluster for ever.
* should start 2 MGR for an active-standby setting -- better coverage
this way

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-24 19:49:58 +08:00
Sage Weil
cf9dfa79c1 doc/dev/erasure-coded-pool: update
Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-22 12:36:29 -05:00
Sage Weil
2f361a6eee relicense LGPL-2.1 code as LGPL-2.1 or LGPL-3.0
The primary motivation to relicense is a desire to integrate with projects
that are licensed under the Apache License version 2.0.  Although opinions
vary, there are some who argue the the LGPL-2.1 and Apache-2.0 licenses
are not fully compatible.  We would like to avoid the ambiguity and
potential for controversy.

Projects we would like to consume that are Apache-2.0 licensed include
Seastar, OpenSSL (which is in the process of relicensing to Apache-2.0),
and Swagger (swagger.io).  Note that some of these are dynamically linked
or consumed via a high-level language and may or may not require a change
to LGPL-3.0, but providing the option for LGPL-3.0 certainly avoids any
uncertainty.

A few other source files are already incorporated into Ceph that claim an
Apache-2.0 license:

    src/common/deleter.h
    src/common/sstring.h
    src/include/cpp-btree

The Ceph developers would further like to provide a license option that is
more modern than the current LGPL-2.1.  LGPL-3.0 includes updated,
clarified language around several issues and is widely considered
more modern, superior license.

Signed-off-by: Sage Weil <sage@redhat.com>
2019-04-22 11:22:55 -05:00
Kefu Chai
7f7fdc7211 doc/corpus: update to adapt the change from autotools to cmake
Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-04-16 00:25:53 +08:00
Changcheng Liu
fa8dffe883 doc: correct ceph example in corpus section
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
2019-04-08 09:26:24 +08:00
Changcheng Liu
4953a6e9e3 doc: correct example to use vstart to run up cluster
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
2019-04-08 09:15:52 +08:00
Nathan Cutler
0e63fed768
Merge pull request #27159 from smithfarm/wip-38934
doc: move Developer Guide to its own subdirectory

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2019-03-27 12:17:37 +01:00
David Zafman
769cdc8294 doc: Document new pg state and changes to auto repair behavior
Fixes: http://tracker.ceph.com/issues/38616

Signed-off-by: David Zafman <dzafman@redhat.com>
2019-03-25 16:03:36 -07:00
Nathan Cutler
64fc87a483 doc: move Developer Guide to its own subdirectory
Fixes: ef3ac5692b
Fixes: https://tracker.ceph.com/issues/38934
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2019-03-25 16:34:36 +01:00
David Zafman
9fd4b062f1 doc: Fix the pg states and auto repair config options
Fixes: http://tracker.ceph.com/issues/38896

Signed-off-by: David Zafman <dzafman@redhat.com>
2019-03-22 19:58:00 -07:00
Sage Weil
e57af1d41d msg: remove SimpleMessenger
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-17 07:57:45 -05:00
Sage Weil
937f28e6a6 doc/releases/nautilus: add msgr2 refs
Signed-off-by: Sage Weil <sage@redhat.com>
2019-03-11 10:31:49 -05:00
Sage Weil
bd52f35fd0 Merge PR #26444 into master
* refs/pull/26444/head:
	ceph_features: deprecate MON_SINGLE_PAXOS
	osdmap: map versions to releases
	mon: retire some `osd set/unset` flags

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-03-04 17:26:12 -06:00
Changcheng Liu
839c07822a doc: correct vstart.sh file location
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
2019-03-04 16:55:31 +08:00
Joao Eduardo Luis
a20ce5f427 osdmap: map versions to releases
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
2019-03-02 11:36:23 +00:00
Sage Weil
5eb77a2b73 Merge PR #26614 into master
* refs/pull/26614/head:
	osd: Implement lazy omap usage statistics

Reviewed-by: Neha Ojha <nojha@redhat.com>
2019-02-28 18:08:29 -06:00
Brad Hubbard
9e21ef0e40 osd: Implement lazy omap usage statistics
Opportunistic gathering of omap statistics during deep scrub.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2019-02-26 14:19:53 +10:00
Xie Xingguo
59a99dfbd7
Merge pull request #26611 from falcon78921/wip-doc-log-based-pg
doc: updated reference link for log based PG

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2019-02-26 08:42:37 +08:00