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
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
James McClune
0dc5000124
doc: updated reference link for log based PG
...
Added :ref: label to Log Based PG page. Referenced <log-based-pg>
label on Asynchronous Recovery page.
Fixes: https://tracker.ceph.com/issues/38465
Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-02-24 16:08:44 -05:00
Kefu Chai
01409a542c
Merge pull request #25060 from mooncak/fix_typos
...
doc: Fix some typos
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-11-15 15:29:39 +08:00
mooncake
67a44af1a5
doc: Fix some typos
...
Signed-off-by: mooncake <xcoder@tenxcloud.com>
2018-11-14 19:49:13 +08:00
Shiyang Ruan
99ce7cf48b
common: fix typos in BackoffThrottle
...
Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.com>
2018-10-22 13:09:20 +08:00
Kefu Chai
5ee1fd2c32
doc: fix typos
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-09-21 12:41:42 +08:00
Kefu Chai
f710466995
Merge pull request #21077 from Ashid6/master
...
doc: typo fix
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-03-28 19:04:29 +08:00
Ashita Dashottar
1e8d753876
doc: typo fix
...
Signed-off-by: Ashita Dashottar <AshitaDashottar6@gmail.com>
2018-03-28 16:15:00 +05:30
Neha Ojha
5cc9252784
doc: dev description of async recovery
...
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-03-27 15:01:17 -07:00
Kefu Chai
127d25ccbd
doc: fix warning reported by "build-doc linkcheck"
...
all the HTTP 301 (moved permanently) should be killed.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-10-24 15:58:48 +08:00
Sage Weil
dc7a2aaf7a
erasure-code: ruleset-* -> crush-*
...
1) ruleset is an obsolete term, and
2) crush-{rule,failure-domain,...} is more descriptive.
Note that we are changing the names of the erasure code profile keys
from ruleset-* to crush-*. We will update this on upgrade when the
luminous flag is set, but that means that during mon upgrade you cannot
create EC pools that use these fields.
When the upgrade completes (users sets require_osd_release = luminous)
existing ec profiles are updated automatically.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-06 15:01:03 -04:00
Sage Weil
0346998b5a
doc: recommend against btrfs
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-06-30 13:54:18 -04:00
liuchang0812
998ee1d190
doc: kill some broken links
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-06-07 16:13:45 +08:00
David Zafman
27e14504f6
osd: Add PG state and flag for too full for recovery
...
New state machine state NotRecovering
New PG state PG_STATE_RECOVERY_TOOFULL
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-17 08:00:24 -07:00
David Zafman
a5731076ad
osd: Handle backfillfull_ratio just like nearfull and full
...
Add BACKFILLFULL as a local OSD cur_state
Notify monitor of this new fullness state
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-17 08:00:24 -07:00
Kefu Chai
1f975d78a8
doc: add :orphan: to orphaned docs
...
we should remove the deprecated ones once it's safe to remove them.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-16 16:39:40 +08:00
Kefu Chai
68ec0b2c29
doc/dev/osd_internals: fix sphinx warnings
...
silence following warnings:
erasure_coding.rst:77: WARNING: toctree contains reference to
nonexisting document u'dev/osd_internals/erasure_coding/pgbackend'
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-16 16:39:40 +08:00
Kefu Chai
425b468ad0
doc/dev/osd_internals: fix sphinx warnings
...
silences errors like
erasure_coding/proposals.rst:236: ERROR: Unexpected indentation.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-16 16:34:53 +08:00
Greg Farnum
bde8222932
doc: update osd snap trimming with a little more detail
...
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2017-01-25 16:09:41 -08:00
liuchang0812
5fa0a015fc
doc/dev: update log_based_pg.rst, fix some display problem
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-01-03 13:11:27 +08:00
Samuel Just
e2b3095554
Merge pull request #12500 from badone/wip-doc-PGPool
...
doc/dev/osd_internals: add pgpool.rst
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-12-15 14:00:22 -08:00
Brad Hubbard
0f6be4c98c
doc/dev/osd_internals: add pgpool.rst
...
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-12-16 05:35:09 +10:00
Samuel Just
6f8e4b3810
src: rename ReplicatedPG to PrimaryLogPG
...
It's been confusing for a long time that EC pools are implemented by
ReplicatedPG. What PG/ReplicatedPG really implement is the concept
of a PG where consistency is managed by the primary via a log.
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-12-14 10:18:27 -08:00
Samuel Just
4740fe46ec
doc/dev/osd_internals: add some docs for ECBackend
...
Also, clean up some old ones.
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-11-17 10:41:34 -08:00
Kefu Chai
7dedce8a6e
Merge pull request #9083 from badone/wip-doc-last_epoch_started
...
doc/dev: Fix missing code section due to no lexer for "none"
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-07-07 14:23:56 +08:00
xie xingguo
fbfd38c475
osd: rename "wait_backfill" to "backfill_wait"
...
We use "backfill_wait" everywhere except this one.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-06-03 17:52:52 +08:00
Brad Hubbard
ef8025d0de
doc/dev: Fix missing code section due to no lexer for "none"
...
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2016-05-12 10:13:06 +10:00
Samuel Just
c9861a0f79
doc/.../throttles*: update the docs to reflect the throttle changes
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-25 11:11:46 -08:00
Sage Weil
dfb9fea3a9
Merge pull request #5660 from badone/doc_snaps_typo
...
doc: Fix typo and redundant word in snaps section
2015-08-25 11:54:29 -04:00
Brad Hubbard
699fca8089
doc: Fix typo and redundant word in snaps section
...
Fix typo and remove identifying from "filtering identifying" in
doc/dev/osd_internals/snaps.rst
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-08-25 21:31:43 +10:00
Brad Hubbard
6ee7068c4c
doc: Fix typo in writeback throttle section
...
Fix typo in doc/dev/osd_internals/wbthrottle.rst
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-08-25 21:04:55 +10:00
Brad Hubbard
07a28d6ce2
doc: Fix typo in recovery reservation section
...
Fix typo in doc/dev/osd_internals/recovery_reservation.rst
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-08-25 20:51:09 +10:00
Brad Hubbard
370e4a71a2
doc: remove duplicate word in Motivation section.
...
Remove to\nto typo in doc/dev/osd_internals/erasure_coding/pgbackend.rst
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-08-10 11:51:49 +10:00
Samuel Just
371d9baa12
PG::find_best_info: ignore info.les for incomplete peer
...
See included update to doc/dev/osd_internals/last_epoch_started.rst
Fixes: 11687
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-07-15 08:57:18 -07:00
Sage Weil
d26a9dce5e
Merge remote-tracking branch 'gh/hammer'
...
Conflicts:
PendingReleaseNotes
src/Makefile.am
src/gmock
src/test/Makefile.am
2015-03-19 12:41:04 -07:00
Samuel Just
2956ae278d
doc: add last_epoch_started.rst
...
Signed-off-by: Samuel Just <sjust@redhat.com>
2015-03-19 08:41:38 -07:00
Kefu Chai
c1e792d8aa
doc: update doc with latest code
...
* also silence some warnings of doxygen
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-02-24 16:05:12 +08:00
Loic Dachary
d8d608d671
erasure-code: update links to jerasure upstream
...
It moved from bitbucket to jerasure.org
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-01-15 21:30:25 +01:00
Loic Dachary
69b5c72cbe
doc: updates on Backfill Reservation
...
The logic was changed by:
0985ae71bc
osd: prioritize backfill based on *how* degraded
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-10-16 18:36:11 -07:00
Loic Dachary
487105df10
erasure-code: add directory to plugin init functions
...
The prototype of the init functions of erasure coded plugins is changed
from
int __erasure_code_init(char *plugin_name)
to
int __erasure_code_init(char *plugin_name, char *directory)
The jerasure plugin will find optimized variants in this directory and
load them. The load() and preload() functions of
ErasureCodePluginRegistry only use a directory instead of a more generic
parameters map. The parameters map was only used for the directory entry
anyway.
Signed-off-by: Loic Dachary <loic-201408@dachary.org>
2014-08-28 11:09:29 +02:00
Abhishek Lekshmanan
1682e62eeb
doc: typo s/loose/lose
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-08-05 10:35:03 +05:30
Abhishek Lekshmanan
cc5c33f566
doc: fix a few typos in the dev docs
...
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2014-07-09 11:05:46 +05:30
Loic Dachary
1dfe913af2
erasure-code: add definitions to the glossary
...
and fix a typo
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-30 11:35:31 +02:00
Loic Dachary
e47049ba83
erasure-code: fix URL in developer notes
...
add missing ..
http://tracker.ceph.com/issues/8388 Fixes : #8388
Reported-by: koleosfuscus <koleosfuscus@yahoo.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-19 18:41:37 +02:00
Dmitry Smirnov
f22e2e9a02
spelling corrections
2014-04-17 12:43:30 +10:00
Loic Dachary
ff51d3ff56
doc: pgbackend dev doc outdated notice
...
* Warn the reader that the implementation is ahead and may differ
* Update the links to the Firefly branch
* Remove links to issues used during development to avoid confusion
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-30 10:31:13 +02:00
Loic Dachary
d5973aaf7e
doc: update jerasure plugin
...
* The parameters come from the erasure code profile
* Add a note about the upstream submodules gf-complete / jerasure
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-30 10:31:13 +02:00
Loic Dachary
402e10473f
doc: erasure code developer notes updates
...
Update the introduction to explain erasure code profiles. Remove
obsolete explanations about partial writes etc. Remove links to tickets
used during development. Update permalinks to be closer to
Firefly (v0.78).
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-30 10:31:07 +02:00
Loic Dachary
fd28ad55a9
doc: erasure-code development complete
...
remove the note explaining that it is not yet available.
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-03-29 11:25:59 +01:00