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
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
Kefu Chai
2bebfa4b25
Merge pull request #10478 from wjwithagen/wip-wjw-freebsd-cmake-excludes
...
src/CMakeLists.txt: remove unneeded libraries from ceph-dencoder target
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-10 11:33:40 +08:00
Kefu Chai
0d41383887
Merge pull request #10568 from tchaikov/wip-cmake
...
cmake: specify distutils build path explicitly
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2016-08-10 10:39:25 +08:00
Kefu Chai
f4085aab91
Merge pull request #10455 from wjwithagen/wip-wjw-clang-NULL
...
src/kv/MemDB.cc: the type of the parameter of push_back() does not match the ops's value_type
Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-10 10:35:59 +08:00
Kefu Chai
bb163e98c0
cmake: specify distutils build path explicitly
...
so we don't need to replicate the logic in distutils/command/build.py
at different places.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-10 09:58:22 +08:00
Casey Bodley
253f28556c
Merge pull request #10635 from linuxbox2/rgw-file-aiee
...
rgw_file: unlock() must precede out label
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-09 14:54:39 -04:00
Matt Benjamin
9f64f34e48
rgw_file: unlock() must precede out label
...
In lookup_handle(...).
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-08-09 14:24:24 -04:00
Josh Durgin
2f460b7b50
Merge pull request #10623 from tchaikov/wip-16940
...
admin/build-doc: bypass sanity check if building doc
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-08-09 08:35:24 -07:00
Kefu Chai
14f105c908
Merge pull request #10417 from wjwithagen/wip-wjw-freebsd-clang
...
changes for Clang and yasm
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-09 22:55:45 +08:00
Casey Bodley
aef59d5538
Merge pull request #10232 from weiqiaomiao/wqm-wip-rgw-cleanbl
...
rgw:clean unuse bufferlist
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-09 09:43:28 -04:00
Mykola Golub
67b86b8c77
Merge pull request #10613 from dillaman/wip-16956
...
rbd-mirror: potential assertion failure during error-induced shutdown
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-08-09 16:18:49 +03:00
John Spray
b6d6fdfd01
Merge pull request #10622 from xiexingguo/xxg-wip-kill-cephfs-warn
...
libcephfs: kill compiling warning
Reviewed-by: John Spray <john.spray@redhat.com>
2016-08-09 12:13:16 +01:00
Nathan Cutler
1ab77924df
Merge pull request #9744 from SUSE/wip-16345
...
rpm: fix shared library devel package names and dependencies
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2016-08-09 11:18:24 +02:00
Kefu Chai
133d2f9fb4
admin/build-doc: s/iquote /iquote/
...
currently this works fine, but we ran into this problem before. and
technically "-iquote<dir>" is the valid syntax, and "-iquote <dir>"
is not. see https://gcc.gnu.org/onlinedocs/gcc/Directory-Options.html
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-09 17:08:45 +08:00
Kefu Chai
333877023e
doc,pybind: bypass sanity check if building doc
...
the empty .so file does not compile at all, so we need to bypass the
sanity check, if we are building docs. and what sphinx needs is just the
docstrings.
Fixes: http://tracker.ceph.com/issues/16940
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-09 17:08:45 +08:00
Kefu Chai
2c7ec0730e
Merge pull request #10612 from tchaikov/wip-16955
...
test/ceph_test_msgr: fix circular locking dependency
Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-08-09 17:08:44 +08:00
Kefu Chai
ad2c64fc28
Merge pull request #10620 from dachary/wip-16961-subman
...
subman: use replace instead of format
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-09 16:50:26 +08:00
xie xingguo
954a999e22
libcephfs: kill compiling warning
...
As below:
/home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1499:20: warning: ‘struct flock’ declared inside parameter list [enabled by default]
Fh *fh, struct flock *fl, uint64_t owner);
^
/home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1499:20: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
/home/jenkins-build/build/workspace/ceph-pull-requests/src/include/cephfs/libcephfs.h:1501:20: warning: ‘struct flock’ declared inside parameter list [enabled by default]
Fh *fh, struct flock *fl, uint64_t owner, int sleep);
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-08-09 16:34:21 +08:00
Loic Dachary
b006c13676
subman: use replace instead of format
...
Otherwise all {} are assumed to be substituted. Add a test.
Fixes: http://tracker.ceph.com/issues/16961
Signed-off-by: Loic Dachary <ldachary@redhat.com>
2016-08-09 10:20:05 +02:00
Kefu Chai
a9a5bbe0b1
Merge pull request #10454 from SUSE/wip-quick-start
...
doc: add openSUSE instructions to quick-start-preflight
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-09 11:22:21 +08:00
weiqiaomiao
0a6e8486a9
rgw:clean unuse bufferlist
...
Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
2016-08-09 08:44:26 +08:00
Yuri Weinstein
aa5ef1dc1a
Merge pull request #10526 from xiexingguo/xxg-wip-misc-2016-07-30
...
osd: minor performance improvements and fixes
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-08-08 16:25:07 -07:00
Yuri Weinstein
94b5837b59
Merge pull request #10548 from xiexingguo/xxg-wip-osd-2016-08-02
...
osd: more cleanups
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-08-08 16:24:16 -07:00
Yuri Weinstein
9efb0187ed
Merge pull request #10559 from xiexingguo/xxg-wip-osd-2016-08-03
...
osd: drop unused variables/methods
Reviewed-by: Samuel Just <sjust@redhat.com>
2016-08-08 16:23:46 -07:00
Nathan Cutler
d566b96ed1
doc: add openSUSE instructions to quick-start-preflight
...
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-08-08 22:59:40 +02:00
Casey Bodley
28d5af49ca
Merge pull request #10212 from rzarzynski/wip-rgw-cleanup-auth
...
rgw: clean-up in the authentication infrastructure
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 15:32:31 -04:00
Casey Bodley
0fd8ad868c
Merge pull request #10233 from weiqiaomiao/wqm-wip-ver_check
...
rgw: fix wrong variable definition in cls_version_check func
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 15:30:22 -04:00
Nathan Cutler
aadc9ae139
Merge pull request #10594 from michelmno/forpull2
...
rpm: ExclusiveArch for suse_version
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-08-08 20:56:10 +02:00
Casey Bodley
f51f33b6cf
Merge pull request #10122 from Yan-waller/yj-wiph-rgwradoscc-0704
...
rgw: fix the missing return value
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 14:51:28 -04:00
Casey Bodley
b6efcebb6e
Merge pull request #10194 from Yan-waller/yj-wip-rgwrados-0708
...
rgw: remove unused bufferlist variable
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 14:46:27 -04:00
Casey Bodley
29ff40ecd3
Merge pull request #10203 from Yan-waller/yj-wip-rgwcache-0708
...
rgw: merge setting flags operation together and cleanups
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 14:45:48 -04:00
Casey Bodley
3ab63045df
Merge pull request #10214 from theanalyst/rgw/multisite-fwd-log-cleanup
...
rgw: drop create_bucket in fwd_request log message
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 14:42:32 -04:00
Casey Bodley
a11a93191c
Merge pull request #10226 from Yan-waller/yj-wip-rgwrests3-0709
...
rgw: use the standard usage of string.find
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 14:41:39 -04:00
Jason Dillaman
6a465d9dad
rbd-mirror: potential assertion failure during error-induced shutdown
...
Fixes: http://tracker.ceph.com/issues/16956
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-08 14:41:00 -04:00
Casey Bodley
39629678ec
Merge pull request #10299 from Yan-waller/yj-wiph-rgwmetadata-0715
...
rgw: miscellaneous cleanups
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 14:35:48 -04:00
Casey Bodley
0e0c38da7e
Merge pull request #10408 from weiqiaomiao/wqm-wip-rgw-lc-set
...
rgw: fix wrong variable definition in rgw_cls_lc_set_entry function
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 14:34:25 -04:00
Casey Bodley
7a7dad82a2
Merge pull request #10562 from aclamk/wip-rgw-s3-keystone-cache-mutex
...
rgw: Got rid of recursive mutex.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 14:26:29 -04:00
Casey Bodley
5d7486dc34
Merge pull request #10424 from theanalyst/rgw/mp-complete-error-msg
...
rgw: log mp upload failures due to parts mismatch
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 14:25:20 -04:00
Casey Bodley
9852b0c502
Merge pull request #10475 from yonghengdexin735/wip-zzz-rgw
...
rgw/rgw_main: fix unnecessary variables defined
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 14:14:35 -04:00
Casey Bodley
d565e8904e
Merge pull request #10589 from Yan-waller/yj-wip-rgwcls-0805
...
rgw: remove unused variables
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 14:08:37 -04:00
Casey Bodley
491d0ce5a2
Merge pull request #10611 from linuxbox2/rgw-nfs-28
...
Rgw nfs 28
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-08-08 13:56:27 -04:00
Kefu Chai
a9a89e59bc
test/ceph_test_msgr: better looking log
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-09 00:12:11 +08:00
Kefu Chai
7d7f9b300b
test/ceph_test_msgr: fix a mem leak
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-09 00:12:11 +08:00
Kefu Chai
cf1801c260
test/ceph_test_msgr: fix circular locking dependency
...
* do not acquire lock when sending message
* remove lock in session
* reduce the scope guarded by locks for better performance.
Fixes: http://tracker.ceph.com/issues/16955
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-09 00:12:11 +08:00
Matt Benjamin
b4d079f2b5
rgw nfs: fix write continuations
...
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-08-08 11:11:51 -04:00
Matt Benjamin
d74d46170d
rgw nfs: don't leak fh->mtx in lookup_handle()
...
This change fixes a serious latent locking problem, noticed after
updating the ganesha/rgw driver invalidation after renames.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-08-08 11:11:35 -04:00
Matt Benjamin
297220fd2a
rgw file: refuse to rename directories
...
The representation of paths as an aggregate involving any
number of objects argues against ever permitting such
operations.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-08-08 10:18:35 -04:00
Matt Benjamin
34224ecd83
rgw_file: refuse ops on deleted targets
...
Detect these illegal cases, as they are indicate various incorrect
behaviors/bugs.
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-08-08 10:17:13 -04:00
Kefu Chai
3d00b3558c
Merge pull request #10598 from dillaman/wip-16882
...
cmake: correct ceph_test_librbd/ceph_test_rbd_mirror linkage
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-08 12:01:49 +08:00