]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Varada Kari [Wed, 29 Jun 2016 13:16:04 +0000 (18:46 +0530)]
os/bluestore/BlueFS: debug statements to check log_fnode size in super block
Signed-off-by: Varada Kari <varada.kari@sandisk.com>
Varada Kari [Wed, 29 Jun 2016 13:13:55 +0000 (18:43 +0530)]
os/bluestore/Bluefs: Unit test cases for bluefs async flush
Signed-off-by: Varada Kari <varada.kari@sandisk.com>
Varada Kari [Wed, 29 Jun 2016 13:12:24 +0000 (18:42 +0530)]
os/bluestore/BlueFS: Make fysnc return the status
Signed-off-by: Varada Kari <varada.kari@sandisk.com>
Sage Weil [Fri, 24 Jun 2016 13:43:52 +0000 (09:43 -0400)]
os/bluestore/BlueFS: make _sync_and_flush_log smarter
If we know what event we need to wait for, only wait long enough for it
to flush. This helps the situation where another thread flushed what we
needed, and more dirty stuff was added to log_t, but we don't need to
wait for that too for our caller to be happy.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 24 Jun 2016 13:23:21 +0000 (09:23 -0400)]
os/bluestore: drop lock while we flush the log
Handle cases where we have multiple racing threads trying to flush the
log by only allowing one concurrent log flush to be in progress at a time,
and behave if, after flushing, there are no more dirty records to flush.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 23 Jun 2016 15:23:46 +0000 (11:23 -0400)]
os/bluestore/BlueFS: use existing IOContext for _write_super
We need to be careful with IOContext destruction racing with the bdev
io completion thread.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 24 Jun 2016 13:21:24 +0000 (09:21 -0400)]
os/bluestore/BlueFS: pass unique_lock down through _fsync and log flush
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 23 Jun 2016 14:10:17 +0000 (10:10 -0400)]
os/bluestore/BlueFS: carry lock for mkfs
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 23 Jun 2016 14:00:17 +0000 (10:00 -0400)]
os/bluestore/KernelDevice: rebuild buffer if we exceed IOV_MAX
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 23 Jun 2016 14:00:01 +0000 (10:00 -0400)]
common/buffer: assert that we do not exceed IOV_MAX in prepare_iov
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 23 Jun 2016 13:55:20 +0000 (09:55 -0400)]
unittest_bluefs: don't silence log
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 23 Jun 2016 13:48:21 +0000 (09:48 -0400)]
os/bluestore/BlueFS: _flush_bdev -> flush_bdev
It is safe to call without a lock.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 23 Jun 2016 13:39:31 +0000 (09:39 -0400)]
os/bluestore/BlueFS: drop lock while waiting for user io to complete
_flush_wait is safe to call without a lock, as long as our reference is
stable. Rename it wait_for_aio() to be more clear about what it does and
the fact that it doesn't require a lock.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 23 Jun 2016 13:33:09 +0000 (09:33 -0400)]
os/bluestore/BlueFS: track dirty by log_seq, log_seq_stable
Note when we dirty a file, and clean it only if that seq has been
committed. Currently this is always the case because we don't drop the
lock, but that will change shortly.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 23 Jun 2016 13:26:16 +0000 (09:26 -0400)]
os/bluestore/BlueFS: do not dirty log file when size changes
We only need to dirty the log file if the allocate changes. Replay is
smart enough to learn the file size as it goes.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 22 Jun 2016 21:42:32 +0000 (17:42 -0400)]
os/bluestore/BlueFS: track log_seq_stable
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 22 Jun 2016 21:18:20 +0000 (17:18 -0400)]
os/bluestore/BlueFS: _flush_log -> _flush_and_sync_log
Be accurate.
No functional change.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Jun 2016 16:42:14 +0000 (12:42 -0400)]
Merge pull request #10018 from ifed01/wip-bluestore-squeeze-lextents
os/bluestore: apply "small encoding" for onode_t::extents map
Reviewed-by: Sage Weil <sage@redhat.com>
Ali Maredia [Thu, 30 Jun 2016 16:30:35 +0000 (12:30 -0400)]
Merge pull request #10059 from tchaikov/wip-cmake
cmake changes
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Matt Benjamin [Thu, 30 Jun 2016 16:18:18 +0000 (12:18 -0400)]
Merge pull request #10035 from Yan-waller/yj-wip-rgwradoscc-0630
rgw: fix the missing return value and remove temporary variables
lgtm, build verified f23
Kefu Chai [Thu, 30 Jun 2016 14:41:49 +0000 (22:41 +0800)]
cmake: install rbd-replay-many and its manpage
rpm packaging needs it explicitly.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 30 Jun 2016 15:47:15 +0000 (11:47 -0400)]
Merge pull request #10029 from wjwithagen/patch-1
msg/async/net_handler.cc: make it more compatible with BSDs
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Jun 2016 15:46:20 +0000 (11:46 -0400)]
Merge pull request #10030 from stiopaa1/msg_asyncmess_removeCodeDup
msg/AsyncMessenger.cc: remove code duplication
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Jun 2016 15:39:57 +0000 (11:39 -0400)]
Merge pull request #10066 from Ved-vampir/isal_submodule
isa-l: add isa-l library as a submodule
Sage Weil [Thu, 30 Jun 2016 15:23:20 +0000 (11:23 -0400)]
Merge pull request #9999 from xiexingguo/xxg-wip-bluestore-2016-06-29
os/bluestore: misc fixes
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Jun 2016 15:22:56 +0000 (11:22 -0400)]
Merge pull request #9946 from xiexingguo/xxg-wip-bluestore-cache
os/bluestore: make trim() of 2Q cache more fine-grained
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Jun 2016 15:22:08 +0000 (11:22 -0400)]
Merge pull request #9968 from ceph/wip-no-start-update
rpm: Do not start targets on update
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Ved-vampir [Thu, 30 Jun 2016 14:47:16 +0000 (17:47 +0300)]
isa-l: add isa-l library as a submodule
Signed-off-by: Alyona Kiseleva <akiselyova@mirantis.com>
Sage Weil [Thu, 30 Jun 2016 14:43:38 +0000 (10:43 -0400)]
Merge pull request #9935 from xiexingguo/xxg-wip-make-zone-configurable
os/bluestore: fix memory leak during bit_alloc testing
Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
John Spray [Thu, 30 Jun 2016 11:47:15 +0000 (12:47 +0100)]
Merge pull request #9789 from batrick/i16164
mds: add maximum fragment size constraint
Reviewed-by: John Spray <john.spray@redhat.com>
xie xingguo [Thu, 30 Jun 2016 11:31:45 +0000 (19:31 +0800)]
os/bluestore: check against if tail_pad is already 0
So we may skip the potential has_any_lextents() check.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Kefu Chai [Thu, 30 Jun 2016 05:10:58 +0000 (13:10 +0800)]
cmake: use selinux/devel/Makefile for building selinux policy
was using selinux/devel/include/Makefile, which was wrong.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 30 Jun 2016 07:39:52 +0000 (15:39 +0800)]
cmake: install libs into ${CMAKE_INSTALL_LIBDIR}
this address rpm build failures on amd64 platforms:
Directory not found:
/srv/autobuild-ceph/gitbuilder.git/build/rpmbuild/BUILDROOT/ceph-11.0.0-119.gcd3ee3c.x86_64/usr/lib64/rados-classes
File not found by glob:
/srv/autobuild-ceph/gitbuilder.git/build/rpmbuild/BUILDROOT/ceph-11.0.0-119.gcd3ee3c.x86_64/usr/lib64/rados-classes/*
File not found by glob:
/srv/autobuild-ceph/gitbuilder.git/build/rpmbuild/BUILDROOT/ceph-11.0.0-119.gcd3ee3c.x86_64/usr/lib64/libos_tp.so*
File not found by glob:
/srv/autobuild-ceph/gitbuilder.git/build/rpmbuild/BUILDROOT/ceph-11.0.0-119.gcd3ee3c.x86_64/usr/lib64/libosd_tp.so*
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 30 Jun 2016 08:01:08 +0000 (16:01 +0800)]
cmake: install systemd files
add an option "WITH_SYSTEMD", off by default
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 30 Jun 2016 10:53:02 +0000 (18:53 +0800)]
cmake: install ceph_test_keyvaluedb
qa task rados/objectstore/keyvaluedb.yaml uses it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Orit Wasserman [Thu, 30 Jun 2016 10:14:17 +0000 (12:14 +0200)]
Merge pull request #9351 from Yan-waller/yj-hwip-rgwfixlisterr
rgw/rados: remove confused error printout
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
xie xingguo [Thu, 30 Jun 2016 03:01:18 +0000 (11:01 +0800)]
os/bluestore: remove duplicated initialization of max_alloc_size
_set_alloc_sizes() already did this.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 29 Jun 2016 08:53:26 +0000 (16:53 +0800)]
os/bluestore: merge _rm_buffer() to reduce code redundancy
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Wed, 29 Jun 2016 08:07:07 +0000 (16:07 +0800)]
os/bluestore: kill unused buffer state "read"
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Thu, 30 Jun 2016 05:51:42 +0000 (13:51 +0800)]
os/bluestore: fix potential access violation
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Thu, 30 Jun 2016 07:47:19 +0000 (15:47 +0800)]
os/bluestore: fix incorrect skipping of partial hole reading
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Thu, 30 Jun 2016 03:12:30 +0000 (23:12 -0400)]
Merge pull request #9700 from JiYou/fix-monitor-crush
mon: Monitor: validate prefix on handle_command()
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Yan Jun [Thu, 30 Jun 2016 02:49:41 +0000 (10:49 +0800)]
rgw: fix the missing return value
If `get_bucket_index_object` returns an error code (-ENOTSUP)
with ivalid `hash_type`, we should return this negative error code
that resulting in `BucketShard::init` failed as expected,
oherwise it will go wrong.
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
Yan Jun [Thu, 30 Jun 2016 02:29:01 +0000 (10:29 +0800)]
rgw: remove uneccessary temporary variable
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
xie xingguo [Wed, 29 Jun 2016 04:41:23 +0000 (12:41 +0800)]
os/bluestore: make trim() of 2Q cache more fine-grained
1. count total bytes as per buffer types respectively,
so we know the exact size of each kind of buffer.
2. evict by list actual size against expected size,
which is more accurate.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Matt Benjamin [Wed, 29 Jun 2016 20:52:14 +0000 (16:52 -0400)]
Merge pull request #9993 from weiqiaomiao/wqm-wip-clean-bufferlist
rgw: remove unused bufferlist
(build verified, provably unused/not aliased)
Ali Maredia [Wed, 29 Jun 2016 20:34:57 +0000 (16:34 -0400)]
Merge pull request #10025 from tchaikov/wip-cmake
cmake: install ceph_test_cls_rgw
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Willem Jan Withagen [Wed, 29 Jun 2016 20:34:38 +0000 (22:34 +0200)]
net_handler.cc: make it more compatible with BSDs
According the Linux manual page:
POSIX.1-2001 does not require the inclusion of <sys/types.h>, and this header file is not required on Linux. However, some historical (BSD) implementations required this header file, and portable applications are probably wise to include it.
Submitted-by: Willem Jan Withagen <wjw@digiware.nl>
Matt Benjamin [Wed, 29 Jun 2016 19:58:24 +0000 (15:58 -0400)]
Merge pull request #9745 from weiqiaomiao/wqm-wip-rgw-usage
rgw:add missing "--staging" to radosgw-admin usage
lgtm (build verified f23)
Michal Jarzabek [Wed, 29 Jun 2016 19:57:38 +0000 (20:57 +0100)]
msg/AsyncMessenger.cc: remove code duplication
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Kefu Chai [Wed, 29 Jun 2016 18:00:29 +0000 (02:00 +0800)]
debian: package etc/init.d/ceph in ceph-base
Signed-off-by: Kefu Chai <kchai@redhat.com>
Gregory Farnum [Wed, 29 Jun 2016 17:59:14 +0000 (10:59 -0700)]
Merge pull request #9606 from gregsfortytwo/wip-16002
ObjectCacher: fix bh_read_finish offset logic
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Kefu Chai [Wed, 29 Jun 2016 17:53:12 +0000 (01:53 +0800)]
cmake: install ceph_test_cls_rgw
it is used by cls/test_cls_rgw.sh
Signed-off-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Wed, 29 Jun 2016 17:43:24 +0000 (13:43 -0400)]
Merge pull request #9754 from dx9/wip-fix-rgw-include
rgw/rgw_http_client: add compat.h include for TEMP_FAILURE_RETRY
lgtm (build verified, f23)
Gregory Farnum [Wed, 29 Jun 2016 17:41:13 +0000 (10:41 -0700)]
Merge pull request #9994 from xiexingguo/xxg-wip-kill-client-warn
client: kill compiling warning
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Kefu Chai [Wed, 29 Jun 2016 17:34:09 +0000 (01:34 +0800)]
Merge pull request #9831 from linuxbox2/wip-ssl3
cmake: rework NSS and SSL
Reviewed-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Wed, 29 Jun 2016 17:29:17 +0000 (13:29 -0400)]
Merge pull request #9807 from Yan-waller/yj-wip-rgwtoolsadderrnostr
rgw: ext_mime_map_init add string describing for error number
lgtm (build verified)
Matt Benjamin [Tue, 21 Jun 2016 19:59:18 +0000 (15:59 -0400)]
automake, ssl: real openssl detection, fix ssl linkage w/NSS
This change mainly intends to prevent linking with libssl when the
crypto provider is NSS, which provides an SSL implementation (the
implementation we must use and prefer when NSS is selected).
Secondarily, actually detect openssl when it is selected, which
happens by default and co-selects with cryptopp. To do this, we
import the ax_check_openssl.m4 from the automake archive.
Since upstream builds now prefer NSS crypto, make this the default.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Mon, 20 Jun 2016 21:21:53 +0000 (17:21 -0400)]
cmake: rework NSS and SSL
The cmake build should select NSS or CryptoPP consistently with
current autoconf logic, as used in our RHEL builds (-DWITH_NSS),
and the SSL linkage must match (for NSS, -lssl3).
With this change, there is no direct linkage with libssl when NSS
is selected (I still see indirect linkage via libcurl, in turn
via libssh2, looking into that).
With guidance from upstream and downstream, NSS builds are now
selected by default.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
Matt Benjamin [Wed, 29 Jun 2016 15:50:50 +0000 (11:50 -0400)]
Merge pull request #9851 from cbodley/wip-rgw-tombstone-pgver
rgw: add pg_ver to tombstone_cache
Kefu Chai [Wed, 29 Jun 2016 14:52:48 +0000 (22:52 +0800)]
Merge pull request #9995 from tchaikov/wip-cmake
cmake changes
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Kefu Chai [Wed, 29 Jun 2016 13:37:07 +0000 (21:37 +0800)]
cmake: build install libcls_numops
test_cls_numops uses it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 29 Jun 2016 12:56:07 +0000 (20:56 +0800)]
cmake: install ceph_test_filestore_idempotent_sequence
run_seed_to.sh in task "filestore_idempotent" uses it
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 29 Jun 2016 13:20:28 +0000 (21:20 +0800)]
cmake: use full path for substitution and definitions
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 29 Jun 2016 07:49:26 +0000 (15:49 +0800)]
cmake: use CMAKE_POSITION_INDEPENDENT_CODE property instead of -fPIC
use the global setting of CMAKE_POSITION_INDEPENDENT_CODE instead of
hardwiring the CMAKE_C_FLAGS with -fPIC. this helps to reduce the
overhead of symbol resolution when user is using static libraries.
see
https://cmake.org/cmake/help/v2.8.11/cmake.html#variable:CMAKE_POSITION_INDEPENDENT_CODE
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 29 Jun 2016 06:47:52 +0000 (14:47 +0800)]
cmake: move librados.cc out of libradosstriper
NObjectIterator::__EndObjectIterator is a static member variable
whose destructor deletes a pointer. librados.cc is the source file that
defines __EndObjectIterator. before this change rados cli is linked
against libradosstriper and librados. both of them include librados.cc.
that's why the dtor is called twice, hence double free when the dso
is closed and the static variables are destructed. in this change,
the librados.cc is moved out of libradosstriper, RadosClient.cc,
RadosXattrIter.cc and IoCtxImpl.cc kept as the OBJECT library, as
libradostriper is accessing the non-public symbols defined by them.
Fixes: http://tracker.ceph.com/issues/16504
Signed-off-by: Kefu Chai <kchai@redhat.com>
Dan Mick [Fri, 24 Jun 2016 19:12:55 +0000 (12:12 -0700)]
run-make-check.sh: modprobe won't work on containers; not needed
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Sage Weil [Fri, 24 Jun 2016 20:35:30 +0000 (13:35 -0700)]
debian/rules: specify sysconf dir explicitly
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 23 Jun 2016 18:22:30 +0000 (14:22 -0400)]
CMakeLists: nss only, ignore cryptopp
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Fri, 20 May 2016 18:18:46 +0000 (02:18 +0800)]
debian/rules: build deb with cmake
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Wed, 29 Jun 2016 14:01:01 +0000 (10:01 -0400)]
Merge branch 'kraken'
Igor Fedotov [Wed, 29 Jun 2016 13:52:21 +0000 (16:52 +0300)]
os/bluestore: no need to use SIGNED varint encoding for bluestore_extent_ref_map_t offsets
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Igor Fedotov [Wed, 29 Jun 2016 13:41:58 +0000 (16:41 +0300)]
os/bluestore: apply small encoding for bluestore_onode_t:extents
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Kefu Chai [Fri, 20 May 2016 15:45:20 +0000 (23:45 +0800)]
debian/rules: package in a more debhelper way
this helps to keep the build rule simpler, and easier to customize
* -j$(NUMJOBS) is taken care of by 'dh --parallel'
* use 'autoreconf' dh add-on to autoconf cleanup
* add dh-autoreconf to Build-Depends
* bump debhelper compatibility level to 8, as jewel's supported
debian based distro is jessie (with debhelper 9.
20150101 ),
ubuntu trusty (with debhelper 9.20131227ubuntu1)
Signed-off-by: Kefu Chai <kchai@redhat.com>
xie xingguo [Wed, 29 Jun 2016 07:41:16 +0000 (15:41 +0800)]
client: kill compiling warning
The 'done' lable is not appliable any more.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
weiqiaomiao [Wed, 29 Jun 2016 06:48:45 +0000 (14:48 +0800)]
rgw: remove unused bufferlist
Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
Kefu Chai [Wed, 29 Jun 2016 06:21:03 +0000 (14:21 +0800)]
Merge pull request #9992 from yuyuyu101/wip-fix-rebase
msg/async: add "queue_reset" argument
this fixes the broken build
Reviewed-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Wed, 29 Jun 2016 05:56:39 +0000 (13:56 +0800)]
msg/async: add "queue_reset" argument
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Wed, 29 Jun 2016 05:52:52 +0000 (13:52 +0800)]
Merge pull request #9991 from stiopaa1/msg_asyncmess_moveCProcessorAccept_class
msg/AsyncMessenger: move C_processor_accept class
Reviewed-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Wed, 29 Jun 2016 05:47:28 +0000 (13:47 +0800)]
Merge pull request #9783 from yuyuyu101/wip-16366
msg/async: Support close idle connection feature
xie xingguo [Tue, 28 Jun 2016 01:55:05 +0000 (09:55 +0800)]
os/bluestore: promote output to derr if out of memory
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sun, 26 Jun 2016 04:07:53 +0000 (12:07 +0800)]
os/bluestore: make block array of test_bmap_alloc self-adapting
So we are be able change total_blocks or zone_size flexibly and
thus append more test cases.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Sun, 26 Jun 2016 03:37:47 +0000 (11:37 +0800)]
os/bluestore: fix memory leak during bit alloc ut
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Haomai Wang [Tue, 28 Jun 2016 14:33:25 +0000 (22:33 +0800)]
Revert "msg/AsyncMessenger: move Worker class to cc file"
This reverts commit
23d4488e376de8f1a5c369365d91021ee8c9a324 .
Haomai Wang [Tue, 28 Jun 2016 04:11:13 +0000 (12:11 +0800)]
msg/async/Event: change to use pthread_t to indicate whether the same thread
thread_local has problem in TmapMigratePP.DataScan case that it will be
assigned to zero unexpectedly.
pthread_t is much cheaper than gettid since it's a library implementation.
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Sun, 26 Jun 2016 15:07:18 +0000 (23:07 +0800)]
msg/async/AsyncConnection: avoid dup RETRYGLOBAL sending
if two accept all going to dispatch RETRYGLOBAL sending, it will cause
invalid connect side receiver.
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Sun, 19 Jun 2016 16:03:03 +0000 (00:03 +0800)]
msg/async/Event: don't execute inline if nonwait
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Sat, 28 May 2016 15:03:33 +0000 (23:03 +0800)]
Event: change submit_to related to cephcontext
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Sat, 4 Jun 2016 14:57:34 +0000 (22:57 +0800)]
Event: avoid multi global conflict
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Fri, 27 May 2016 03:31:38 +0000 (11:31 +0800)]
AsyncMessenger: remove extra release_worker path
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Thu, 26 May 2016 02:25:16 +0000 (10:25 +0800)]
AsyncConnection: ensure delay_state empty when building a new session
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Wed, 25 May 2016 09:55:04 +0000 (17:55 +0800)]
AsyncConnection: make delete_time_event async
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Wed, 25 May 2016 04:29:29 +0000 (12:29 +0800)]
perf_local: fix api adjust
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Wed, 25 May 2016 02:24:13 +0000 (10:24 +0800)]
Event: change id to idx
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Wed, 25 May 2016 02:07:18 +0000 (10:07 +0800)]
AsyncConnection: execute existing fault in another
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Wed, 25 May 2016 01:45:52 +0000 (09:45 +0800)]
Event: add submit_to apis
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Wed, 25 May 2016 01:42:14 +0000 (09:42 +0800)]
AsyncConnection: add EventCenter id
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Wed, 25 May 2016 01:36:35 +0000 (09:36 +0800)]
AsyncConnection: move delete timers to cleanup handler
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Tue, 24 May 2016 17:24:04 +0000 (01:24 +0800)]
test_msgr: add connection read timeout tests
Signed-off-by: Haomai Wang <haomai@xsky.com>
Haomai Wang [Tue, 24 May 2016 17:22:47 +0000 (01:22 +0800)]
AsyncConnection: add tick timer
Signed-off-by: Haomai Wang <haomai@xsky.com>