John Spray
2c7dd5f222
mon: tolerate missing osd metadata
...
Just because one OSD's metadata is missing,
don't give up on outputting all the other
OSDs' metadata.
Signed-off-by: John Spray <john.spray@redhat.com>
2016-05-21 22:38:15 +01:00
John Spray
5fe4fe4d92
mon: fix metadata dumps for empty lists
...
Because 'r' was set inside loop, these would
fail to set it (leaving ENOSYS) if no
metadata is present.
Signed-off-by: John Spray <john.spray@redhat.com>
2016-05-21 22:38:08 +01:00
Michal Jarzabek
c5582ec6be
osd/HitSet.h: add 'override' to virtual functions
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-21 22:26:01 +01: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
Kefu Chai
a78b9390de
cmake: add ocf support
...
a new option is added: WITH_OCF. it is OFF by default.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-05-21 21:26:57 +08:00
chenxiaowei
4adf35d6fc
global: optimize header file dependency.
...
Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
2016-05-21 04:48:39 +01:00
Radoslaw Zarzynski
d6129e664f
rgw: fix update of already existing account/bucket's custom attributes.
...
Introduced in: 3f3b18bff1
.
Fixes: http://tracker.ceph.com/issues/15977
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-05-21 02:51:42 +02:00
Robin H. Johnson
7c7a465b55
rgw: fix manager selection when APIs customized
...
When modifying rgw_enable_apis per RGW instance, such as for staticsites, you
can end up with RESTManager instance being null in some cases, which returns a
HTTP 405 MethodNotAllowed to all requests.
Example configuration to trigger the bug:
rgw_enable_apis = s3website
Backport: jewel
X-Note: Patch from Yehuda in private IRC discussion, 2016/05/20.
Fixes: http://tracker.ceph.com/issues/15973
Fixes: http://tracker.ceph.com/issues/15974
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
2016-05-20 16:11:40 -07: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
Vikhyat Umrao
6b1c894b2b
mon : Display full flag in ceph status if
...
full flag is set
Fixes: http://tracker.ceph.com/issues/15809
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
2016-05-20 23:09:46 +05:30
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
Michal Jarzabek
507550e7dd
osd/ODSCap.h: prevent copying strings
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-20 18:04:26 +01:00
Michal Jarzabek
d9ef7312a4
osd/OSDCap.h: prevent copying vector in constuctor
...
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-05-20 18:04:26 +01: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
Orit Wasserman
b79856bd3f
rgw: add missing metadata_heap pool to old zones
...
Fixes: http://tracker.ceph.com/issues/15937
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-05-20 16:50:23 +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
xie xingguo
db9ac7ea7e
mon: fix assert triggerred by the deprecated "scrubq" state
...
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-05-20 21:28:24 +08:00
Ken Dreyer
d87448da79
ceph.spec.in: use %autosetup macro
...
New in rpm 4.11,
http://www.rpm.org/wiki/PackagerDocs/Autosetup
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
2016-05-20 07:23:53 -06: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
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