Mykola Golub
b8b3a9757f
pybind/rbd: create/clone/copy: default to None for features param
...
If None is specified don't set the features so that the defaults is
used.
Fixes: http://tracker.ceph.com/issues/15982
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-23 09:23:11 +03:00
Mykola Golub
d305eaad8d
librbd: clone: default to parent features
...
Fixes: http://tracker.ceph.com/issues/15982
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-05-23 09:23:11 +03:00
Jason Dillaman
21c759936d
Merge pull request #8473 from rjfd/wip-14421
...
rbd-mirror: Delete local image mirror when remote image mirroring is disabled
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-22 16:14:18 -04:00
Ricardo Dias
d85e312ead
rbd-mirror: test: added image-deleter test case when mirroring is disabled
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-05-22 16:13:21 -04:00
Ricardo Dias
9cb0b180bc
rbd-mirror: Unregister clients from non-primary images journal
...
A non-primary image may have registered clients on its journal
(for instance a primary image that was later demoted). We must
unregister the clients when disabling image mirroring with the
force option.
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-05-22 16:13:21 -04:00
Ricardo Dias
ac9514941b
rbd-mirror: test: Added unit test for testing image-deleter thread
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-05-22 16:13:21 -04:00
Ricardo Dias
e3677f115e
rbd-mirror: test: Fixed test_PoolWatcher to support the new changes in PoolWatcher class
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-05-22 16:13:21 -04:00
Ricardo Dias
3c2615aa6d
rbd-mirror: Replayer: bootstrap existing mirrored images
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-05-22 16:13:21 -04:00
Ricardo Dias
a6d698829d
rbd-mirror: replayer: Added image-deleter thread to replayer
...
Fixes: http://tracker.ceph.com/issues/14421
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-05-22 16:13:20 -04:00
Ricardo Dias
011984d40b
rbd-mirror: Added image-deleter thread to rbd-mirror
...
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-05-22 16:13:20 -04:00
Ricardo Dias
6cc6e663ed
rbd-mirror: Added implementation of image-deleter thread
...
image-deleter thread will handle the deletion of local images that have
been disabled for mirroring by the primary site.
Signed-off-by: Ricardo Dias <rdias@suse.com>
2016-05-22 16:13:20 -04:00
Jason Dillaman
1ac39355fd
Merge pull request #9179 from vshankar/rbd-min-commit-position
...
cls_journal: initialize empty commit position upon client register
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-22 15:45:11 -04:00
Jason Dillaman
2f48747cdd
Merge pull request #7836 from yuyuyu101/wip-13938
...
TaskFinisher: use singleton SafeTimer and Finisher
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-05-22 15:44:53 -04:00
Sage Weil
4764b699d6
osdc/Objecter: move C_TwoContexts class to cc fileReviewed-by: Sage Weil <sage@redhat.com>
...
osdc/Objecter: move C_TwoContexts class to cc file
Reviewed-by: Sage Weil <sage@redhat.com>
2016-05-21 16:29:39 -04:00
Michal Jarzabek
43af3432f5
osdc/Objecter: move C_TwoContexts class to cc file
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-21 15:48:18 +01:00
Samuel Just
dc88e41062
Merge pull request #9241 from ceph/wip-fix-q-tests
...
common/: fix tests for prioritized_queue and wpq
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-05-20 15:32:09 -07:00
Yehuda Sadeh
be22ac6540
Merge pull request #9102 from yehudasa/wip-rgw-leak-4
...
rgw: don't unregister request if request is not connected to manager
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-05-20 15:30:44 -07:00
Samuel Just
630dd27229
common/: fix tests for prioritized_queue and wpq
...
Introduced: 27b6ec40b9
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-05-20 15:22:56 -07:00
Sage Weil
15a479fbb4
Merge pull request #9216 from dzafman/wip-test-fix
...
test: Disable tests due to recovery race
2016-05-20 14:06:05 -04:00
David Zafman
5bc55338f5
test: Disable tests due to recovery race
...
Disable:
osd-scrub-repair.sh
test-erasure-eio.sh
test-erasure-code.sh
These test are failing due to race conditions that is exposing
bug http://tracker.ceph.com/issues/13937 .
Signed-off-by: David Zafman <dzafman@redhat.com>
2016-05-20 10:56:35 -07:00
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
Venky Shankar
dd2e3dae8a
cls_journal: Select min commit position for new clients
...
When a new client registers, its commit position is initialized
to the least commit position of all other clients.
Fixes: http://tracker.ceph.com/issues/15757
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2016-05-20 19:56:35 +05:30
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