]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Li Wang [Tue, 6 Dec 2016 14:54:40 +0000 (14:54 +0000)]
msg/async/rdma/RDMAStack.cc: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 6 Dec 2016 14:52:22 +0000 (14:52 +0000)]
msg/async/rdma/Infiniband.h: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 6 Dec 2016 14:50:07 +0000 (14:50 +0000)]
msg/async/rdma/Infiniband.cc: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 6 Dec 2016 08:35:33 +0000 (08:35 +0000)]
msg/async/dpdk/TCP.h: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 6 Dec 2016 08:31:45 +0000 (08:31 +0000)]
msg/async/dpdk/DPDKStack.cc: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 6 Dec 2016 08:29:34 +0000 (08:29 +0000)]
msg/async/dpdk/DPDK.cc: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 6 Dec 2016 08:28:18 +0000 (08:28 +0000)]
common/map_cacher.hpp: assert(0) -> ceph_abort()
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Kefu Chai [Tue, 6 Dec 2016 01:04:59 +0000 (09:04 +0800)]
Merge pull request #9837 from zhjwpku/typos
doc: network-protocol typos
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 5 Dec 2016 18:59:57 +0000 (13:59 -0500)]
Merge pull request #12053 from theanalyst/v10.2.4/release-notes
doc: release notes for 10.2.4
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Mon, 5 Dec 2016 16:47:02 +0000 (11:47 -0500)]
Merge pull request #12275 from xiexingguo/xxg-wip-bluestore-1202
os/bluestore: dedup omap_head, reuse nid instead
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 5 Dec 2016 16:45:07 +0000 (11:45 -0500)]
Merge pull request #12305 from athanatos/wip-ec-rbd-fixes
osd: fixes to make rbd on ec work
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 5 Dec 2016 16:32:11 +0000 (11:32 -0500)]
Merge pull request #12306 from athanatos/wip-ec-scrub
osd: fix ec scrub errors
Reviewed-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Mon, 5 Dec 2016 16:20:03 +0000 (11:20 -0500)]
Merge pull request #12212 from trociny/wip-16991
rbd-mirror: recovering after split-brain
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 5 Dec 2016 16:18:47 +0000 (11:18 -0500)]
Merge pull request #12307 from athanatos/wip-18042
msg/simple/Pipe::stop_and_wait: unlock pipe_lock for stop_fast_dispatching()
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Abhishek Lekshmanan [Mon, 5 Dec 2016 14:14:12 +0000 (15:14 +0100)]
doc: release notes: add the last 5 prs making it in 10.2.4
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Loic Dachary [Mon, 5 Dec 2016 14:03:03 +0000 (15:03 +0100)]
Merge pull request #12310 from wjin/change_info
mailmap: change personal info
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Loic Dachary [Mon, 5 Dec 2016 13:47:59 +0000 (14:47 +0100)]
Merge pull request #12318 from tchaikov/wip-18128
test/ceph_crypto: do not read ceph.conf in global_init()
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Mon, 5 Dec 2016 12:28:22 +0000 (20:28 +0800)]
Merge pull request #12317 from xiexingguo/xxg-wip-dedup-perfnotes
doc/dev/perf: fix dittography
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 5 Dec 2016 12:23:21 +0000 (20:23 +0800)]
test/ceph_crypto: do not read ceph.conf in global_init()
ForkDeathTest.MD5 expect an empty output while global_init() complains
if ceph.conf is missing if 0 is passed in as the `flags`. this test
passes if ceph.conf is in current working directory, but jenkins does
not prepare this file for this test.
Fixes: http://tracker.ceph.com/issues/18128
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Mon, 5 Dec 2016 11:56:14 +0000 (19:56 +0800)]
os/bluestore: move empty-check of osr-queue out of loop
which is optimal.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 5 Dec 2016 11:10:08 +0000 (19:10 +0800)]
doc/dev/perf: fix dittography
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Mon, 5 Dec 2016 05:33:23 +0000 (13:33 +0800)]
Merge pull request #12311 from wjin/fix
src/common: remove nonused config option
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Mon, 5 Dec 2016 01:47:58 +0000 (09:47 +0800)]
os/bluestore: kill deprecated get_preferred_csum_order() method
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Fri, 2 Dec 2016 06:24:24 +0000 (14:24 +0800)]
os/bluestore: dedup omap_head, reuse nid instead
This is faster and save us some memory as well as space.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Mon, 5 Dec 2016 03:45:16 +0000 (11:45 +0800)]
Merge pull request #12260 from tchaikov/wip-dh-python
debian: apply dh_python to python-rgw also
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Wei Jin [Mon, 5 Dec 2016 02:30:32 +0000 (10:30 +0800)]
mailmap: change personal info
Signed-off-by: Wei Jin <wjin.cn@gmail.com>
Wei Jin [Mon, 5 Dec 2016 02:05:09 +0000 (10:05 +0800)]
src/common: remove nonused config option
Signed-off-by: Wei Jin <wjin.cn@gmail.com>
Sage Weil [Sun, 4 Dec 2016 15:11:19 +0000 (10:11 -0500)]
Merge pull request #12163 from ovh/wip-throttle-get-started-perf-counter
common: Add throttle_get_started perf counter
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 4 Dec 2016 15:11:01 +0000 (10:11 -0500)]
Merge pull request #12285 from liewegas/wip-bluestore-allocator
os/bluestore: use bitmap allocator for bluefs
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Loic Dachary [Sun, 4 Dec 2016 14:58:24 +0000 (15:58 +0100)]
Merge pull request #9714 from wido/mirror-docs-fix
doc: Small styling fix to mirror documentation
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Haomai Wang [Sun, 4 Dec 2016 14:55:52 +0000 (22:55 +0800)]
Merge pull request #12299 from Adirl/fix_max_values
msg/async/rdma: set correct value to memory manager
Reviewed-by: Haomai Wang <haomai@xsky.com>
Adir Lev [Sun, 4 Dec 2016 11:30:12 +0000 (11:30 +0000)]
msg/async/rdma: set correct value to memory manager
set the correct max_send_wr and max_recv_wr
print log messages accordingly
Change-Id: I97a562bc994f14b87724fcf84baca4cdbf0f8e0d
Signed-off-by: Adir Lev <adirl@mellanox.com>
Haomai Wang [Sun, 4 Dec 2016 12:24:35 +0000 (20:24 +0800)]
Merge pull request #12270 from yuyuyu101/wip-rdma-polling
msg/async/rdma: event polling thread can block on event
Reviewed-by: Adir lev <adirl@mellanox.com>
Kefu Chai [Sun, 4 Dec 2016 12:21:56 +0000 (20:21 +0800)]
Merge pull request #11987 from Liuchang0812/patch-2
doc: Update layout.rst, move commands to CODE block
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Samuel Just [Sun, 4 Dec 2016 02:12:31 +0000 (18:12 -0800)]
ReplicatedPG: add return value to RepGather
Now that repops can represent an error, we need to remember
the error code so that we can reply to waiting_for_* messages
with the right value.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sun, 4 Dec 2016 02:08:36 +0000 (18:08 -0800)]
ReplicatedPG::record_write_error: send only the flags requested by the op
This isn't really important, but it's nice to be consistent with
OSD::reply_op_error. Yet another reason to do away with the ack flag.
Signed-off-by: Samuel Just <sjust@redhat.com>
Loic Dachary [Sun, 4 Dec 2016 00:34:58 +0000 (01:34 +0100)]
Merge pull request #12297 from SUSE/wip-18134
tests: check hostname --fqdn sanity before running make check
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Samuel Just [Sat, 3 Dec 2016 19:48:44 +0000 (11:48 -0800)]
ReplicatedPG: add debugging to EINVAL returns
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 3 Dec 2016 00:33:00 +0000 (16:33 -0800)]
ReplicatedPG: allow repops to apply with commit
Up to now, the repop machinery depended on all repops commiting and
applying in order. For MOSDPGUpdateLogMissing operations, however,
we don't really want to send two messages in the ECBackend case.
Instead, just allow those repops to skip the applied stage and be
completed in order once the repops ahead of them finish.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sat, 3 Dec 2016 00:15:16 +0000 (16:15 -0800)]
ReplicatedPG: always send the ack with the commit
This was always a pretty silly concept and it has gotten in
the way of something else.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 1 Dec 2016 23:11:51 +0000 (15:11 -0800)]
ReplicatedPG::submit_log_entries: fill in repop->v
This way, we can deal with waiting_for_commit appropriately.
Also, add more debugging to new_repop and already_*.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Sun, 4 Dec 2016 00:05:08 +0000 (16:05 -0800)]
OSD::init_op_flags: don't consider PING to be a write
Signed-off-by: Samuel Just <sjust@redhat.com>
Nathan Cutler [Sat, 3 Dec 2016 22:37:08 +0000 (23:37 +0100)]
tests: check hostname --fqdn sanity before running make check
Fixes: http://tracker.ceph.com/issues/18134
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Mykola Golub [Tue, 29 Nov 2016 09:44:05 +0000 (11:44 +0200)]
rbd-mirror: make 'rbd mirror image resync' work after split-brain
Fixes: http://tracker.ceph.com/issues/18051
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Tue, 29 Nov 2016 09:40:14 +0000 (11:40 +0200)]
rbd-mirror: split-brain issues should be clearly visible in mirror status
Fixed: http://tracker.ceph.com/issues/16991
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Fri, 2 Dec 2016 08:10:52 +0000 (10:10 +0200)]
qa/workunits/rbd: test_status_in_pool_dir: explicitly check grep return value
Otherwise, it does not work as supposed to work in statements like below:
set -e
test_status_in_pool_dir ... && ...
(e.g. in wait_for_status_in_pool_dir)
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Varada Raja Kumar Kari [Sat, 3 Dec 2016 02:39:57 +0000 (08:09 +0530)]
Merge pull request #12282 from liewegas/wip-bluestore-dump
os/bluestore: clean up Allocator::dump
Varada Raja Kumar Kari [Sat, 3 Dec 2016 02:29:13 +0000 (07:59 +0530)]
Merge pull request #12287 from liewegas/wip-store-kv-stats
kv: dump rocksdb stats
Samuel Just [Fri, 2 Dec 2016 19:06:50 +0000 (11:06 -0800)]
ReplicatedPG::do_op: wait_for_commit even for results < 0 entries
This way, the replies come back in order and we don't expose
uncommitted results.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 1 Dec 2016 23:33:31 +0000 (15:33 -0800)]
ECBackend: ops must consistently use or not use the cache
If the state is flipped, ops already in the pipeline need to
continue to maintain it.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Thu, 1 Dec 2016 23:25:28 +0000 (15:25 -0800)]
ECBackend::try_state_to_reads: fix debug spacing
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Wed, 30 Nov 2016 18:46:00 +0000 (10:46 -0800)]
ECTransaction::get_write_plan: don't create empty to_read entries
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Tue, 29 Nov 2016 23:11:57 +0000 (15:11 -0800)]
ECTransaction: fix projected_size for delete->create in get_write_plan
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Tue, 29 Nov 2016 22:48:10 +0000 (14:48 -0800)]
ECBackend::try_state_to_reads: assert that rmw ops require hacky_overwrites enabled
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Tue, 29 Nov 2016 21:59:10 +0000 (13:59 -0800)]
ReplicatedPG::_scrub_finish: check stats for ec overwrites pools
This should work fine now that we are doing an update-in-place
with rollback information off to the side.
Signed-off-by: Samuel Just <sjust@redhat.com>
Samuel Just [Tue, 29 Nov 2016 21:56:06 +0000 (13:56 -0800)]
ReplicatedPG: merge apply_ctx_scrub_stats into apply_stats
The only way the two aren't called essentially atomically is when the
ECBackend needs to delay a write for rmw. In such a case, we actually
want to delay the scrub_cstat application as well since otherwise, we'd
have to flush the backend before settling up at the end of scrub.
Perhaps this should be a separate function to distinguish between the
replica+primary info update and the primary scrub_cstat update, but that
seems more complicated than it's really worth.
Fixes: http://tracker.ceph.com/issues/17999
Signed-off-by: Samuel Just <sjust@redhat.com>
Dan Mick [Fri, 2 Dec 2016 21:39:53 +0000 (13:39 -0800)]
Merge pull request #12284 from ceph/wip-cmake-args
build: dump env during build
Reviewed-by: Dan Mick <dmick@redhat.com>
Matt Benjamin [Fri, 2 Dec 2016 20:48:02 +0000 (15:48 -0500)]
Merge pull request #12224 from yehudasa/wip-rgw-list-all
rgw/rgw_rados: do not omap_getvals with (u64)-1 max (updated)
also approve, passed teuthology (many false positives in several classes)
Casey Bodley [Fri, 2 Dec 2016 20:13:32 +0000 (15:13 -0500)]
Merge pull request #12187 from Jing-Scott/dev/slave-master-sync-info
rgw: metadata sync info should be shown at master zone of slave zoneg…
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jianpeng Ma [Fri, 2 Dec 2016 18:20:34 +0000 (13:20 -0500)]
os/bluestore: dump kv stats
Signed-off-by: Sage Weil <sage@redhat.com>
Jianpeng Ma [Fri, 2 Dec 2016 18:20:20 +0000 (13:20 -0500)]
osd: dump kv stats for ObjectStores (if any)
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Varada Kari [Fri, 2 Dec 2016 18:19:48 +0000 (13:19 -0500)]
kv/RocksDBStore: dump extended stats
Signed-off-by: Varada Kari <varada.kari@sandisk.com>
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Sage Weil [Fri, 2 Dec 2016 19:05:20 +0000 (14:05 -0500)]
debian/rules: dump env during build
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 1 Dec 2016 17:08:20 +0000 (12:08 -0500)]
ceph.spec: dump env during build
Signed-off-by: Sage Weil <sage@redhat.com>
Jianpeng Ma [Fri, 2 Dec 2016 18:19:16 +0000 (13:19 -0500)]
kv: make kvdb can print itself statistics.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Casey Bodley [Fri, 2 Dec 2016 17:14:39 +0000 (12:14 -0500)]
Merge pull request #12245 from ifed01/wip-fix-global-init-refcount
test/fio: fix global CephContext life cycle
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Loic Dachary [Fri, 2 Dec 2016 17:12:11 +0000 (18:12 +0100)]
Merge pull request #12241 from dachary/wip-17889-systemd-order
ceph-disk: enable --runtime ceph-osd systemd units
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.cz>
Sage Weil [Fri, 2 Dec 2016 17:04:49 +0000 (12:04 -0500)]
os/bluestore/BlueFS: default to bitmap allocator
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 2 Dec 2016 16:52:02 +0000 (11:52 -0500)]
os/bluestore: dump allocator state on allocation failure
This is probably noisy for an *actual* ENOSPC, but the OSD should
actually prevent those from happening in general, and we are
very interested in fixing spurious allocation failures due to
allocator problems. See http://tracker.ceph.com/issues/18054
Signed-off-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Fri, 2 Dec 2016 16:10:58 +0000 (08:10 -0800)]
Merge pull request #12075 from ceph/wip-rgw-zonegroup-config
rgw: fix for unsafe change of rgw_zonegroup
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Jason Dillaman [Fri, 2 Dec 2016 16:04:36 +0000 (11:04 -0500)]
Merge pull request #12280 from trociny/wip-17127
rbd-mirror: set SEQUENTIAL and NOCACHE advise flags on image sync
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Fri, 2 Dec 2016 16:01:08 +0000 (11:01 -0500)]
os/bluestore: dump allocator state at lowest debug level
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 2 Dec 2016 16:00:38 +0000 (11:00 -0500)]
os/bluestore: drop unused ostream arg to Allocator::dump
Signed-off-by: Sage Weil <sage@redhat.com>
Matt Benjamin [Fri, 2 Dec 2016 15:35:44 +0000 (10:35 -0500)]
Merge pull request #12262 from cbodley/wip-17888
rgw: fix for versioned delete_multi_object
ftw
Sage Weil [Fri, 2 Dec 2016 14:57:23 +0000 (09:57 -0500)]
Merge pull request #12256 from liewegas/wip-18093
osd: fix memory leak from EC write workload
Reviewed-by: Samuel Just <sjust@redhat.com>
Jason Dillaman [Fri, 2 Dec 2016 14:05:52 +0000 (09:05 -0500)]
Merge pull request #12238 from gaurav36/bug-rbd-feature-enable-error
librbd: enabling/disabling rbd feature should report missing dependency
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 2 Dec 2016 14:01:43 +0000 (09:01 -0500)]
Merge pull request #12195 from trociny/wip-qa-rbd-wait_for_image_present
qa/workunits/rbd: use image id when probing for image presence
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Fri, 2 Dec 2016 12:34:14 +0000 (20:34 +0800)]
Merge pull request #11942 from wjwithagen/wip-wjw-freebsd-boost
do_freebsd.sh: Build with SYSTEM Boost on FreeBSD
Reviewed-by: Kefu Chai <kchai@redhat.com>
Bartłomiej Święcki [Thu, 17 Nov 2016 16:26:28 +0000 (17:26 +0100)]
common: Add throttle_get_started perf counter
This change adds 'get_started' performance counter which
is increased at the beginning of Throttle::get() call,
before any potential wait is started. It's purpose is
to measure in realtime the number of jobs waiting for the
throttle (get_started - get) and get the characteristic of
get cals before throttler does it's job.
Signed-off-by: Bartłomiej Święcki <bartlomiej.swiecki@corp.ovh.com>
Mykola Golub [Fri, 2 Dec 2016 11:38:29 +0000 (13:38 +0200)]
rbd-mirror: set SEQUENTIAL and NOCACHE advise flags on image sync
Fixes: http://tracker.ceph.com/issues/17127
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Willem Jan Withagen [Fri, 2 Dec 2016 10:11:57 +0000 (11:11 +0100)]
Cmake/FreeBSD: use the SYSTEM_BOOST
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Kefu Chai [Fri, 2 Dec 2016 06:48:15 +0000 (14:48 +0800)]
Merge pull request #12209 from tchaikov/wip-enable-unittest_dns_resolve
test: enable unittest_dns_resolve
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Haomai Wang [Fri, 2 Dec 2016 04:01:51 +0000 (12:01 +0800)]
msg/async/rdma: make rdma dispatcher can sleep if inactive enough
Signed-off-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Tue, 29 Nov 2016 08:32:25 +0000 (16:32 +0800)]
test: enable unittest_dns_resolve
guess this test was missed when we were moving to cmake. let's re-enable
it!
Signed-off-by: Kefu Chai <kchai@redhat.com>
Samuel Just [Wed, 23 Nov 2016 19:23:54 +0000 (11:23 -0800)]
PGTransaction,ReplicatedPG: clarify handling of noop operations
The offending transaction was [call rbd.copyup,delete] on a non-existent
object. PGTransaction incorrectly ended up with Create and delete_first
causing a transaction beginning with trying to collection_move_rename a
non-existent head object. In fact, if we delete an object which the
transaction currently claims to be creating, the transaction should show
as empty (for that object). Rather than going through the normal write
pipeline for that case, let's just record a 0 error code in the log and
call it a day. That way, the transaction generating code only needs to
worry about about updates to actual objects.
Signed-off-by: Samuel Just <sjust@redhat.com>
Haomai Wang [Fri, 2 Dec 2016 01:46:39 +0000 (09:46 +0800)]
Merge pull request #12263 from Adirl/fix_max_buffers
msg/async/rdma: don't use more buffers than what device capabilities …
Reviewed-by: Haomai Wang <haomai@xsky.com>
Josh Durgin [Fri, 2 Dec 2016 00:39:33 +0000 (16:39 -0800)]
Merge pull request #12140 from iain-buclaw-sociomantic:pybind-aioexec
python-rados: implement new aio_execute
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Iain Buclaw [Tue, 22 Nov 2016 18:04:32 +0000 (19:04 +0100)]
pybind: Fix comment for exec in Ioctx
Signed-off-by: Iain Buclaw <iain.buclaw@sociomantic.com>
Iain Buclaw [Mon, 31 Oct 2016 18:47:40 +0000 (19:47 +0100)]
test/pybind: Add tests for aio_execute
Signed-off-by: Iain Buclaw <iain.buclaw@sociomantic.com>
Avner BenHanoch [Wed, 30 Nov 2016 15:03:55 +0000 (15:03 +0000)]
msg/async/rdma: don't use more buffers than what device capabilities allow
Change-Id: I6df7dd1a4d871b4dca55e784969ff459bebc6a86
Signed-off-by: Avner BenHanoch <avnerb@mellanox.com>
Sage Weil [Thu, 1 Dec 2016 19:13:05 +0000 (14:13 -0500)]
Merge pull request #12261 from liewegas/wip-store-rename-test
ceph_test_objectstore: fix Rename test
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Matt Benjamin [Thu, 1 Dec 2016 19:00:38 +0000 (14:00 -0500)]
Merge pull request #12231 from yehudasa/wip-17965
rgw: set duration for lifecycle lease
Casey Bodley [Thu, 1 Dec 2016 18:53:44 +0000 (13:53 -0500)]
rgw: fix for versioned delete_multi_object
Fixes: http://tracker.ceph.com/issues/17888
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Thu, 1 Dec 2016 18:18:16 +0000 (13:18 -0500)]
Merge pull request #12221 from liewegas/wip-18072
msg/simple/Pipe: handle addr decode error
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
Mykola Golub [Thu, 1 Dec 2016 17:49:47 +0000 (19:49 +0200)]
Merge pull request #12218 from dillaman/wip-18068
librbd: diffs to clone's first snapshot should include parent diffs
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Igor Fedotov [Thu, 1 Dec 2016 17:39:10 +0000 (17:39 +0000)]
test/fio: fix global CephContext life cycle in fio pobjectstore plugin
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Thu, 1 Dec 2016 16:57:17 +0000 (11:57 -0500)]
ceph_test_objectstore: fix Rename test
We were doing a no-op setattr here, even though the intenral
ENOENT used to be ignored, because it previously triggered a
bug in bluestore. We're no longer ignoring that internal
error, though, as of
6ecb44f0c6216f3fb29b384a2d10c7d33bf1d19c ,
so remove this part of the test.
The original bluestore bug we used to trigger was fixed by
0210f1fde6f8e17affdd0c49055a71a01f109447 .
Signed-off-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Thu, 1 Dec 2016 16:55:42 +0000 (08:55 -0800)]
Merge pull request #10086 from Yan-waller/yj-wip-rgwrests3ccstringfind
rgw: conform to the standard usage of string::find
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Kefu Chai [Thu, 1 Dec 2016 16:31:36 +0000 (00:31 +0800)]
debian: apply dh_python to python-rgw also
so the subvar of ${python:Depends} and ${python3:Depends} can be set
properly. also this silences the warnings like
warning: dpkg-gencontrol: Depends field of package python3-rgw:
unknown substitution variable ${python3:Depends}
Signed-off-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Wed, 30 Nov 2016 23:28:32 +0000 (00:28 +0100)]
ceph-disk: enable --runtime ceph-osd systemd units
If ceph-osd@.service is enabled for a given device (say /dev/sdb1 for
osd.3) the ceph-osd@3.service will race with ceph-disk@dev-sdb1.service
at boot time.
Enabling ceph-osd@3.service is not necessary at boot time because
ceph-disk@dev-sdb1.service
calls
ceph-disk activate /dev/sdb1
which calls
systemctl start ceph-osd@3
The systemctl enable/disable ceph-osd@.service called by ceph-disk
activate is changed to add the --runtime option so that ceph-osd units
are lost after a reboot. They are recreated when ceph-disk activate is
called at boot time so that:
systemctl stop ceph
knows which ceph-osd@.service to stop when a script or sysadmin wants
to stop all ceph services.
Before enabling ceph-osd@.service (that happens at every boot time),
make sure the permanent enablement in /etc/systemd is removed so that
only the one added by systemctl enable --runtime in /run/systemd
remains. This is useful to upgrade an existing cluster without creating
a situation that is even worse than before because ceph-disk@.service
races against two ceph-osd@.service (one in /etc/systemd and one in
/run/systemd).
Fixes: http://tracker.ceph.com/issues/17889
Signed-off-by: Loic Dachary <loic@dachary.org>