Commit Graph

39844 Commits

Author SHA1 Message Date
Dan van der Ster
ef87a25f76 doc: osd map cache size is a count, not MB
Signed-off-by: Dan van der Ster <daniel.vanderster@cern.ch>
2015-03-06 09:05:56 +01:00
Loic Dachary
b3462c2e85 Merge pull request #3888 from dachary/wip-gmock-submodule
ceph needs gmock/gtest to be statically linked

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-06 00:55:47 +01:00
Loic Dachary
9b372fe72c ceph needs gmock/gtest to be statically linked
The ceph-test package depends on gmock and gtest and needs to statically
link them because packages are not configured to distribute the
corresponding shared library files.

Update the gmock submodule to the version that is configured with
noinst libraries that will be statically linked.

The gmock submodule is modified to reference the branch in which the
ceph specific changes have been done.

http://tracker.ceph.com/issues/11040 Fixes: #11040

Signed-off-by: Loic Dachary <loic@dachary.org>
2015-03-06 00:23:44 +01:00
Loic Dachary
a88a8f0e5c Merge pull request #3886 from ceph/wip-gmock-mirror
.gitmodule_mirrors: add gmock.git mirror

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-05 17:44:05 +01:00
Sage Weil
e7bc6735f8 .gitmodule_mirrors: add gmock.git mirror
Signed-off-by: Sage Weil <sage@redhat.com>
2015-03-05 08:29:11 -08:00
Kefu Chai
60e2bec73f Merge pull request #3846 from ceph/wip-da-gtest-use-submodules
Use git submodules for gmock/gtest

Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-03-05 18:16:23 +08:00
Danny Al-Gaaf
874fbd7fe5 Merge pull request #3811 from tchaikov/fix-build-debug-xio
Fix build of `--with-debug --enable-xio`

Reviewed-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-05 09:10:48 +01:00
Yehuda Sadeh
2cfcb5afff Merge pull request #3861 from guangyy/wip-11001
rgw: do not pre-fetch data for HEAD requests

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-03-04 17:01:24 -08:00
Guang Yang
e32da3e7c8 rgw: do not pre-fetch data for HEAD requests
Backport: hammer

Signed-off-by: Guang Yang <yguang@yahoo-inc.com>
2015-03-05 00:58:12 +00:00
Sage Weil
8f2b9372a7 Merge pull request #3876 from ceph/wip-rpm-ceph-test-dependencies
#10989 ceph.spec.in: loosen ceph-test's dependencies

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-04 16:11:53 -08:00
Ken Dreyer
924f85f157 ceph.spec.in: loosen ceph-test's dependencies
In Debian, the ceph-test package can be installed with any version of
ceph-common.

Prior to this commit, in RHEL, we're much more strict about which
version of the dependencies we require. We depend directly on
librados2/librbd1/libcephfs1 instead of ceph-common, and we also require
the specific versions of these libraries to match the version of
ceph-test.

For testing Ceph, it is nice to have the ability to upgrade the
librados2/librbd1/libcephfs1 libraries on a host without having to also
upgrade the ceph-test package as well.

Remove the version number requirements, and change the dependencies from
librados2/librbd1/libcephfs1 to simply "ceph-common". That will make
/etc/ceph/ and /var/log/ceph present for the tests.

http://tracker.ceph.com/issues/10989 Refs: #10989

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2015-03-04 15:18:13 -07:00
John Spray
d44c24517c Merge pull request #3804 from Ved-vampir/master
common: add perf counters description

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2015-03-04 11:43:25 +00:00
Loic Dachary
a60c883b97 Merge pull request #3869 from tchaikov/print-help-on-osd
ceph.in: print help on 'osd' or 'mon'

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-04 12:26:55 +01:00
Kefu Chai
a3af64c257 ceph.in: print help on 'osd' or 'mon'
Fixes: #10888
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-03-04 17:39:02 +08:00
Ved-vampir
69161f0802 common: add perf counters description
Signed-off-by: Kiseleva Alyona <akiselyova@mirantis.com>
2015-03-04 12:13:11 +03:00
Yan, Zheng
9539e93654 Merge pull request #3865 from ceph/wip-11011
mds: flush immediately in do_open_truncate
2015-03-04 09:52:44 +08:00
Kefu Chai
5e97992086 Merge pull request #3862 from ceph/wip-da-fix-python
Fix pep8 python issues

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-03-04 09:19:24 +08:00
John Spray
891f814f30 mds: flush immediately in do_open_truncate
Previously truncating opens were horribly laggy
for clients when the system was otherwise idle,
as they would wait for the next tick() before
proceeding.

Fixes: #11011
Signed-off-by: John Spray <john.spray@redhat.com>
2015-03-03 20:14:28 +00:00
Danny Al-Gaaf
26b6b01307 rados.py: fix pep8 E502, remove redundant '\' in brackets
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 13:01:46 +01:00
Danny Al-Gaaf
1396ac95c3 rados.py: fix pep E711
Fix for:
- E711 comparison to None should be 'if cond is None:'

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 13:01:46 +01:00
Danny Al-Gaaf
41a8c07923 rados.py: fix pep8 indent issues
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 13:01:46 +01:00
Danny Al-Gaaf
12da819695 rados.py: fix (white)space issues
Fixes for:
- E202 whitespace before '}'
- E221 multiple spaces before operator
- E223 tab before operator
- E226 missing whitespace around arithmetic operator
- E251 unexpected spaces around keyword / parameter equals
- E261 at least two spaces before inline comment
- W293 blank line contains whitespace

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 13:01:46 +01:00
Danny Al-Gaaf
6d078a3a76 rados.py: fix pep8 E111 indentation (spaces/tab)
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 13:01:46 +01:00
Danny Al-Gaaf
13afbc3543 ceph_rest_api.py: fix pep8 indentation errors
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 13:01:46 +01:00
Danny Al-Gaaf
e13d4dfe34 ceph_rest_api.py: fix pep8 whitespace issues
Fixes for:
- E226 missing whitespace around arithmetic operator
- E231 missing whitespace after ':' and ','
- E265 block comment should start with '#

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 13:01:46 +01:00
Danny Al-Gaaf
8c8cdf2854 ceph_argparse.py: pep8 E721 don't compare types, use 'isinstance()'
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 13:01:46 +01:00
Danny Al-Gaaf
0cc142393f python: fix pep8 'E713 test for membership should be 'not in'
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 13:01:45 +01:00
Danny Al-Gaaf
c64d491601 ceph_argparse.py: fix pep8 indentation errors
Fix for:
- E126 continuation line over-indented for hanging indent
- E128 continuation line under-indented for visual indent
- E129 visually indented line with same indent as next logical line
- E131 continuation line unaligned for hanging indent

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:31 +01:00
Danny Al-Gaaf
1dad726411 ceph_argparse.py: fix pep8 E502, remove redundant '\' in brackets
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:31 +01:00
Danny Al-Gaaf
a1b05f1f19 ceph_argparse.py: fix pep8 whitespace issues
Fixes for:
- E231 missing whitespace after ':'
- E231 missing whitespace after ','
- E226 missing whitespace around arithmetic operator

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:31 +01:00
Danny Al-Gaaf
afd0f42c17 cephfs.py: fix pep8 E127/E128 intended lines
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:31 +01:00
Danny Al-Gaaf
d2dd6dd558 cephfs.py: pep8 E225. add missing whitespace around operator
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:30 +01:00
Danny Al-Gaaf
c0d2fcf549 cephfs.py: fix pep8 E202 whitespaces
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:30 +01:00
Danny Al-Gaaf
02b99585a1 cephfs.py: fix inline comments
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:30 +01:00
Danny Al-Gaaf
eb4f72a717 rbd.py: remove superfluous-parens around if
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:30 +01:00
Danny Al-Gaaf
3f3011491d add tox.ini for pep8 with some errors to be ignored
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:30 +01:00
Danny Al-Gaaf
80f1ed9432 rbd.py: fix pep8 E101/W191 wrong intended lines
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:30 +01:00
Danny Al-Gaaf
f4b204004b rbd.py: fix pep8 E128 under-indented lines
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:30 +01:00
Danny Al-Gaaf
fa93154f1d rbd.py: fix pep8 E127 over-indented line
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:30 +01:00
Danny Al-Gaaf
1f211ca777 python: fix pep8 E302, add missing lines
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-03 12:59:30 +01:00
Kefu Chai
b8699a3bce Merge pull request #3842 from dachary/wip-docker-build
tests: keep intermediate docker build layers

Reviewed-by: Kefu Chai <kchai@redhat.com>
2015-03-03 16:53:39 +08:00
Yan, Zheng
2e86094352 Merge pull request #3856 from ceph/wip-10982
RFC Client: do not require successful remount when unmounting
2015-03-03 15:16:56 +08:00
Greg Farnum
71f2686252 Client: do not require successful remount when unmounting
Fixes: #10982

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
2015-03-02 22:38:06 -08:00
Sage Weil
f2b3192f36 doc/release-notes: add v0.92->0.93 upgrade note
Signed-off-by: Sage Weil <sage@redhat.com>
2015-03-02 21:14:27 -08:00
Josh Durgin
0d468ae352 Merge pull request #3831 from dachary/wip-qemu-iotests
Maipo should also use the local qemu clone

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-02 15:34:39 -08:00
Danny Al-Gaaf
be7b4c38e3 update some .gitignore files
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-02 21:10:35 +01:00
Danny Al-Gaaf
a7b344388b submodules: --recursive needed for gtest in gmock
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-02 21:10:24 +01:00
Danny Al-Gaaf
dbcd55f93f gmock: add git submodule
Add gmock submodule and point to ceph-release-1.7.0 branch.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-02 21:08:46 +01:00
Danny Al-Gaaf
7b41871171 gmock: remove in-tree code copy
Step needed to replace by git submodules.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
2015-03-02 21:05:46 +01:00
Yehuda Sadeh
fea8ea057a Merge pull request #3818 from rzarzynski/wip-10661
rgw: generate Content-Length in response for POST on Swift containter/object

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-03-02 10:55:34 -08:00