]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Loic Dachary [Fri, 13 Nov 2015 18:10:28 +0000 (19:10 +0100)]
build/ops: rbd-replay moved from ceph-test-dbg to ceph-common-dbg
http://tracker.ceph.com/issues/13785 Fixes: #13785
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Fri, 13 Nov 2015 14:14:11 +0000 (15:14 +0100)]
Merge pull request #6532 from dachary/wip-mailmap
mailmap: Ubuntu Kylin name changed to Kylin Cloud
Reviewed-by: Li Wang <li.wang@kylin-cloud.com>
Sage Weil [Fri, 13 Nov 2015 14:04:47 +0000 (09:04 -0500)]
Merge pull request #5848 from storage-zuiwanyuan/wip-nonblock-connect
msg/async: support of non-block connect in async messenger
Reviewed-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Fri, 13 Nov 2015 14:03:35 +0000 (09:03 -0500)]
Merge pull request #6478 from yuyuyu101/wip-13666
msg/async: let receiver ack message ASAP
Reviewed-by: Sage Weil <sage@redhat.com>
Jianhui Yuan [Fri, 13 Nov 2015 07:36:36 +0000 (15:36 +0800)]
msg/async: support of non-block connect in async messenger
Fixes: #12802
Signed-off-by: Jianhui Yuan <zuiwanyuan@gmail.com>
Kefu Chai [Fri, 13 Nov 2015 07:28:39 +0000 (15:28 +0800)]
Merge pull request #6534 from kylinstorage/wip-trivial-scrub-cleanup
osd: clarify the scrub result report
Reviewed-by: Kefu Chai <kchai@redhat.com>
Li Wang [Fri, 13 Nov 2015 07:00:09 +0000 (15:00 +0800)]
scrub: clarify the result report
It may happen that the authoritative object
such that auth.size != be_get_ondisk_size(auth_oi.size),
in that case, clarify the error report.
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Josh Durgin [Fri, 13 Nov 2015 04:15:48 +0000 (20:15 -0800)]
Merge branch 'wip-py3'
pybind: a few more python 3 fixes for rbd and rados
Reviewed-by: David Coles <dcoles@gaikai.com>
Josh Durgin [Thu, 12 Nov 2015 08:57:36 +0000 (00:57 -0800)]
pybind/rados: return pool_reverse_lookup() result as a string
This makes it symmetric with create_pool() in python 3.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 12 Nov 2015 07:59:21 +0000 (23:59 -0800)]
pybind/test_rbd: convert a few more str to bytes for py3
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 12 Nov 2015 07:57:16 +0000 (23:57 -0800)]
pybind/rbd: encode snap_rename args for py3
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 12 Nov 2015 07:56:14 +0000 (23:56 -0800)]
pybind/rbd: decode stat() and list_children() results for py3
For stat(), only block_name_prefix is filled in - parent and
parent_pool are always blank.
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 12 Nov 2015 03:05:59 +0000 (19:05 -0800)]
pybind/rbd: decode parent_info() to str types for py3
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 12 Nov 2015 03:02:12 +0000 (19:02 -0800)]
pybind/test_rbd: fix map() usage for py3 compat
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Thu, 12 Nov 2015 08:06:14 +0000 (00:06 -0800)]
pybind/test_rbd: use // for division for py3
Signed-off-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Fri, 13 Nov 2015 03:32:42 +0000 (19:32 -0800)]
Merge branch 'pybind3' of https://github.com/dcoles/ceph into wip-pybind3
pybind: Add Python 3 support for rados and rbd modules
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Conflicts:
src/pybind/rbd.py (new create args, minor fix to work with py3)
David Coles [Wed, 11 Nov 2015 22:06:45 +0000 (14:06 -0800)]
ceph: Make stdout/stderr always output Unicode (UTF-8)
If a stream is not interactive, then under Python 2, then the encoding for
stdout/stderr may be None. This means that it's not possible to print Unicode
characters since the encoding will fall back to ASCII.
This explicitly makes sys.stdout/sys.stderr always use UTF-8 encoding for
strings, regardless of the system's local or if the console is interactive or
not.
This matches the existing tests that assume that output of non-ASCII pool names
will be UTF-8 encoded.
When outputting raw binary data (such as the CRUSH-map), we must bypass the
codec and write directly to raw streams (since the new stream will only accept
ASCII byte-strings or Unicode strings).
Signed-off-by: David Coles <dcoles@gaikai.com>
David Coles [Tue, 27 Oct 2015 20:32:44 +0000 (13:32 -0700)]
pybind: Add decode_cstr helper function
This function attempts to decode a C-style string into a Python Unicode string.
It accepts an optional "size" parameter for the string length, otherwise it is
assumed that the string is NUL-terminated.
If the pointer is NULL, then this function returns None.
Signed-off-by: David Coles <dcoles@gaikai.com>
David Coles [Tue, 20 Oct 2015 17:57:46 +0000 (10:57 -0700)]
pybind: Add test for creating pool by raw UTF-8
Some clients try providing non-ASCII pool names by sending raw encoded bytes.
This check ensures that we still support this behaviour for Python 2.
In Python 3, bytestrings will fail since strings are Unicode strings and thus
clients should use Unicode escapes instead.
Signed-off-by: David Coles <dcoles@gaikai.com>
David Coles [Tue, 20 Oct 2015 17:55:44 +0000 (10:55 -0700)]
pybind: Import cstr from the rados module
Since rados is required for rbd, we can avoid duplication of code across these
two modules.
Signed-off-by: David Coles <dcoles@gaikai.com>
David Coles [Tue, 20 Oct 2015 02:42:18 +0000 (19:42 -0700)]
pybind: Don't encode str on Python 2
If you attempt to call encode on a non-ASCII string, then a UnicodeDecodeError
will be raised.
Since str on Python 2 is an 8-bit string, it's possible that it's already UTF-8
encoded. As such we should just pass it through to the C API unmodified.
On Python 3 or if the user explicitly uses unicode, then we'll encode it to
UTF-8 for them.
Signed-off-by: David Coles <dcoles@gaikai.com>
Josh Durgin [Thu, 12 Nov 2015 22:08:31 +0000 (14:08 -0800)]
Merge branch 'wip-13504' of https://github.com/trociny/ceph
rbd: API: options on image create
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Conflicts:
src/test/librbd/test_librbd.cc (trivial, two tests added at end of file)
Mykola Golub [Fri, 23 Oct 2015 14:27:33 +0000 (17:27 +0300)]
librbd: API: options on image create: update tests
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Fri, 23 Oct 2015 09:38:08 +0000 (12:38 +0300)]
librbd: API: options on image create
Pass options as key/value configuration pairs on image create instead
of expanding rbd_create/rbd_clone/rbd_copy for every possible
configuration override.
Fixes: #13504
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Jason Dillaman [Thu, 12 Nov 2015 18:32:31 +0000 (13:32 -0500)]
Merge pull request #6557 from ceph/wip-rbd-cmake-fixes
cmake: librbd and libjournal build fixes
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Casey Bodley [Thu, 12 Nov 2015 17:34:08 +0000 (12:34 -0500)]
Merge pull request #6556 from athanatos/wip-cmake-nss
cmake: add nss as a suffix for pk11pub.h
Samuel Just [Wed, 11 Nov 2015 21:28:08 +0000 (13:28 -0800)]
cmake: add nss as a suffix for pk11pub.h
Signed-off-by: Samuel Just <sjust@redhat.com>
Ilya Dryomov [Thu, 12 Nov 2015 13:38:05 +0000 (14:38 +0100)]
librbd: provide an out-of-class definition for MAX_DESCRIPTION_OFFSET
std::min() takes its parameters by reference, so provide a definition
for OptionPrinter::MAX_DESCRIPTION_OFFSET constant.
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Ilya Dryomov [Thu, 12 Nov 2015 13:52:47 +0000 (14:52 +0100)]
cmake: fix librbd and add src/journal
librbd was missing a recently added file, src/journal was missing
entirely - this brings the build back.
Signed-off-by: Ilya Dryomov <idryomov@redhat.com>
Loic Dachary [Wed, 11 Nov 2015 06:10:30 +0000 (07:10 +0100)]
mailmap: Ubuntu Kylin name changed to Kylin Cloud
Reviewed-by: Li Wang <li.wang@kylin-cloud.com>
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Wed, 11 Nov 2015 06:07:07 +0000 (07:07 +0100)]
mailmap: sort files
Signed-off-by: Loic Dachary <loic@dachary.org>
Sage Weil [Thu, 12 Nov 2015 13:40:42 +0000 (08:40 -0500)]
Merge pull request #6517 from kylinstorage/wip-trivial-bug
osd: fix bug in last_* PG state timestamps
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Thu, 12 Nov 2015 13:21:21 +0000 (08:21 -0500)]
Merge pull request #6552 from trociny/wip-journal
journal: incremental improvements and fixes
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Loic Dachary [Thu, 12 Nov 2015 11:35:20 +0000 (12:35 +0100)]
Merge pull request #6462 from javacruft/wip/ec-modules
Build internal plugins and classes as modules
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Mykola Golub [Thu, 29 Oct 2015 14:07:23 +0000 (16:07 +0200)]
journal: update allocated tid when skipping committed entry in player
Otherwise, if on image open, there are no any uncommitted entries in
journal, allocated tid is not updated to the latest commited and
recording always starts from tid=0.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Kefu Chai [Thu, 12 Nov 2015 03:53:34 +0000 (11:53 +0800)]
Merge pull request #6539 from yehudasa/wip-cmake-fix
cmake: fix files list
Reviewed-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Wed, 11 Nov 2015 19:54:56 +0000 (11:54 -0800)]
Merge pull request #6316 from dillaman/wip-13494
rbd: dynamically generated bash completion
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Wed, 11 Nov 2015 19:51:49 +0000 (11:51 -0800)]
Merge remote-tracking branch 'origin/jewel'
Yehuda Sadeh [Wed, 11 Nov 2015 16:38:05 +0000 (08:38 -0800)]
cmake: fix files list
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Mykola Golub [Thu, 8 Oct 2015 06:01:54 +0000 (09:01 +0300)]
cls::journal: fixup: constify dump functions
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Mon, 28 Sep 2015 18:37:05 +0000 (21:37 +0300)]
journal: call metadata shutdown on journal remove
This fixes error observed when disabling journal:
JournalMetadata: journal watch error: (107) Transport endpoint is not connected
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Thu, 17 Sep 2015 07:05:20 +0000 (10:05 +0300)]
journal: don't use object_number when comparing positions
Only tid does matter.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Tue, 1 Sep 2015 20:09:52 +0000 (23:09 +0300)]
journal: make commit and flush params configurable
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Sun, 6 Sep 2015 14:06:44 +0000 (17:06 +0300)]
journal: allow alternate pool for journal objects
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Thu, 3 Sep 2015 18:12:12 +0000 (21:12 +0300)]
journal: output operators for journal types
They are going to be used for diagnostic.
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Sage Weil [Wed, 11 Nov 2015 14:23:39 +0000 (09:23 -0500)]
Merge pull request #6471 from mslovy/wip-check-reply-guard-again
osd: avoid double-check for replaying and can_checkpoint() in FileStore::_check_replay_guard
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Wed, 11 Nov 2015 14:16:58 +0000 (09:16 -0500)]
Merge pull request #6426 from xiexingguo/xxg-wip-13642
librados: fix rare race where pool op callback may hang forever
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 11 Nov 2015 14:15:51 +0000 (09:15 -0500)]
Merge pull request #6407 from renhwztetecs/renhw-wip-13627
mon: initialize recorded election epoch properly even when standalone
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 11 Nov 2015 14:14:01 +0000 (09:14 -0500)]
Merge pull request #6385 from Vicente-Cheng/mkfs-does-not-decode-an-existing-superblock
osd: fix reactivate (check OSDSuperblock in mkfs() when we already have the superblock)
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Sage Weil [Wed, 11 Nov 2015 14:12:31 +0000 (09:12 -0500)]
Merge pull request #6373 from liewegas/wip-promoteon2ndread-ec
librados: fix PromoteOn2ndRead test for EC
Reviewed-by: Kefu Chai <kchai@redhat.com>
Jason Dillaman [Wed, 11 Nov 2015 14:10:44 +0000 (09:10 -0500)]
Merge pull request #6520 from trociny/fix-rbd-apply_changes
rbd: make config changes actually apply
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Wed, 11 Nov 2015 14:07:15 +0000 (09:07 -0500)]
Merge pull request #6347 from xiexingguo/xxg-wip-13566
osd: fixes for several cases where op result code was not checked or set
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 11 Nov 2015 14:02:26 +0000 (09:02 -0500)]
Merge pull request #5168 from majianpeng/dynamic-control-optracker
common: allow enable/disable of optracker at runtime
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 11 Nov 2015 14:00:44 +0000 (22:00 +0800)]
Merge pull request #6089 from SUSE/wip-init-ceph-getopt
init-ceph: use getopt to make option processing more flexible
Reviewed-by: Kefu Chai <kchai@redhat.com>
Nathan Cutler [Sun, 27 Sep 2015 21:16:48 +0000 (23:16 +0200)]
src/init-ceph.in: remove unused variables
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Sun, 27 Sep 2015 19:16:11 +0000 (21:16 +0200)]
src/init-ceph.in: improve usage message
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Sun, 27 Sep 2015 19:11:00 +0000 (21:11 +0200)]
src/init-ceph.in: process command-line options using getopt
http://tracker.ceph.com/issues/3015 Fixes: #3015
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Mykola Golub [Thu, 22 Oct 2015 07:11:08 +0000 (10:11 +0300)]
rbd: RBD::clone2: fix tracepoint
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Josh Durgin [Wed, 11 Nov 2015 07:55:37 +0000 (23:55 -0800)]
Merge pull request #6516 from trociny/wip-13719
librbd: perf section name: use hyphen to separate components
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Mykola Golub [Tue, 10 Nov 2015 09:27:05 +0000 (11:27 +0200)]
rbd: make config changes actually apply
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Tue, 10 Nov 2015 07:22:09 +0000 (09:22 +0200)]
tests: rbd/admin_socket: use xmlstarlet when parsing perf dump
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Tue, 10 Nov 2015 06:32:17 +0000 (08:32 +0200)]
librbd: perf section name: use hyphen to separate components
"/" and "@" characters make invalid xml format output.
Fixes: #13719
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Vikhyat Umrao [Mon, 19 Oct 2015 12:27:15 +0000 (17:57 +0530)]
doc: Adding --cluster option to rbd man page.
Fixes #13457
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Loic Dachary [Wed, 11 Nov 2015 06:05:12 +0000 (07:05 +0100)]
Merge pull request #6519 from kylinstorage/wip-revise-organization
revise organization
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Josh Durgin [Wed, 11 Nov 2015 05:43:52 +0000 (21:43 -0800)]
Merge pull request #6525 from dillaman/wip-13636-jewel
WorkQueue: new PointerWQ base class for ContextWQ
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Wed, 11 Nov 2015 05:19:37 +0000 (21:19 -0800)]
Merge branch 'wip-11286' of https://github.com/dillaman/ceph
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Wed, 11 Nov 2015 05:18:04 +0000 (21:18 -0800)]
Merge pull request #5987 from dillaman/wip-rbd-refactor
rbd: refactor cli command handling
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Tue, 20 Oct 2015 01:52:49 +0000 (21:52 -0400)]
rbd: dynamically generated bash completion
The rbd CLI bash completion is now dynamically generated by extracting
the available commands and command options from the CLI application.
Fixes: #13494
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 19 Oct 2015 19:07:50 +0000 (15:07 -0400)]
rbd: hidden 'bash-completion' command dumps all available commands
It also extracts all available options for a given command for use
which can be used by an improved bash completion script.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 10 Nov 2015 18:55:39 +0000 (13:55 -0500)]
tests: updated rbd CLI --image-feature optional
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Sun, 25 Oct 2015 15:57:29 +0000 (11:57 -0400)]
ceph_test_rados_api_tier: fix PromoteOn2ndRead for EC case
The ec and non-ec cases are copy&pasted code. Yuck. This duplicates the
non-ec fix from
347ac0f8 .
Signed-off-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Tue, 10 Nov 2015 18:21:11 +0000 (13:21 -0500)]
rbd: corrected handling of '--image-feature' optional
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Tue, 10 Nov 2015 16:56:40 +0000 (00:56 +0800)]
Merge pull request #6488 from xiexingguo/xxg-wip-rados-cleanup
librados: do cleanup
Reviewed-by: Sebastien Ponce <sebastien.ponce@cern.ch>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Josh Durgin [Tue, 10 Nov 2015 16:32:40 +0000 (08:32 -0800)]
Merge pull request #6523 from dillaman/wip-13740
librbd: perf counters might not be initialized on error
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Tue, 7 Jul 2015 16:11:13 +0000 (12:11 -0400)]
WorkQueue: new PointerWQ base class for ContextWQ
The existing work queues do not properly function if added to a running
thread pool. librbd uses a singleton thread pool which requires
dynamically adding/removing work queues as images are opened and closed.
Fixes: #13636
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 10 Nov 2015 13:20:13 +0000 (08:20 -0500)]
librbd: perf counters might not be initialized on error
Fixes: #13740
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 10 Nov 2015 12:59:03 +0000 (07:59 -0500)]
PendingReleaseNotes: document updated rbd CLI options
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Loic Dachary [Tue, 10 Nov 2015 11:54:55 +0000 (12:54 +0100)]
Merge pull request #6522 from branch-predictor/bp-temporary-mon-fix
mon: revert MonitorDBStore's WholeStoreIteratorImpl::get
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Piotr Dałek [Tue, 10 Nov 2015 11:50:55 +0000 (12:50 +0100)]
mon: revert MonitorDBStore's WholeStoreIteratorImpl::get
Revert MonitorDBStore's WholeStoreIteratorImpl::get method to state
before commit
66b7b920cf5a0a9c71212573ef47fb2c7ea9b5ff until better,
long-term solution for #13742 will be provided.
Signed-off-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Li Wang [Tue, 10 Nov 2015 09:20:29 +0000 (17:20 +0800)]
revise organization
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Li Wang [Tue, 10 Nov 2015 08:21:54 +0000 (16:21 +0800)]
osd: fix trivial bug
Signed-off-by: Li Wang <li.wang@kylin-cloud.com>
Reported-by: Jie Wang <jie.wang@kylin-cloud.com>
Josh Durgin [Tue, 10 Nov 2015 07:30:42 +0000 (23:30 -0800)]
Merge pull request #6394 from dillaman/wip-13560
krbd: remove deprecated --quiet param from udevadm
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Tue, 10 Nov 2015 07:28:46 +0000 (23:28 -0800)]
Merge pull request #6508 from dillaman/wip-13726
librbd: deadlock while attempting to flush AIO requests
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Tue, 10 Nov 2015 07:27:08 +0000 (23:27 -0800)]
Merge pull request #6447 from dillaman/wip-13674
librbd: resize should only update image size within header
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
xiexingguo [Mon, 9 Nov 2015 14:14:09 +0000 (22:14 +0800)]
internal: remove unused local variables
Remove unused variables bl and bl2 in snap_list and ictx_refresh.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xiexingguo [Sat, 7 Nov 2015 03:30:32 +0000 (11:30 +0800)]
librados: cast oid to object explicitly before call ioctx methods
Cast oid to object explicitly before call ioctx methods.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Yehuda Sadeh [Mon, 9 Nov 2015 23:26:12 +0000 (15:26 -0800)]
Merge pull request #6513 from ceph/revert-6419-wip-openssl
Revert
0374bb4a2f5054d606e4aba2d97b5e6765e781b0
xiexingguo [Sat, 7 Nov 2015 03:14:02 +0000 (11:14 +0800)]
IoCtxImpl: remove unused variable sName
remove unused local variable sName in rollback.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Yehuda Sadeh [Mon, 9 Nov 2015 23:24:29 +0000 (15:24 -0800)]
Yehuda Sadeh [Mon, 9 Nov 2015 21:56:29 +0000 (13:56 -0800)]
Merge pull request #6419 from ceph/wip-openssl
rgw: link against system openssl (instead of dlopen at runtime)
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Jason Dillaman [Mon, 9 Nov 2015 21:36:58 +0000 (16:36 -0500)]
Merge pull request #6453 from trociny/wip-2468
librbd: flush and invalidate cache via admin socket
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 9 Nov 2015 19:30:14 +0000 (14:30 -0500)]
Merge pull request #6511 from liewegas/wip-fix-kv
kv: fix bug in kv key optimization
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Piotr Dałek <piotr.dalek@ts.fujitsu.com>
Yehuda Sadeh [Mon, 9 Nov 2015 19:03:40 +0000 (11:03 -0800)]
Merge branch 'wip-12955'
brian [Wed, 23 Sep 2015 14:49:36 +0000 (09:49 -0500)]
rgw: fix modification to index attrs when setting acls
Fixes: #12955
- add ACL change after initial population
- populate bufferlist with object attributes
Signed-off-by: Brian Felton <bjfelton@gmail.com>
Sage Weil [Mon, 9 Nov 2015 18:40:41 +0000 (13:40 -0500)]
kv: fix string ctor usage
When constructing a string from a char* there is only a single
length argument, no offset. The 3 argument variant we were using
was converting to a std::string first (an prematurely terminating
on \0).
Signed-off-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Mon, 9 Nov 2015 18:38:46 +0000 (10:38 -0800)]
Merge pull request #6047 from Sandy4999/wip-13140
rgw: fix swift API returning incorrect account metadata
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Josh Durgin [Mon, 9 Nov 2015 18:19:09 +0000 (10:19 -0800)]
Merge pull request #6504 from dillaman/wip-13727
tests: fix typo in TestClsRbd.snapshots test case
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Mon, 9 Nov 2015 16:22:24 +0000 (11:22 -0500)]
librbd: fixed deadlock while attempting to flush AIO requests
In-flight AIO requests might force a flush if a snapshot was created
out-of-band. The flush completion was previously invoked asynchronously,
potentially via the same thread worker handling the AIO request. This
resulted in the flush operation deadlocking since it can't complete.
Fixes: #13726
Backport: infernalis, hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 9 Nov 2015 15:48:10 +0000 (10:48 -0500)]
tests: new test case to catch deadlock on RBD image refresh
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Tue, 3 Nov 2015 11:24:36 +0000 (13:24 +0200)]
tests: librbd: admin socket commands to flush and invalidate cache
Signed-off-by: Mykola Golub <mgolub@mirantis.com>