Commit Graph

56748 Commits

Author SHA1 Message Date
Jason Dillaman
73e4c65c80 librbd: new journal policy to disable initializing the journal
This will be used in the case where the journal is being disabled.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-12 14:39:43 -04:00
Matt Benjamin
41aa39f593 Merge pull request #10448 from pritha-srivastava/wip_s3_v2_localauth_rework
rgw: Rework of s3 v2 local authentication code.

verfied:  f23, subset of s3tests
2016-08-12 13:06:17 -04:00
Sage Weil
f8263dce3b Merge pull request #10449 from ifed01/wip-bluestore-bluestore-perfcnt
os/bluestore: add perf counters for compression effectiveness and space utilization measurements

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-12 11:03:54 -04:00
Orit Wasserman
b61ee467ec Merge pull request #10193 from yehudasa/wip-16435
rgw: fix issue 16435
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-08-12 16:22:20 +02:00
Sage Weil
44ad8c5541 Merge pull request #10706 from xiexingguo/xxg-wip-fix-mondbstore
mon/MonDBStore: fix assert which never fires

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-12 09:40:31 -04:00
Sage Weil
8bf851c4b3 Merge pull request #10704 from chhabaramesh/master
os/bluestore/BitAllocator: batch is_allocated bit checks

Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-08-12 09:38:39 -04:00
Sage Weil
5e36516bda Merge pull request #10689 from liewegas/wip-bluestore-hex-extents
os/bluestore: print bluefs_extents in hex

Reviewed-by: Varada Kari <varada.kari@sandisk.com>
2016-08-12 09:34:54 -04:00
Pritha Srivastava
b5b3e5c975 rgw: Rework of s3 v2 local authentication code.
The v2 local auth code has been reworked based on the new new authentication infrastructure.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
2016-08-12 17:53:55 +05:30
Ramesh Chander
47c5fb0062 batch is_allocated bit checks
Signed-off-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
2016-08-12 00:27:48 -07: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
xie xingguo
b6585573ee mon/MonDBStore: fix assert which never fires
The condition is always true and thus the assert never fires,
which is obvious not our plan.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-12 09:56:54 +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
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
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