Commit Graph

33813 Commits

Author SHA1 Message Date
Loic Dachary
8ff4edda73 documentation: update osd pool create erasure
The properties are replaced with erasure code profiles. Remove the
reference to properties and the documentation of each erasure-code
related property.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-03 13:47:32 +02:00
Sage Weil
4951244726 Merge remote-tracking branch 'gh/next' 2014-06-02 22:24:48 -07:00
Sage Weil
4f834fa8ef doc/release-notes: v0.81
Signed-off-by: Sage Weil <sage@inktank.com>
2014-06-02 22:24:42 -07:00
sushma
884a6b374a RadosClient: Avoid the DispatchQueue for OSD responses.
Prior to this change, reader thread puts the response on the DispatchQueue
and Dispatcher thread would call librados callbacks (C_aio_Ack, C_Safe_Cond).
The single DispatchQueue and Dispatcher thread (per client) would become
a bottleneck with multiple OSDs in the cluster.
Similar to fast-dispatch changes on the OSD, DispatchQueue/thread are removed
and librados internal callbacks will be called from reader thread context.

Signed-off-by: Sushma Gurram <sushma.gurram@sandisk.com>
Signed-off-by: Somnath Roy <somnath.roy@sandisk.com>

Reviewed-by: Greg Farnum <greg@inktank.com>
2014-06-02 16:29:43 -07:00
John Wilkins
0cc9ade824 doc: Updated monitor output and added usage calc explanations.
Fixes: #4948

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-06-02 16:03:31 -07:00
John Wilkins
9c32cb2685 doc: Added usage for pool quotas.
Fixes: #5653

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-06-02 15:31:45 -07:00
John Wilkins
86754cc78c doc: Added more discussion of new CRUSH types.
Fixes: #7727

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-06-02 14:40:27 -07:00
John Wilkins
cabb8f066d doc: Added a section for ceph df.
Fixes: #8281

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-06-02 12:21:42 -07:00
Jenkins
8de9501df2 0.81 2014-06-02 18:37:27 +00:00
John Wilkins
4bc5aef93a doc: Updated packages to reference firefly.
Fixes: #8466

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-06-02 11:28:22 -07:00
John Wilkins
4763be0cff Merge pull request #1887 from rossturk/wip-rturkfonts
doc: remove Apex Sans from generated doc HTML
2014-06-02 11:06:36 -07:00
John Wilkins
920bc493b9 Merge pull request #1885 from nereocystis/rados-bench-man
doc: Improve man page for bench
2014-06-02 11:05:34 -07:00
Sage Weil
2d47ff9a2c Merge pull request #1857 from ceph/wip-8265
#8265: config: make int parser accept K, M, G, T, P suffix and scale value accordingly

Reviewed-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-06-02 10:45:05 -07:00
Sage Weil
4abb1018d7 Merge pull request #1902 from dachary/wip-copyright-notices
erasure-code: Ceph distributed storage system

Reviewed-by: Sage Weil <sage@inktank.com>
2014-06-02 09:10:11 -07:00
Loic Dachary
601e25ebb2 erasure-code: Ceph distributed storage system
instead of Ceph - scalable distributed file system in the copyright notices

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-01 10:32:26 +02:00
Sage Weil
9bac31be07 scripts/run-coverity: don't explicitly specify tool version
Rely on a symlink instead.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-31 08:13:48 -07:00
Loic Dachary
beaf452574 Merge pull request #1901 from dachary/wip-erasure-code-concat
erasure-code: make decode_concat virtual

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
2014-05-31 13:58:49 +02:00
Loic Dachary
0a2aa5e193 Merge pull request #1900 from dachary/wip-ostream
common: s/stringstream/ostream/ in str_map

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
2014-05-31 13:57:11 +02:00
Loic Dachary
e158ad96ec erasure-code: make decode_concat virtual
So that a plugin can provide a more efficient implementation.

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-31 13:38:10 +02:00
Loic Dachary
35fb7419eb Merge pull request #1898 from dhxgit/master
Update INSTALL to mention the submodules/recursive

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-05-31 13:20:25 +02:00
Loic Dachary
6aa45b1339 common: s/stringstream/ostream/ in str_map
There is no need to specialize more than ostream : it only makes it
impossible to use cerr or cout as a parameter to str_map.

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-31 13:13:05 +02:00
Dominik Hannen
06c0a42777 Update INSTALL to mention the submodules/recursive
Signed-off-by: Dominik Hannen <cantares1+github@gmail.com>
2014-05-31 11:22:41 +02:00
Loic Dachary
1c91e65de5 Merge pull request #1895 from ceph/wip-sock-cmp
msg: remove comparison operators for sockaddr_storage

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-05-31 10:27:44 +02:00
Sage Weil
83ccba3228 msg: remove comparison operators for sockaddr_storage
We don't need these at all, it turns out.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-30 16:26:25 -07:00
Joao Eduardo Luis
38405d3554 qa/workunits/cephtool: test setting options using SI units
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-05-30 22:09:23 +01:00
Joao Eduardo Luis
5500437e06 common/config.cc: allow integer values to be parsed as SI units
We are allowing this for all and any integer values; that is, OPT_INT,
OPT_LONGLONG, OPT_U32 and OPT_U64.

It's on the user to use appropriate units.  For instance, the user should
not use 'E(xabyte)' when setting a signed int, and use his best judgment
when setting options that, for instance, ought to receive seconds.

Fixes: 8265
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-05-30 22:09:23 +01:00
Joao Eduardo Luis
40587d4792 test/strtol.cc: Test 'strict_strtosi()'
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-05-30 22:09:23 +01:00
Joao Eduardo Luis
67dc5751ba common/strtol.cc: strict_strtosi() converts str with SI units to uint64_t
Accepts values with a suffix (B, K, M, G, T, P, E) and returns the
appropriate byte value.

E.g., 10B = 10, while 10K = 10240.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-05-30 22:09:23 +01:00
Sage Weil
3b884becca Merge remote-tracking branch 'gh/next' 2014-05-30 10:13:59 -07:00
Yehuda Sadeh
9c56c86bda rgw: calc md5 and compare if user provided appropriate header
Fixes: #8436
Backport: firefly

This was broken in ddc2e1a8e3. The fix
resurrects and old check that was dropped.

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
2014-05-30 09:51:52 -07:00
Loic Dachary
8691773ef0 Merge pull request #1888 from ceph/wip-8472
msg_types.h: Don't use strncmp for comparing sockaddr_in.

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-05-30 10:03:04 +02:00
Dan Mick
cae085b676 msg_types.h: Don't use strncmp for comparing sockaddr_in.
Fixes: #8472
Signed-off-by: Dan Mick <dan.mick@inktank.com>
2014-05-29 16:20:01 -07:00
Kevin Dalley
00b92119e5 doc: Improve man page for rados bench
Add information about seq and rand for bench. Also mention
--no-cleanup option.

Signed-off-by: Kevin Dalley <kevin@kelphead.org>
2014-05-29 16:03:50 -07:00
Loic Dachary
2bfb8d48c6 Merge pull request #1886 from nereocystis/pools-doc
doc: update pools documentation

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-05-30 00:08:16 +02:00
Kevin Dalley
2da2699925 doc: update pools documentation
set=>get in "Get Pool Values"
grep for 'replicated size', not 'rep size'

Signed-off-by: Kevin Dalley <kevin@kelphead.org>
2014-05-29 14:56:06 -07:00
Kevin Dalley
ab59a100ad doc: Improve man page for bench
Add information about seq and rand for bench. Also mention
--no-cleanup option.

Signed-off-by: Kevin Dalley <kevin@kelphead.org>
2014-05-29 14:28:47 -07:00
John Wilkins
47e6fc2b05 Merge pull request #1884 from nereocystis/glossary-rados
doc: Define RADOS in glossary
2014-05-29 14:12:40 -07:00
Kevin Dalley
dcf9568b67 doc: Define RADOS in glossary
Signed-off-by: Kevin Dalley <kevin@kelphead.org>
2014-05-29 14:03:30 -07:00
John Wilkins
e52b9c641d doc: Added osd pool default size setting example.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-05-29 13:22:52 -07:00
John Wilkins
20a04c6c9c doc: Moved redundant text out of quick-common.
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-05-29 13:22:18 -07:00
Samuel Just
e5f9d40b19 Merge pull request #1882 from ceph/wip-8465
osd: fix bad is_active() assert in share_map()

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-05-29 12:27:48 -07:00
Samuel Just
7ac05dc0a8 Merge pull request #1840 from yuyuyu101/wip-8381
Fix set_alloc_hint op cause KeyValueStore crash problem

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-05-29 12:25:50 -07:00
Sage Weil
1db4e2cf39 Merge pull request #1874 from ceph/wip-8292
better error reporting on incompatible device requirements

Reviewed-by: Dan Mick <dan.mick@inktank.com>
2014-05-29 11:24:47 -07:00
Sage Weil
f1b890ecb3 osd: fix bad is_active() assert in share_map()
We may be is_stopping() here if we are racing with shutdown().

Fixes: #8465
Backport: firefly, dumpling
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-29 11:10:18 -07:00
Sage Weil
18d56c2724 Merge pull request #1880 from ailzhang/patch-1
rest-api: key missing for per "rx" and "rwx"

Backport: firefly
Reviewed-by: Sage Weil <sage@inktank.com>
2014-05-29 10:42:10 -07:00
Sage Weil
72fbff6f44 Merge pull request #1847 from ceph/wip-8259
README, Makefile: make install-deps easier

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-05-29 10:40:39 -07:00
Sage Weil
e54f5e3ab8 Merge pull request #1860 from ceph/wip-filestore
osd: filestore backend improvements

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-05-29 10:37:23 -07:00
Sage Weil
49ac0c0e2c Merge pull request #1864 from dachary/wip-filestore
unit tests for #1860
2014-05-29 10:26:17 -07:00
Loic Dachary
bc26a55566 Merge pull request #1879 from ceph/wip-8321
fix incompatible `Counter` usage on Python 2.6

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-05-29 13:42:29 +02:00
John Wilkins
f153bc186e doc: Made additional changes s/CRUSH/Ceph for pull request #1855
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
2014-05-28 17:49:21 -07:00