Jason Dillaman
7cfedb54ea
librbd: fix possible inconsistent state when disabling mirroring
...
Fixes: http://tracker.ceph.com/issues/16984
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-12 09:52:21 -04:00
Kefu Chai
c5ec1cfe1a
Merge pull request #10621 from tchaikov/wip-doc
...
doc: silence sphinx warnings
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2016-08-12 13:21:36 +08:00
Kefu Chai
ccdd566209
Merge pull request #10701 from dx9/wip-run-make-cmake-args
...
run-make-check.sh: pass args to do_cmake.sh
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-12 11:17:23 +08:00
John Coyle
a40815a4d5
run-make-check.sh: pass args to do_cmake.sh
...
Signed-off-by: John Coyle <dx9err@gmail.com>
2016-08-11 20:11:40 -04:00
John Wilkins
5621a9ca4c
Lowered third example to keep PG count lower.
...
Signed-off-by: John Wilkins <jowilkin@redhat.com>
2016-08-11 14:41:54 -07:00
Casey Bodley
ec8e11f7fb
Merge pull request #10638 from linuxbox2/rgw-nfs-31
...
rgw file: remove busy-wait in RGWLibFS::gc()
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-11 15:33:17 -04:00
Matt Benjamin
ca33241286
rgw file: remove busy-wait in RGWLibFS::gc()
...
This is a background thread. However, CPU is wasted.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-08-11 14:02:52 -04:00
Ali Maredia
ec24ff0cee
Merge pull request #10670 from ceph/wip-cmake
...
cmake: cleanup Findgperftools.cmake
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-08-11 13:00:22 -04:00
Josh Durgin
004a8dd0df
Merge pull request #10632 from ryneli/fix_ceph_buffer_list
...
librados: use bufferlist instead of buffer::list in public header
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-08-11 09:57:42 -07:00
Kefu Chai
07a524f205
Merge pull request #10633 from dx9/wip-sig
...
global/signal_handler: use sig_str instead of sys_siglist
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-12 00:20:33 +08:00
Sage Weil
3f95d6eab4
Merge pull request #10634 from dx9/wip-bit-allocator
...
bluestore/BitAllocator: Fix deadlock with musl libc
Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-11 12:17:54 -04:00
Kefu Chai
addbaf38cf
Merge pull request #10675 from chiehtu/fix-16996
...
doc: fix broken link in SHEC erasure code plugin
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-12 00:14:40 +08:00
Sage Weil
894a3fa1e4
os/bluestore: fix whitespace
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-11 11:54:15 -04:00
Sage Weil
3111eb629f
Merge pull request #10215 from ifed01/wip-bluestore-blob-release-fix
...
os/bluestore: refactor dirty blob tracking along with some related fixes
Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-11 11:50:34 -04:00
Sage Weil
5a84b78d24
Merge pull request #10680 from ifed01/wip-bluestore-somefix
...
os/bluestore: fix improper local var variable in collection_list meth…
Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-11 09:22:14 -05:00
Igor Fedotov
e06e508df1
os/bluestore: fix improper local var variable in collection_list method causing StoreTest.Synthetic to fail.
...
Signed-off-by: Igor Fedotov <ifed@mirantis.com>
2016-08-11 17:18:42 +03:00
Sage Weil
ed73bbef54
Merge pull request #10493 from Yan-waller/yj-wip-librados-0728
...
rados/client: fix typo
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-11 09:09:57 -05:00
Matt Benjamin
3ea2900bd0
Merge pull request #10669 from cbodley/wip-rgw-ldap-auth
...
rgw: fix for s3tests failure when ldap auth is not applied
2016-08-11 10:07:15 -04:00
Casey Bodley
014cb50937
rgw: don't overwrite auth result if ldap is not applicable
...
this was causing the following s3tests failure:
======================================================================
FAIL: s3tests.functional.test_s3.test_list_buckets_invalid_auth
----------------------------------------------------------------------
AssertionError: u'AccessDenied' != 'InvalidAccessKeyId'
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-08-11 09:34:37 -04:00
Mykola Golub
b1180740fe
Merge pull request #10667 from dillaman/wip-16980
...
rbd-mirror: potential race condition during failure shutdown
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-08-11 16:04:26 +03:00
Igor Fedotov
6beade75b5
os/bluestore: collect 'dirty' blobs on per-transaction basis to avoid onode::blob_map enumeration
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-08-11 14:28:02 +03:00
Igor Fedotov
2c92476659
os/bluestore: migrate to refcounting for Blob class instances
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-08-11 14:28:02 +03:00
Igor Fedotov
0c86ed42f5
os/bluestore: remove internal structures from Bluestore.h
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-08-11 14:28:02 +03:00
Igor Fedotov
1a5ed2b910
os/blueStore: fix discard_unallocated for compressed blob
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-08-11 14:28:02 +03:00
Kefu Chai
9bcc3aa7aa
Merge pull request #10486 from badone/wip-double-free-global-static-test
...
tests: Add test for global static non-POD segfault
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-11 17:13:11 +08:00
Albert Tu
7fca0e5036
doc: fix broken link in SHEC erasure code plugin
...
Fixes: http://tracker.ceph.com/issues/16996
Signed-off-by: Albert Tu <albert.t@inwinstack.com>
2016-08-11 16:15:51 +08:00
Kefu Chai
5d9debd57d
cmake: cleanup Findxio.cmake
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-11 14:53:03 +08:00
Kefu Chai
96fdb6914a
cmake: cleanup Findleveldb.cmake
...
* and reference leveldb library and include dir with fullpath
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-11 14:53:02 +08:00
Mykola Golub
f7bfba8060
Merge pull request #10629 from ceph/dillaman-rbd-glance-docs
...
doc: update rbd glance configuration notes
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-08-11 09:16:46 +03:00
Mykola Golub
c6e561a538
Merge pull request #10627 from dillaman/wip-16970
...
rbd-mirror: replaying state should include flush action
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-08-11 09:15:38 +03:00
Kefu Chai
6c12edbf9d
cmake: cleanup Findgperftools.cmake
...
* remove Findtcmalloc.cmake, use Findgperftools.cmake instead.
* tcmalloc is packaged in gperftools-dev, so we can check them in a single
place.
* fix the check of heap-profiler.h, we should enable the check as long
as tcmalloc is enabled or profiler is enabled.
* only check gperftools headers in "include/gperftools", and do not
"include/google" anymore. as we only support the distros which
shipping recent gperftools-dev package with "include/gperftools".
and "google/*.h" are deprecated.
* set ALLOC_LIBS with GPERFTOOLS_TCMALLOC_LIBRARY, so we can link
against tcmalloc with full path.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-11 14:06:39 +08:00
Ryne Li
b5a2c1b43e
librados: use bufferlist instead of buffer::list
...
Signed-off-by: Ryne Li <lizhenqiangsnake@gmail.com>
2016-08-10 18:09:31 -04:00
Sage Weil
f440aec1ba
Merge pull request #10410 from xiexingguo/xxg-wip-bluestore-2016-07-23
...
os/bluestore: narrow lock scope for cache trim()
Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-10 17:42:18 -04:00
Sage Weil
7e19d0e728
Merge pull request #10362 from xiexingguo/xxg-wip-bluefs-2016-07-20
...
os/bluestore: fix potential access violation
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-08-10 17:06:54 -04:00
Jason Dillaman
74ec7c91f1
rbd-mirror: potential race condition during failure shutdown
...
Fixes: http://tracker.ceph.com/issues/16980
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-10 14:19:10 -04:00
Casey Bodley
fa127898c7
Merge pull request #10425 from theanalyst/rgw/sync-paren-warn
...
rgw: kill a compile warning for rgw_sync
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-10 14:12:00 -04:00
Kefu Chai
ffe2c05de3
Merge pull request #10666 from ceph/wip-cmake
...
cmake: install platlib into a subdir of build-base dir
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-08-11 01:32:24 +08:00
Abhishek Lekshmanan
831640bb46
rgw: kill a compile warning for rgw_sync
...
killing the compile warning for
```
/ceph/src/rgw/rgw_sync.cc:1462:12:
warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (can_adjust_marker) yield {
^
```
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-08-10 18:33:27 +02:00
John Spray
f83da172e0
Merge pull request #10640 from vmcloud/libcephfs_jni_overflow
...
libcephfs: Fix the incorrect integer conversion in libcephfs_jni.cc
Reviewed-by: Noah Watkins <noahwatkins@gmail.com>
2016-08-10 17:17:51 +01:00
Kefu Chai
5444721b1d
cmake: install platlib into a subdir of build-base dir
...
distutils' install command installs all stuff under $build-base, which
includes the temporary files. and rpm packaging does not like::
Installed (but unpackaged) file(s)
and to support both py2 and py3, we should encode the python version
into the path, otherwise the built files will be overwritten.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-11 00:14:17 +08:00
Casey Bodley
8662d77237
Merge pull request #10602 from smanjara/wip-16935
...
rgw: raise log levels for common radosgw-admin errors
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-10 11:33:08 -04:00
Casey Bodley
d89873b076
Merge pull request #10110 from Yan-waller/yj-wip-rgwrados-0702
...
rgw: remove possible duplicate setting
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-10 11:00:21 -04:00
Jason Dillaman
02d91db7b6
Merge pull request #9585 from vshankar/wip-15321
...
librbd: asynchronous v2 image creation
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-08-10 09:56:02 -04:00
Jason Dillaman
a10dddc439
Merge pull request #10034 from VictorDenisov/consistency_groups_images
...
librbd: add consistency groups operations with images
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-08-10 09:54:59 -04:00
Jason Dillaman
593558f27b
doc: update rbd glance configuration notes
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-10 09:48:46 -04:00
Kefu Chai
c805ab35e8
Merge pull request #10643 from tchaikov/wip-cmake
...
cmake: fix wrong path introduced by bb163e9
Reviewed-by: Oleh Prypin <oleh@pryp.in>
2016-08-10 17:26:08 +08:00
Kefu Chai
2209a8c68f
Merge pull request #10557 from wjwithagen/wip-wjw-test-onexit
...
test: More portable use of mmap(MAP_ANON)
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-10 16:47:20 +08:00
Kefu Chai
300aedd8a6
cmake: fix wrong path introduced by bb163e9
...
s/CYTHON_MODULE_LIB/CYTHON_MODULE_DIR/
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-10 15:59:30 +08:00
Shilpa Jagannath
8ff2b8e71a
rgw: raise log levels for common radosgw-admin errors
...
Currently while running radosgw-admin command we see these messages thrown at
the endusers since debug level is set to 0:
2016-08-02 14:48:28.687251 7f9e630639c0 0 Cannot find zone
id=7a2a89b9-4f5e-4f60-a29e-451ac9acc5a8 (name=us-west), switching to local
zonegroup configuration
2016-08-02 14:48:35.742185 7f9e630639c0 0 error read_lastest_epoch
.rgw.root:periods.a3db7884-2445-4bab-a165-6730f8573b8f:staging.latest_epoch
Raising the log level to 1.
Fixes: http://tracker.ceph.com/issues/16935
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
2016-08-10 12:17:43 +05:30
Kefu Chai
0911db3b73
Merge pull request #9848 from dx9/wip-ac-boost
...
configure.ac: add _LIBS variables for boost_system and boost_iostreams
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-10 12:07:02 +08:00