Commit Graph

53576 Commits

Author SHA1 Message Date
Mykola Golub
17b1c91774 Merge pull request #9211 from dillaman/wip-15938
librbd: write-after-write might result in an inconsistent replicated image

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-05-20 20:52:42 +03:00
Sage Weil
27b6ec40b9 Merge pull request #9231 from athanatos/wip-recovery-wq
osd: Put background recovery tasks in the main OpWQ

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-20 13:26:02 -04:00
Sage Weil
c2d802eb29 Merge pull request #6208 from liewegas/wip-alloc-hints
librados,osd: rados hints for future access pattern

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-20 13:00:09 -04:00
Sage Weil
8d7200c978 Merge pull request #7070 from majianpeng/headerbeatmap-check
common/HeartbeatMap: print stack info of unhealth thread.

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-20 12:59:35 -04:00
Sage Weil
69355b032a Merge pull request #7843 from branch-predictor/bp-smart-async-wp
msg/async: Implement smarter worker thread selection

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-05-20 12:59:16 -04:00
Sage Weil
4f40a24402 Merge pull request #8141 from songbaisen/song14
crush: fix the problem can not find the define item below the bucket

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-20 12:58:36 -04:00
Sage Weil
c46b4cac14 Merge pull request #8840 from tchaikov/wip-opt-u32
common/config: cast OPT_U32 options using uint32_t

Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-20 12:57:53 -04:00
Sage Weil
9278557e3c Merge pull request #9072 from liewegas/wip-15840
osd: fix crush location update on startup
2016-05-20 12:56:55 -04:00
Sage Weil
fb4f247e0c Merge pull request #9116 from ddiss/librados_sparse_read_use_snapid
librados: use caller provided snapid for aio_sparse_read()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-05-20 12:56:21 -04:00
Orit Wasserman
da5b1bcbe1 Merge pull request #9002 from rzarzynski/wip-rgw-swift-acct_cont_md-fix
rgw: fix updating account/container metadata of Swift API.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-05-20 18:02:26 +02:00
Kefu Chai
8e728e36e1 Merge pull request #9225 from dachary/wip-run-make-check
tests: rm -fr /tmp/*virtualenv*

Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-05-20 21:46:29 +08:00
Casey Bodley
27a9d4c2d7 Merge pull request #9165 from mikulely/fix-rgw-multisite-test
rgw: misc fix for test_multi.py

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-20 09:11:28 -04:00
Loic Dachary
8f0eefba00 tests: rm -fr /tmp/*virtualenv*
Signed-off-by: Loic Dachary <loic@dachary.org>
2016-05-20 15:06:45 +02:00
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
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
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