Commit Graph

4033 Commits

Author SHA1 Message Date
Jos Collin
cfe6c7a13f Merge pull request #17732 from Songweibin/wip-fix-comments
doc,os,osdc: drop and modify comments

Reviewed-by: Jos Collin <jcollin@redhat.com>
2017-09-16 01:04:57 +00:00
Yao Zongyou
69129b73a5 doc: change boolean option default value from zero to false.
Signed-off-by: Yao Zongyou yaozongyou@vip.qq.com
2017-09-14 21:37:04 +08:00
songweibin
9ccb710aa4 doc,os,osdc: drop and modify some comments
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2017-09-14 21:27:38 +08:00
Patrick Donnelly
d929dae49b
Merge PR #17657 into master
* refs/remotes/upstream/pull/17657/head:
	mds: optimize MDCache::rejoin_scour_survivor_replicas()
	mds: fix MDSCacheObject::clear_replica_map
	mds: support limiting cache by memory
	common: refactor of lru
	mds: resolve unsigned coercion compiler warning
	common: use safer uint64_t for list size
	common: add bytes2str pretty print function
	mds: check if waiting is allocated before use
	mds: go back to compact_map for replicas
	mds: use mempool for cache objects
	mds: cleanup replica_map access
	common: add alloc_ptr smart pointer
	common: add warning on base class use of mempool
	common: use atomic uin64_t for counter

Reviewed-by: Zheng Yan <zyan@redhat.com>
2017-09-13 20:08:51 -07:00
Patrick Donnelly
a73ad7676a
Merge PR #17608 into master
* refs/remotes/upstream/pull/17608/head:
	doc/cephfs/posix: put posix notes in perspective

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-13 13:37:57 -07:00
Patrick Donnelly
06c94de584
mds: support limiting cache by memory
This introduces two config parameters:

    mds_cache_memory_limit: Sets the soft maximum of the cache to the given
    byte count. (Like mds_cache_size, this doesn't actually limit the maximum
    size of the cache. It just dictates the steady-state size.)

    mds_cache_reservation: This replaces mds_health_cache_threshold everywhere
    except the Beacon heartbeat sent to the mons. The idea here is to specify a
    reservation of memory (5% by default) for operations and the MDS tries to
    always maintain that reservation. So, the MDS will recall caps from clients
    when it begins dipping into its reservation of memory.

mds_cache_size still limits the cache by Inode count but is now by-default 0
(i.e. unlimited). The new preferred way of specifying cache limits is by memory
size. The default is 1GB.

Fixes: http://tracker.ceph.com/issues/20594
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1464976

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-12 20:02:41 -07:00
Sage Weil
25ba984310 Merge pull request #17654 from yuyuyu101/wip-spdk-doc
doc/bluestore: add SPDK usage for bluestore

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-12 18:56:25 -05:00
Sage Weil
c959911ce2 Merge pull request #17658 from ukernel/wip-cephfs-seekdir
doc/cephfs/posix: remove stale information for seekdir

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-12 18:54:29 -05:00
Sage Weil
a98b37a7a0 Merge pull request #17669 from ygtzf/parameter-default-value-error
doc: update default value of parameter mon_subscribe_interval

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-12 18:39:14 -05:00
Frank Yu
94af0d3ea4 doc: the client inputs the pool name instead of pool ID
Signed-off-by: Frank Yu <flyxiaoyu@gmail.com>
2017-09-12 23:04:14 +08:00
Kefu Chai
fe9196f240 Merge pull request #17640 from tchaikov/wip-diagram-py3
doc/scripts: py3 compatible

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-09-12 21:35:13 +08:00
yaoguotao
d121f5619b doc: update default value of parameter mon_subscribe_interval
Signed-off-by: yaoguotao <yaoguot@gmail.com>
2017-09-12 05:09:10 -04:00
Haomai Wang
537674b786 doc/bluestore: add SPDK usage for bluestore
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-09-11 20:11:29 -07:00
Yan, Zheng
f27bf0ce54 doc/cephfs/posix: remove stale information for seekdir
Current cephfs can support seekdir efficiently. The diverge was
fixed by https://github.com/ceph/ceph/pull/14317

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
2017-09-12 09:49:34 +08:00
Kefu Chai
5720c9854b doc/rados: fix the method names
otherwise, sphinx fails to run with py3

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 23:05:26 +08:00
Kefu Chai
fda079d5ed doc: switch to upstream sphinx-ditaa
it works with setuptools and is now compatible with py3

the py3 branch is created to track the upstream's master branch

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 23:05:26 +08:00
Kefu Chai
965f20d8ee doc/scripts/gen_state_diagram.py: port to py3
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 20:51:11 +08:00
Kefu Chai
b35bf318af doc: update ceph-disk with a state transition diagram
also, quote the variabls in source code with double quote.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-09-11 20:44:35 +08:00
Sage Weil
8222a05096 doc/cephfs/posix: put posix notes in perspective
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-08 16:17:27 -04:00
Sage Weil
9fa4901783 doc: restructure bluestore migration insructions
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-08 11:27:34 -04:00
Sage Weil
24c4354886 Merge pull request #17602 from ceph/wip-blumig-doc
doc: Updates to bluestore migration doc

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-08 10:05:27 -05:00
David Galloway
a9314f0a17 doc/rados/operations/bluestore-migration: Add instruction for evacuating
host

Signed-off-by: David Galloway <dgallowa@redhat.com>
2017-09-08 10:48:32 -04:00
Sage Weil
f4991b71e2 Merge pull request #17011 from liewegas/wip-doc-bluestore-migration
doc/rados/operations/bluestore-migration: update docs a bit
2017-09-08 09:47:02 -05:00
David Galloway
f1b3d1e4bb doc/rados/operations/bluestore-migration: Fix typo in bluestore migration doc
Signed-off-by: David Galloway <dgallowa@redhat.com>
2017-09-08 09:45:53 -04:00
Xiaoxi Chen
14ffd9ba8c doc: fix typo on specify db block device
Should use block.db instead of block-db

Signed-off-by: Xiaoxi Chen <xiaoxchen@ebay.com>
2017-09-07 22:53:30 -07:00
Sage Weil
2bb5daa864 doc/rados/operations/bluestore-migration: typos
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-07 15:19:31 -04:00
Sage Weil
b198236d68 doc/man/8/ceph.rst: remove pg set_*full_ratio
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:06 -04:00
Sage Weil
e467873e36 doc/man/8/ceph: remove old 'ceph pg ' force_create_pg, set_[near]full_ratio
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-06 10:18:06 -04:00
Patrick Donnelly
f0f93c6645
Merge PR #17373 into master
* refs/remotes/upstream/pull/17373/head:
	doc/cephfs: add info on using EC pools with CephFS

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-09-05 12:48:41 -07:00
Casey Bodley
683212ae1f Merge pull request #17141 from theanalyst/doc-civetweb-ports
doc: rgw: mention the civetweb support for binding to multiple ports

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-05 11:39:12 -04:00
Ashish Singh
fec61eb5cc doc: Fixes rbd snapshot flatten example
Snapshot flatten example has incorrect image name, fixing the same.

Fixes: #17723

Signed-off-by: Ashish Singh <assingh@redhat.com>
2017-09-04 16:51:57 +05:30
Xie Xingguo
5ac0969b8a Merge pull request #17395 from theanalyst/cli-rados-stat2
cli: rados: support for high precision time using stat2

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-04 09:18:20 +08:00
Alfredo Deza
3831d4023b Merge pull request #17425 from ceph/wip-ceph-volume-docs
docs: ceph-volume CLI updates

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-09-01 12:55:34 -04:00
Alfredo Deza
dc2f1ffb66 doc/ceph-volume prepare partitions with PARTUUID
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 12:12:43 -04:00
Alfredo Deza
aad84fc9ce doc/ceph-volume prepare needs both volume group and lv names
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:51:59 -04:00
Alfredo Deza
794067e694 doc/ceph-volume activate re-links the journal always
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:29:51 -04:00
Alfredo Deza
8858f02610 doc/ceph-volume emphasize the danger of calling prepare for an existing OSD
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:29:15 -04:00
Abhishek Lekshmanan
7b9dfd3ed0 doc/releases: the Kraken sleepeth, faintest sunlights flee
updating releases to retire Kraken, Hammer. Also updated to mention
Jewel will be around until at least N is finalized

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-09-01 16:05:46 +02:00
Alfredo Deza
219f64b8a5 doc/ceph-volume update intro to mention dm-cache
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 10:00:35 -04:00
Sage Weil
7949c2c603 Merge pull request #17364 from theanalyst/release-updates
doc: update releases to the current state
2017-09-01 08:46:52 -05:00
Abhishek Lekshmanan
948bff4c21 doc: update releases to the current state
Adding Luminous release date, and dropping links for dev releases (since
they've been merged to 12.2.0), also rearranged the table so that newer
releases come left

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-09-01 11:23:59 +02:00
Enming Zhang
4e79414bfe doc: fix doc/radosgw/admin.rst typos
Signed-off-by: Enming Zhang <enming.zhang@umcloud.com>
2017-08-31 21:52:05 +08:00
Abhishek Lekshmanan
f6db58093a doc: man: document stat, stat2 for rados cli
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-31 14:14:10 +02:00
Abhishek L
d0f6580a83 Merge pull request #17362 from C2python/update_example
doc: Revise the Example of Bucket Policy

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-By: Adam Emerson <aemerson@redhat.com>
2017-08-31 10:27:23 +02:00
Sage Weil
fb795f556a Merge pull request #17382 from liewegas/wip-integration
src/script/build-integration-branch

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-30 21:53:36 -05:00
Sage Weil
b5c2782615 src/script/build-integration-branch
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-30 22:53:10 -04:00
Jason Dillaman
b0abab17e3 doc: tweaks for the RBD iSCSI configuration documentation
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-08-30 10:16:26 -04:00
Aron Gunn
f109031cb5 doc/rbd: Replaced numbered steps with a # for dynamic numbering
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:53:00 -04:00
Aron Gunn
2a59c82b3d doc/rbd: Updated the content based on engineering feedback
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:52:57 -04:00
Aron Gunn
1d4f5b458d doc/rbd: Updated the content based on engineering feedback
Fixes: http://tracker.ceph.com/issues/20437

Signed-off-by: Aron Gunn <agunn@redhat.com>
2017-08-30 09:52:54 -04:00