]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Bassam Tabbara [Mon, 5 Dec 2016 04:56:35 +0000 (20:56 -0800)]
rgw: make fcgi optional during build
fcgi can now be compiled out of the binary. this reduces the system
dependencies when fcgi is not needed or used.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Bassam Tabbara [Mon, 21 Nov 2016 04:14:04 +0000 (20:14 -0800)]
embedded: add RGW to libcephd
added RGW and rgw-admin to libcephd.
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Bassam Tabbara [Fri, 18 Nov 2016 22:40:30 +0000 (14:40 -0800)]
embedded: add MDS to libcephd
Added MDS to libcephd
Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
Mykola Golub [Wed, 11 Jan 2017 16:13:57 +0000 (18:13 +0200)]
Merge pull request #12839 from dillaman/wip-17993
librbd: delay mirror registration when creating clones
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Wed, 11 Jan 2017 16:13:24 +0000 (18:13 +0200)]
Merge pull request #12838 from dillaman/wip-18419
librbd: possible deadlock with flush if refresh in-progress
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Wed, 11 Jan 2017 16:12:16 +0000 (18:12 +0200)]
Merge pull request #12837 from dillaman/wip-18441
rbd-mirror: avoid processing new events after stop requested
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Jason Dillaman [Wed, 11 Jan 2017 15:53:33 +0000 (10:53 -0500)]
Merge pull request #12846 from dillaman/wip-rbd-mirror-ha-merge
librbd: refactor exclusive lock support into generic managed lock
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Wed, 11 Jan 2017 10:25:19 +0000 (18:25 +0800)]
Merge pull request #12832 from wjin/clean_async
msg/async: cleanups
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Wed, 11 Jan 2017 05:07:20 +0000 (13:07 +0800)]
Merge pull request #12840 from tchaikov/wip-libceph-common
cmake: turn libcommon into a shared library
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Kefu Chai [Wed, 11 Jan 2017 05:02:17 +0000 (13:02 +0800)]
Merge pull request #12809 from wjin/optimize_atomic
msg/async: avoid atomic variable overhead
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Wed, 11 Jan 2017 05:00:27 +0000 (13:00 +0800)]
Merge pull request #12826 from LiumxNL/fix-op-tracker-initiate
mon: optracker's initiated_at timestamp should not be NULL
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 11 Jan 2017 03:15:35 +0000 (21:15 -0600)]
Merge pull request #12871 from xiexingguo/xxg-wip-bluestore-
20170111
os/bluestore: kill BufferSpace.empty()
Reviewed-by: Sage Weil <sage@redhat.com>
xie xingguo [Wed, 11 Jan 2017 02:20:54 +0000 (10:20 +0800)]
os/bluestore: kill BufferSpace.empty()
Because:
1. All other public methods are called under the protection of cache->lock,
which makes the usage of this method is weird.
2. The only caller is _dump_extent_map(), and we can do it without this
in a simpler way.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Haomai Wang [Wed, 11 Jan 2017 02:17:07 +0000 (10:17 +0800)]
Merge pull request #12860 from liupan1111/wip-fix-dpdk-prefix
async: fixed the error "Cause: Cannot create lock on '/var/run/.rte_c…
Reviewed-by: Haomai Wang <haomai@xsky.com>
Alfredo Deza [Tue, 10 Jan 2017 20:47:26 +0000 (15:47 -0500)]
Merge pull request #12867 from ceph/wip-ceph-deploy-workaround
qa/tasks/ceph-deploy: create-keys explicitly
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Sage Weil [Tue, 10 Jan 2017 20:15:10 +0000 (14:15 -0600)]
Merge pull request #12626 from adamemerson/wip-denconstruction
include/denc: improvements
Reviewed-by: Sage Weil <sage@redhat.com>
Haomai Wang [Tue, 10 Jan 2017 16:48:07 +0000 (00:48 +0800)]
Merge pull request #12862 from optimistyzy/110_1
os/bluestore/NVMEdevice: fix the unrelease segs issue
Reviewed-by: Haomai Wang <haomai@xsky.com>
Kefu Chai [Tue, 10 Jan 2017 16:43:24 +0000 (00:43 +0800)]
Merge pull request #12091 from wjwithagen/wip-wjw-nosetests
nosetests: use /usr/bin/env to find nosetests
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Adam C. Emerson [Wed, 28 Dec 2016 02:26:25 +0000 (21:26 -0500)]
denc: Support boost::optional
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 3 Jan 2017 15:44:16 +0000 (10:44 -0500)]
denc: Support tuples
We could support zero-length tuples, but contiguous appender doesn't
like zero-length writes, so I've ruled them out for now.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Tue, 27 Dec 2016 17:55:18 +0000 (12:55 -0500)]
denc: Add support for std::array
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Fri, 23 Dec 2016 17:43:06 +0000 (12:43 -0500)]
denc: Support boost::container::flat_set
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Adam C. Emerson [Thu, 22 Dec 2016 22:43:03 +0000 (17:43 -0500)]
denc: Scrap the container boilerplate!
Using template templates, kill off the reduplication in
container encoding.
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Willem Jan Withagen [Mon, 21 Nov 2016 00:27:28 +0000 (01:27 +0100)]
nosetests: start using /usr/bin/env to find noestests
- Option nocapture is not really required so no problem
with the fact that FreeBSD env does not work for params
for nosetests
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Jason Dillaman [Tue, 10 Jan 2017 14:29:11 +0000 (09:29 -0500)]
Merge pull request #12821 from SUSE/wip-drop-rbd_cli_tests
tests: drop rbd_cli_tests.pl and RbdLib.pm
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 10 Jan 2017 13:33:18 +0000 (07:33 -0600)]
Merge pull request #12850 from xiexingguo/xxg-wip-bluestore-
20170110
os/bluestore: shrink buffer_map key into uint32_t
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Jason Dillaman [Tue, 10 Jan 2017 13:32:53 +0000 (08:32 -0500)]
Merge pull request #12815 from rjfd/wip-journal-unittest-build-error
tests: fix template specialization of PromoteRequest class
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 10 Jan 2017 13:31:43 +0000 (07:31 -0600)]
Merge pull request #12853 from xiexingguo/xxg-wip-kill-orphan
os/bluestore: kill orphan declaration of do_write_check_depth()
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Tue, 10 Jan 2017 13:27:57 +0000 (07:27 -0600)]
Merge pull request #12856 from xiexingguo/xxg-wip-clean-kd
os/bluestore/KernelDevice: kill zeros
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Tue, 10 Jan 2017 13:26:12 +0000 (07:26 -0600)]
Merge pull request #12858 from yangdongsheng/rbd_cleanup
rbd: cleanup: fix the typo in namespace comment
optimistyzy [Tue, 10 Jan 2017 13:01:59 +0000 (21:01 +0800)]
NVMEdevice: fix the unrelease segs issue
When the read or flush command fails, we need to
release segs. Or we can abort it like what we do
for write.
Signed-off-by: optimistyzy <optimistyzy@gmail.com>
Kefu Chai [Mon, 9 Jan 2017 17:49:12 +0000 (01:49 +0800)]
cmake: s/snappy/${SNAPPY_LIBRARIES}/
also s/z/${ZLIB_LIBARIES}/
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 9 Jan 2017 15:45:07 +0000 (23:45 +0800)]
cmake: turn libcommon into a shared library
prior to this change, libcommon is a convenient library which gets
linked into librados, librbd and libcephfs and all ceph executables.
this incurs some problems:
- double dose of libcommon in memory space and HDD: waste of memory
and disk space.
- if an application links to two libraries including libcommon at the
same time. take librados and libcephfs as an example, they could
interfere with each other by changing the other guy's status.
after this change, libcommon is tuned into a shared library and
renamed to libceph-common. it will be installed into $prefix/lib/ceph,
and packaged in librados2.
ceph.spec.in,debian/librados2.install: package libceph-common in
librados2.
CMakeLists.txt:
- do not link against libboost-* if not necessary.
- s/common/ceph-common/g
- install libceph-common into $prefix/lib/ceph
- set rpath to $prefix/lib/ceph
- link against ceph-common if an executable needs access to non public
symbols in ceph.
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Tue, 10 Jan 2017 03:23:52 +0000 (11:23 +0800)]
os/bluestore: shrink buffer_map key into uint32_t
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Pan Liu [Tue, 10 Jan 2017 10:49:20 +0000 (18:49 +0800)]
async: fixed the error "Cause: Cannot create lock on '/var/run/.rte_config'.",
when invoke more than one osds in same server and enable dpdk.
Signed-off-by: Pan Liu <pan.liu@istuary.com>
Dongsheng Yang [Tue, 10 Jan 2017 09:26:43 +0000 (04:26 -0500)]
rbd: cleanup: fix the typo in namespace comment
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Brad Hubbard [Tue, 10 Jan 2017 08:17:52 +0000 (18:17 +1000)]
Merge pull request #12855 from badone/wip-md_config_t-_apply_changes-unchangeable
config: Improve warning for unobserved value
Reviewed-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Tue, 10 Jan 2017 07:53:25 +0000 (15:53 +0800)]
os/bluestore/KernelDevice: reuse r
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 10 Jan 2017 07:50:23 +0000 (15:50 +0800)]
os/bluestore/KernelDevice: drop redundant assignment statements
The memset() call has already done it.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 10 Jan 2017 07:46:32 +0000 (15:46 +0800)]
os/bluestore/NVMeDevice: kill zeros
See https://github.com/ceph/ceph/commit/
2cd63d2209aaa0221a3f0a69b3f49ab1e01d9e20
The aio_zero() interface is deprecated.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 10 Jan 2017 07:07:20 +0000 (15:07 +0800)]
os/bluestore/KernelDevice: kill zeros
This is not needed anymore and can save us 1MB memory.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Brad Hubbard [Thu, 5 Jan 2017 02:45:01 +0000 (12:45 +1000)]
config: Improve warning for unobserved value
When a variable is not being observed we currently mark it
"unchangable". This can be misleading so try something hopefully a
little more informative.
Fixes: http://tracker.ceph.com/issues/18424
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
Haomai Wang [Tue, 10 Jan 2017 05:09:40 +0000 (13:09 +0800)]
Merge pull request #12854 from liupan1111/wip-fix-async-dpdk-issue
async: fixed coredump when enable dpdk.
Reviewed-by: Haomai Wang <haomai@xsky.com>
Pan Liu [Tue, 10 Jan 2017 03:58:23 +0000 (11:58 +0800)]
async: fixed coredump when enable dpdk.
Signed-off-by: Pan Liu <pan.liu@istuary.com>
xie xingguo [Tue, 10 Jan 2017 03:47:36 +0000 (11:47 +0800)]
os/bluestore: kill orphan declaration of do_write_check_depth()
The gc logic is gone and this is not relevant anymore.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Jason Dillaman [Tue, 10 Jan 2017 02:45:41 +0000 (21:45 -0500)]
Merge pull request #12849 from xiexingguo/xxg-wip-fix-compile-crash
librados: fix compile errors from simplified aio completions
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Mingxin Liu [Mon, 9 Jan 2017 02:44:19 +0000 (10:44 +0800)]
mon: we may track a self-initiated message, recv_stamp remain unset
so using ceph_clock_now() instead to make optracker happy
Signed-off-by: Mingxin Liu <mingxin@xsky.com>
Kefu Chai [Tue, 10 Jan 2017 02:23:39 +0000 (10:23 +0800)]
Merge pull request #9032 from tchaikov/wip-15786
doc: document repair/scrub features
Reviewed-by: David Zafman <dzafman@redhat.com>
xie xingguo [Tue, 10 Jan 2017 02:01:54 +0000 (10:01 +0800)]
librados: fix building crash
See https://github.com/ceph/ceph/pull/12607
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Vasu Kulkarni [Tue, 10 Jan 2017 01:59:20 +0000 (17:59 -0800)]
Remove debug overrides
the high level of debug for mon/osd is causing remoto to hang during get key
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Vasu Kulkarni [Tue, 10 Jan 2017 00:45:01 +0000 (16:45 -0800)]
Add ceph-create-keys to explicitly create admin/bootstrap keys
Signed-off-by: Vasu Kulkarni <vasu@redhat.com>
Jason Dillaman [Mon, 9 Jan 2017 22:40:42 +0000 (17:40 -0500)]
librbd: potential nullptr dereference in ManagedLock
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 9 Jan 2017 22:24:22 +0000 (16:24 -0600)]
Merge pull request #12726 from liewegas/wip-18372
osd: _exit() intead of exit() for failure injection
Reviewed-by: Samuel Just <sjust@redhat.com>
Sage Weil [Mon, 9 Jan 2017 22:17:43 +0000 (16:17 -0600)]
Merge pull request #12607 from liewegas/wip-librados-killack
librados,osdc: kill ack vs commit distinction
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Mon, 9 Jan 2017 22:17:07 +0000 (16:17 -0600)]
Merge pull request #12695 from hjwsm1989/mark-unfound-lost
osd/PrimaryLogPG: optimal pick_newest_available
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 Jan 2017 22:14:52 +0000 (16:14 -0600)]
Merge pull request #12724 from kylinstorage/wip-fix-coverity-warning-for-uninitialized-members
osd: fix coverity warning for uninitialized members
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 9 Jan 2017 22:07:15 +0000 (16:07 -0600)]
Merge pull request #12725 from liewegas/wip-bluestore-bluefs-reclaim
os/bluestore/BlueFS: fix reclaim_blocks
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Sage Weil [Mon, 9 Jan 2017 22:05:30 +0000 (16:05 -0600)]
Merge pull request #12727 from liewegas/wip-18369
osd/PG: publish PG stats when backfill-related states change
Reviewed-by: Samuel Just <sjust@redhat.com>
Jason Dillaman [Fri, 6 Jan 2017 14:29:02 +0000 (09:29 -0500)]
librbd: rewatch complete callback should be invoked w/o lock
It's currently being incorrectly invoked twice -- but the direct
callback is holding the Watcher lock. This results in a recursive
lock when ManagedLock attempts to retrieve the watch id from the
Watcher.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Casey Bodley [Mon, 9 Jan 2017 15:54:15 +0000 (10:54 -0500)]
Merge pull request #12731 from oritwas/wip-rgw-realm-set
rgw realm set fixes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Ricardo Dias [Fri, 6 Jan 2017 16:41:29 +0000 (16:41 +0000)]
rbd: fix template specialization of PromoteRequest class
Signed-off-by: Ricardo Dias <rdias@suse.com>
Jason Dillaman [Tue, 6 Dec 2016 20:51:51 +0000 (15:51 -0500)]
librbd: delay mirror registration when creating clones
Fixes: http://tracker.ceph.com/issues/17993
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 5 Jan 2017 17:12:57 +0000 (12:12 -0500)]
librbd: possible deadlock with flush if refresh in-progress
Fixes: http://tracker.ceph.com/issues/18419
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 6 Jan 2017 20:59:22 +0000 (15:59 -0500)]
rbd-mirror: avoid processing new events after stop requested
Fixes: http://tracker.ceph.com/issues/18441
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
John Spray [Mon, 9 Jan 2017 13:05:51 +0000 (13:05 +0000)]
Merge pull request #12274 from ukernel/wip-multimds-misc
mds: misc multimds fixes
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Jason Dillaman [Mon, 9 Jan 2017 01:34:23 +0000 (20:34 -0500)]
librbd: merge managed lock refactor
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Wei Jin [Mon, 9 Jan 2017 11:12:41 +0000 (19:12 +0800)]
msg/async: clean Processor constructor
Signed-off-by: Wei Jin <wjin.cn@gmail.com>
Wei Jin [Mon, 9 Jan 2017 11:10:07 +0000 (19:10 +0800)]
msg/async: clean idx
the initial value is misleading as event center's id was changed to
the index in the worker vector.
Signed-off-by: Wei Jin <wjin.cn@gmail.com>
John Spray [Mon, 9 Jan 2017 11:02:32 +0000 (11:02 +0000)]
Merge pull request #12588 from jcsp/wip-18311
mds: check for errors decoding backtraces
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
John Spray [Mon, 9 Jan 2017 11:02:02 +0000 (11:02 +0000)]
Merge pull request #12580 from Liuchang0812/fix-clang-warn-client
client: fix clang warn of "argument is an uninitialized value"
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Mon, 9 Jan 2017 10:36:39 +0000 (10:36 +0000)]
Merge pull request #12557 from stiopaa1/libcephfs_memoryLeakCephContext
libcephfs.cc: fix memory leak
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Mon, 9 Jan 2017 10:30:27 +0000 (10:30 +0000)]
Merge pull request #12161 from jcsp/wip-remove-cap
client: simplify remove_cap interface
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
John Spray [Mon, 9 Jan 2017 10:29:47 +0000 (10:29 +0000)]
Merge pull request #12515 from kylinstorage/wip-safe-trace
client: fix potential buffer overflow
Reviewed-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 9 Jan 2017 10:16:29 +0000 (18:16 +0800)]
Merge pull request #12560 from wjwithagen/wip-wjw-rocksdb-NO-FAIL
src/CMakeLists.txt: disable -Werror on rocksdb
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 9 Jan 2017 02:59:47 +0000 (10:59 +0800)]
Merge pull request #12799 from tchaikov/wip-sepia-bt
script/sepia_bt.sh: download packages from shaman not gitbuilder
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
Nathan Cutler [Sun, 8 Jan 2017 15:17:08 +0000 (16:17 +0100)]
tests: drop rbd_cli_tests.pl and RbdLib.pm
The rbd_cli_tests Perl script is not maintained and currently serves no
purpose. The RbdLib.pm module was only used by rbd_functional_tests.pl (which
was dropped by
276ffb46319a78a047f3c1f401d8125ac9e17c1e ) and rbd_cli_tests.pl
so drop it as well.
Fixes: http://tracker.ceph.com/issues/14825
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Jason Dillaman [Sun, 8 Jan 2017 14:57:36 +0000 (09:57 -0500)]
Merge pull request #12816 from SUSE/wip-18440
tests: subst repo and branch in git.ceph.com URL in qa/tasks/cram.py and qa/tasks/qemu.py
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sun, 8 Jan 2017 14:56:59 +0000 (09:56 -0500)]
Merge pull request #12818 from SUSE/wip-drop-rbd_functional_tests
tests: drop unused rbd_functional_tests.pl script
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Mykola Golub [Sun, 8 Jan 2017 12:23:12 +0000 (14:23 +0200)]
Merge pull request #12639 from dillaman/wip-18327
librbd: new API method to force break a peer's exclusive lock
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Orit Wasserman [Sun, 1 Jan 2017 10:56:44 +0000 (12:56 +0200)]
radosgw-admin: check for name mistmatch in realm set
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Sun, 1 Jan 2017 10:40:37 +0000 (12:40 +0200)]
radosgw-admin: relam set can use input redirection
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Sun, 1 Jan 2017 10:36:04 +0000 (12:36 +0200)]
radosgw-admin: realm set should create a new realm
Fixes: http://tracker.ceph.com/issues/18333
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Haomai Wang [Sun, 8 Jan 2017 05:17:37 +0000 (13:17 +0800)]
Merge pull request #12812 from optimistyzy/16_0
NVMEDevice: fix bug in data_buf_next_sge
Reviewed-by: Haomai Wang <haomai@xsky.com>
Yehuda Sadeh [Sun, 8 Jan 2017 01:08:58 +0000 (17:08 -0800)]
Merge pull request #12767 from linuxbox2/rgw-invalid-aio-read4
rgw: remove invalid read size4
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
optimistyzy [Fri, 6 Jan 2017 12:16:00 +0000 (20:16 +0800)]
NVMEDevice: Eliminate virt to physical address translation in data_buf_next_sge
After SPDK is updated, SPDK requires virtual address
instead of physical address in huge page memory. Thus,
we do not need to pass the physical address since SPDK
library will do the address translation work.If we
still use the original code, it seems a bug.
In this patch, we will also use spdk_zmalloc instead of
dpdk's rte_malloc_socket function.
Signed-off-by: optimistyzy <optimistyzy@gmail.com>
Matt Benjamin [Fri, 6 Jan 2017 20:16:32 +0000 (15:16 -0500)]
rgw_rados: sanitize dout print in GWRados::get_obj_iterate_cb(...)
We cannot assume pbl may be deferenced. Per review, move the dout
print into the r < 0 condition--since it's now an error, make it's
trace level 0.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Fri, 6 Jan 2017 17:30:42 +0000 (12:30 -0500)]
rgw_rados: add guard assert in add_io()
Use the iterator-returning insert operation in std::map, check
assert the insert case. As a side effect, this makes use of the
inserted object record more clear.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Nathan Cutler [Sat, 7 Jan 2017 22:33:12 +0000 (23:33 +0100)]
tests: drop unused rbd_functional_tests.pl script
This script is no longer used.
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Sat, 7 Jan 2017 12:48:51 +0000 (13:48 +0100)]
tests: subst repo and branch in qemu test urls
References: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Sat, 7 Jan 2017 12:45:10 +0000 (13:45 +0100)]
tests: subst branch and repo in qa/tasks/qemu.py
References: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 6 Jan 2017 20:09:23 +0000 (21:09 +0100)]
tests: subst repo name in krbd/unmap/tasks/unmap.yaml
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Nathan Cutler [Fri, 6 Jan 2017 20:06:11 +0000 (21:06 +0100)]
tests: subst repo name in qa/tasks/cram.py
Inspired by
bcbe45d948f1c4da02e27b3be5f29a8b52745e28
Fixes: http://tracker.ceph.com/issues/18440
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Jason Dillaman [Fri, 6 Jan 2017 22:57:53 +0000 (17:57 -0500)]
Merge pull request #12549 from trociny/wip-16555
librbd: permit removal of image being bootstrapped by rbd-mirror
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 6 Jan 2017 22:56:53 +0000 (17:56 -0500)]
Merge pull request #12638 from yangdongsheng/rbd_remove_incompatible
librbd: don't continue to remove an image w/ incompatible features
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Dan Mick [Fri, 6 Jan 2017 21:12:26 +0000 (13:12 -0800)]
Merge pull request #12787 from jamincollins/arch-linux
ceph-detect-init: adding Arch Linux support
Reviewed-by: Dan Mick <dmick@redhat.com>
Matt Benjamin [Fri, 6 Jan 2017 17:08:38 +0000 (12:08 -0500)]
Merge pull request #11776 from ceph/wip-rgw-openssl-7
Wip rgw openssl 7
Jason Dillaman [Fri, 6 Jan 2017 16:17:10 +0000 (11:17 -0500)]
librados: blacklist_add should wait for latest OSD map
This ensures that future operations against the OSDs force
a OSD map update to notice the blacklisted client.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Thu, 5 Jan 2017 18:31:57 +0000 (13:31 -0500)]
librbd: prevent assertion failure when journal IO is blacklisted
Fixes: http://tracker.ceph.com/issues/18429
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 4 Jan 2017 17:12:27 +0000 (12:12 -0500)]
librbd: ignore blacklist error when releasing exclusive lock
This ensures the journal and object map are properly closed so that the
image can be properly closed w/o failing any assertions.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 3 Jan 2017 20:29:17 +0000 (15:29 -0500)]
librbd: fail immediately if the exclusive lock cannot be acquired
Fixes: http://tracker.ceph.com/issues/16988
Signed-off-by: Jason Dillaman <dillaman@redhat.com>