Yehuda Sadeh
81070d3424
rgw: use rgw_raw_obj in manifest code
...
This drags in multiple related changes that are needed in order to
support that.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-09 09:18:51 -08:00
Yehuda Sadeh
3583d67d61
rgw: decode rgw_raw_obj as rgw_obj when it's old object
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-09 09:18:51 -08:00
Yehuda Sadeh
18e8ecca09
rgw: remove unneeded virtual declarations
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-09 09:18:51 -08:00
Yehuda Sadeh
5fff6371d8
rgw: more fixes and adjustments following rgw_pool, rgw_raw_obj
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-09 09:18:51 -08:00
Yehuda Sadeh
10f73588a5
rgw: separate RGWObjState
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-09 09:18:50 -08:00
Yehuda Sadeh
66c2b0c0d6
rgw: introduce rgw_pool, rgw_raw_obj
...
Pools are represented by rgw_pool (and not rgw_bucket anymore),
and we use rgw_raw_obj to reference rados objs and all 'system'
objects (vs rgw_obj that is used for rgw objects).
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-09 09:18:50 -08:00
Orit Wasserman
36cf5a5c81
rgw: skip conversion of zones without any zoneparams
...
Fixes: http://tracker.ceph.com/issues/19231
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-03-09 18:39:30 +02:00
Orit Wasserman
e9f3bf8eab
rgw: better debug information for upgrade
...
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
2017-03-09 18:38:29 +02:00
Pan Liu
ff8b601ef9
librados: replace the var name from onact to oncomplete.
...
Signed-off-by: Pan Liu <pan.liu@istuary.com>
2017-03-10 00:24:32 +08:00
Sage Weil
f5dfa07975
Merge pull request #13901 from Adirl/default
...
msg/async/rdma: compile with rdma as default
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-09 09:35:29 -06:00
Casey Bodley
5877780a47
Merge pull request #13760 from zhangsw/fix-rgw-torrent-uri
...
rgw: get torrent request's parameter is not the same as amazon s3.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-03-09 09:53:27 -05:00
Haomai Wang
2dafbae9c2
msg/async/rdma: make sure no alive connection when Dispatcher exit
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-03-09 22:51:41 +08:00
Haomai Wang
62082a5f0b
msg/async/rdma: increase poll timeout to 100ms
...
Signed-off-by: Haomai Wang <haomai@xsky.com>
2017-03-09 22:49:55 +08:00
Casey Bodley
2bb96e08ea
Merge pull request #13660 from shashalu/rgw-read-sync-status
...
rgw: use separate http_manager for read_sync_status
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-03-09 09:47:29 -05:00
Abhishek L
d031c06d3f
Merge pull request #13878 from smithfarm/wip-jewel-release-notes-fixup
...
doc: mention ENXIO change in the 10.2.6 release notes
Reviewed-by: Sage Weil <sweil@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-03-09 15:17:12 +01:00
Jianpeng Ma
808897d7bd
osd/PrimaryLogPG: remove duplicated code.
...
In fact, the following code in this function
>> if (op->may_write()) {
>> ....
>> // invalid?
>> if (m->get_snapid() != CEPH_NOSNAP) {
>> dout(20) << __func__ << ": write to clone not valid " << *m << dendl;
>> osd->reply_op_error(op, -EINVAL);
>> return;
>> }
has the same function. So remove the duplicated code.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2017-03-09 21:57:26 +08:00
John Spray
ac66b75427
mgr: update for start_mon_command int->void
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-09 13:30:07 +00:00
John Spray
80eaa127b8
osd: update for mon_command void change
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-09 13:30:07 +00:00
John Spray
7d20cc069c
osdc: cmd arg should be const on Objecter::send_command
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-09 13:30:07 +00:00
John Spray
8e524c89ea
librados: update for osd_command/mon_command void change
...
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-09 13:30:06 +00:00
John Spray
6f155f4f53
mon: make MonClient::start_mon_command return void
...
The int return was misleading because it didn't
really have any error cases. We sometimes use
ints in APIs in case we want to return an error
in future, but MonClient is an internal interface.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-09 13:30:06 +00:00
John Spray
a6a07e339a
osdc: make Objecter::osd_command return void
...
The int return was misleading because it didn't
really have any error cases. We sometimes use
ints in APIs in case we want to return an error
in future, but Objecter is an internal interface.
Signed-off-by: John Spray <john.spray@redhat.com>
2017-03-09 13:30:06 +00:00
DanielBar-On
0aeabb2b51
msg/async/rdma: compile with rdma as default
...
Issue: 992583
Issue: 992580
Change-Id: I24128b87294d3083c44c934f7d4bed554dd1f8a4
Signed-off-by: DanielBar-On <danielbo@mellanox.com>
2017-03-09 14:20:36 +02:00
Haomai Wang
0574543dbb
Merge pull request #13896 from optimistyzy/39_1
...
Bluestore, NVMeDevice: fix the core id for rte_remote_launch
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-03-09 16:21:35 +08:00
optimistyzy
9d1b108c55
Bluestore, NVMeDevice: fix the core id for rte_remote_launch
...
Previously, we use the id. The id value will be 1 always since
we will only support one NVMe device per osd. Also we have
coremask conf , the default is 3, and we will use core 1.
It is correct. However if we specify another core mask, e.g.,
0xC, still passing 1 to start the dpdk_thread is wrong. we
need to pass core id = 4.
Since for each shareddata, we only use one cpu core, so
just passing rte_get_next_lcore(-1, 0, 0), which selects
the first slave core.
Signed-off-by: optimistyzy <optimistyzy@gmail.com>
2017-03-09 14:37:32 +08:00
Dan Mick
4f78b04c6a
Merge pull request #13891 from yehudasa/wip-vstart-not-new
...
vstart: don't create cluster by default
2017-03-08 20:06:16 -08:00
Zhang Shaowen
a0aa859e62
rgw: get torrent request's parameter is not the same as amazon s3.
...
Fixes: http://tracker.ceph.com/issues/19136
Signed-off-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
2017-03-09 11:37:02 +08:00
Haomai Wang
c57ce5cb94
Merge pull request #13556 from tangwenjun3/wip-fix-coredump
...
os/bluestore: fix coredump in register_ctrlr()
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-03-09 09:49:02 +08:00
lu.shasha
c412024889
rgw: use separate http_manager for read_sync_status
...
concurrent users of read_sync_status() use different cr managers, when get_resource must
use http_manager related to the cr manager.
Fixes: http://tracker.ceph.com/issues/19236
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
2017-03-09 08:52:16 +08:00
Yuri Weinstein
fa496a9c9c
Merge pull request #13892 from dmick/wip-19232
...
qa/suites/upgrade/kraken-x: do not thrash cluster full during upgrade
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
2017-03-08 16:23:26 -08:00
Dan Mick
edeedf0256
qa/suites/upgrade/kraken-x: do not thrash cluster full during upgrade
...
Same thing as 39fdc53fe5
Fixes: http://tracker.ceph.com/issues/19232
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-03-08 14:40:36 -08:00
Yehuda Sadeh
cd6f2e04a6
vstart: don't create cluster by default
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-08 14:18:24 -08:00
Nathan Cutler
8a20e201cc
doc: mention ENXIO change in the 10.2.6 release notes
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-03-08 22:09:54 +01:00
Yehuda Sadeh
bfa322cdc0
Merge pull request #13880 from cbodley/wip-qa-submodule
...
build: remove ceph-qa-suite directory
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-08 12:57:31 -08:00
Sage Weil
92bacb6823
Merge pull request #13217 from liewegas/wip-bluestore-prefer-wal-size
...
os/bluestore: add bluestore_prefer_wal_size option
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2017-03-08 13:38:54 -06:00
Casey Bodley
c43edf68e9
build: remove ceph-qa-suite directory
...
after commit 3afb889
"qa: add supported distros for ceph-ansible", git
submodule update commands are failing with:
No submodule mapping found in .gitmodules for path 'ceph-qa-suite'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-03-08 12:30:08 -05:00
Sage Weil
fb5b59fc39
Merge pull request #13785 from liewegas/wip-cleanup-features
...
msg: no need to pass supported features to Messenger::Policy ctor
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-03-08 11:14:08 -06:00
Jason Dillaman
3af83a87be
doc: update RBD mirroring instructions for pool demotion/promotion
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-08 12:02:27 -05:00
Jason Dillaman
4692fe246c
rbd: new rbd mirror pool promote/demote actions
...
Fixes: http://tracker.ceph.com/issues/18748
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-08 12:02:27 -05:00
Jason Dillaman
79627df071
librbd: add aio_mirror_image_* API methods
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-08 12:02:27 -05:00
Jason Dillaman
6043a9d7b2
librbd: additional asynchronous mirror state machines
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-08 12:02:26 -05:00
Jason Dillaman
56b17f4165
librbd: asynchronous journal demote state machine
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-08 11:59:56 -05:00
Jason Dillaman
c701e06897
librbd: move group and diff API functions
...
The group and diff_iterate API functions are already in separate
units, so it's trivial to move them to the new 'api' namespace.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-08 11:59:56 -05:00
Jason Dillaman
4aea48ec5f
librbd: move mirror-related API functions
...
Also ensure that the API helper methods can be tested via
mock test cases.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-08 11:59:56 -05:00
Casey Bodley
5967b9bf4c
Merge pull request #13078 from zhangsw/fix-rgw-setacl-bug
...
rgw: put object's acl can't work well on the latest object
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-03-08 11:55:44 -05:00
Jason Dillaman
52eb673092
librbd: rename parent_spec/parent_info type to match code style specs
...
This also includes a consolidation of SnapInfo, ParentSpec, and ParentInfo
into a single header.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2017-03-08 11:40:02 -05:00
Josh Durgin
12c4981087
Merge pull request #13852 from liewegas/wip-19133
...
qa/suites: fix upgrade tests vs cluster full thrashing
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-03-08 07:47:49 -08:00
Sage Weil
deab3e783c
Merge pull request #13711 from tmuthamizhan/wip-add-supported-distros
...
qa: add supported distros for ceph-ansible
Reviewed-by: Yuri Weinstein <yweinstei@redhat.com>
2017-03-08 09:35:50 -06:00
Sage Weil
ae7d5fd179
Merge pull request #13776 from Liuchang0812/wip-add-override-in-tool-headers
...
tools: add override in tool submodule
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-08 09:08:16 -06:00
Jason Dillaman
a581c6ac00
Merge pull request #13791 from runsisi/wip-rbd-ack-cleanup
...
librbd: rbd ack cleanup
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-03-08 10:07:29 -05:00