Commit Graph

34288 Commits

Author SHA1 Message Date
Sage Weil
b24ee49739 Merge pull request #2009 from kevincox/election-int
Use sized integer.

Reviewed-by: Sage Weil <sage@inktank.com>
2014-06-23 08:15:33 -07:00
Danny Al-Gaaf
8700aa0e63 test/libradosstriper/striping.cc: fix potential memory leak
Fix for:
[src/test/libradosstriper/striping.cc:138]: (error) Allocation with
 getObjName, stat doesn't release it

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-06-23 11:20:09 +02:00
Danny Al-Gaaf
2a8c1e222b MDCache.cc: init 'umaster::ls' with NULL in contructor
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-06-23 10:50:13 +02:00
Danny Al-Gaaf
da03e9eb8b MDCache.h: init 'umaster::safe' in constructor
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-06-23 10:23:33 +02:00
Danny Al-Gaaf
2210ee3c3e test/objectstore/store_test.cc: prefer ++operators for iterators
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2014-06-23 10:17:48 +02:00
Loic Dachary
cd12394750 Merge pull request #2011 from dachary/wip-osd-bench
osd: tests for osd bench

Reviewed-by: Huang Jun <hjwsm1989@gmail.com>
2014-06-23 09:57:08 +02:00
Loic Dachary
3e93d4a1cd osd: tests for osd bench
Check that the safeguards against timeouts work as expected and that the
default hardcoded values are valid.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-23 09:10:52 +02:00
Loic Dachary
791a6b95a1 Merge pull request #1974 from hjwsm1989/osd-bench
Fix EINVAL err when use "ceph tell osd.* bench"

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-06-21 17:06:07 +02:00
Kevin Cox
74be320a07 Use sized integer.
Signed-off-by: Kevin Cox <kevincox@kevincox.ca>
2014-06-20 16:53:09 -04:00
Loic Dachary
31eefebdec Merge pull request #1961 from ceph/wip-6703
support dmcrypt partitions when activating

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-06-20 19:45:58 +02:00
John Wilkins
2cb19172dc Merge pull request #2007 from GRyall/master
doc: Fixed Typo in pools documentation - replaced '-' with '_' in eg

Reviewed-by: John Wilkins john.wilkins@inktank.com
2014-06-20 10:05:35 -07:00
George Ryall
66a5f3b9ea doc: Fixed Typo in pools documentation - replaced '-' with '_' in example set-quota comands. 2014-06-20 17:54:47 +01:00
Alfredo Deza
e189a66828 log the command that is being run with subprocess
Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
2014-06-20 11:14:25 -04:00
Loic Dachary
78cbac43cc mailmap: Dmitry Smirnov name normalization
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:15 +02:00
Loic Dachary
efefbfd195 mailmap: koleosfuscus affiliation
Patrick McGarry, Sage Weil and Loic Dachary know who this nickname
belongs to

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:15 +02:00
Loic Dachary
1cdea987c5 mailmap: Walter Huf name normalization
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:15 +02:00
Loic Dachary
a58fbf792d mailmap: Colin Mattson affliation
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:15 +02:00
Loic Dachary
41c536f9f8 mailmap: Dominik Hannen affiliation
and name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:15 +02:00
Loic Dachary
1f96cb72cd mailmap: Harpreet Dhillon affiliation
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:14 +02:00
Loic Dachary
3716f5884b mailmap: Lluis Pamies-Juarez affiliation
and name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:14 +02:00
Loic Dachary
4222f29e67 mailmap: Wei Luo affiliation
and name normalization

Reviewed-by: Wei Luo <luowei@yahoo-inc.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:14 +02:00
Loic Dachary
009f01dcc7 mailmap: Sahid Orentino Ferdjaoui name normalization
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:14 +02:00
Loic Dachary
06734f19c4 mailmap: Stephen F Taylor affiliation
and name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:14 +02:00
Loic Dachary
43442953c1 mailmap: Sushma Gurram affiliation
and name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:14 +02:00
Loic Dachary
2eddee7332 mailmap: Sylvain Munaut affiliation
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:23:14 +02:00
Loic Dachary
22c028d079 mailmap: Red Hat acquires InkTank
Reviewed-by: Sage Weil <sage@inktank.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:22:58 +02:00
Loic Dachary
c2701723e1 mailmap: Sebastien Ponce affiliation
Reviewed-by: Sebastien Ponce <sebastien.ponce@cern.ch>
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 10:21:30 +02:00
Loic Dachary
39a4b78177 mon: test that pools used in tiers cannot be removed
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-20 09:52:31 +02:00
Loic Dachary
2c8ff50fb1 Merge pull request #1997 from ceph/wip-tiermsg
mon: name instead of id in "has tiers" message

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-06-20 09:49:32 +02:00
Joao Eduardo Luis
1de9071dae osd/osd_types.cc: dump correct pg_log_entry_t member variable
We were dumping 'version' twice: for 'version' and 'prior_version'.  We
do have a member variable called 'prior_version', which is assumed to
be the correct one to be dumped.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-19 18:39:07 +01:00
Joao Eduardo Luis
363496ad87 osd: use appropriate json types instead of stream when dumping info
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-19 18:39:07 +01:00
John Spray
97772c2f53 mon: name instead of id in "has tiers" message
Instead of "Pool foo has tiers 1 2" print
"Pool foo has tiers bar baz".

Signed-off-by: John Spray <jspray@redhat.com>
2014-06-19 13:16:23 -04:00
Loic Dachary
34ba8faf75 Merge pull request #1988 from dachary/wip-warnings
test: fix -Wsign-compare warnings

Reviewed-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@cloudwatt.com>
2014-06-19 18:06:49 +02:00
Joao Eduardo Luis
4d5469acc4 osd: ECMsgTypes: dump json bools instead of strings
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-19 16:53:00 +01:00
Joao Eduardo Luis
3f0ea9512b osd: have 'tid' dumped as a json unsigned int where appropriate
Most of the places dumping it would dump it as a string. Others as an int.
Just a couple would dump it as an unsigned int.

Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-19 16:52:06 +01:00
Loic Dachary
708776cc35 Merge pull request #1993 from dachary/fix_ut
autotools: avoid check_SCRIPTS duplication

Reviewed-by: Wei Luo <luowei@yahoo-inc.com>
2014-06-19 17:41:25 +02:00
Joao Eduardo Luis
debaf615fc mon: dump 'epoch' as json unsigned instead of int
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-19 16:31:27 +01:00
Joao Eduardo Luis
1a120e981a mon: PGMonitor: dump 'epoch' as json int instead of string
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-19 16:05:07 +01:00
Joao Eduardo Luis
317cf95f5a mon: OSDMonitor: dump 'up' as json array instead of string
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-19 15:59:43 +01:00
Joao Eduardo Luis
b7ff393354 mon: OSDMonitor: dump 'acting' as json array instead of string
Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
2014-06-19 15:56:06 +01:00
Loic Dachary
78f94a9021 mailmap: Ailing Zhang affiliation
and name normalization

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-19 15:10:55 +02:00
John Wilkins
f9eb77b14d Merge pull request #1995 from sjahl/master
doc: Fixed an incorrect flag in radosgw admin docs.
2014-06-19 05:32:30 -07:00
Stephen Jahl
d2e852e2e7 doc: Fixed an incorrect flag in radosgw admin docs.
Example use a "--gen-key" flag, which doesn't exist. Changed it to
"--gen-access-key".

Signed-off-by: Stephen Jahl <stephenjahl@gmail.com>
2014-06-19 07:44:45 -04:00
Loic Dachary
741ad3ff3b autotools: avoid check_SCRIPTS duplication
The check_SCRIPTS content must be added to EXTRA_DIST, otherwise it will
not be included by make dist and it won't be possible to run make check
successfully.

One solution would be to add $(check_SCRIPTS) to EXTRA_DIST to avoid
duplication and help with long term maintenance. However, $(srcdir) is
not supported in the content of the check_SCRIPTS variable.

A GNU Make variable substitution (patsubst) is used to prepend $(srcdir)
to each script, only when used in the EXTRA_DIST variable.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-19 09:54:32 +02:00
Loic Dachary
c3678ad80a Merge pull request #1992 from luowei62/fix_ut
Fix dist package run unit test failed.

Reviewed-by: Loic Dachary <loic@dachary.org>
2014-06-19 09:38:19 +02:00
Loic Dachary
5fee807810 Merge pull request #1989 from dachary/wip-8622-rados-alignment
tests: prevent gitbuilder trigger in test-erasure-code.sh

Reviewed-by: Lluis Pamies-Juarez <lluis@pamies.cat>
2014-06-19 08:13:26 +02:00
luowei
c0d78c62e8 Fix dist package run unit test failed.
Signed-off-by: Wei Luo <luowei@yahoo-inc.com>
2014-06-19 04:00:33 +00:00
Loic Dachary
b3ace76dea tests: prevent gitbuilder trigger in test-erasure-code.sh
Use the INFO keywork instead of WARNING so that gitbuilder does not
confuse this with a warning worth fixing.

Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-19 00:09:14 +02:00
Loic Dachary
3a9c0fcd85 test: fix -Wsign-compare warnings
Signed-off-by: Loic Dachary <loic@dachary.org>
2014-06-19 00:02:21 +02:00
Loic Dachary
15f03388b9 Merge pull request #1987 from dachary/wip-8622-rados-alignment
erasure-code: verify that rados put enforces alignment

Reviewed-by: Lluis Pamies-Juarez <lluis@pamies.cat>
2014-06-18 23:21:20 +02:00