Commit Graph

33792 Commits

Author SHA1 Message Date
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
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
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
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
John Wilkins
cbd759872b Merge pull request #1855 from kazhang/patch-1
doc: Update architecture.rst:Calculating PG IDs
2014-05-28 17:46:05 -07:00
John Wilkins
1edb8821de Merge pull request #1866 from cmattson/radosgwdoc
doc: Improvements to radosgw docs
2014-05-28 17:33:32 -07:00
John Wilkins
dd85e2d639 Merge pull request #1881 from hsdhillon/master
doc: Fixes broken hyperlinks
2014-05-28 17:31:15 -07:00
Harpreet Dhillon
692f998914 doc: Fixes broken hyperlinks 2014-05-28 15:12:46 -07:00
Sage Weil
93a61dfca0 Makefile: make install-deps rule
This only works if autoconf is happy, but it's better than nothing.

Fixes: #8259
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-28 14:55:54 -07:00
Sage Weil
6fe7564254 debian: improve package dep list
This is based on the Build-Depends in debian/control.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-28 14:55:47 -07:00
Sage Weil
2fcdbf9c7f Merge pull request #1812 from ceph/wip-smart-df
mon: show writeable space in 'ceph df'

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-05-28 14:51:55 -07:00
Sage Weil
e06c58c9b8 mon: set min_size to data chunk count for erasure pools
Make the min_size value meaningful for erasure pools.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-28 13:59:47 -07:00
Sage Weil
7a9652b58e mon: include 'max avail' in df output
Include an estimate of the maximum writeable space for each pool.  Note
that this value is a conservative estimate for that pool based on the
most-full OSD.  It is also potentially misleading as it is the available
space if *all* new data were written to this pool; one cannot (generally)
add up the available space for all pools.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-28 13:57:40 -07:00
Sage Weil
2f63a309df mon: right justify df values
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-28 13:52:12 -07:00
Sage Weil
2339d4a52d vstart.sh: -e to create an ec pool called 'ec'
Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-28 13:52:12 -07:00
Sage Weil
297f6169fe crush: add get_rule_weight_map
Calculate a weight map of OSDs for a given rule.

Signed-off-by: Sage Weil <sage@inktank.com>
2014-05-28 13:49:52 -07:00
Ailing
0b5a674107 rest-api: key missing for per "rx" and "rwx"
commit 85a1cf31e6 and db266a3fb2 introduce new per "rx" and "rwx", but key missing for per "rx" and "rwx" in permmap

Signed-off-by: Ailing Zhang <ailzhang@cisco.com>
2014-05-28 12:37:48 -07:00
Samuel Just
26cd37cf8e Merge pull request #1878 from ceph/wip-map-advance
osd: fix map advance limit to handle map gaps

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-05-28 10:26:57 -07:00
Alfredo Deza
634780a272 remove unused variables, gets all tox envs passing
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-05-28 11:54:32 -04:00
Alfredo Deza
23b75b5505 add backport of collections.Counter for python2.6
Using Raymond Hettinger's MIT backport

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-05-28 11:48:12 -04:00
Alfredo Deza
59b7113ca3 intial take on ceph-brag-client and tox. Python 2.7 passes
Signed-off-by: Alfredo Deza <alfredo@deza.pe>
2014-05-28 10:55:22 -04:00
Loic Dachary
f7f7659b7e Merge pull request #1853 from dachary/wip-mailmap
mailmap updates

each commit has been submitted to the author for review
2014-05-28 14:01:07 +02:00
Loic Dachary
bc85b5d166 mailmap: Aristoteles Neto affiliation
and name normalization

Reviewed-by: Aristoteles Neto <aristoteles.neto@webdrive.co.nz>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:09 +02:00