Commit Graph

56853 Commits

Author SHA1 Message Date
Josh Durgin
0b84e0d45d Merge pull request #10376 from onyb/wip-rbd-pypi
pybind: Rework rbd/setup.py for PyPI

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-08-16 00:05:24 -07:00
weiqiaomiao
ea5d7fdd7f rgw: fix radosgw daemon core when reopen logs
the rgw_user_st_syn thread use the pointer meta_mgr in RGWUserStatsCache::sync_all_users() fuction, so we should close the thread before delete the pointer in RGWRados::finalize() function when close storage before reopen_logs.

Fixes: http://tracker.ceph.com/issues/17036

Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
2016-08-16 14:39:45 +08:00
Jason Dillaman
d8e7946fff librbd: always respond to "release lock" request if lock owner
Fixes: http://tracker.ceph.com/issues/17030
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-15 17:37:30 -04:00
Dan Mick
1506199721 Merge pull request #10709 from cgwalters/doc-use-https-for-repos
doc/install: Use https:// for download.ceph.com

Reviewed-by: Dan Mick <dmick@redhat.com>
2016-08-15 12:44:22 -07:00
Jason Dillaman
4e05cbf7e6 doc: added rbdmap man page to RBD restructured index
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-15 14:10:27 -04:00
Jason Dillaman
51237c33d1 rbdmap: specify bash shell interpreter
Fixes: http://tracker.ceph.com/issues/16608
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-15 14:07:43 -04:00
Casey Bodley
7fc89e1359 Merge pull request #10596 from cbodley/wip-rgw-period-puller
rgw multisite: fixes for period puller
2016-08-15 14:02:28 -04:00
Orit Wasserman
e71894660d Merge pull request #10330 from rzarzynski/wip-rgw-objdeler-fixes
rgw: multiple fixes for Swift's object expiration
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-08-15 17:01:48 +02:00
Kefu Chai
f468c73b6b Merge pull request #10619 from chengweiv5/fix-doc
doc: fix rados/configuration/osd-config-ref.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-15 23:00:02 +08:00
Casey Bodley
612b075f83 Merge pull request #10138 from Yan-waller/yj-wip-rgwrados-0705
rgw: fix the error return variable in log message and cleanups

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-15 10:39:05 -04:00
Loic Dachary
13c773522a Merge pull request #10729 from SUSE/wip-rnotes-script-regex
script: improve ceph-release-notes regex

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-08-15 14:30:09 +02:00
Jason Dillaman
89bc567220 Merge pull request #10705 from chengweiv5/doc-image-format
doc: format 2 now is the default image format

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-08-15 08:26:22 -04:00
Nathan Cutler
c20922ee5b script: improve ceph-release-notes regex
Tolerate multiple spaces after ':', remove duplicate "fs", add "log" and
"msgr".

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-08-15 14:25:03 +02:00
Jason Dillaman
1ef143d440 librbd: fix possible memory leak when image open fails
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-15 07:48:01 -04:00
xie xingguo
7091268cfa bluestore: initialize csum_order properly
To kill the following warning:

In file included from /home/jenkins-build/build/workspace/ceph-pull-requests/src/os/bluestore/BlueStore.h:39:0,
                 from /home/jenkins-build/build/workspace/ceph-pull-requests/src/os/bluestore/BlueStore.cc:22:
/home/jenkins-build/build/workspace/ceph-pull-requests/src/os/bluestore/bluestore_types.h: In member function ‘int BlueStore::_do_alloc_write(BlueStore::TransContext*, BlueStore::WriteContext*)’:
/home/jenkins-build/build/workspace/ceph-pull-requests/src/os/bluestore/bluestore_types.h:558:29: warning: ‘csum_order’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     csum_chunk_order = order;
                             ^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/os/bluestore/BlueStore.cc:6145:14: note: ‘csum_order’ was declared here
     unsigned csum_order;

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-15 18:00:37 +08:00
Orit Wasserman
16c1a7d03a Merge pull request #10118 from weiqiaomiao/wqm-wip-bucketcreate
rgw: for the create_bucket api, if the input creation_time is zero, we should set it to 'now"
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-08-15 10:03:43 +02:00
Sage Weil
ea63a4e184 Merge pull request #10431 from ifed01/wip-bluestore-fix-csum-disable2
os/bluestore: proper handling for csum enable/disable settings

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-13 16:33:14 -04:00
Sage Weil
7ef03978a8 Merge pull request #10719 from stiopaa1/mon_pgmonitor_moveC_StatsStr
mon/PGMonitor: move C_Stats struct to cc file

Reviewed-by: Sage Weil <sage@redhat.com>
2016-08-13 12:56:27 -04:00
Josh Durgin
aaac836380 Merge pull request #10208 from BlaXpirit/cmake-py3
Include Python 3 bindings into the cmake build and make packages for them

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-08-12 16:30:35 -07:00
Jeff Layton
c160f71883 client: add a testcase for "/.." handling
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2016-08-12 18:48:19 -04:00
Jeff Layton
30d4ca01db client: don't use special faked-up inode for /..
The CEPH_INO_DOTDOT thing is quite strange. Under most OS (Linux
included), the parent of the root is itself. IOW, at the root, '.' and
'..' refer to the same inode.

Change the ceph client to do the same, as this allows users to get
valid stat info for '..', as well as elimnating some special-casing.

Also in several places, we're checking dn_set.empty as an indicator
of being the root. While that is true for the root, it's also true
for unlinked directories.

This patch has treats them the same. An unlinked directory will
be reparented to itself, effectively acting as a root of its own.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2016-08-12 18:48:12 -04:00
Michal Jarzabek
3ca6cc2200 mon/PGMonitor: move C_Stats struct to cc file
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-08-12 22:30:38 +01:00
Sage Weil
2844f44bfd Merge pull request #10685 from liewegas/wip-bluefs-extent
os/bluestore/bluefs_types: fix extent operator<<
2016-08-12 15:38:22 -04:00
Casey Bodley
dce782ce92 Merge pull request #10676 from Yan-waller/yj-wip-rgwdocmultisite
rgw/doc: fix indent

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-12 14:57:23 -04:00
Jason Dillaman
0891ede57c qa/workunits: support filtering cls_rbd unit test cases
Fixes: http://tracker.ceph.com/issues/16529
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-12 14:44:09 -04:00
Jason Dillaman
6afb884d75 librbd: permit disabling journaling if in corrupt state
Fixes: http://tracker.ceph.com/issues/16740
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-12 14:39:43 -04:00
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
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
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
Colin Walters
f2061d2d97 doc/install: Use https:// for download.ceph.com
While the Ceph RPMs etc. are GPG signed, there are various
attacks against signed RPMs without signed/trusted *metadata*
that are elaborated on in https://theupdateframework.github.io/

Since download.ceph.com handles it today, let's make it the default.
(Might want to run this by the server admins though).

Signed-off-by: Colin Walters <walters@verbum.org>
2016-08-12 09:09:28 -04:00
Jason Dillaman
113775eb58 rbd: bench io-size should not be larger than image size
Fixes: http://tracker.ceph.com/issues/16967
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-12 08:26:49 -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
Chengwei Yang
c8c92f8a2c doc: format 2 now is the default image format
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2016-08-12 17:44:16 +08:00
Oleh Prypin
5ff40313f9 cmake: Move Python detection back outside of pybind
Signed-off-by: Oleh Prypin <oleh@pryp.in>
2016-08-12 12:27:34 +03:00
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
Chengwei Yang
fed35dd37f doc: fix command format
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2016-08-12 13:23:15 +08: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
Chengwei Yang
e3b4126c11 doc: fix typo maximum -> minimal
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2016-08-12 13:20:16 +08:00
Chengwei Yang
cb2880a165 doc: replace cluster name with cluster-name to avoid confusing
Signed-off-by: Chengwei Yang <yangchengwei@qiyi.com>
2016-08-12 13:20:04 +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
Yan Jun
e001e67897 rgw/doc: fix typo and indent.
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
2016-08-12 09:28:43 +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