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
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
Yehuda Sadeh
522a8f99fe
Merge pull request #3761 from rzarzynski/wip-10873
...
rgw: generate the "Date" HTTP header.
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2015-03-02 10:50:42 -08:00
Dmytro Iurchenko
d3a3d5ae58
rgw: Swift API. Complement the response to "show container details"
...
OpenStack Object Storage API v1 states that X-Container-Object-Count, X-Container-Bytes-Used and user-defined metadata headers should be included in a response.
Fixes : #10666
Backport: hammer
Reported-by: Ahmad Faheem <ahmad.faheem@ril.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Signed-off-by: Dmytro Iurchenko <diurchenko@mirantis.com>
2015-03-02 10:32:04 -08:00
Sage Weil
b65f8fa422
Merge remote-tracking branch 'gh/hammer'
2015-03-02 09:11:11 -08:00
Josh Durgin
6864dc9ae9
Merge pull request #3844 from ceph/wip-10965
...
Wip 10965
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-02 08:53:50 -08:00
Josh Durgin
594737e4bf
Merge pull request #3843 from ceph/wip-10978
...
rgw: don't overwrite bucket / object owner when setting acls
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-02 08:51:54 -08:00
Josh Durgin
206cb706bf
Merge pull request #3812 from ceph/wip-10958
...
librbd: flush pending AIO before resize
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2015-03-02 08:30:45 -08:00
Yehuda Sadeh
eb13f2d4b6
rgw: don't overwrite bucket / object owner when setting acls
...
Fixes : #10978
Backport: hammer, firefly
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-03-02 08:09:59 -08:00
Loic Dachary
70fdbc01e1
tests: keep intermediate docker build layers
...
Because the docker devmapper backend has an intermittent bug
https://github.com/docker/docker/issues/4036
the build of the image will sometime fail. It will eventually succeed if
the command is repeated enough times. Not removing the intermediate
layers helps speed up the operation: when repeating the command, only
the layer that failed because of the above bug is rebuilt.
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-03-02 14:37:55 +01:00
Jason Dillaman
e2283e3066
librbd: flush pending AIO after acquiring lock
...
There was a potential race condition between a delayed AIO
operation waiting on acquiring a lock and a snap_create
flushing all pending IO. Since snap_create owned md_lock, the
delayed AIO would not be allowed to complete -- deadlocking the
flush.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-03-02 08:31:45 -05:00
Jason Dillaman
472db64e2e
librbd: hold snap_lock between clipping IO and registering AIO
...
In the case where concurrent IO is occurring when a trim resize
operation is initiated, hold the snap_lock between clipping the
IO operation and registering the pending op. That allows the
resize state machine to properly flush all operations issued
before the clip region was updated.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-03-02 08:31:43 -05:00
Loic Dachary
122ca1ea44
Merge pull request #3839 from dachary/wip-documentation
...
doc: ext4 has a journal
Reviewed-by: Simon Guinot <simon.guinot@sequanux.org>
2015-03-02 13:03:59 +01:00
Loic Dachary
7f36312ab6
doc: ext4 has a journal
...
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2015-03-02 12:09:13 +01:00
Loic Dachary
3b424bfe22
Merge pull request #3834 from linuxbox2/xio-build
...
cmake: build fixes
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-03-01 00:27:06 +01:00
Matt Benjamin
9ad02c9303
cmake: build fixes
...
* librbd
* test/ceph_dencoder
Signed-off-by: Matt Benjamin <matt@cohortfs.com>
2015-02-28 13:58:44 -05:00
Yehuda Sadeh
caa90225ba
rgw: update makefile to enable civetweb config
...
Fixes : #10965
Backport: hammer, firefly
Civetweb compilation now includes conf header to enable ipv6.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-02-28 08:54:51 -08:00
Yehuda Sadeh
0f8be6f086
civetweb: update submodule
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2015-02-28 08:51:39 -08:00
Haomai Wang
721b3a0897
Merge pull request #3833 from yuyuyu101/temp
...
TestAsyncDriver: Fix typo in ceph_test_async_driver
2015-02-28 18:10:36 +08:00
Haomai Wang
4698fbe84e
TestAsyncDriver: Fix typo in ceph_test_async_driver
...
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
2015-02-28 17:42:52 +08:00
Loic Dachary
c6d4d84c21
Merge pull request #3832 from tchaikov/fix-doc
...
doc/install/manual-deployment: fix osd install doc
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-02-28 10:35:18 +01:00
Kefu Chai
3cea092bf9
doc/install/manual-deployment: fix osd install doc
...
* should be using /var/lib/ceph/osd/{cluster-name}-{osd-num}/sysvinit
instead of var/lib/ceph/osd/{cluster-name}-{hostname}/sysvinit, thanks
to Kyle Hutson <kylehutson@ksu.edu>
Fixes : #10957
Signed-off-by: Kefu Chai <kchai@redhat.com>
2015-02-28 10:59:55 +08:00
Loic Dachary
a23b348979
Maipo should also use the local qemu clone
...
http://tracker.ceph.com/issues/10975 Fixes : #10975
Signed-off-by: Loic Dachary <loic@dachary.org>
2015-02-28 01:20:05 +01:00
Sage Weil
843ba7d42e
doc/release-notes: fix Takeshi's name
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-02-27 14:19:06 -08:00
Jenkins
6d0c464897
Merge branch 'hammer' of jenkins.front.sepia.ceph.com:ceph/ceph into hammer
2015-02-27 13:21:03 -08:00
Sage Weil
bc638cf953
doc/release-notes: fix typo
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-02-27 13:21:00 -08:00
Sage Weil
6e308dc2cc
doc/release-notes: v0.80.9 firefly
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-02-27 13:16:23 -08:00
Sage Weil
3e03b2fcb3
doc/release-notes: v0.93 release notes
...
Signed-off-by: Sage Weil <sage@redhat.com>
2015-02-27 11:09:45 -08:00
Jason Dillaman
1584104f73
librbd: moved flush / cache invalidate to resize state machine
...
Keep async_resize truly async by moving flush and invalidate cache
operations to individual states within the resize state machine.
Fixes : #10958
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-02-27 13:24:23 -05:00
Jason Dillaman
9fed4b90c7
librbd: add AIO version of invalidate_cache
...
Break the existing synchronous behavior into pre- and post-
flush routines using the existing logic.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2015-02-27 13:24:21 -05:00
Loic Dachary
3e365fe9cc
Merge pull request #3825 from ceph/wip-hammer-gplv2-text
...
Add GPLv2 text file
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2015-02-27 19:09:06 +01:00