Commit Graph

33767 Commits

Author SHA1 Message Date
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
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
Loic Dachary
0b88659898 mailmap: Chris Glass affiliation
Reviewed-by: Chris Glass <tribaal@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:09 +02:00
Loic Dachary
7582fa98f2 mailmap: Christian Theune affiliation
Reviewed-by: Christian Theune <ct@gocept.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:09 +02:00
Loic Dachary
b2cb36f27b mailmap: Shawn Edwards affiliation
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:08 +02:00
Loic Dachary
e65b7e25d7 mailmap: Ilya Dryomov name normalization
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:08 +02:00
Loic Dachary
e4928c505e mailmap: Stuart Longland affiliation
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:08 +02:00
Loic Dachary
dbc66d7b84 mailmap: Walter Huf affiliation
Reviewed-by: Walter J. Huf <hufman@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:08 +02:00
Loic Dachary
6338542937 mailmap: Michael Riederer affiliation
and name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:08 +02:00
Loic Dachary
831b2c92e7 mailmap: Stefan Eilemann affiliation
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:08 +02:00
Loic Dachary
1f2259069f mailmap: Stephen F Taylor affiliation
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:08 +02:00
Loic Dachary
be9f7437c4 mailmap: Daniel J. Hofmann affiliation
Reviewed-by: Daniel J. Hofmann <daniel@trvx.org>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:08 +02:00
Loic Dachary
c758584654 mailmap: Kevin Dalley affiliation
Reviewed-by: Kevin Dalley <kevin@kelphead.org>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:58:08 +02:00
Loic Dachary
7d1a49377b mailmap: Florent Flament affiliation
and name normalization

Reviewed-by: Florent Flament <florent.flament@cloudwatt.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:57:52 +02:00
Loic Dachary
9bfdc68967 Merge pull request #1877 from ceph/wip-tier-doc
doc: Fix cache tier docs

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-05-28 13:45:50 +02:00
John Spray
2815e4d1af doc: Fix cache tier docs
The instructions for 'osd tier add' were plain
wrong, claiming that the cache mode could
be passed as a third argument.

Signed-off-by: John Spray <john.spray@inktank.com>
2014-05-28 12:21:37 +01:00
Loic Dachary
d14dfac2c2 Merge pull request #1856 from dachary/wip-pg-documentation
documentation: adapt PG formula for erasure coded pools

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
2014-05-28 12:19:29 +02:00
Loic Dachary
ffbb69fd9e Merge pull request #1867 from dachary/wip-8324
documentation: update pid file description

Reviewed-by: Florent Flament <florent.flament@cloudwatt.com>
2014-05-28 12:15:57 +02:00
Loic Dachary
08b3cff59d os: FileStore::create_backend unit tests
Assert that the fs_type is mapped to a backend that claims to have the
matching name.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 11:43:41 +02:00
Loic Dachary
3081652119 os: ObjectStore::collect_metadata unit tests
And an emacs-executable reminder about how to run a specific test.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-05-28 11:43:37 +02:00
Samuel Just
84e6a61f23 Merge pull request #1813 from ceph/wip-old-out
mon: restore osd weight after auto-mark out and then osd restart

Reviewed-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
2014-05-27 15:06:34 -07:00
Samuel Just
f0316411fa Merge pull request #1811 from ceph/wip-perf-atomic
perf_counter: use atomics instead of mutex

Reviewed-by: Greg Farnum <greg@inktank.com>
Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-05-27 15:04:31 -07:00
Samuel Just
e5a172124a Merge pull request #1873 from dachary/wip-8440
mon: fix set cache_target_full_ratio

Reviewed-by: Samuel Just <sam.just@inktank.com>
2014-05-27 15:00:39 -07:00
Loic Dachary
d113965a5b Merge pull request #1876 from atwardowski/patch-4
Fix Documentation Typo

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-05-27 22:04:00 +02:00