Commit Graph

53786 Commits

Author SHA1 Message Date
Sage Weil
4ad241134e Merge pull request #9139 from majianpeng/bluestore-statfs
os/bluestore/BlueStore: free space of bluestore should reduce spaces …

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-20 09:00:07 -04:00
Sage Weil
8b0cc8f5a5 Merge pull request #9161 from cxwshawn/wip-tc1-fix
osd: optimize header file dependency to decreace compile time when modify any file

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-20 08:32:33 -04:00
Sage Weil
e84f2a1f07 Merge pull request #9193 from cxwshawn/wip-tc2-fix
mon: optimize header file dependency.

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-20 08:32:25 -04:00
Vikhyat Umrao
f235b9cc15 osd: add peer_addr in heartbeat_check log message
Fixes: http://tracker.ceph.com/issues/15762

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-05-20 17:56:32 +05:30
Jason Dillaman
ca0b75e801 Merge pull request #9068 from trociny/wip-pybind-rbd-mirror
librbd: initial python APIs to support mirroring

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-20 08:24:15 -04:00
Jason Dillaman
fbce0b226d Merge pull request #9088 from trociny/wip-15500
qa: dynamic_features.sh: return error only if it failed on alive QEMU

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-20 08:23:37 -04:00
Jason Dillaman
6a40444d77 Merge pull request #9140 from zhouyuan/fix_disable_journaling
librbd: close journal before removing

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-20 08:22:56 -04:00
Jason Dillaman
ef270d0e3a Merge pull request #9177 from trociny/wip-15916
rbd-mirror: it might got stuck in calculating "behind master" position

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-20 08:21:14 -04:00
Jason Dillaman
0f5f1c375d journal: replay position might change after pruning stale tags
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-20 08:04:03 -04:00
Jason Dillaman
e8bf64cc85 librbd: delay commit of overwritten journal event
With the cache enabled and write-after-write IOs to the same
object extents, it was possible for the overwritten journal event
to be committed before the overwriter journal event was written
to disk.  If a client crash occurs before the event is written,
the image will be inconsistent on replay.

Fixes: http://tracker.ceph.com/issues/15938
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-20 08:04:02 -04:00
John Spray
5ed3572c9b Merge pull request #9196 from tchaikov/wip-cmake-vstart
cmake: add cython_rados to vstart target

Reviewed-by: John Spray <john.spray@redhat.com>
2016-05-20 12:10:16 +01:00
Orit Wasserman
ebc1544e88 Merge pull request #8164 from rzarzynski/wip-rgw-bulkdel-slashfix
rgw: handle initial slashes properly in BulkDelete of Swift API.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-20 13:04:14 +02:00
Radoslaw Zarzynski
1dde062c21 rgw: handle initial slashes properly in BulkDelete of Swift API.
Fixes: http://tracker.ceph.com/issues/15948
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-05-20 12:55:47 +02:00
Sage Weil
875d2406ef Merge pull request #9220 from cxwshawn/wip-tc3-fix
auth: optimize header file dependency.

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-20 06:35:38 -04:00
Sage Weil
a408c4ba47 Merge pull request #9212 from liewegas/wip-bit-alloc-test
tests: disable unittest_bit_alloc for now

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-05-20 06:35:11 -04:00
Sage Weil
64e7d0eb92 Merge pull request #9219 from renhwztetecs/renhw-wip-logmonitor-cleanup
mon/log: clean unused function and comments

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-20 06:28:16 -04:00
shawn
9d60f3dbc7 test: file change affected by auth file header optimization.
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
2016-05-20 05:32:18 -04:00
shawn
077af137de AUTH: optimize header file dependency.
same work as PR: https://github.com/ceph/ceph/pull/9193, https://github.com/ceph/ceph/pull/9161

Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
2016-05-20 04:43:33 -04:00
huanwen ren
042b18ec84 mon/log: using standard macros instead of -1
using standard macros instead of -1

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-05-20 16:41:39 +08:00
huanwen ren
dbd6e5709c mon/log: clean unused function and comments
clean unused function and comments

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2016-05-20 16:38:06 +08:00
Orit Wasserman
3516c757f2 Merge pull request #8656 from kmroz/wip-rgw-handler-cleanup-1
rgw-rest: remove redundant virtual functions
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-20 10:30:25 +02:00
Orit Wasserman
30fc5bfbb7 Merge pull request #8886 from cbodley/wip-rgw-zone-short-ids
rgw: check for short_zone_id collisions on period update
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-20 10:28:08 +02:00
Orit Wasserman
b22b3acfeb Merge pull request #9148 from rzarzynski/wip-rgw-15902
rgw: camelcase names of custom attributes in Swift's responses.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-20 10:23:22 +02:00
Orit Wasserman
5c0e4e3b80 Merge pull request #9042 from rzarzynski/wip-rgw-15812
rgw: handle errors properly during GET on Swift's DLO.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-20 10:21:51 +02:00
Orit Wasserman
063155e7fc Merge pull request #9149 from cbodley/wip-rgw-zone-modify-master
rgw: add_zone only clears master_zone if --master=false
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-20 10:19:23 +02:00
Orit Wasserman
7db1eef3fa Merge pull request #9154 from yehudasa/wip-15886
rgw: keep track of written_objs correctly
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-20 10:18:22 +02:00
Mykola Golub
99e7552c3a Merge pull request #9190 from dillaman/wip-15928
librbd: metadata retrieval added to open image state machine

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-05-20 10:16:21 +03:00
Mykola Golub
ccc8edd544 Merge pull request #9191 from dillaman/wip-15930
rbd-mirror: disable librbd caching for replicated images

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-05-20 08:58:07 +03:00
Mykola Golub
c1f8655800 Merge pull request #9173 from dillaman/wip-15909
rbd-mirror: potential crash during image status update

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-05-20 08:57:02 +03:00
Kefu Chai
3242e049c5 Merge pull request #8983 from dzafman/wip-li-rados
tools/rados: Improve list-inconsistent json format

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-20 12:36:44 +08:00
Jiaying Ren
719ddd708d rgw: misc fix for test_multi.p
remove redundent meta_checkpoint, cause realm.create_user(user) will
call meta_checkpoint by default(via wait_meta = True).

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2016-05-20 11:36:18 +08:00
Haomai Wang
dc6d6ce8b2 TaskFinisher: use singleton SafeTimer and Finisher
Fix #13938
Signed-off-by: Haomai Wang <haomai@xsky.com>
2016-05-20 11:15:15 +08:00
cxwshawn
4b76c1d7f0 OSD: optimize header file dependency to decreace compile time when modify any file
OSD's left header dependency optimize.
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
2016-05-19 22:43:36 -04:00
shawn
ae55f68f5d PG: optimize header file dependency to decreace compile time when modify any file
PG Layer's header dependency optimize.
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
2016-05-19 22:42:02 -04:00
shawn
eb355fadbc PGBackend: optimize header file dependency to decreace compile time when modify any file
hmm, everytime modify any file, then compile, then wait&wait&wait, so trying to optimize
this part, wish to decrease header dependency, try to improve compile speed.

Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
2016-05-19 22:42:02 -04:00
shawn
4b41fb20f0 tool: change affected file include relation by mon file header optimize
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
2016-05-19 22:37:58 -04:00
cxwshawn
32bff51f07 MON: optimize header file dependency.
same work as PR: https://github.com/ceph/ceph/pull/9161

Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
2016-05-19 22:18:11 -04:00
songbaisen
cdb7032dcd crush: fix the problem that can not find the define item below the bucket
Fixes: http://tracker.ceph.com/issues/15154
Signed-off-by: song baisen <song.baisen@zte.com.cn>
2016-05-20 09:22:08 +08:00
Samuel Just
91e3fd6a04 Merge pull request #9108 from tchaikov/wip-13990
osd: reset session->osdmap if waiting_for_pg is empty

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-05-19 16:08:32 -07:00
Gregory Farnum
d514a48d8c Merge pull request #8908 from jcsp/wip-15705
mds: fix mdsmap print_summary with standby replays

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-05-19 15:34:21 -07:00
Sage Weil
55bfefa204 tests: disable unittest_bit_alloc for now
See http://tracker.ceph.com/issues/15941

Signed-off-by: Sage Weil <sage@redhat.com>
2016-05-19 17:11:48 -04:00
Jason Dillaman
0051316eff ObjectCacher: pass new journal tid when overwriting extent
librbd needs to ensure the new journal event has been safely
committed to disk before it can mark an overwritten journal
event as committed.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 16:04:51 -04:00
Jason Dillaman
714ed5e64e qa/workunits/rbd: record rbd CLI debug messages during mirror stress
The debug messages from 'rbd bench-write' and 'rbd snap create',
in addition to the existing debug messages from rbd-mirror, make
it possible to determine the source of any image inconsistency.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 16:04:51 -04:00
Sage Weil
cba7fa2f9b Merge pull request #9199 from jmunhoz/mc-brp-aws4
doc: rgw: minor cleanup and doc update
2016-05-19 16:01:10 -04:00
Casey Bodley
19cf73ed2b Merge pull request #9133 from tchaikov/wip-cmake-selinux
cmake: add selinux support

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-19 11:16:48 -04:00
Jason Dillaman
48c2f4e079 journal: reset watch step after pruning expired tag
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 10:21:44 -04:00
Jason Dillaman
afc891f7fc rbd-mirror: additional debug messages during image replayer start/stop
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 10:21:44 -04:00
Jason Dillaman
9ae4edc056 rbd-mirror: ensure proper handling of status updates during shutdown
Previously, several shutdown race conditions could occur due to the
use of the async work queue for scheduling updates.

Fixes: http://tracker.ceph.com/issues/15909
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 10:21:43 -04:00
Jason Dillaman
e5dd97b4bf rbd-mirror: track bootstrap state within image status
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 09:52:36 -04:00
Jason Dillaman
a8f6dde4db rbd-mirror: combine ImageReplayer stopped and uninitialized states
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-05-19 09:52:36 -04:00