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
Sage Weil
c44e61652f
os/bluestore: print bluefs_extents in hex
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-11 13:19:04 -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
Sage Weil
6f77e63b15
os/bluestore/BlueFS: do not op_file_update deleted files
...
Make truncate and preallocate no-op if the file has been
deleted. Otherwise we may get an op_file_update *after*
the op_file_remove in the log, confusing replay.
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-11 12:28:57 -04: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
15c761cac0
os/bluestore/bluefs_types: fix extent operator<<
...
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-11 12:18:54 -04: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
Oleh Prypin
7304268465
rpm: Add packages for Python 3 bindings
...
Signed-off-by: Oleh Prypin <oleh@pryp.in>
2016-08-11 16:36:57 +03:00
Oleh Prypin
d91d89b718
debian: Add packages for Python 3 bindings
...
Signed-off-by: Oleh Prypin <oleh@pryp.in>
2016-08-11 16:36:57 +03:00
Oleh Prypin
a1347086f8
pybind: Make ceph_volume_client's syntax compatible with Python 3
...
(just so it passes the bytecompilation step)
Signed-off-by: Oleh Prypin <oleh@pryp.in>
2016-08-11 16:36:57 +03:00
Oleh Prypin
5683a8259b
cmake: Also build Python bindings for Python 3
...
Signed-off-by: Oleh Prypin <oleh@pryp.in>
2016-08-11 16:36:57 +03: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
Shylesh Kumar
aab9d03e1b
ceph-disk: change ownership of init file to ceph:ceph
...
Fixes: http://tracker.ceph.com/issues/16280
Signed-off-by: Shylesh Kumar <shmohan@redhat.com>
2016-08-11 17:28:04 +05:30
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
Chengwei Yang
82e928c6a3
doc: fix rbd map format in rbd manpage
...
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2016-08-11 09:19: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