]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
weiqiaomiao [Sat, 28 May 2016 06:19:17 +0000 (14:19 +0800)]
rgw:fix some indentation errors of "radosgw-admin --help"
Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
Ali Maredia [Fri, 27 May 2016 21:09:49 +0000 (17:09 -0400)]
Merge pull request #9347 from tchaikov/wip-cmake
cmake: some fixes
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Yuri Weinstein [Fri, 27 May 2016 20:07:20 +0000 (13:07 -0700)]
Merge pull request #8562 from ceph/wip-djf-object-map-check
rbd: add rbd object-map check
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Yuri Weinstein [Fri, 27 May 2016 20:06:12 +0000 (13:06 -0700)]
Merge pull request #9280 from zhuangzeqiang/wip15522
rbd: check value of config override when setting image-meta
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
zhuangzeqiang [Sat, 7 Oct 2017 08:52:07 +0000 (16:52 +0800)]
rbd: check value of config override when setting image-meta
Fixes: http://tracker.ceph.com/issues/15522
Signed-off-by: zhuangzeqiang <zhuang.zeqiang@h3c.com>
Yuri Weinstein [Fri, 27 May 2016 20:04:47 +0000 (13:04 -0700)]
Merge pull request #9326 from marcan/rbd-aio-completion
librbd: only mark async completion as done after callback
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Yuri Weinstein [Fri, 27 May 2016 20:03:14 +0000 (13:03 -0700)]
pybind: misc fixesReviewed-by: Josh Durgin <jdurgin@redhat.com>
pybind: misc fixes
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Jason Dillaman [Fri, 27 May 2016 19:04:42 +0000 (15:04 -0400)]
Merge pull request #9322 from trociny/wip-16011
test: failure in journal.sh workunit test
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Kefu Chai [Fri, 27 May 2016 15:24:17 +0000 (23:24 +0800)]
cmake: remove cls_lock_client from libcephfs
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 27 May 2016 10:40:21 +0000 (18:40 +0800)]
cmake: remove duplicated src in osd_srcs
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 27 May 2016 08:00:43 +0000 (16:00 +0800)]
cmake: add libcommon to libmds
MDSDaemon is using cpu_profiler_handle_command() offered by libcommon
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 10:59:35 +0000 (18:59 +0800)]
cmake: s/ENABLE_SHARED/BUILD_SHARED_LIBS/
* BUILD_SHARED_LIB is a cmake variable respected by add_library().
so we can simply expose it as an option instead of reinventing our own.
* and mark internal libraries as STATIC explicitly
* and add keyutil to librbd as secret.cc is using it. and secret.cc is
linked into librbd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 27 May 2016 05:14:20 +0000 (13:14 +0800)]
cmake: add dl to libcommon
PluginRegistry.cc uses dlopen() functions, so added it to libcommon.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 12:54:03 +0000 (20:54 +0800)]
cmake: add missing obj to libosd
* add common_util_obj as OSD::_collect_metadata() is calling collect_sys_info(), which lives
in util.c
* add global_common_objs as OSD::_committed_osd_maps() is calling
queue_async_signal(), which lives in signal_handler.cc
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 10:14:35 +0000 (18:14 +0800)]
cmake: use GNUInstallDirs for defining install dest directories
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 09:26:03 +0000 (17:26 +0800)]
cmake: install include/memory.h also
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 09:25:28 +0000 (17:25 +0800)]
cmake: install librbd headers
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 09:25:09 +0000 (17:25 +0800)]
cmake: install libradosstriper headers
also respect BUILD_SHARED_LIBS instead of always building this lib as a
static library. and we install .so in rpm/deb packaging scripts.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 08:36:20 +0000 (16:36 +0800)]
cmake: compile rbd-fuse
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 08:36:02 +0000 (16:36 +0800)]
cmake: install debug tools into usr/bin
otherwise dh_install won't find them.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 08:28:56 +0000 (16:28 +0800)]
cmake: install mount.ceph into /sbin
should use absolute path otherwise it is installed into /usr/sbin, and
dh_install won't find it this way.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 08:13:28 +0000 (16:13 +0800)]
cmake: install bash-completion scripts also
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 08:12:52 +0000 (16:12 +0800)]
cmake: add missing installs
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 08:11:49 +0000 (16:11 +0800)]
cmake: make shared library of lttng tracing instead
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 26 May 2016 06:32:48 +0000 (14:32 +0800)]
cmake: revamp on lttng support
* Findlttng-ust.cmake: detect lttng-gen-tp, and make it a required var
* Findlttng-ust.cmake: fix the detection of lttng
* src/tracing/CMakeLists.txt:
- do not put the generated header files into ${CMAKE_SOURCE_DIR}/src/tracing,
instead we should put the generated files into ${PROJECT_BINARY_DIR}/include.
- do not compile the tracing library using the .c files in the repo,
instead, we should generate them at compile time using lttng-gen-tp,
and compile the genererated .c files.
* CMakeLists.txt: make the lttng-use package REQUIRED if WITH_LTTNG=ON
* src/CMakeLists.txt: let librados depend on librados-tp if LTTNG is
enabled: librados includes tracing/librados.h. the same applies to
librbd, libos and libosd. cmake could deduce the dependencies if we
add the lttng header files under include/tracing into the
corresponding target, as the lttng header files are already listed
as OUTPUT and GENERATED files, but this requires us to put all the
involved targets in the same CMakeLists.txt. in this case, three
CMakeLists.txts are impacted. so we create a new target for each
lttng header, and let the impacted target depend on it.
Signed-off-by: Kefu Chai <kchai@redhat.com>
John Spray [Fri, 27 May 2016 10:55:37 +0000 (11:55 +0100)]
Merge pull request #9344 from renhwztetecs/renhw-wip-mdsdaemon
mds: mds-daemon init fixup
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 27 May 2016 10:35:46 +0000 (11:35 +0100)]
Merge pull request #9112 from renhwztetecs/renhw-wip-mdbalancer
mds/mdbalancer: fixup assignment type in the hit_dir
Reviewed-by: John Spray <john.spray@redhat.com>
Boris Ranto [Fri, 27 May 2016 08:53:27 +0000 (10:53 +0200)]
Merge pull request #9335 from ceph/wip-16032-radosgw-flask
packaging: drop python-flask dependency from radosgw
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
Mykola Golub [Fri, 27 May 2016 07:28:32 +0000 (10:28 +0300)]
Merge pull request #9309 from dillaman/wip-15949
journal: support asynchronous shutdown
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Kefu Chai [Fri, 27 May 2016 03:37:52 +0000 (11:37 +0800)]
Merge pull request #9156 from ceph/wip-cmake
cmake: Added #defines to config-h.in.cmake
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ali Maredia [Tue, 17 May 2016 15:48:33 +0000 (11:48 -0400)]
cmake: remove verbose output from
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Ali Maredia [Mon, 2 May 2016 22:21:32 +0000 (18:21 -0400)]
cmake: Added #defines to config-h.in.cmake
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Yuri Weinstein [Thu, 26 May 2016 19:24:11 +0000 (12:24 -0700)]
Merge pull request #8941 from xiexingguo/xxg-wip-reweight-filter
mon/OSDMonitor: more fixes for reweight_by_* command
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Thu, 26 May 2016 19:22:08 +0000 (12:22 -0700)]
Merge pull request #9120 from runsisi/wip-rpg-minor-cleanup
osd/ReplicatedPG: remove unused local variable update
Reviewed-by: Kefu Chai <kchai@redhat.com>
Yuri Weinstein [Thu, 26 May 2016 19:19:41 +0000 (12:19 -0700)]
Merge pull request #9126 from xiexingguo/xxg-wip-fix-precisionlost
osd: fix sched_time not actually randomized
Reviewed-by: Haomai Wang <haomai@xsky.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Thu, 26 May 2016 18:52:31 +0000 (14:52 -0400)]
Merge pull request #9324 from rzarzynski/wip-16015
rgw: properly handle initial slashes in SLO's segment path.
Sage Weil [Thu, 26 May 2016 18:31:30 +0000 (14:31 -0400)]
Merge pull request #9353 from stiopaa1/common_weightedPriorityQueue
common/WeightedPriorityQueue: add override to func
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 May 2016 18:25:13 +0000 (14:25 -0400)]
Merge pull request #7733 from xinxinsh/wip-14701
osdmaptool: allow add --pg-num to osdmaptool --test-map-pgs to override the map's pg_num value
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 May 2016 18:24:43 +0000 (14:24 -0400)]
Merge pull request #9065 from xiexingguo/xxg-wip-texttable
mon/PGMonitor: use TextTable for pg relevant dump commands.
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 May 2016 18:23:46 +0000 (14:23 -0400)]
Merge pull request #9097 from jcsp/wip-15866
mon: fix 'mon metadata' for lone monitors, and enable listing all metadata at once
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Thu, 26 May 2016 18:23:21 +0000 (14:23 -0400)]
Merge pull request #9198 from xiexingguo/xxg-wip-filestore-trackedkey
os/filestore: add xattr option family to tracked keys
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 May 2016 18:23:09 +0000 (14:23 -0400)]
Merge pull request #9204 from xiexingguo/xxg-wip-fix-omapfsid
os/filestore: fix omap fsid related fd leak
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 26 May 2016 18:22:24 +0000 (14:22 -0400)]
Merge pull request #9223 from vumrao/wip-vumrao-15762
osd: add peer_addr in heartbeat_check log message
Reviewed-by: Kefu Chai <kchai@redhat.com>
Ali Maredia [Thu, 26 May 2016 15:47:12 +0000 (10:47 -0500)]
Merge pull request #9302 from ceph/wip_update_cmake_readme
Improves the README for cmake instructions and slightly improved markdown syntax.
Reviewed-by: Ali Maredia <amaredia@redhat.com>
Radoslaw Zarzynski [Wed, 25 May 2016 12:23:29 +0000 (14:23 +0200)]
rgw: properly handle initial slashes in SLO's segment path.
Fixes: http://tracker.ceph.com/issues/16015
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Hector Martin [Wed, 25 May 2016 11:41:40 +0000 (20:41 +0900)]
librbd: only mark async completion as done after callback
This change in behavior was introduced in
fde9f78 .
Signed-off-by: Hector Martin <marcan@marcan.st>
Jason Dillaman [Wed, 25 May 2016 06:31:11 +0000 (02:31 -0400)]
rbd-mirror: image replay now uses asynchronous journal shutdown
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 25 May 2016 04:21:14 +0000 (00:21 -0400)]
librbd: integrate with async journaler shutdown API
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
huanwen ren [Thu, 26 May 2016 11:40:56 +0000 (19:40 +0800)]
mds: drop reference if message in laggy queue is unrecognized
drop reference if message in laggy queue is unrecognized
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
huanwen ren [Thu, 26 May 2016 11:38:20 +0000 (19:38 +0800)]
mds: make a quick exit if suicide
make a quick exit if suicide
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
huanwen ren [Thu, 26 May 2016 11:36:38 +0000 (19:36 +0800)]
mds: set stopping to true during suicide()
We are using stopping flag everywhere to indicate that a shutdown
procedure of the mds-daemon is already in progress, but we never
set stopping to true correctly.
The suicide() method is the proper place to set the stopping flag
as it is the only exit for mds-daemon.
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
Orit Wasserman [Thu, 26 May 2016 11:30:33 +0000 (13:30 +0200)]
Merge pull request #9342 from vumrao/wip-vumrao-16023
rgw : cleanup radosgw-admin temp command
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 26 May 2016 10:56:28 +0000 (12:56 +0200)]
Merge pull request #9244 from dreamhost/wip-15974
rgw: fix manager selection when APIs customized
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 26 May 2016 10:55:41 +0000 (12:55 +0200)]
Merge pull request #9263 from rzarzynski/wip-rgw-15976
rgw: fix CORS/ACLs metadata processing in Swift API
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 26 May 2016 10:54:58 +0000 (12:54 +0200)]
Merge pull request #9246 from rzarzynski/wip-15977
rgw: fix update of already existing account/bucket's custom attributes.
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 26 May 2016 10:53:05 +0000 (12:53 +0200)]
rgw: we should probably return InvalidArgument when XML_parser fails of RGWPutACLs opReviewed-by: Orit Wasserman <owasserm@redhat.com>
rgw: we should probably return InvalidArgument when XML_parser fails of RGWPutACLs op
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Thu, 26 May 2016 10:52:23 +0000 (12:52 +0200)]
Merge pull request #7273 from linuxbox2/rgw-email
Rgw email (#1398)
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Vikhyat Umrao [Thu, 26 May 2016 10:13:41 +0000 (15:43 +0530)]
rgw : cleanup radosgw-admin temp command as it was deprecated
and also implementation code for this command was removed in commit
8d7c8828b02c46e119adc4b9e8f655551512fc2d
Fixes: http://tracker.ceph.com/issues/16023
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
John Spray [Thu, 26 May 2016 09:56:10 +0000 (10:56 +0100)]
Merge pull request #9338 from songbaisen/a1
cephfs: should give a value before use cpp_strerror
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 26 May 2016 09:47:42 +0000 (10:47 +0100)]
Merge pull request #9323 from ukernel/wip-mdsmap-subs
MDSMonitor.cc: fix mdsmap.<namespace> subscriptions
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 26 May 2016 09:46:17 +0000 (10:46 +0100)]
Merge pull request #9033 from renhwztetecs/renhw-wip-cephfs_addlink_python
cephfs: add link function in python
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Thu, 26 May 2016 09:39:38 +0000 (10:39 +0100)]
mds: fix race between StrayManager::{eval_stray,reintegrate_stray}Reviewed-by: John Spray <
mds: fix race between StrayManager::{eval_stray,reintegrate_stray}
Reviewed-by: John Spray <john.spray@redhat.com>
songbaisen [Thu, 26 May 2016 07:56:26 +0000 (15:56 +0800)]
cephfs: should give a value before use cpp_strerror
Signed-off-by:song baisen <song.baisen@zte.com.cn>
Ken Dreyer [Thu, 26 May 2016 05:26:33 +0000 (23:26 -0600)]
packaging: drop python-flask dependency from radosgw
The PowerDNS integration code itself is not packaged at this point, so
remove the python-flask dependency from the radosgw package.
Maybe the PowerDNS integration bits could live in a separate
sub-package, eventually.
Fixes: http://tracker.ceph.com/issues/16032
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Michal Jarzabek [Wed, 25 May 2016 21:12:49 +0000 (22:12 +0100)]
common/WeightedPriorityQueue: add override to func
Add override to virtual functions.
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
Yuri Weinstein [Wed, 25 May 2016 19:59:53 +0000 (12:59 -0700)]
Merge pull request #9258 from trociny/wip-15982
pybind: RBD API should default to None for features
Reviewed-by: Jason Dillaman <dillaman@redhat.com >
J. Eric Ivancich [Wed, 25 May 2016 19:44:47 +0000 (15:44 -0400)]
Renamed file to better indicate it contains markdown syntax.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Casey Bodley [Wed, 25 May 2016 19:23:41 +0000 (15:23 -0400)]
Merge pull request #9300 from tchaikov/wip-cmake-java
cmake: add libcephfs-java support
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Mykola Golub [Wed, 25 May 2016 18:54:16 +0000 (21:54 +0300)]
test: workaround failure in journal.sh
With the changes to ensure that the commit position of a new
client is initialized to the minimum position of other clients,
the 'journal inspect/export' commands return zero records because
the master client has committed all of its entries.
Workaround this by restoring the initial commit position after
writing to the image.
Fixes: http://tracker.ceph.com/issues/16011
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Mykola Golub [Wed, 25 May 2016 11:51:43 +0000 (14:51 +0300)]
cls::journal: treat empty commit position as minimal
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
Jason Dillaman [Tue, 24 May 2016 20:12:16 +0000 (16:12 -0400)]
journal: extend asynchronous shutdown to facade
Fixes: http://tracker.ceph.com/issues/14530
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 24 May 2016 19:53:12 +0000 (15:53 -0400)]
journal: trimmer now has asynchronous shutdown
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 24 May 2016 19:36:17 +0000 (15:36 -0400)]
journal: metadata init and shutdown now asynchronous
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 24 May 2016 16:06:26 +0000 (12:06 -0400)]
journal: player shutdown is now handled asynchronously
Fixes: http://tracker.ceph.com/issues/15949
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Yan, Zheng [Wed, 25 May 2016 10:33:49 +0000 (18:33 +0800)]
MDSMonitor.cc: fix mdsmap.<namespace> subscriptions
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Orit Wasserman [Wed, 25 May 2016 12:05:11 +0000 (14:05 +0200)]
Merge pull request #9122 from cbodley/wip-rgw-httpmgr-pipe
rgw: clean up pipe fds in RGWHTTPManager::stop()
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Wed, 25 May 2016 12:03:36 +0000 (14:03 +0200)]
Merge pull request #8765 from cbodley/wip-rgw-usr2
rgw: extend SIGHUP handler for realm reconfiguration
Nathan Cutler [Wed, 25 May 2016 11:40:44 +0000 (13:40 +0200)]
Merge pull request #9167 from rjfd/wip-ceph-tool-non-ascii-chars
ceph.in: fix exception when pool name has non-ascii characters
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Mykola Golub [Wed, 25 May 2016 07:38:04 +0000 (10:38 +0300)]
Merge pull request #9282 from dillaman/wip-15993
rbd-mirror: image live-replay might become stuck
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
Yehuda Sadeh [Wed, 25 May 2016 07:30:03 +0000 (10:30 +0300)]
Merge pull request #9285 from mikulely/rgw-clean-multipart-macro
rgw: cleanup RGW_MIN_MULTIPART_SIZE
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
J. Eric Ivancich [Tue, 24 May 2016 18:20:08 +0000 (14:20 -0400)]
Improves the README for cmake by including quick-start developer
instructions and slightly improved markdown syntax.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
Kefu Chai [Tue, 24 May 2016 04:55:20 +0000 (12:55 +0800)]
cmake: add "git-update" target for syncing git submodules
it maps the same functionality in autogen.sh
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 24 May 2016 19:25:16 +0000 (03:25 +0800)]
cmake: add libcephfs-java support
Signed-off-by: Kefu Chai <kchai@redhat.com>
Casey Bodley [Tue, 24 May 2016 19:26:26 +0000 (15:26 -0400)]
Merge pull request #8672 from zaitcev/wip-5073-multen-2
rgw: Add access to multi-tenancy test
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Orit Wasserman [Tue, 24 May 2016 18:18:03 +0000 (20:18 +0200)]
Merge pull request #8533 from theanalyst/rgw/rest-user-get
rgw_rest_admin: return -EINVAL for improper user info requests
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 24 May 2016 18:17:14 +0000 (20:17 +0200)]
Merge pull request #8186 from rzarzynski/wip-rgw-bulkdel-cosm
rgw: optimize BulkDelete authorization and response printing
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 24 May 2016 18:11:57 +0000 (20:11 +0200)]
Merge pull request #8093 from zaitcev/swift-root-prefix
rgw: Allow to serve Swift off the URL root
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Orit Wasserman [Tue, 24 May 2016 18:11:04 +0000 (20:11 +0200)]
Merge pull request #8053 from rzarzynski/wip-rgw-aws4-memalloc
rgw: improve memory management in AWS4 auth
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Jason Dillaman [Tue, 24 May 2016 02:26:05 +0000 (22:26 -0400)]
test: use randomized write sizes for rbd-mirror stress test
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 24 May 2016 02:21:33 +0000 (22:21 -0400)]
journal: eliminate watch delay for object refetches
The randomized write sizes of the modified rbd-mirror stress
test results in a lot of journal object with few entries.
Immediately fetch objects when performing a refetch check prior
to closing an empty object.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 23 May 2016 18:57:03 +0000 (14:57 -0400)]
journal: keep active tag to assist with pruning watched objects
It's possible that there might be additional entries to prune in
objects that haven't been prefetched yet. Keep the active tag
to allow these entries to be pruned after they have been loaded.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 23 May 2016 16:15:49 +0000 (12:15 -0400)]
journal: update commit entry object number upon overflow
Otherwise the recorded object positions might point to an older
object that doesn't contain the actual entry.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Mon, 23 May 2016 15:01:05 +0000 (11:01 -0400)]
journal: cleanup watch refetch flag handling
Clear the refetch required flag while scheduling the watch
and remove the stale object after the watch completes if still
empty. Previously, it was possible for the flag to become
out-of-sync with whether or not it was actually refreshed
and pruned.
Fixes: http://tracker.ceph.com/issues/15993
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 24 May 2016 12:40:12 +0000 (08:40 -0400)]
Merge pull request #9279 from majianpeng/bluestore-uniquelock
os/bluestore/BlueStore: Fix wrong usage of std::unique_lock for OpSequencer
Reviewed-by: Kefu Chai <kchai@redhat.com>
Matt Benjamin [Tue, 24 May 2016 11:31:30 +0000 (07:31 -0400)]
Merge pull request #8741 from rzarzynski/wip-rgw-keystonev3-doc
rgw, doc: improve documentation of Keystone v3 config options
Hector Martin [Fri, 26 Feb 2016 10:18:53 +0000 (19:18 +0900)]
pybind/rados: s/__del__/__dealloc__/
Signed-off-by: Hector Martin <marcan@marcan.st>
Hector Martin [Fri, 26 Feb 2016 10:12:40 +0000 (19:12 +0900)]
test/pybind: explicitly remove references in tearDown
Looks like nose likes to leave references to the test instances around.
This doesn't break anything, but does cause Ioctx/Image objects to stick
around which makes debugging more complicated, as everything gets dealloced
together at the end.
Signed-off-by: Hector Martin <marcan@marcan.st>
Hector Martin [Fri, 26 Feb 2016 10:05:24 +0000 (19:05 +0900)]
pybind/rbd: keep a ref to the Image in SnapIterator
Signed-off-by: Hector Martin <marcan@marcan.st>
Jianpeng Ma [Tue, 24 May 2016 09:22:32 +0000 (17:22 +0800)]
os/bluestore/BlueStore: Fix wrong usage of std::unique_lock for OpSequenecer
When set bluestore_sync_wal_apply = false, the osd must be crashed.
I add some debug message in WALWQ::_dequeue():
// preserve wal ordering for this sequencer by taking the lock
/ while still holding the queue lock
- i->osr->wal_apply_lock.lock();
+ try {
+ i->osr->wal_apply_lock.lock();
+ } catch (const system_error& e) {
+ if (e.code() == std::errc::resource_deadlock_would_occur) {
+ assert(0 == "would deadlock");
+ } else
+ assert(0 == "other system_error");
+ }
return i;
}
2016-05-24 00:02:29.107165
7f0f32ea6700 -1 os/bluestore/BlueStore.h: In
function 'virtual BlueStore::TransContext* BlueStore::WALWQ::_dequeue()'
thread
7f0f32ea6700 time 2016-05-24 00:02:29.103360
os/bluestore/BlueStore.h: 489: FAILED assert(0 == "would deadlock")
ceph version
10.2.0-1232-g21c7599 (
21c759936ddcbfec50cf177a577206a2c443c212 )
1: (ceph::__ceph_assert_fail(char const*, char const*, int, char const*)+0x80) [0x560196215ac0]
2: (ThreadPool::WorkQueue<BlueStore::TransContext>::_void_dequeue()+0x234)[0x560195e618b4]
3: (ThreadPool::worker(ThreadPool::WorkThread*)+0x654) [0x560196207324]
4: (ThreadPool::WorkThread::entry()+0x10) [0x560196208d70]
5: (()+0x760a) [0x7f0f411d260a]
6: (clone()+0x6d) [0x7f0f3f17a59d]
NOTE: a copy of the executable, or `objdump -rdS <executable>` is
needed to interpret this.
This because the wron usage of std::unique_lock.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
Boris Ranto [Tue, 24 May 2016 09:05:33 +0000 (11:05 +0200)]
Merge pull request #9218 from ceph/wip-asok-denials
rpm: Packaging fixes
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Nathan Cuthler <ncutler@suse.com>