Commit Graph

2415 Commits

Author SHA1 Message Date
Ilya Dryomov
17a3e4b969 rbd: rename --object-extents option to --whole-object
--object-extents is a bit confusing - extent is generally something of
a varying length and here the meaning is "diff whole objects".  Rename
it to --whole-object (the name of diff_iterate() parameter).

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-07-27 12:22:04 +03:00
Ilya Dryomov
afbf90d5b5 rbd: du command should take spec as an argument
Change du to take <image-spec> | <snap-spec> as an argument instead of
going through --image option.  The new synopsis is

    (du | disk-usage) [<image-spec> | <snap-spec>]

This is to make it look more like the rest of the commands: the only
other command that takes pool as an argument is ls and it can't really
serve as a prototype for du, because the latter has to work on images
and snapshots as well.

Examples:

    # stats for pool rbd
    $ rbd du
    $ rbd -p rbd du

    # stats for pool foo
    $ rbd -p foo du

    # stats for snapshot mysnap of image baz in pool rbd
    $ rbd du baz@mysnap

    # stats for image bar in pool foo
    $ rbd du foo/bar

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-07-27 12:22:04 +03:00
Ilya Dryomov
bbc5c71284 rbd: import doesn't require image-spec arg, ditto for export and path
Mark those as such in help and clarify what image-spec defaults to.

Related, all command args in our man page are enclosed into brackets.
I suppose the reason is that they are optional in the sense that you
can have commands like

    $ rbd clone --pool a --image b --snap -c --dest-pool d --dest e

with no args.  Given that we are trying to push people towards

    $ rbd clone a/b@c d/e

undo that so that real optional arguments can be marked optional.
While at it, add synopsis for each command and use backticks for
denoting commands more consistently.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-07-27 12:22:04 +03:00
Ilya Dryomov
76989cc4ae doc: use spec syntax in rbd docs
Use spec syntax instead of --pool, --image and --snap to hopefully push
people towards the former.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-07-27 12:22:04 +03:00
Vikhyat Umrao
9909388171 rbd: use image-spec and snap-spec in rbd help
This patch changes image-name instances to image-spec and snap-name
instances to snap-spec to try to clarify usage for some commands and
disambiguate the term {image,snap}-name, which has been used to denote
both simple names and compound names (specs).

<image-spec> is [<pool-name>]/<image-name>
<snap-spec> is [<pool-name>]/<image-name>@<snap-name>

This patch also removes duplicate checks for image-name and snap-name.

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
[idryomov@gmail.com: some commands take either image-spec or snap-spec,
other fixes, formatting, changelog]
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-07-27 12:22:04 +03:00
Sage Weil
edd68e3ade Merge pull request #5188 from athanatos/wip-11687
PG::find_best_info: ignore info.les for incomplete peer

Reviewed-by: Sage Weil <sage@redhat.com>
2015-07-16 11:03:18 -04: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
Yuan Zhou
8cee73255b rgw: doc: Fix radosgw stripe size config ref
s/rgw object stripe size/rgw obj stripe size
https://github.com/ceph/ceph/blob/master/src/common/config_opts.h#L1024

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
2015-07-14 23:53:20 +08:00
Vikhyat Umrao
8506822e0e doc: change tcp rcvbuf and tcp nodelay to ms tcp rcvbuf
and ms tcp nodelay

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2015-07-14 17:21:33 +05:30
John Spray
8eaa2f263d doc: add some docs about cephfs-data-scan
These are deliberately fairly sparse, because:
 * These tools are for experts
 * These tools may well be wrapped in a higher
   level recovery tool that orchestrates parallel
   workers at some stage.

Signed-off-by: John Spray <john.spray@redhat.com>
2015-07-13 14:05:17 +01:00
Kefu Chai
cb03f81b61 doc/erasure-code: fix couple typos
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-11 01:47:48 +08:00
Pete Zaitcev
d8a728ec15 rgw: Document the layout of pools and objects
This has to be kept in sync as the layout changes. Like any other
document, really.

Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
2015-07-08 22:31:31 -06:00
Ilya Dryomov
89c2a0b58a rbd: recognize queue_depth option
.. and also stress the difference between libceph and rbd mapping
options.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2015-07-06 16:32:15 +03:00
Loic Dachary
97ce0c533a Merge pull request #5128 from ceph/wip-fix-doc
doc: fix the build

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-07-03 15:05:02 +02:00
Kefu Chai
40399e38fa doc: indent warning messages in add-or-rm-osds.rst
otherwise they are rendered as normal text

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-02 20:59:23 +08:00
Kefu Chai
253e256964 doc: fix the link in dev/quick_guide
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-07-02 20:50:48 +08:00
Kefu Chai
ec132a7986 Merge pull request #4166 from sponce/wip-10759
tools: rados cli --striper

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-07-01 23:32:57 +08:00
unknown
504a48a3d3 doc : missing link in "quick_guide.rst"
Fixes: #12009

Signed-off-by: Germain CHIPAUX <germain.chipaux@gmail.com>
Signed-off-by: Thomas LAUMONDAIS <thomas.laumondais@gmail.com>
Signed-off-by: Pierre CHAUMONT <pierre.chaumont31@gmail.com>
Signed-off-by: Benjamin TROQUEREAU <benjamin.troquereau@gmail.com>
Signed-off-by: Benjamin SESIA <benjamin.sesia@gmail.com>
2015-06-30 15:58:17 +02:00
Loic Dachary
90b2ccabc0 Merge pull request #5098 from PierreChaumont/master
doc: homogenize Librados (Python) documentation's code samples

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-28 13:36:37 +02:00
PierreChaumont
8a221c3509 doc: homogenize Librados (Python) documentation's code samples
I put in doc/rados/api/python.rst line numbers on every code samples in
order to make them look all the same.

Fixes: #12174

Signed off: Pierre Chaumont pierre.chaumont31@gmail.com
2015-06-27 16:00:35 +02:00
Kefu Chai
2ac566c823 Merge pull request #5058 from SUSE/wip-fix-release-notes-blooper
release-notes.txt: fix version number in section heading

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-06-25 20:54:37 +08:00
Kefu Chai
b097e70732 Merge pull request #4840 from tchaikov/wip-11833-crush-dump-tree
mon: add an "osd crush dump tree" command

Reviewed-by: Min Chen <minchen@ubuntukylin.com>
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
2015-06-24 17:39:49 +08:00
Nathan Cutler
053ab4cf9b release-notes.txt: fix version number in section heading
From context it is obvious that this section is about upgrading from Giant, not
Firefly, so change the version number to match Giant.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-06-23 14:56:35 +02:00
Loic Dachary
228fd4c8e0 Merge pull request #5054 from SUSE/wip-release-notes-syntax
doc/release-notes.rst: add missing word to complete sentence

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-23 08:31:29 -04:00
Nathan Cutler
d5ff8a5dbf doc/release-notes.rst: add missing word to complete sentence
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2015-06-23 14:23:24 +02:00
Sebastien Ponce
49ab5bb3c4 rados: Added --striper option to the command line
Fixes: #10759
the new --striper option allows to use the striping API provided by libradosstriper.

Signed-off-by: Sebastien Ponce <sebastien.ponce@cern.ch>
2015-06-23 13:04:21 +02:00
Li Wang
c1bd02c978 Merge pull request #4792 from kylinstorage/wip-writeback-throttling-for-cache-tiering
Wip writeback throttling for cache tiering

This patch is to do write back throttling for cache tiering, which is similar to what the Linux kernel does for  page cache write back.  A paramter 'cache_target_dirty_high_ratio'  (default 0.6) is introduced as the high speed flushing threshold, while leave the 'cache_target_dirty_ratio' (default 0.4) to represent the low speed  threshold. The flush speed is controlled by limiting the parallelism of flushing. The maximum parallelism under low speed is half of the parallelism under high speed. If there is at least one PG such that the dirty ratio beyond the high threshold, full speed mode is entered; If there is no PG such that dirty ratio beyond the low threshold, idle mode is entered; In other cases, slow speed mode is entered.

Signed-off-by: Mingxin Liu <mingxinliu@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
Suggested-by: Nick Fisk <nick@fisk.me.uk>
Tested-by: Kefu Chai <kchai@redhat.com>
2015-06-23 15:15:47 +08:00
Josh Durgin
3203efd1fc Merge pull request #4848 from leseb/doc-openstack-kilo
doc: update openstack and rgw keystone

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-06-19 07:14:05 -07:00
Loic Dachary
160201f2c9 Merge pull request #5012 from Arshanes/master
doc: Fixed the picture on page http://ceph.com/docs/master/cephfs/

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-19 15:54:27 +02:00
Valentin
a1e3108628 doc: Fixed the picture on page http://ceph.com/docs/master/cephfs/
Fixes: #9174

Signed-off-by Valentin Thomas <valentin.arshanes.thomas@gmail.com>
2015-06-19 13:37:56 +02:00
Loic Dachary
8e08d6cc64 Merge pull request #5017 from JordanDorne/master
doc: Replace requries with requires in python API doc

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 18:09:29 +02:00
JordanDorne
350139b3a7 doc: Replace requries with requires in python API doc
Fixes: #12076
Signed-off-by: Jordan DORNE <jordan.dorne@gmail.com>
2015-06-18 17:39:40 +02:00
Loic Dachary
5277861153 Merge pull request #4989 from ltoto2/master
doc: Adding a link to documentation on admin socket

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 17:36:33 +02:00
Thomas Laumondais
0c4555d1f4 doc: Adding a link to documentation on admin socket
Fixes: #11845

Signed-off-by: Thomas Laumondais <thomas.laumondais@gmail.com>
2015-06-18 17:23:40 +02:00
Loic Dachary
67343f614f Merge pull request #5011 from robin974/master
doc: Fixes a missing dot

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 17:14:41 +02:00
Loic Dachary
cb49329c42 Merge pull request #5006 from Claire1293/master
doc: dev/differences-from-posix

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 17:12:08 +02:00
Loic Dachary
6c93465ec1 Merge pull request #4987 from Aeryax/master
doc: Replaced "disk or drive" by "disk" in ceph-disk.rs

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 17:10:18 +02:00
robin974
f105fdc255 doc: Fixes a missing dot
Fixes: #12072

Signed-off-by: Robin Tang <robintang974@gmail.com>
2015-06-18 16:43:45 +02:00
Loic Dachary
2bc009bb52 Merge pull request #5008 from jr31/master
doc: Unify ID format

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 16:39:03 +02:00
unknown
7fd1ae8b42 doc: dev/differences-from-posix
Fixes: #11108
Signed-off-by: Claire MASSOT <claire.massot93@gmail.com>
2015-06-18 16:37:26 +02:00
Jean-Rémi Deveaux
b10adf6a4f doc: Unify ID format
Fixes: #12071

Signed-off-by: Jean-Rémi Deveaux <jeanremi.deveaux@gmail.com>
2015-06-18 16:26:08 +02:00
Cleminou
145fbb7d3c doc: Fixes a missing word in a printed string
Fixes: #11106

Signed-off-by: Clement Lebrun <clement.lebrun.31@gmail.com>
2015-06-18 16:05:43 +02:00
Loic Dachary
2308faf206 Merge pull request #5004 from arthurgorjux/master
doc: Remove `` before and after 'ceph -s' in titles

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 15:48:18 +02:00
Kazhord
3cb8c4e8ef doc: Replaced "disk or drive" by "disk" in ceph-disk.rs
Fixes: #12062
Signed-off-by: Gabriel SENTUCQ <perso@kazhord.fr>
2015-06-18 15:47:26 +02:00
Loic Dachary
2b26011079 Merge pull request #5003 from Oxygen31/master
doc : Change of "create" in "add"

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 15:47:21 +02:00
Arthur Gorjux
7065203ff1 doc: Remove `` before and after 'ceph -s' in titles
Fixes: #12059
Signed-off-by: Arthur Gorjux <arthurgorjux@gmail.com>
2015-06-18 15:25:48 +02:00
Germain
cac48bd076 doc : Change of "ceph-deploy mon create {ceph-node}" with "ceph-deploy mon add {ceph-node}" in "Quick-ceph-deploy.rst"
Fixes : #10293

Signed-off-by : Germain CHIPAUX <germain.chipaux@gmail.com>
2015-06-18 15:24:43 +02:00
Loic Dachary
5cb3cb0958 Merge pull request #4986 from nicolasyong/master
doc: Modification of a sentence

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 15:22:00 +02:00
nicolasyong
33f4b9a05b doc: Modification of a sentence.
Fixes : #12057

Signed-off-by: Nicolas Yong <nicolas.yong93@gmail.com>
2015-06-18 15:15:06 +02:00
Loic Dachary
49f093af9a Merge pull request #4988 from kevincaradant/master
doc: ceph-deploy man page: typo

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-06-18 15:01:25 +02:00