]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
11 years agoqa/workunit: cephtool: test mds newfs and add_data_pool with ec pools
Joao Eduardo Luis [Fri, 20 Jun 2014 15:25:35 +0000 (16:25 +0100)]
qa/workunit: cephtool: test mds newfs and add_data_pool with ec pools

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
11 years agomon: MDSMonitor: do not allow ec pools to be used for data or metadata
Joao Eduardo Luis [Fri, 20 Jun 2014 15:13:28 +0000 (16:13 +0100)]
mon: MDSMonitor: do not allow ec pools to be used for data or metadata

Fixes: #8624
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
11 years agoMerge pull request #1971 from ceph/wip-ec-hitset
Loic Dachary [Mon, 16 Jun 2014 20:09:13 +0000 (22:09 +0200)]
Merge pull request #1971 from ceph/wip-ec-hitset

ceph_test_rados_api_tier: disable LibRadosTierECPP::HitSetWrite

Reviewed-by: Loic Dachary <loic@dachary.org>
11 years agoceph_test_rados_api_tier: disable LibRadosTierECPP::HitSetWrite 1971/head
Sage Weil [Mon, 16 Jun 2014 19:57:36 +0000 (12:57 -0700)]
ceph_test_rados_api_tier: disable LibRadosTierECPP::HitSetWrite

Disable this test until hitget-get reliably works on EC pools (currently
it does not, and this test usually passes only because we get the in-memory
HitSet).

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1925 from ceph/wip-i386-atomic
Samuel Just [Thu, 5 Jun 2014 19:02:33 +0000 (12:02 -0700)]
Merge pull request #1925 from ceph/wip-i386-atomic

fix i386 atomic64_t

Reviewed-by: Samuel Just <sam.just@inktank.com>
11 years agoinclude/atomic: make 32-bit atomic64_t unsigned 1924/head 1925/head
Sage Weil [Thu, 5 Jun 2014 17:43:16 +0000 (10:43 -0700)]
include/atomic: make 32-bit atomic64_t unsigned

This fixes

In file included from test/perf_counters.cc:19:0:
./common/perf_counters.h: In member function ‘std::pair PerfCounters::perf_counter_data_any_d::read_avg() const’:
warning: ./common/perf_counters.h:156:36: comparison between signed and unsigned integer expressions [-Wsign-compare]
} while (avgcount2.read() != count);
^

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1910 from ceph/wip-8447
Loic Dachary [Tue, 3 Jun 2014 19:27:08 +0000 (21:27 +0200)]
Merge pull request #1910 from ceph/wip-8447

librados: simplify/fix rados_pool_list bounds checks

Reviewed-by: Loic Dachary <loic@dachary.org>
11 years agolibrados: simplify/fix rados_pool_list bounds checks 1910/head
Sage Weil [Tue, 3 Jun 2014 18:45:20 +0000 (11:45 -0700)]
librados: simplify/fix rados_pool_list bounds checks

We were not breaking out of the loop when we filled up the buffer unless
we happened to do so on a pool name boundary.  This means that len would
roll over (it was unsigned).  In my case, I was not able to reproduce
anything particularly bad since (I think) the strncpy was interpreting the
large unsigned value as signed, but in any case this fixes it, simplifies
the arithmetic, and adds a simple test.

- use a single 'rl' value for the amount of buffer space we want to
  consume
- use this to check that there is room and also as the strncat length
- rely on the initial memset to ensure that the trailing 0 is in place.

Fixes: #8447
Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge remote-tracking branch 'gh/next'
Sage Weil [Tue, 3 Jun 2014 05:24:48 +0000 (22:24 -0700)]
Merge remote-tracking branch 'gh/next'

11 years agodoc/release-notes: v0.81
Sage Weil [Tue, 3 Jun 2014 05:24:33 +0000 (22:24 -0700)]
doc/release-notes: v0.81

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoRadosClient: Avoid the DispatchQueue for OSD responses.
sushma [Wed, 28 May 2014 22:27:54 +0000 (15:27 -0700)]
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>
11 years agodoc: Updated monitor output and added usage calc explanations.
John Wilkins [Mon, 2 Jun 2014 23:03:31 +0000 (16:03 -0700)]
doc: Updated monitor output and added usage calc explanations.

Fixes: #4948
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agodoc: Added usage for pool quotas.
John Wilkins [Mon, 2 Jun 2014 22:31:45 +0000 (15:31 -0700)]
doc: Added usage for pool quotas.

Fixes: #5653
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agodoc: Added more discussion of new CRUSH types.
John Wilkins [Mon, 2 Jun 2014 21:40:27 +0000 (14:40 -0700)]
doc: Added more discussion of new CRUSH types.

Fixes: #7727
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agodoc: Added a section for ceph df.
John Wilkins [Mon, 2 Jun 2014 19:21:42 +0000 (12:21 -0700)]
doc: Added a section for ceph df.

Fixes: #8281
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years ago0.81 v0.81
Jenkins [Mon, 2 Jun 2014 18:37:27 +0000 (18:37 +0000)]
0.81

11 years agodoc: Updated packages to reference firefly.
John Wilkins [Mon, 2 Jun 2014 18:28:22 +0000 (11:28 -0700)]
doc: Updated packages to reference firefly.

Fixes: #8466
Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agoMerge pull request #1887 from rossturk/wip-rturkfonts
John Wilkins [Mon, 2 Jun 2014 18:06:36 +0000 (11:06 -0700)]
Merge pull request #1887 from rossturk/wip-rturkfonts

doc: remove Apex Sans from generated doc HTML

11 years agoMerge pull request #1885 from nereocystis/rados-bench-man
John Wilkins [Mon, 2 Jun 2014 18:05:34 +0000 (11:05 -0700)]
Merge pull request #1885 from nereocystis/rados-bench-man

doc: Improve man page for bench

11 years agoMerge pull request #1857 from ceph/wip-8265
Sage Weil [Mon, 2 Jun 2014 17:45:05 +0000 (10:45 -0700)]
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>
11 years agoMerge pull request #1902 from dachary/wip-copyright-notices
Sage Weil [Mon, 2 Jun 2014 16:10:11 +0000 (09:10 -0700)]
Merge pull request #1902 from dachary/wip-copyright-notices

erasure-code: Ceph distributed storage system

Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoerasure-code: Ceph distributed storage system 1902/head
Loic Dachary [Sat, 31 May 2014 19:00:36 +0000 (21:00 +0200)]
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>
11 years agoscripts/run-coverity: don't explicitly specify tool version
Sage Weil [Sat, 31 May 2014 15:13:48 +0000 (08:13 -0700)]
scripts/run-coverity: don't explicitly specify tool version

Rely on a symlink instead.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1901 from dachary/wip-erasure-code-concat
Loic Dachary [Sat, 31 May 2014 11:58:49 +0000 (13:58 +0200)]
Merge pull request #1901 from dachary/wip-erasure-code-concat

erasure-code: make decode_concat virtual

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
11 years agoMerge pull request #1900 from dachary/wip-ostream
Loic Dachary [Sat, 31 May 2014 11:57:11 +0000 (13:57 +0200)]
Merge pull request #1900 from dachary/wip-ostream

common: s/stringstream/ostream/ in str_map

Reviewed-By: Christophe Courtaut <christophe.courtaut@gmail.com>
11 years agoerasure-code: make decode_concat virtual 1901/head
Loic Dachary [Thu, 16 Jan 2014 12:58:21 +0000 (13:58 +0100)]
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>
11 years agoMerge pull request #1898 from dhxgit/master
Loic Dachary [Sat, 31 May 2014 11:20:25 +0000 (13:20 +0200)]
Merge pull request #1898 from dhxgit/master

Update INSTALL to mention the submodules/recursive

Reviewed-by: Loic Dachary <loic@dachary.org>
11 years agocommon: s/stringstream/ostream/ in str_map 1900/head
Loic Dachary [Mon, 13 Jan 2014 16:54:08 +0000 (17:54 +0100)]
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>
11 years agoUpdate INSTALL to mention the submodules/recursive 1898/head
Dominik Hannen [Sat, 31 May 2014 09:22:41 +0000 (11:22 +0200)]
Update INSTALL to mention the submodules/recursive

Signed-off-by: Dominik Hannen <cantares1+github@gmail.com>
11 years agoMerge pull request #1895 from ceph/wip-sock-cmp
Loic Dachary [Sat, 31 May 2014 08:27:44 +0000 (10:27 +0200)]
Merge pull request #1895 from ceph/wip-sock-cmp

msg: remove comparison operators for sockaddr_storage

Reviewed-by: Loic Dachary <loic@dachary.org>
11 years agomsg: remove comparison operators for sockaddr_storage 1895/head
Sage Weil [Fri, 30 May 2014 23:26:25 +0000 (16:26 -0700)]
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>
11 years agoqa/workunits/cephtool: test setting options using SI units 1857/head
Joao Eduardo Luis [Fri, 23 May 2014 16:02:23 +0000 (17:02 +0100)]
qa/workunits/cephtool: test setting options using SI units

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
11 years agocommon/config.cc: allow integer values to be parsed as SI units
Joao Eduardo Luis [Fri, 23 May 2014 16:01:38 +0000 (17:01 +0100)]
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>
11 years agotest/strtol.cc: Test 'strict_strtosi()'
Joao Eduardo Luis [Fri, 23 May 2014 15:52:08 +0000 (16:52 +0100)]
test/strtol.cc: Test 'strict_strtosi()'

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
11 years agocommon/strtol.cc: strict_strtosi() converts str with SI units to uint64_t
Joao Eduardo Luis [Fri, 23 May 2014 15:51:37 +0000 (16:51 +0100)]
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>
11 years agoMerge remote-tracking branch 'gh/next'
Sage Weil [Fri, 30 May 2014 17:13:59 +0000 (10:13 -0700)]
Merge remote-tracking branch 'gh/next'

11 years agorgw: calc md5 and compare if user provided appropriate header
Yehuda Sadeh [Fri, 23 May 2014 21:58:54 +0000 (14:58 -0700)]
rgw: calc md5 and compare if user provided appropriate header

Fixes: #8436
Backport: firefly

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

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1888 from ceph/wip-8472
Loic Dachary [Fri, 30 May 2014 08:03:04 +0000 (10:03 +0200)]
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>
11 years agomsg_types.h: Don't use strncmp for comparing sockaddr_in. 1888/head
Dan Mick [Thu, 29 May 2014 23:20:01 +0000 (16:20 -0700)]
msg_types.h: Don't use strncmp for comparing sockaddr_in.

Fixes: #8472
Signed-off-by: Dan Mick <dan.mick@inktank.com>
11 years agodoc: Improve man page for rados bench 1885/head
Kevin Dalley [Thu, 29 May 2014 23:03:50 +0000 (16:03 -0700)]
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>
11 years agoMerge pull request #1886 from nereocystis/pools-doc
Loic Dachary [Thu, 29 May 2014 22:08:16 +0000 (00:08 +0200)]
Merge pull request #1886 from nereocystis/pools-doc

doc: update pools documentation

Reviewed-by: Loic Dachary <loic@dachary.org>
11 years agodoc: update pools documentation 1886/head
Kevin Dalley [Thu, 29 May 2014 21:56:06 +0000 (14:56 -0700)]
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>
11 years agodoc: Improve man page for bench
Kevin Dalley [Thu, 29 May 2014 21:28:47 +0000 (14:28 -0700)]
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>
11 years agoMerge pull request #1884 from nereocystis/glossary-rados
John Wilkins [Thu, 29 May 2014 21:12:40 +0000 (14:12 -0700)]
Merge pull request #1884 from nereocystis/glossary-rados

doc: Define RADOS in glossary

11 years agodoc: Define RADOS in glossary 1884/head
Kevin Dalley [Thu, 29 May 2014 21:03:30 +0000 (14:03 -0700)]
doc: Define RADOS in glossary

Signed-off-by: Kevin Dalley <kevin@kelphead.org>
11 years agodoc: Added osd pool default size setting example.
John Wilkins [Thu, 29 May 2014 20:22:52 +0000 (13:22 -0700)]
doc: Added osd pool default size setting example.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agodoc: Moved redundant text out of quick-common.
John Wilkins [Thu, 29 May 2014 20:22:18 +0000 (13:22 -0700)]
doc: Moved redundant text out of quick-common.

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agoMerge pull request #1882 from ceph/wip-8465
Samuel Just [Thu, 29 May 2014 19:27:48 +0000 (12:27 -0700)]
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>
11 years agoMerge pull request #1840 from yuyuyu101/wip-8381
Samuel Just [Thu, 29 May 2014 19:25:50 +0000 (12:25 -0700)]
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>
11 years agoMerge pull request #1874 from ceph/wip-8292
Sage Weil [Thu, 29 May 2014 18:24:47 +0000 (11:24 -0700)]
Merge pull request #1874 from ceph/wip-8292

better error reporting on incompatible device requirements

Reviewed-by: Dan Mick <dan.mick@inktank.com>
11 years agoosd: fix bad is_active() assert in share_map() 1882/head
Sage Weil [Thu, 29 May 2014 18:10:18 +0000 (11:10 -0700)]
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>
11 years agoMerge pull request #1880 from ailzhang/patch-1
Sage Weil [Thu, 29 May 2014 17:42:10 +0000 (10:42 -0700)]
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>
11 years agoMerge pull request #1847 from ceph/wip-8259
Sage Weil [Thu, 29 May 2014 17:40:39 +0000 (10:40 -0700)]
Merge pull request #1847 from ceph/wip-8259

README, Makefile: make install-deps easier

Reviewed-by: Loic Dachary <loic@dachary.org>
11 years agoMerge pull request #1860 from ceph/wip-filestore
Sage Weil [Thu, 29 May 2014 17:37:23 +0000 (10:37 -0700)]
Merge pull request #1860 from ceph/wip-filestore

osd: filestore backend improvements

Reviewed-by: Loic Dachary <loic@dachary.org>
11 years agoMerge pull request #1864 from dachary/wip-filestore 1860/head
Sage Weil [Thu, 29 May 2014 17:26:17 +0000 (10:26 -0700)]
Merge pull request #1864 from dachary/wip-filestore

unit tests for #1860

11 years agoMerge pull request #1879 from ceph/wip-8321
Loic Dachary [Thu, 29 May 2014 11:42:29 +0000 (13:42 +0200)]
Merge pull request #1879 from ceph/wip-8321

fix incompatible `Counter` usage on Python 2.6

Reviewed-by: Loic Dachary <loic@dachary.org>
11 years agodoc: Made additional changes s/CRUSH/Ceph for pull request #1855
John Wilkins [Thu, 29 May 2014 00:49:21 +0000 (17:49 -0700)]
doc: Made additional changes s/CRUSH/Ceph for pull request #1855

Signed-off-by: John Wilkins <john.wilkins@inktank.com>
11 years agoMerge pull request #1855 from kazhang/patch-1
John Wilkins [Thu, 29 May 2014 00:46:05 +0000 (17:46 -0700)]
Merge pull request #1855 from kazhang/patch-1

doc: Update architecture.rst:Calculating PG IDs

11 years agoMerge pull request #1866 from cmattson/radosgwdoc
John Wilkins [Thu, 29 May 2014 00:33:32 +0000 (17:33 -0700)]
Merge pull request #1866 from cmattson/radosgwdoc

doc: Improvements to radosgw docs

11 years agoMerge pull request #1881 from hsdhillon/master
John Wilkins [Thu, 29 May 2014 00:31:15 +0000 (17:31 -0700)]
Merge pull request #1881 from hsdhillon/master

doc: Fixes broken hyperlinks

11 years agodoc: alter doc CSS for the removal of Apex Sans 1887/head
Ross Turk [Wed, 28 May 2014 22:55:01 +0000 (22:55 +0000)]
doc: alter doc CSS for the removal of Apex Sans

Signed-off-by: Ross Turk <rturk@redhat.com>
11 years agodoc: removed Apex Sans font, replace with font from GFE
Ross Turk [Wed, 28 May 2014 22:52:47 +0000 (22:52 +0000)]
doc: removed Apex Sans font, replace with font from GFE

Signed-off-by: Ross Turk <rturk@redhat.com>
11 years agodoc: Fixes broken hyperlinks 1881/head
Harpreet Dhillon [Wed, 28 May 2014 22:12:46 +0000 (15:12 -0700)]
doc: Fixes broken hyperlinks

11 years agoMakefile: make install-deps rule 1847/head
Sage Weil [Wed, 21 May 2014 16:50:56 +0000 (09:50 -0700)]
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>
11 years agodebian: improve package dep list
Sage Weil [Wed, 28 May 2014 21:55:47 +0000 (14:55 -0700)]
debian: improve package dep list

This is based on the Build-Depends in debian/control.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agoMerge pull request #1812 from ceph/wip-smart-df
Sage Weil [Wed, 28 May 2014 21:51:55 +0000 (14:51 -0700)]
Merge pull request #1812 from ceph/wip-smart-df

mon: show writeable space in 'ceph df'

Reviewed-by: Samuel Just <sam.just@inktank.com>
11 years agomon: set min_size to data chunk count for erasure pools 1812/head
Sage Weil [Wed, 28 May 2014 20:59:47 +0000 (13:59 -0700)]
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>
11 years agomon: include 'max avail' in df output
Sage Weil [Sun, 11 May 2014 20:36:03 +0000 (13:36 -0700)]
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>
11 years agomon: right justify df values
Sage Weil [Sun, 11 May 2014 20:31:14 +0000 (13:31 -0700)]
mon: right justify df values

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agovstart.sh: -e to create an ec pool called 'ec'
Sage Weil [Sat, 22 Mar 2014 22:37:33 +0000 (15:37 -0700)]
vstart.sh: -e to create an ec pool called 'ec'

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agocrush: add get_rule_weight_map
Sage Weil [Wed, 28 May 2014 20:49:52 +0000 (13:49 -0700)]
crush: add get_rule_weight_map

Calculate a weight map of OSDs for a given rule.

Signed-off-by: Sage Weil <sage@inktank.com>
11 years agorest-api: key missing for per "rx" and "rwx" 1880/head
Ailing [Wed, 28 May 2014 19:37:48 +0000 (12:37 -0700)]
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>
11 years agoMerge pull request #1878 from ceph/wip-map-advance
Samuel Just [Wed, 28 May 2014 17:26:57 +0000 (10:26 -0700)]
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>
11 years agoremove unused variables, gets all tox envs passing 1879/head
Alfredo Deza [Wed, 28 May 2014 15:54:32 +0000 (11:54 -0400)]
remove unused variables, gets all tox envs passing

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agoadd backport of collections.Counter for python2.6
Alfredo Deza [Wed, 28 May 2014 15:48:12 +0000 (11:48 -0400)]
add backport of collections.Counter for python2.6

Using Raymond Hettinger's MIT backport

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
11 years agointial take on ceph-brag-client and tox. Python 2.7 passes
Alfredo Deza [Wed, 28 May 2014 14:55:22 +0000 (10:55 -0400)]
intial take on ceph-brag-client and tox. Python 2.7 passes

Signed-off-by: Alfredo Deza <alfredo@deza.pe>
11 years agoMerge pull request #1853 from dachary/wip-mailmap
Loic Dachary [Wed, 28 May 2014 12:01:07 +0000 (14:01 +0200)]
Merge pull request #1853 from dachary/wip-mailmap

mailmap updates

each commit has been submitted to the author for review

11 years agomailmap: Aristoteles Neto affiliation 1853/head
Loic Dachary [Mon, 26 May 2014 21:25:41 +0000 (23:25 +0200)]
mailmap: Aristoteles Neto affiliation

and name normalization

Reviewed-by: Aristoteles Neto <aristoteles.neto@webdrive.co.nz>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Chris Glass affiliation
Loic Dachary [Sat, 24 May 2014 20:46:13 +0000 (22:46 +0200)]
mailmap: Chris Glass affiliation

Reviewed-by: Chris Glass <tribaal@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Christian Theune affiliation
Loic Dachary [Sat, 24 May 2014 20:42:00 +0000 (22:42 +0200)]
mailmap: Christian Theune affiliation

Reviewed-by: Christian Theune <ct@gocept.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Shawn Edwards affiliation
Loic Dachary [Mon, 26 May 2014 21:35:29 +0000 (23:35 +0200)]
mailmap: Shawn Edwards affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Ilya Dryomov name normalization
Loic Dachary [Sat, 24 May 2014 15:58:38 +0000 (17:58 +0200)]
mailmap: Ilya Dryomov name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Stuart Longland affiliation
Loic Dachary [Sat, 24 May 2014 15:54:27 +0000 (17:54 +0200)]
mailmap: Stuart Longland affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Walter Huf affiliation
Loic Dachary [Sat, 24 May 2014 15:51:52 +0000 (17:51 +0200)]
mailmap: Walter Huf affiliation

Reviewed-by: Walter J. Huf <hufman@gmail.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Michael Riederer affiliation
Loic Dachary [Wed, 28 May 2014 11:56:19 +0000 (13:56 +0200)]
mailmap: Michael Riederer affiliation

and name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Stefan Eilemann affiliation
Loic Dachary [Sat, 24 May 2014 15:37:47 +0000 (17:37 +0200)]
mailmap: Stefan Eilemann affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Stephen F Taylor affiliation
Loic Dachary [Mon, 26 May 2014 21:34:27 +0000 (23:34 +0200)]
mailmap: Stephen F Taylor affiliation

Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Daniel J. Hofmann affiliation
Loic Dachary [Sun, 25 May 2014 08:24:28 +0000 (10:24 +0200)]
mailmap: Daniel J. Hofmann affiliation

Reviewed-by: Daniel J. Hofmann <daniel@trvx.org>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Kevin Dalley affiliation
Loic Dachary [Sat, 24 May 2014 15:21:20 +0000 (17:21 +0200)]
mailmap: Kevin Dalley affiliation

Reviewed-by: Kevin Dalley <kevin@kelphead.org>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agomailmap: Florent Flament affiliation
Loic Dachary [Thu, 22 May 2014 14:23:51 +0000 (16:23 +0200)]
mailmap: Florent Flament affiliation

and name normalization

Reviewed-by: Florent Flament <florent.flament@cloudwatt.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
11 years agoMerge pull request #1877 from ceph/wip-tier-doc
Loic Dachary [Wed, 28 May 2014 11:45:50 +0000 (13:45 +0200)]
Merge pull request #1877 from ceph/wip-tier-doc

doc: Fix cache tier docs

Reviewed-by: Loic Dachary <loic@dachary.org>
11 years agodoc: Fix cache tier docs 1877/head
John Spray [Wed, 28 May 2014 11:21:37 +0000 (12:21 +0100)]
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>
11 years agoMerge pull request #1856 from dachary/wip-pg-documentation
Loic Dachary [Wed, 28 May 2014 10:19:29 +0000 (12:19 +0200)]
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>
11 years agoMerge pull request #1867 from dachary/wip-8324
Loic Dachary [Wed, 28 May 2014 10:15:57 +0000 (12:15 +0200)]
Merge pull request #1867 from dachary/wip-8324

documentation: update pid file description

Reviewed-by: Florent Flament <florent.flament@cloudwatt.com>
11 years agoos: FileStore::create_backend unit tests 1864/head
Loic Dachary [Sat, 24 May 2014 12:49:19 +0000 (14:49 +0200)]
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>
11 years agoos: ObjectStore::collect_metadata unit tests
Loic Dachary [Sat, 24 May 2014 10:52:30 +0000 (12:52 +0200)]
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>
11 years agoMerge pull request #1813 from ceph/wip-old-out
Samuel Just [Tue, 27 May 2014 22:06:34 +0000 (15:06 -0700)]
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>
11 years agoMerge pull request #1811 from ceph/wip-perf-atomic
Samuel Just [Tue, 27 May 2014 22:04:31 +0000 (15:04 -0700)]
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>
11 years agoMerge pull request #1873 from dachary/wip-8440
Samuel Just [Tue, 27 May 2014 22:00:39 +0000 (15:00 -0700)]
Merge pull request #1873 from dachary/wip-8440

mon: fix set cache_target_full_ratio

Reviewed-by: Samuel Just <sam.just@inktank.com>
11 years agoMerge pull request #1876 from atwardowski/patch-4
Loic Dachary [Tue, 27 May 2014 20:04:00 +0000 (22:04 +0200)]
Merge pull request #1876 from atwardowski/patch-4

Fix Documentation Typo

Reviewed-by: Loic Dachary <loic@dachary.org>