]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agorpm: unconditionally set ceph user's primary group to ceph (SUSE) 9106/head
Nathan Cutler [Thu, 12 May 2016 17:23:31 +0000 (19:23 +0200)]
rpm: unconditionally set ceph user's primary group to ceph (SUSE)

This commit brings the user/group creation into greater semantic alignment
with the Debian packaging.

Fixes: http://tracker.ceph.com/issues/15869
Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #8926 from ceph/wip-ec-test-check
Loic Dachary [Wed, 4 May 2016 12:03:37 +0000 (14:03 +0200)]
Merge pull request #8926 from ceph/wip-ec-test-check

test/ec: build the libs only when 'make check'

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #8546 from jcsp/wip-15465
John Spray [Wed, 4 May 2016 10:50:03 +0000 (05:50 -0500)]
Merge pull request #8546 from jcsp/wip-15465

mds: fix auth caps with hyphen in path (#15465)

Reviewed-by: Yan, Zheng <zyan@redhat.com>
9 years agoMerge pull request #8484 from jcsp/wip-15399
John Spray [Wed, 4 May 2016 10:49:04 +0000 (05:49 -0500)]
Merge pull request #8484 from jcsp/wip-15399

mds: use epoch as incarnation counter (#15399)

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agotest/ec: build the libs only when 'make check' 8926/head
Boris Ranto [Tue, 23 Feb 2016 04:57:14 +0000 (05:57 +0100)]
test/ec: build the libs only when 'make check'

Currently, we are always building the erasure code libraries while we
need them only when 'make check' is run. Moving the test libraries to
check_LTLIBRARIES should fix this for us.

We no longer need to remove the libec libs manually, remove the lines
that do that.

Signed-off-by: Boris Ranto <branto@redhat.com>
9 years agoMerge pull request #8876 from kmroz/wip-fix-rgw-lttng-segfault
Josh Durgin [Wed, 4 May 2016 00:32:16 +0000 (17:32 -0700)]
Merge pull request #8876 from kmroz/wip-fix-rgw-lttng-segfault

global: don't link lttng into libglobal

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8637 from roidayan/xio-remove_rdma_and_ibverbs_from_configure
Casey Bodley [Tue, 3 May 2016 21:11:01 +0000 (17:11 -0400)]
Merge pull request #8637 from roidayan/xio-remove_rdma_and_ibverbs_from_configure

confiugre.ac: remove rdma and ibverbs dependency from xio

9 years agoMerge pull request #8704 from ceph/wip-cmake-xio-libs
Casey Bodley [Tue, 3 May 2016 21:10:26 +0000 (17:10 -0400)]
Merge pull request #8704 from ceph/wip-cmake-xio-libs

cmake: removed rdmacm & ibverbs parallel to PR#8637

9 years agoMerge pull request #8914 from adamemerson/wip-grr-warnings
Gregory Farnum [Tue, 3 May 2016 20:37:41 +0000 (13:37 -0700)]
Merge pull request #8914 from adamemerson/wip-grr-warnings

I have a hatred for warnings

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #8917 from liewegas/wip-civetweb-fix
Sage Weil [Tue, 3 May 2016 20:01:41 +0000 (16:01 -0400)]
Merge pull request #8917 from liewegas/wip-civetweb-fix

civetweb: combine various submodule changes

Reviewed-by: Adam Emerson <aemerson@redhat.com>
9 years agocivetweb: combine various submodule changes 8917/head
Sage Weil [Tue, 3 May 2016 19:01:19 +0000 (15:01 -0400)]
civetweb: combine various submodule changes

There were some accidental reverts, fixes, re-reverts,
and follow-on changes that are hard to follow and in the
end did not include what we want.  Merge it all together.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoglobal: don't link lttng into libglobal 8876/head
Karol Mroz [Mon, 2 May 2016 12:01:27 +0000 (14:01 +0200)]
global: don't link lttng into libglobal

Rely on dynamic initialization instead. Linking lttng in this way had
the unfortunate side effect of causing radosgw to segfault (when
daemonized) during sigterm processing (ie. during lttng_ust_exit()).

This was originally removed in 638738f, but accidentally re-added via
5f61d36.

Signed-off-by: Karol Mroz <kmroz@suse.com>
9 years agoMerge pull request #8809 from trociny/wip-rbd-mirror-asok-restart
Jason Dillaman [Tue, 3 May 2016 18:13:46 +0000 (14:13 -0400)]
Merge pull request #8809 from trociny/wip-rbd-mirror-asok-restart

rbd-mirror: admin socket commands to start/stop/restart mirroring

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #8775 from cy-lee/fix-15604-rbd-nbd-write-error
Jason Dillaman [Tue, 3 May 2016 17:47:31 +0000 (13:47 -0400)]
Merge pull request #8775 from cy-lee/fix-15604-rbd-nbd-write-error

rbd-nbd: fix rbd-nbd aio callback error handling

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agotest: Fix warnings in chain_xattr tests 8914/head
Adam C. Emerson [Tue, 3 May 2016 16:53:33 +0000 (12:53 -0400)]
test: Fix warnings in chain_xattr tests

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
9 years agoMerge pull request #8910 from dillaman/wip-15709
Josh Durgin [Tue, 3 May 2016 17:13:58 +0000 (10:13 -0700)]
Merge pull request #8910 from dillaman/wip-15709

librbd: unlock image if journal error encountered during lock

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agotests: Fix warnings in C write operations test
Adam C. Emerson [Tue, 3 May 2016 16:23:17 +0000 (12:23 -0400)]
tests: Fix warnings in C write operations test

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
9 years agoMerge pull request #8907 from dillaman/wip-15690
Josh Durgin [Tue, 3 May 2016 17:09:07 +0000 (10:09 -0700)]
Merge pull request #8907 from dillaman/wip-15690

librbd: possible race condition leads to use-after-free

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8793 from cbodley/wip-rgw-admin-modify
Yehuda Sadeh [Tue, 3 May 2016 15:26:39 +0000 (08:26 -0700)]
Merge pull request #8793 from cbodley/wip-rgw-admin-modify

radosgw-admin: update usage for zone[group] modify

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
9 years agolibrbd: unlock image if journal error encountered during lock 8910/head
Jason Dillaman [Tue, 3 May 2016 14:15:08 +0000 (10:15 -0400)]
librbd: unlock image if journal error encountered during lock

Explicitly unlock to prevent a client from accidentally blacklisting
itself when retrying the lock.

Fixes: http://tracker.ceph.com/issues/15709
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #8893 from flyd1005/wip-fix-duplicated1
Sage Weil [Tue, 3 May 2016 13:08:22 +0000 (09:08 -0400)]
Merge pull request #8893 from flyd1005/wip-fix-duplicated1

init-ceph.in: remove duplicated words

9 years agoMerge pull request #8894 from flyd1005/wip-fix-duplicated2
Sage Weil [Tue, 3 May 2016 13:08:14 +0000 (09:08 -0400)]
Merge pull request #8894 from flyd1005/wip-fix-duplicated2

os: remove duplicated words

9 years agoMerge pull request #8895 from flyd1005/wip-fix-duplicated3
Sage Weil [Tue, 3 May 2016 13:08:05 +0000 (09:08 -0400)]
Merge pull request #8895 from flyd1005/wip-fix-duplicated3

pybind/rados: remove duplicated words

9 years agoMerge pull request #8896 from flyd1005/wip-fix-duplicated4
Sage Weil [Tue, 3 May 2016 13:07:52 +0000 (09:07 -0400)]
Merge pull request #8896 from flyd1005/wip-fix-duplicated4

mon: remove duplicated words

9 years agoMerge pull request #8898 from flyd1005/wip-fix-duplicated6
Sage Weil [Tue, 3 May 2016 13:07:28 +0000 (09:07 -0400)]
Merge pull request #8898 from flyd1005/wip-fix-duplicated6

libcephfs.h: remove duplicated words

9 years agoMerge pull request #8899 from flyd1005/wip-fix-duplicated7
Sage Weil [Tue, 3 May 2016 13:07:00 +0000 (09:07 -0400)]
Merge pull request #8899 from flyd1005/wip-fix-duplicated7

erasure-code: remove duplicated words

9 years agoMerge pull request #8900 from flyd1005/wip-fix-duplicated8
Sage Weil [Tue, 3 May 2016 13:06:52 +0000 (09:06 -0400)]
Merge pull request #8900 from flyd1005/wip-fix-duplicated8

common: remove duplicated words

9 years agoMerge pull request #8901 from flyd1005/wip-fix-duplicated9
Sage Weil [Tue, 3 May 2016 13:06:42 +0000 (09:06 -0400)]
Merge pull request #8901 from flyd1005/wip-fix-duplicated9

cls_user: remove duplicated words

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8698 from HeyoQiang/hyq0422
Jason Dillaman [Tue, 3 May 2016 11:49:01 +0000 (07:49 -0400)]
Merge pull request #8698 from HeyoQiang/hyq0422

rbd: help message distinction between commands and aliases

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: possible race condition leads to use-after-free 8907/head
Jason Dillaman [Tue, 3 May 2016 11:41:30 +0000 (07:41 -0400)]
librbd: possible race condition leads to use-after-free

The invoke async operation state machine can complete before the
owner lock is released.  Use a stack reference to prevent
use-after-free.

Fixes: http://tracker.ceph.com/issues/15690
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #8788 from jmunhoz/fix-15626
Orit Wasserman [Tue, 3 May 2016 11:03:48 +0000 (13:03 +0200)]
Merge pull request #8788 from jmunhoz/fix-15626

rgw: add AWS4 completion support for RGW_OP_SET_BUCKET_WEBSITE

9 years agoMerge pull request #8897 from flyd1005/wip-fix-duplicated5
John Spray [Tue, 3 May 2016 10:50:56 +0000 (05:50 -0500)]
Merge pull request #8897 from flyd1005/wip-fix-duplicated5

mds: remove duplicated words

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #8760 from theanalyst/f/rgw-orphans-list-jobs
Orit Wasserman [Tue, 3 May 2016 09:37:36 +0000 (11:37 +0200)]
Merge pull request #8760 from theanalyst/f/rgw-orphans-list-jobs

rgw orphans list jobs

9 years agorbd:make a distinction of help message between ''rbd snap rollback" and "rbd snap... 8698/head
YongQiang [Fri, 22 Apr 2016 15:20:31 +0000 (11:20 -0400)]
rbd:make a distinction of help message between ''rbd snap rollback" and "rbd snap revert"

Fixes: https://tracker.ceph.com/issues/15521
Signed-off-by: Yongqiang He <he.yongqiang@h3c.com>
9 years agoMerge pull request #8469 from dachary/wip-15403-api-test-timeout
Loic Dachary [Tue, 3 May 2016 08:31:50 +0000 (10:31 +0200)]
Merge pull request #8469 from dachary/wip-15403-api-test-timeout

tests: be more generous with test timeout

Reviewed-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #8655 from theanalyst/rgw/multisite-delete
Orit Wasserman [Tue, 3 May 2016 08:26:33 +0000 (10:26 +0200)]
Merge pull request #8655 from theanalyst/rgw/multisite-delete

rgw: forward delete bucket to master before deleting them in a zone
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #7193 from theanalyst/doc/rgw-13066-fix
Orit Wasserman [Tue, 3 May 2016 08:16:38 +0000 (10:16 +0200)]
Merge pull request #7193 from theanalyst/doc/rgw-13066-fix

doc:explain service tenant config for rgw keystone

9 years agoMerge pull request #8782 from SUSE/wip-15627
Loic Dachary [Tue, 3 May 2016 08:10:07 +0000 (10:10 +0200)]
Merge pull request #8782 from SUSE/wip-15627

install-deps.sh: systemd-rpm-macros must be installed on SUSE

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #8875 from tchaikov/wip-double-colon
Loic Dachary [Tue, 3 May 2016 08:08:56 +0000 (10:08 +0200)]
Merge pull request #8875 from tchaikov/wip-double-colon

automake: use :: rule for adding target

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agorbd-nbd: Fix aio_callback error handling 8775/head
cy.l@inwinstack.com [Sat, 30 Apr 2016 07:22:29 +0000 (15:22 +0800)]
rbd-nbd: Fix aio_callback error handling

Change aio_callback return code handling for NBD_CMD_READ command.

Tracker:
http://tracker.ceph.com/issues/15604

Signed-off-by: Chang-Yi Lee <cy.l@inwinstack.com>
9 years agoMerge pull request #8852 from yuyuyu101/wip-async-clock
Kefu Chai [Tue, 3 May 2016 07:25:12 +0000 (15:25 +0800)]
Merge pull request #8852 from yuyuyu101/wip-async-clock

msg/async/Event: replace ceph_clock_now with coarse_real_clock

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agocls_user: remove duplicated words 8901/head
Li Peng [Tue, 3 May 2016 07:21:20 +0000 (15:21 +0800)]
cls_user: remove duplicated words

Signed-off-by: Li Peng <lip@dtdream.com>
9 years agocommon: remove duplicated words 8900/head
Li Peng [Tue, 3 May 2016 07:16:06 +0000 (15:16 +0800)]
common: remove duplicated words

Signed-off-by: Li Peng <lip@dtdream.com>
9 years agoerasure-code: remove duplicated words 8899/head
Li Peng [Tue, 3 May 2016 07:05:34 +0000 (15:05 +0800)]
erasure-code: remove duplicated words

Signed-off-by: Li Peng <lip@dtdream.com>
9 years agolibcephfs.h: remove duplicated words 8898/head
Li Peng [Tue, 3 May 2016 06:59:44 +0000 (14:59 +0800)]
libcephfs.h: remove duplicated words

Signed-off-by: Li Peng <lip@dtdream.com>
9 years agomds: remove duplicated 'this' 8897/head
Li Peng [Tue, 3 May 2016 06:55:59 +0000 (14:55 +0800)]
mds: remove duplicated 'this'

Signed-off-by: Li Peng <lip@dtdream.com>
9 years agomds: remove duplicated words
Li Peng [Tue, 3 May 2016 06:53:54 +0000 (14:53 +0800)]
mds: remove duplicated words

Signed-off-by: Li Peng <lip@dtdream.com>
9 years agomon: remove duplicated words 8896/head
Li Peng [Tue, 3 May 2016 06:48:20 +0000 (14:48 +0800)]
mon: remove duplicated words

Signed-off-by: Li Peng <lip@dtdream.com>
9 years agopybind/rados: remove duplicated words 8895/head
Li Peng [Tue, 3 May 2016 06:43:47 +0000 (14:43 +0800)]
pybind/rados: remove duplicated words

Signed-off-by: Li Peng <lip@dtdream.com>
9 years agoos: remove duplicated words 8894/head
Li Peng [Tue, 3 May 2016 06:37:52 +0000 (14:37 +0800)]
os: remove duplicated words

Signed-off-by: Li Peng <lip@dtdream.com>
9 years agoinit-ceph.in: remove duplicated words 8893/head
Li Peng [Tue, 3 May 2016 06:28:47 +0000 (14:28 +0800)]
init-ceph.in: remove duplicated words

Signed-off-by: Li Peng <lip@dtdream.com>
9 years agoMerge pull request #8891 from tchaikov/wip-fix-test-using-dash
Kefu Chai [Tue, 3 May 2016 05:41:29 +0000 (13:41 +0800)]
Merge pull request #8891 from tchaikov/wip-fix-test-using-dash

test/encoding/readable.sh: use bash instead of sh

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
9 years agoMerge pull request #8889 from linuxbox2/rbd-nbd-cmake
Kefu Chai [Tue, 3 May 2016 05:36:14 +0000 (13:36 +0800)]
Merge pull request #8889 from linuxbox2/rbd-nbd-cmake

cmake: fix rbd-nbd linkage

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agotest/encoding/readable.sh: use bash instead of sh 8891/head
Kefu Chai [Tue, 3 May 2016 03:56:22 +0000 (11:56 +0800)]
test/encoding/readable.sh: use bash instead of sh

aside from the `source` statement, the readable.sh is POSIX shell
script. we can just "." the referenced helper script. but to be
consistent with other encoding/*.sh scripts, let's just change the
shebang line to "#!/bin/bash".

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
9 years agoMerge pull request #8885 from stiopaa1/osd_removeSendMessageConn 8734/head
Kefu Chai [Tue, 3 May 2016 02:41:55 +0000 (10:41 +0800)]
Merge pull request #8885 from stiopaa1/osd_removeSendMessageConn

osd/OSD.h: remove C_OSD_SendMessageOnConn class

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoautomake: use :: rule for adding target 8875/head
Kefu Chai [Mon, 2 May 2016 11:40:05 +0000 (19:40 +0800)]
automake: use :: rule for adding target

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8072 from yuyuyu101/wip-async-skip-steps
Haomai Wang [Tue, 3 May 2016 02:21:40 +0000 (10:21 +0800)]
Merge pull request #8072 from yuyuyu101/wip-async-skip-steps

async: skip unnecessary steps when parsing simple messages

9 years agocmake: fix rbd-nbd linkage 8889/head
Matt Benjamin [Tue, 3 May 2016 00:52:59 +0000 (20:52 -0400)]
cmake: fix rbd-nbd linkage

Use correct name for librbd, add parse_secret_objs and its
keyutils libdep.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agoMerge pull request #8883 from dillaman/wip-15685
Josh Durgin [Mon, 2 May 2016 23:17:19 +0000 (16:17 -0700)]
Merge pull request #8883 from dillaman/wip-15685

librbd: clone fails if config overridden to use image format 1 by default

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8882 from liewegas/wip-check-port
Sage Weil [Mon, 2 May 2016 22:06:04 +0000 (18:06 -0400)]
Merge pull request #8882 from liewegas/wip-check-port

test/mon/mon-created-time: put on unique port

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #8884 from ktdreyer/docs-packaging
Sage Weil [Mon, 2 May 2016 22:04:48 +0000 (18:04 -0400)]
Merge pull request #8884 from ktdreyer/docs-packaging

doc: remove references to old EOL releases

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8864 from trociny/fixup-rbd-mirror-test-log
Josh Durgin [Mon, 2 May 2016 21:26:54 +0000 (14:26 -0700)]
Merge pull request #8864 from trociny/fixup-rbd-mirror-test-log

qa/workunits/rbd: fix rbd-mirror log file name

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agolibrbd: default clone operation to image format 2 8883/head
Jason Dillaman [Mon, 2 May 2016 19:06:51 +0000 (15:06 -0400)]
librbd: default clone operation to image format 2

Image format 1 doesn't support clones, so unless the user
overrode the setting, default to format 2.

Fixes: http://tracker.ceph.com/issues/15685
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: add rbd_image_options_is_set helper method to API
Jason Dillaman [Mon, 2 May 2016 18:51:31 +0000 (14:51 -0400)]
librbd: add rbd_image_options_is_set helper method to API

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #8877 from dillaman/wip-15664
Josh Durgin [Mon, 2 May 2016 21:06:40 +0000 (14:06 -0700)]
Merge pull request #8877 from dillaman/wip-15664

rbd-mirror: lockdep error during bootstrap

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agodoc: remove references to old EOL releases 8884/head
Ken Dreyer [Mon, 2 May 2016 16:50:37 +0000 (10:50 -0600)]
doc: remove references to old EOL releases

There were several references to old releases like "dumpling",
"emperor", and "firefly", throughout the docs. Remove these and update
the examples to use jewel instead.

Remove references to CentOS 6 and RHEL 6, since we only support CentOS 7
now.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agorbd-mirror: admin socket commands to start/stop/restart mirroring 8809/head
Mykola Golub [Thu, 28 Apr 2016 06:32:33 +0000 (09:32 +0300)]
rbd-mirror: admin socket commands to start/stop/restart mirroring

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoosd/OSD.h: remove C_OSD_SendMessageOnConn class 8885/head
Michal Jarzabek [Mon, 2 May 2016 17:41:07 +0000 (18:41 +0100)]
osd/OSD.h: remove C_OSD_SendMessageOnConn class

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agotest/mon/mon-created-time: put on unique port 8882/head
Sage Weil [Mon, 2 May 2016 18:52:59 +0000 (14:52 -0400)]
test/mon/mon-created-time: put on unique port

7122 is also used by test/osd/osd-reactivate.sh

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8770 from ceph/wip-cmake
Sage Weil [Mon, 2 May 2016 18:10:11 +0000 (14:10 -0400)]
Merge pull request #8770 from ceph/wip-cmake

cmake: build fixes

9 years agoMerge pull request #8844 from stiopaa1/log_removelexical
Sage Weil [Mon, 2 May 2016 18:08:30 +0000 (14:08 -0400)]
Merge pull request #8844 from stiopaa1/log_removelexical

common/Graylog.h: remove lexical cast

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8879 from ktdreyer/doc-rm-up2date
Sage Weil [Mon, 2 May 2016 18:05:02 +0000 (14:05 -0400)]
Merge pull request #8879 from ktdreyer/doc-rm-up2date

doc: drop references to "up2date"

9 years agodoc: drop references to "up2date" 8879/head
Ken Dreyer [Mon, 2 May 2016 16:45:28 +0000 (10:45 -0600)]
doc: drop references to "up2date"

"up2date" has not been used since very old versions of RHEL (rhel4 or
5?). We only support el7 now, which is a yum-based platform.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #8878 from ktdreyer/wip-doc-rbd-dillaman
Josh Durgin [Mon, 2 May 2016 17:01:52 +0000 (10:01 -0700)]
Merge pull request #8878 from ktdreyer/wip-doc-rbd-dillaman

doc: Jason Dillaman is now RBD lead

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agodoc: Jason Dillaman is now RBD lead 8878/head
Ken Dreyer [Mon, 2 May 2016 16:54:18 +0000 (10:54 -0600)]
doc: Jason Dillaman is now RBD lead

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
9 years agocmake: Added rbd-nbd target 8770/head
Ali Maredia [Mon, 2 May 2016 16:36:44 +0000 (12:36 -0400)]
cmake: Added rbd-nbd target

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agolibrbd: disable automatic refresh of image upon lock message 8877/head
Jason Dillaman [Mon, 2 May 2016 14:33:50 +0000 (10:33 -0400)]
librbd: disable automatic refresh of image upon lock message

There is no need to refresh the image upon request/release/acquire
of the exclusive lock.  The next IO or maintenance op will kick off
the refresh.  This is interfering with the refresh state machine
unit test case (since two concurrent refreshes shouldn't be possible).

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: update_features should release lock if acquired
Jason Dillaman [Mon, 2 May 2016 14:26:29 +0000 (10:26 -0400)]
librbd: update_features should release lock if acquired

There is a small window where requests are unblocked and before
the image is shut down where new requests can be accepted.  These
are correctly canceled during the shut down, but it can lead to
warning messages.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: avoid applying refreshed image config within librados callback
Jason Dillaman [Mon, 2 May 2016 13:27:29 +0000 (09:27 -0400)]
librbd: avoid applying refreshed image config within librados callback

There is a potential that a synchronous API call could deadlock a
image refresh.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agorbd-mirror: don't use temporary string for snap operation
Jason Dillaman [Mon, 2 May 2016 12:42:35 +0000 (08:42 -0400)]
rbd-mirror: don't use temporary string for snap operation

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: avoid recursive locking within operation state machine
Jason Dillaman [Mon, 2 May 2016 12:31:54 +0000 (08:31 -0400)]
librbd: avoid recursive locking within operation state machine

Fixes: http://tracker.ceph.com/issues/15664
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agocompressor: tests for zlib & snappy changes
Ali Maredia [Fri, 29 Apr 2016 20:28:20 +0000 (16:28 -0400)]
compressor: tests for zlib & snappy changes

plugin_dir and compressor_dir not needed by
test_compression_snappy & test_compression_zlib
because they statically link compressor libraries.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: rbd_mirror updates
Ali Maredia [Fri, 29 Apr 2016 19:57:39 +0000 (15:57 -0400)]
cmake: rbd_mirror updates

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: update env vars for osd-copy-from.sh
Ali Maredia [Wed, 27 Apr 2016 19:27:38 +0000 (15:27 -0400)]
cmake: update env vars for osd-copy-from.sh

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: CEPH_LIB defaults to .libs in cpp unit tests
Ali Maredia [Tue, 26 Apr 2016 21:54:33 +0000 (17:54 -0400)]
cmake: CEPH_LIB defaults to .libs in cpp unit tests

This makes it possible to run applicable unit tests
without setting environment varibles after building
with autotools.

This will be reverted once autotools is deprecated.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: add test_pool_quota.sh to
Ali Maredia [Tue, 26 Apr 2016 18:27:24 +0000 (14:27 -0400)]
cmake: add test_pool_quota.sh to

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agovstart: put missing quotes around cmake env vars
Ali Maredia [Mon, 25 Apr 2016 23:10:41 +0000 (19:10 -0400)]
vstart: put missing quotes around cmake env vars

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agotest: added env var setting to make check scripts
Ali Maredia [Fri, 22 Apr 2016 00:34:38 +0000 (20:34 -0400)]
test: added env var setting to make check scripts

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: script that sets env vars for unit tests
Ali Maredia [Fri, 22 Apr 2016 00:32:47 +0000 (20:32 -0400)]
cmake: script that sets env vars for unit tests

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #8874 from roidayan/xio-remove_unused_mutex
Haomai Wang [Mon, 2 May 2016 13:46:16 +0000 (21:46 +0800)]
Merge pull request #8874 from roidayan/xio-remove_unused_mutex

xio: remove unused mutex

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoxio: remove unused mutex 8874/head
Roi Dayan [Tue, 12 Apr 2016 10:30:46 +0000 (13:30 +0300)]
xio: remove unused mutex

Signed-off-by: Roi Dayan <roid@mellanox.com>
9 years agoMerge pull request #8872 from dachary/wip-make-check
Kefu Chai [Mon, 2 May 2016 10:02:37 +0000 (18:02 +0800)]
Merge pull request #8872 from dachary/wip-make-check

tests: enable make check on ext4 (part 2)

Reviewed-by: Kefu Chai <kefu@redhat.com>
9 years agotests: enable make check on ext4 (part 2) 8872/head
Loic Dachary [Mon, 2 May 2016 08:42:24 +0000 (10:42 +0200)]
tests: enable make check on ext4 (part 2)

Followup of 475cc08c330e639b226f2ab57dedbe4495f63022

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #8851 from liewegas/wip-make-check
Loic Dachary [Mon, 2 May 2016 08:41:48 +0000 (10:41 +0200)]
Merge pull request #8851 from liewegas/wip-make-check

qa/workunits/ceph-helpers.sh: make ceph-osd behave on ext4

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoqa/workunits/rbd: fix rbd-mirror log file name 8864/head
Mykola Golub [Sun, 1 May 2016 19:04:46 +0000 (22:04 +0300)]
qa/workunits/rbd: fix rbd-mirror log file name

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #8859 from liewegas/wip-fix-scrub
Sage Weil [Sun, 1 May 2016 16:14:08 +0000 (12:14 -0400)]
Merge pull request #8859 from liewegas/wip-fix-scrub

include/rados: fix scrub-map definition

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agorbd-mirror: make image replayer asok commands available when not started
Mykola Golub [Thu, 28 Apr 2016 06:23:35 +0000 (09:23 +0300)]
rbd-mirror: make image replayer asok commands available when not started

Initially the asok commands were registered only after the image
replayer start (and unregistered on stop) because their names were
built using remote pool and image names, which became known only after
start.

Now, the asok commands are registered on the image replayer construction
using the temporary name "remote_pool_name/global_image_id". They are
re-registered using "remote_pool_name/remote_image_name" when the
image replayer is started.  Also the commands are not unregistered on
the image replayer stop.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
9 years agoinclude/rados: fix scrub-map definition 8859/head
Sage Weil [Sun, 1 May 2016 15:07:55 +0000 (11:07 -0400)]
include/rados: fix scrub-map definition

In commit 40add6a63defd09b47c594171c0f72906d218cc6 we
changed the scrub-map op code, breaking compatibility.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8842 from SUSE/wip-msd-typo-fix
Sage Weil [Sun, 1 May 2016 01:11:43 +0000 (21:11 -0400)]
Merge pull request #8842 from SUSE/wip-msd-typo-fix

systemd: fix typo in preset file

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoEvent: replace ceph_clock_now with coarse_real_clock 8852/head
Haomai Wang [Sun, 1 May 2016 00:32:24 +0000 (08:32 +0800)]
Event: replace ceph_clock_now with coarse_real_clock

reduce cpu utilization on real clock latency

Signed-off-by: Haomai Wang <haomai@xsky.com>