Commit Graph

672 Commits

Author SHA1 Message Date
Sage Weil
8bcf3e5781 Merge pull request #15212 from neha-ojha/wip-fix-recovery-sleep-configurable
osd: Implement asynchronous recovery sleep

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-06-01 11:54:58 -05:00
Neha Ojha
a8cad41908 doc: add description about osd_recovery_sleep
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-05-24 17:02:53 -07:00
Ken Dreyer
87d47b0dfa docs: document "osd recovery max single start" setting
Fixes: http://tracker.ceph.com/issues/17396
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2017-05-24 14:41:17 -06:00
Sage Weil
790ceff325 Merge pull request #15144 from drunkard/master
doc: typo fixes on hyperlink/words 

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-19 13:03:45 -05:00
Drunkard Zhang
58ba14e2fd doc: hyperlink fixes
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-05-19 09:41:33 +08:00
Drunkard Zhang
5e3ae6d9d3 doc: typo fixes
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-05-19 09:34:48 +08:00
Kefu Chai
6f7b339d27 Merge pull request #15143 from minshenglin/fix_broken_link
doc: fix broken link in erasure-code.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-18 15:40:26 +08:00
MinSheng Lin
e86cef3134 doc: fix broken link in erasure-code.rst
Fixes: http://tracker.ceph.com/issues/19972
Signed-off-by: MinSheng Lin <minsheng.l@inwinstack.com>
2017-05-18 09:48:07 +08:00
John Wilkins
3b943b49e8 Merge pull request #15032 from tchaikov/wip-doc-opts
doc: add descriptions for mon/mgr options

Reviewed-by: John Wilkins <jowilkin@redhat.com>
2017-05-17 08:04:29 -07:00
Kefu Chai
4b52a03859 doc: add descriptions for mon/mgr options
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-13 01:30:29 +08:00
Patrick Donnelly
bdf1a7a943
mds: use debug_mds for most subsys
DOUT_COND was obsoleted by f41887e38d.

Balancer and Mantle use a dout hack to continue working since we will probably
specifically want very verbose balancer output in the future.

Fixes: http://tracker.ceph.com/issues/19734

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-05-11 10:49:54 -04:00
Yuri Weinstein
1cce4c7f68 Merge pull request #14723 from neha-ojha/objclass-sdk
osd: objclass sdk

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-03 09:28:59 -07:00
Neha Ojha
b7215b025a objclass-sdk: create SDK for Ceph object classes
Creates an installable version of "src/include/rados/objclass.h" that allows
object classes to be built outside of the Ceph tree. cls_sdk is an example
of such an object class.

Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-04-27 13:05:53 -07:00
Sage Weil
1919297826 Merge pull request #14494 from drunkard/master
doc: two minor fixes
2017-04-25 12:11:03 -05:00
Josh Durgin
bad606605a doc: update ec docs for overwrite support
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:43 -07:00
Josh Durgin
930eae214c OSDMonitor: get stripe_width via stripe_unit in ec profile
With bluestore, making the smallest write match min_alloc_size avoids
write amplification. With EC pools this is the stripe unit, or
stripe_width / num_data_chunks. Rather than requiring people to divide
by k to get the smallest ec write, allow it to be specified directly
via stripe_unit. Store it in the ec profile so changing a monitor
config option isn't necessary to set it.

This is particularly important for ec overwrites since they allow random i/o
which should match bluestore's checksum granularity (aka min_alloc_size).

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-04-19 17:45:43 -07:00
David Zafman
2522307865 mon, osd: Add detailed full information for now in the mon
Show ceph health doc output in the correct order

Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-17 08:02:50 -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
David Zafman
79a4ac41c5 common: Remove unused config option osd_recovery_threads
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-04-17 07:58:30 -07:00
Drunkard Zhang
3c70331d6b doc: indent style fixes
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-04-13 12:51:44 +08:00
Sage Weil
b841ab2592 Merge pull request #14419 from badone/wip-doc-pg-states-min_size
docs: Clarify the relationship of min_size to EC pool recovery

Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-11 21:10:35 -05:00
Patrick Dinnen
c5931484c9 doc: correct arguments for ceph tell osd.N bench
Signed-off-by: Patrick Dinnen pdinnen@gmail.com
2017-04-11 15:57:11 -04:00
Brad Hubbard
ac6123d7a6 docs: Clarify the relationship of min_size to EC pool recovery
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-04-10 15:14:20 +10:00
Sage Weil
da51861d71 Merge pull request #14199 from andihit/doc-update-default-osd-op-thread-timeout
doc: change osd_op_thread_timeout default value to 15

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 21:26:08 -05:00
Andreas Gerstmayr
d5b9e281d0 doc: change osd_op_thread_timeout default value to 15
Signed-off-by: Andreas Gerstmayr <andreas.gerstmayr@catalysts.cc>
2017-03-28 18:00:28 +02:00
Sven Seeberg
804134a2bf renamed hit_set_grade_search_last_n to hit_set_search_last_n
Signed-off-by: Sven Seeberg <sseebergelverfeldt@suse.com>
2017-03-24 10:25:06 +01:00
Kefu Chai
3ffa869af2 Merge pull request #13942 from xiexingguo/wip-cleanup-proc-repinfo
osd/PG: conditionally retry on receiving pg-notify when Primary is Incomplete

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-22 23:57:13 +08:00
Kefu Chai
b935248197 Merge pull request #13997 from tchaikov/wip-doc-fixings
doc:  fixes to silence sphinx-build

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-03-21 11:46:12 +08:00
Kefu Chai
35ae186059 Merge pull request #14007 from badone/wip-api-doc-code-fixes
docs: Fix problems with example code

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-20 12:12:28 +08:00
xie xingguo
18c83bb97e osd/PG: kill PG_STATE_REPLAY
This replay state of PG is not functionable and
hence should not be made visible to user.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-03-20 10:24:25 +08:00
Brad Hubbard
ccdb61b349 docs: Fix problems with example code
Current code generates warnings and, in some cases, doesn't compile.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2017-03-17 16:12:41 +10:00
Kefu Chai
f2499ad502 Merge pull request #13930 from drunkard/master
doc: fix a typo

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-16 23:05:42 +08:00
Kefu Chai
74a84e9be3 doc: indent :maxdepth: using spaces in toc
* indent :maxdepth: directive properly, otherwise sphinx complains
   index.rst:45: WARNING: toctree contains reference to nonexisting
   document u'rados/configuration/    :maxdepth: 1'
* also reindent the entries in toc, so we can add paths without
  documenting their titles. because otherwise the paths inclues an extra
  space, without the proper indent.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-16 16:39:40 +08:00
Kefu Chai
39bc4ee7c5 doc/rados: fix sphinx warning
silences follow warning:

network-config-ref.rst:373: WARNING: Field list ends without a blank line; unexpected unindent.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-16 16:39:40 +08:00
Drunkard Zhang
33290a4f48 doc: typo fix in rados/operations/crush-map
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-16 14:40:31 +08:00
Kefu Chai
bd36f13163 doc: fix the links to http://ceph.com/docs
they should point to http://docs.ceph.com/docs/master/.. instead

Fixes: http://tracker.ceph.com/issues/19090
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-15 16:40:07 +08:00
Loic Dachary
759032288c Merge pull request #13444 from dachary/wip-18943-device-class
crush: add devices class that rules can use as a filter

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-08 13:16:49 +01:00
David Zafman
4536da78cf Merge pull request #13425 from dzafman/wip-15912
osd: various changes for preventing internal ENOSPC condition

Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-06 10:49:01 -08:00
Loic Dachary
154f3d3d27 crush: document the class qualifier
The class qualifier is documented for devices and step take
only. Although it shows in the buckets and could be set by the user, it
would be very error prone to do so.

Refs: http://tracker.ceph.com/issues/18943

Signed-off-by: Loic Dachary <ldachary@redhat.com>
2017-03-01 17:24:09 +01:00
Drunkard Zhang
7ddf1f2018 doc: remove dead doc from index
Signed-off-by: Drunkard Zhang <gongfan193@gmail.com>
2017-03-01 09:52:10 +08:00
Kefu Chai
0d858b9789 doc: document osd-agent-{max,low}-ops options
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-26 11:12:22 +08:00
David Zafman
830cc7aa7b mon: Bump min in ratio to 75%
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-02-24 13:02:00 -08:00
Barbora Ančincová
2918439f57 doc: remove mentions about mon_osd_min_down_reports
Fixes: http://tracker.ceph.com/issues/19016
Signed-off-by: Bara Ancincova (bara@redhat.com)
2017-02-21 13:43:03 +01:00
Kefu Chai
df98e8be44 Merge pull request #13317 from ktdreyer/wip-doc-ms-bind-ipv6-exclusive
doc: clarify that "ms bind ipv6" disables IPv4

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kefu@redhat.com>
2017-02-15 17:45:54 +08:00
Kefu Chai
1556a07cf1 doc: remove duplicated references
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-02-14 00:19:54 +08:00
Sage Weil
9c881e99f4 Merge pull request #12923 from liewegas/wip-df-avail
mon/PGMap: factor mon_osd_full_ratio into MAX AVAIL calc

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-02-08 20:51:46 -06:00
Ken Dreyer
38c216fbf0 doc: clarify that "ms bind ipv6" disables IPv4
This was sort of described in doc/rados/configuration/ms-ref.rst
already. Add the same information to the other areas where we talk about
the ms bind ipv6 setting.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2017-02-08 10:31:15 -07:00
Sage Weil
93bbc1e4bd Merge pull request #9396 from songbaisen/doc2
doc: fix the librados c api can not compile problem

Reviewed-by: Sage Weil <sage@redhat.com>
2017-02-03 16:24:59 -06:00
Sage Weil
f223ac9291 mon/PGMap: factor mon_osd_full_ratio into MAX AVAIL calc
If we only fill OSDs to 95%, we should factor that into
the MAX AVAIL calculation for the pool.

Fixes: http://tracker.ceph.com/issues/18522
Signed-off-by: Sage Weil <sage@redhat.com>
2017-02-03 10:08:33 -05:00
Wido den Hollander
f42afa828b
doc: Document that osd_heartbeat_grace applies to MON and OSD
This value has to be set in both the [mon] and [osd] section since
both daemons read this value.

Signed-off-by: Wido den Hollander <wido@42on.com>
2017-01-30 10:04:52 +01:00