]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Mykola Golub [Wed, 22 Jun 2016 11:55:51 +0000 (14:55 +0300)]
test: fix compilation warnings
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
John Spray [Wed, 22 Jun 2016 08:08:49 +0000 (09:08 +0100)]
Merge pull request #9813 from jcsp/wip-kernel-doc
doc/cephfs: add advice about kernel versions
Mykola Golub [Wed, 22 Jun 2016 06:50:46 +0000 (09:50 +0300)]
Merge pull request #9823 from dillaman/wip-16362
rbd-mirror: keep events from different epochs independent
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Josh Durgin [Tue, 21 Jun 2016 23:38:58 +0000 (16:38 -0700)]
Merge branch 'wip-dmick-install-deps-master'
install-deps.sh: use mk-build-deps instead of processing control
Reviewed-by: Erwan Velu <erwan@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Dan Mick [Thu, 24 Mar 2016 00:43:53 +0000 (17:43 -0700)]
install-deps.sh: use mk-build-deps instead of processing control
mk-build-deps is designed to handle installing build dependencies;
use that instead, so '|' indications are handled properly.
Signed-off-by: Dan Mick <dan.mick@redhat.com>
Casey Bodley [Tue, 21 Jun 2016 19:22:44 +0000 (15:22 -0400)]
Merge pull request #9791 from ceph/wip-cmake-compile-flags
cmake: Wip cmake compile flags
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Tue, 21 Jun 2016 19:21:33 +0000 (15:21 -0400)]
Merge pull request #9481 from yehudasa/wip-rgw-hold-lease-1
rgw: stop bucket lease only after draining object sync operations
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Ali Maredia [Fri, 17 Jun 2016 19:55:52 +0000 (15:55 -0400)]
cmake: CMAKE_BUILD_TYPE defaulted to RelWithDebInfo
Default build type is RelWithDebInfo unless
CMAKE_BUILD_TYPE is specified when running the
`cmake` command.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Mykola Golub [Tue, 21 Jun 2016 18:59:28 +0000 (21:59 +0300)]
Merge pull request #9066 from yangdongsheng/rbd_bench
rbd: introduce a simple bench for read
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Ali Maredia [Fri, 17 Jun 2016 19:31:45 +0000 (15:31 -0400)]
cmake: eliminate FORTIFY_SOURCE warnings
"-werr" was added to CHECK_C_COMPILER_FLAG to
make sure FORTIFY_SOURCE is only turned on if
the flag generates no warnings.
Added "-U_FORTIFY_SOURCE" to CMAKE_C_FLAGS to
mimic PR #9761.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Sage Weil [Tue, 21 Jun 2016 17:30:53 +0000 (13:30 -0400)]
Merge pull request #9728 from liewegas/wip-bluestore-encoding
os/bluestore: space efficient int encoding
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Jason Dillaman [Mon, 20 Jun 2016 15:41:31 +0000 (11:41 -0400)]
rbd-mirror: keep events from different epochs independent
Fixes: http://tracker.ceph.com/issues/16362
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 21 Jun 2016 16:37:47 +0000 (12:37 -0400)]
os/bluestore/bluestore_types: delta encode for ref_map offsets
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 19 Jun 2016 13:05:30 +0000 (09:05 -0400)]
os/bluestore: make blob csum info encoding conditional
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 19 Jun 2016 13:05:01 +0000 (09:05 -0400)]
os/bluestore: use FLAG_CSUM to indicate if checksums are present
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 19 Jun 2016 13:12:09 +0000 (09:12 -0400)]
os/bluestore: fsck: print intervals in hex
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 19 Jun 2016 13:02:18 +0000 (09:02 -0400)]
os/bluestore: use varint for pextent count
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 19 Jun 2016 10:29:40 +0000 (06:29 -0400)]
os/bluestore: varint or lba encode pextent, lextent, ref_map, onode
Certainly not done here, but this is a start.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 18 Jun 2016 16:54:10 +0000 (12:54 -0400)]
include/small_encoding: small encode/decode helpers
Signed-off-by: Sage Weil <sage@redhat.com>
Mykola Golub [Tue, 21 Jun 2016 16:50:28 +0000 (19:50 +0300)]
Merge pull request #9819 from dillaman/wip-16363
librbd: fix lockdep issue when duplicate event detected
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Tue, 21 Jun 2016 16:49:37 +0000 (19:49 +0300)]
Merge pull request #9816 from dillaman/wip-16198
librbd: potential race when replaying journal ops
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Tue, 21 Jun 2016 16:48:47 +0000 (19:48 +0300)]
Merge pull request #9788 from dillaman/wip-16230
rbd-mirror: potential race condition accessing local image journal
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
John Spray [Tue, 21 Jun 2016 14:47:22 +0000 (15:47 +0100)]
Merge pull request #9787 from batrick/mds-rename-enotempty
mds: improve comments for ENOTEMPTY checks
Reviewed-by: John Spray <john.spray@redhat.com>
Sage Weil [Tue, 21 Jun 2016 14:26:06 +0000 (10:26 -0400)]
Merge pull request #9840 from xiexingguo/xxg-wip-fix-bmap-fm
os/bluestore: minor improvements for bitmap-freelist-manager
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 21 Jun 2016 13:55:01 +0000 (09:55 -0400)]
Merge pull request #9815 from xiexingguo/xxg-wip-fix-blue-cache
os/bluestore: cache relevant cleanups
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Sage Weil <sage@redhat.com>
xie xingguo [Tue, 21 Jun 2016 07:38:36 +0000 (15:38 +0800)]
os/bluestore: make bytes_per_key a global member
So we don't have to figure it out everywhere.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Tue, 21 Jun 2016 06:33:32 +0000 (14:33 +0800)]
os/bluestore: fix a typo(nonexistant->nonexistent)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 20 Jun 2016 12:16:33 +0000 (20:16 +0800)]
os/bluestore: simplify BufferSpace::read() a little
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 20 Jun 2016 12:02:41 +0000 (20:02 +0800)]
os/bluestore: simplify BufferSpace::read() a little
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 20 Jun 2016 10:56:51 +0000 (18:56 +0800)]
os/bluestore: change type of length of region_t from uint32_t to uint64_t
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
xie xingguo [Mon, 20 Jun 2016 10:52:51 +0000 (18:52 +0800)]
os/bluestore: add sanity check when try to rm_buffer
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
Sage Weil [Tue, 21 Jun 2016 13:31:00 +0000 (09:31 -0400)]
Merge pull request #9828 from liewegas/wip-bluestore-read-before-write
os/bluestore: limit read-amp on overwrite
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Sage Weil [Tue, 21 Jun 2016 13:30:18 +0000 (09:30 -0400)]
Merge pull request #9826 from liewegas/wip-bluefs
os/bluestore/BlueFS: instrument which file types we write to
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
Kefu Chai [Tue, 21 Jun 2016 10:53:37 +0000 (18:53 +0800)]
Merge pull request #9834 from tchaikov/wip-silence-warnings
test, bluestore: silence warnings
Reviewed-by: Ramesh Chander <Ramesh.Chander@sandisk.com>
Kefu Chai [Tue, 21 Jun 2016 10:17:25 +0000 (18:17 +0800)]
Merge pull request #9635 from liewegas/wip-make-dist
make-dist: include src/.git_version and src/ceph_ver.h
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 21 Jun 2016 09:02:21 +0000 (17:02 +0800)]
Merge pull request #9836 from dx9/wip-hardcoded-tcmalloc
cmake: fix hard coded tcmalloc lib
Reviewed-by: Kefu Chai <kchai@redhat.com>
John Coyle [Sat, 27 Feb 2016 19:20:22 +0000 (14:20 -0500)]
cmake: fix hard coded tcmalloc lib
Signed-off-by: John Coyle <dx9err@gmail.com>
Kefu Chai [Tue, 21 Jun 2016 00:46:18 +0000 (08:46 +0800)]
Merge pull request #9670 from ceph/wip-debian-clean
debian: silence couple warnings
Reviewed-by: Dan Mick <dmick@redhat.com>
Kefu Chai [Mon, 20 Jun 2016 23:18:35 +0000 (07:18 +0800)]
bluestore/BitAllocator: silence warnings of method hidden
is_allocated(int64_t *blocks, int64_t num_blocks, int blk_off) only gets
called in BitMapAreaIN and its child classes. so it's safe to move this
method down to BitMapAreaIN.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Mon, 20 Jun 2016 22:52:37 +0000 (06:52 +0800)]
ceph_test_objectstore: remove unused function
its caller was removed in
8a42e61
Signed-off-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 20 Jun 2016 21:28:16 +0000 (17:28 -0400)]
Merge pull request #9832 from ceph/wip-cmake-librbd-unittest-fix
cmake: unittest_librbd missing a source file
Ali Maredia [Mon, 20 Jun 2016 21:23:37 +0000 (17:23 -0400)]
cmake: unittest_librbd missing a source file
src/test/librbd/test_ConsistencyGroups.cc missing
from ${unittest_librbd_srcs}.
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Casey Bodley [Mon, 20 Jun 2016 20:11:51 +0000 (16:11 -0400)]
Merge pull request #9531 from yehudasa/wip-16175
rgw: data sync debug logging
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Mon, 20 Jun 2016 19:58:04 +0000 (15:58 -0400)]
Merge pull request #9676 from efirs/fix_bitmap_freelist
os/bluestore: Fix enumeration when only single key in BitmapFreelistManager
Sage Weil [Mon, 20 Jun 2016 18:59:54 +0000 (14:59 -0400)]
os/bluestore/BlueFS: instrument which file types we write to
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 20 Jun 2016 19:22:51 +0000 (15:22 -0400)]
os/bluestore: limit read-amp on overwrite
If we are doing a small overwrite over a blob with a large chunk size
(say, due to a large csum order), we are better off writing into a new
allocation than doing a large read/modify/write. If the read amp will be
more than min_alloc_size, skip the read entirely and write into a new
blob.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 20 Jun 2016 19:57:02 +0000 (15:57 -0400)]
test: remove remaining references to compression_dir
Removed in
38c7f4a06673e4806d327931744338a7393b45ef
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 20 Jun 2016 19:27:10 +0000 (15:27 -0400)]
Merge pull request #9829 from ceph/wip-cmake-readme
cmake: updated CMake README instructions
Sage Weil [Mon, 20 Jun 2016 19:19:11 +0000 (15:19 -0400)]
Merge pull request #9814 from songbaisen/a11
mon: remove the repeat quorum size jugement
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 20 Jun 2016 19:16:57 +0000 (15:16 -0400)]
Merge pull request #9818 from ifed01/wip-zero-length-writes
os/store_test: uniform zero length writes handling
Reviewed-by: Sage Weil <sage@redhat.com>
Ali Maredia [Mon, 20 Jun 2016 19:15:09 +0000 (15:15 -0400)]
cmake: updated CMake README instructions
Updated testing and cluster start up instructions
for CMake in README.md
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Sage Weil [Mon, 20 Jun 2016 16:39:03 +0000 (12:39 -0400)]
Merge pull request #9605 from liewegas/wip-statfs
os: simplify store_statfs_t
Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Daniel Gryniewicz [Mon, 20 Jun 2016 15:49:46 +0000 (11:49 -0400)]
Merge pull request #9261 from prallabh/user_quota
rgw: Let the default quota settings take effect during user creation
Orit Wasserman [Mon, 20 Jun 2016 15:32:58 +0000 (17:32 +0200)]
Merge pull request #9817 from theanalyst/wip/boost-optional
rgw_swift: newer versions of boost/utility no longer include in_place
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Jason Dillaman [Mon, 20 Jun 2016 14:32:04 +0000 (10:32 -0400)]
librbd: fix lockdep issue when duplicate event detected
Fixes: http://tracker.ceph.com/issues/16363
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Igor Fedotov [Mon, 20 Jun 2016 14:21:27 +0000 (17:21 +0300)]
os/store_test: fix synthetic test cases to handle zero-writes properly, i.e. do not increase object size.
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Sage Weil [Mon, 20 Jun 2016 13:53:46 +0000 (09:53 -0400)]
os/memstore: zero-length write should not effect object size
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 20 Jun 2016 13:51:56 +0000 (09:51 -0400)]
ceph_test_objectstore: zero-length write should not affect object size
Signed-off-by: Sage Weil <sage@redhat.com>
Abhishek Lekshmanan [Mon, 20 Jun 2016 13:56:50 +0000 (15:56 +0200)]
rgw_swift: newer versions of boost/utility no longer include in_place
boost > 1.58 no longer includes in_place in boost/utility, we need to
include in_place_factory explicitly. This causes build failures in
distros that ship with a higher version of boost. Since the only call is for
swift_ver_location, another possibility is to use emplace()
instead (though this requires boost ~ 1.56)
Fixes: http://tracker.ceph.com/issues/16391
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
Casey Bodley [Mon, 20 Jun 2016 13:52:40 +0000 (09:52 -0400)]
Merge pull request #9786 from pritha-srivastava/wip-multisite-error-msgs
rgw: modifying multi-site log messages.
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Jason Dillaman [Mon, 20 Jun 2016 13:39:24 +0000 (09:39 -0400)]
librbd: potential race when replaying journal ops
Fixes: http://tracker.ceph.com/issues/16198
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Mon, 20 Jun 2016 12:43:00 +0000 (08:43 -0400)]
Merge pull request #9812 from zhjwpku/cephx_protocol
doc: cephx_protocol typos
John Spray [Mon, 20 Jun 2016 11:28:45 +0000 (12:28 +0100)]
doc/cephfs: add advice about kernel versions
Signed-off-by: John Spray <john.spray@redhat.com>
songbaisen [Mon, 20 Jun 2016 11:00:44 +0000 (19:00 +0800)]
mon: remove the repeat quorum size jugement
Signed-off-by:song baisen <song.baisen@zte.com.cn>
root [Sun, 19 Jun 2016 07:36:06 +0000 (13:06 +0530)]
rgw: Add documentation for RGW default quota
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
Orit Wasserman [Mon, 20 Jun 2016 10:36:53 +0000 (12:36 +0200)]
Merge pull request #9188 from rzarzynski/wip-rgw-swift-versioning-new-2
rgw: improve support for Swift's object versioning.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Dongsheng Yang [Fri, 13 May 2016 08:57:32 +0000 (04:57 -0400)]
tools/rbd: introduce a simple bench for read
Currently, we have a bench-write for in rbd tool, but we don't have
a simple bench for read.
This patch add a new subcommand of bench, with an option of --io-type.
Then we can do a simple bench for write or read.
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Dongsheng Yang [Fri, 13 May 2016 08:56:39 +0000 (04:56 -0400)]
tools/rbd: make bench-write invisible to user
rbd bench-write is going to be deprecated. This patch
makes it invisible in help message and manpage. But it
is still working.
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Dongsheng Yang [Fri, 13 May 2016 08:47:22 +0000 (04:47 -0400)]
tools/rbd: introduce a new field of visible in Action Class
The new field means whether we want to show this Action in
command help. Sometimes, we want to make one action to be
deprecated and invisible to user, but we have to keep it
working for compatibility.
Then we need to support this action but make it invisible.
Signed-off-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Pritha Srivastava [Thu, 16 Jun 2016 09:15:57 +0000 (14:45 +0530)]
rgw: modifying multi-site log messages.
Increasing the log level and removing 'ERROR' from messages that appear during normal multi-site operation.
Fixes: http://tracker.ceph.com/issues/16121
Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
Kefu Chai [Mon, 20 Jun 2016 04:01:00 +0000 (12:01 +0800)]
Merge pull request #9804 from ceph/revert-9801-msg_msg_types_entity_name_t_makeprivate
Revert "msg/msg_types.h: make members private in ..."
Reviewed-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Mon, 20 Jun 2016 02:45:45 +0000 (10:45 +0800)]
Revert "msg/msg_types.h: make members private in ..."
Kefu Chai [Mon, 20 Jun 2016 02:11:41 +0000 (10:11 +0800)]
Merge pull request #9801 from stiopaa1/msg_msg_types_entity_name_t_makeprivate
msg/msg_types.h: make members private in `entity_name_t`
Reviewed-by: Kefu Chai <kchai@redhat.com>
Zhao Junwang [Sun, 19 Jun 2016 22:03:43 +0000 (18:03 -0400)]
doc:cephx_protocol
The goal of phase II is to provide C with a session key and ticekt
allowing it to communicate with S
Signed-off-by: Zhao Junwang <zhjwpku@gmail.com>
root [Sun, 19 Jun 2016 07:18:42 +0000 (12:48 +0530)]
rgw: Do not bother to check against conf values during quota handling
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
root [Mon, 23 May 2016 10:04:58 +0000 (15:34 +0530)]
rgw: Let the default quota settings take effect during user creation
Signed-off-by: Pavan Rallabhandi <PRallabhandi@walmartlabs.com>
Michal Jarzabek [Sat, 18 Jun 2016 07:28:34 +0000 (08:28 +0100)]
msg/msg_types.h: make members private in ...
... entity_name_t class.
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Sage Weil [Sat, 18 Jun 2016 16:48:22 +0000 (12:48 -0400)]
Merge pull request #9778 from ifed01/wip-bluestore-blob-reduce
os/bluestore: reduce bluestore blob
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 18 Jun 2016 16:48:01 +0000 (12:48 -0400)]
Merge pull request #9750 from ifed01/wip-bluestore-csum-output-fix
os/bluestore: fix improper blob's csum visualization.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 18 Jun 2016 16:47:43 +0000 (12:47 -0400)]
Merge pull request #9756 from liewegas/wip-bluestore-diet
os/bluestore: remove unused bluestore fields
Reviewed-by: Allen Samuels <allen.samuels@sandisk.com>
Kefu Chai [Mon, 13 Jun 2016 14:05:08 +0000 (22:05 +0800)]
debian: move libcephfs-jni to section "java"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 12 Jun 2016 16:37:24 +0000 (00:37 +0800)]
debian: remove X-Python-Version section
it's obsolete and can be removed now,
see
https://www.debian.org/doc/packaging-manuals/python-policy/ch-module_packages.html#s-specifying_versions
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 12 Jun 2016 16:05:10 +0000 (00:05 +0800)]
debian: add ${shlibs:Depends} to binary packages' Depends
rationale
* this fixes:
warning: dpkg-gencontrol: package python-rbd: unused substitution
variable ${shlibs:Depends}
* and to comply to debian policy. see
https://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-dpkg-shlibdeps
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 12 Jun 2016 15:25:13 +0000 (23:25 +0800)]
debian: add jh_depends for ${java:Depends}
this fixes:
warning: dpkg-gencontrol: Depends field of package libcephfs-java:
unknown substitution variable ${java:Depends}
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sun, 12 Jun 2016 14:57:03 +0000 (22:57 +0800)]
makefile: add librgw_file_* as noninst_PROGRAMS
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 18 Jun 2016 15:51:41 +0000 (23:51 +0800)]
Merge pull request #9119 from runsisi/wip-fix-cmake-desc
cmake: update description for cmake module Findkeyutils.cmake
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 18 Jun 2016 14:28:06 +0000 (22:28 +0800)]
Merge pull request #9799 from stiopaa1/common_address_helper_changeScope
common/address_helper.cc:move variables closer...
Reviewed-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Sat, 18 Jun 2016 14:21:13 +0000 (10:21 -0400)]
Merge pull request #9797 from Yan-waller/yj-wip-rgwcompiling
rgw: kill compiling warning
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Michal Jarzabek [Sat, 18 Jun 2016 12:15:42 +0000 (13:15 +0100)]
common/address_helper.cc:move variables closer...
... to the point where they are first used.
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Yan Jun [Sat, 18 Jun 2016 07:54:55 +0000 (15:54 +0800)]
rgw: kill compiling warning
test/rgw/test_http_manager.cc: In member function ‘virtual void HTTPManager_SignalThread_Test::TestBody()’:
test/rgw/test_http_manager.cc:40:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < num_requests; i++) {
^
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
vasukulkarni [Fri, 17 Jun 2016 22:41:17 +0000 (15:41 -0700)]
Merge pull request #9764 from vasukulkarni/master
mention change of owner for /var/log/ceph
Samuel Just [Fri, 17 Jun 2016 21:46:11 +0000 (14:46 -0700)]
Merge pull request #9599 from sdieffen/feature15904
added -f flag for formatting to rados command line tool
Reviewed-by: Samuel Just <sjust@redhat.com>
Orit Wasserman [Fri, 17 Jun 2016 18:54:02 +0000 (20:54 +0200)]
Merge pull request #9785 from cbodley/wip-rgw-httpmgr-select
rgw: fix deadlock in RGWHTTPManager when HAVE_CURL_MULTI_WAIT=0
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Ali Maredia [Fri, 17 Jun 2016 18:11:24 +0000 (14:11 -0400)]
Merge pull request #9765 from dx9/wip-run-cmake
cmake: add arguments to cmake invocation to support cache configuration
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 17 Jun 2016 17:57:28 +0000 (13:57 -0400)]
Merge pull request #9634 from ceph/cmake-git-rev
Update git rev parsing in CMake
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Fri, 17 Jun 2016 17:51:03 +0000 (13:51 -0400)]
Merge pull request #9601 from ceph/wip-cmake
cmake: add ceph_test_* used by qa units and ceph-qa-suite tasks
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Patrick Donnelly [Fri, 17 Jun 2016 16:00:59 +0000 (12:00 -0400)]
mds: improve comments for ENOTEMPTY checks
There are two checks in the code for ENOTEMPTY, clarify that the first check is
doing a fast check without locks.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
Orit Wasserman [Fri, 17 Jun 2016 17:25:24 +0000 (19:25 +0200)]
Merge pull request #9725 from SUSE/wip-16327
rgw: check for -ERR_NOT_MODIFIED in rgw_rest_s3.cc
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Casey Bodley [Fri, 17 Jun 2016 02:51:54 +0000 (22:51 -0400)]
rgw: add pipe fd to set for select() in do_curl_wait()
when HAVE_CURL_MULTI_WAIT is 0, the pipe fd is never added to the
readfds for select(), so FD_ISSET() is always false. this prevents us
from ever trying to read from the fd, and the pipe's buffer eventually
fills up and deadlocks callers of RGWHTTPManager::signal_thread() when
they try to write to the pipe
Fixes: http://tracker.ceph.com/issues/16368
Signed-off-by: Casey Bodley <cbodley@redhat.com>
Casey Bodley [Thu, 16 Jun 2016 23:55:07 +0000 (19:55 -0400)]
test/rgw: add unit test for HTTPManager
unit test to detect a deadlock in RGWHTTPManager::signal_thread() when
HAVE_CURL_MULTI_WAIT=0
Signed-off-by: Casey Bodley <cbodley@redhat.com>