]>
git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/log
Javier M. Mellid [Sun, 14 Feb 2016 12:26:02 +0000 (13:26 +0100)]
rgw: catch up aws4 with the new features
Fix pending conflicts after massive merging. It catches up with SLO, bucket
website, bulk deletes and payment request features.
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Sat, 23 Jan 2016 20:46:51 +0000 (21:46 +0100)]
rgw: fix host field in canonical headers under qs
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Sat, 23 Jan 2016 19:23:17 +0000 (20:23 +0100)]
rgw: fix bug encoding percentage char in X-Amz-Credential
The X-Amz-Credential value in the URL shows the "/" character only for
readability. In practice, it should be encoded as %2F
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Mon, 18 Jan 2016 20:08:45 +0000 (21:08 +0100)]
rgw: add aws4 auth grace period
Protect against reuse of the signed portions of the request. In AWS, the signed
portions (using AWS Signatures) of requests are valid within 15 minutes of the
timestamp in the request.
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Mon, 18 Jan 2016 20:05:45 +0000 (21:05 +0100)]
rgw: add x-amz-expires support
Provides the time period, in seconds, for which the generated presigned URL is
valid. For example, 86400 (24 hours). This value is an integer. The minimum
value you can set is 1, and the maximum is 604800 (seven days).
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Yehuda Sadeh [Fri, 15 Jan 2016 00:27:53 +0000 (16:27 -0800)]
rgw: escape aws4 query string
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 15 Jan 2016 00:04:41 +0000 (16:04 -0800)]
rgw: implement missing handlers for aws4 signatures
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 15 Jan 2016 00:04:25 +0000 (16:04 -0800)]
rgw: implement RGWOp_Metadata_Put::get_type()
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Javier M. Mellid [Thu, 14 Jan 2016 13:14:38 +0000 (14:14 +0100)]
rgw: raise error on not implemented AWS4 completions
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Wed, 13 Jan 2016 21:50:33 +0000 (22:50 +0100)]
rgw: add AWS4 completion support for RGW_OP_PUT_ACLS
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Wed, 13 Jan 2016 15:13:01 +0000 (16:13 +0100)]
rgw: add AWS4 completion support for RGW_OP_PUT_OBJ
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Fri, 13 Nov 2015 15:11:46 +0000 (16:11 +0100)]
rgw: return -EINVAL on unknow authorization
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Fri, 13 Nov 2015 15:11:07 +0000 (16:11 +0100)]
rgw: verify X-Amz-Date
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Thu, 5 Nov 2015 10:56:04 +0000 (11:56 +0100)]
rgw: do not encode key/val when computing canonical qs
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Thu, 5 Nov 2015 10:54:43 +0000 (11:54 +0100)]
Revert "rgw: avoid re-encoding already encoded query strings in AWS4 auth"
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Yehuda Sadeh [Wed, 28 Oct 2015 21:03:00 +0000 (14:03 -0700)]
rgw: multiple fixes and adjustments following aws4 code review
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Javier M. Mellid [Fri, 23 Oct 2015 09:09:18 +0000 (11:09 +0200)]
rgw: achieve same error behaviour in S3 and RGW when processing signedheaders
This patch gets the same error response in S3 and RGW when the error is related
to the signedheaders processing.
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Thu, 15 Oct 2015 09:57:03 +0000 (11:57 +0200)]
rgw: validate x-amz-sha256
Verify content's sha256 sum matches the expected value.
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Thu, 15 Oct 2015 09:49:54 +0000 (11:49 +0200)]
rgw: check if x-amz-date has a value
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Fri, 9 Oct 2015 09:46:07 +0000 (11:46 +0200)]
rgw: verify Content-MD5 is a valid base64 value
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Fri, 9 Oct 2015 09:44:33 +0000 (11:44 +0200)]
rgw: initialize aws4_auth_complete
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Mon, 21 Sep 2015 17:09:22 +0000 (19:09 +0200)]
rgw: AWS4 auth support for positive content-length
Handle AWS4 auth on requests with positive content-length. It splits the
auth process along several steps to process the body content on the fly
instead of reading the whole body in memory. After that, it completes
the delayed AWS4 auth properly.
Requests with content-length <= 0 are validated as usual. They don't
require any kind of completion.
Requests with content-length > 0 use a streaming approach together with
a completion step.
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Mon, 14 Sep 2015 20:12:04 +0000 (22:12 +0200)]
rgw: UNSIGNED-PAYLOAD support in AWS4 auth
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Thu, 2 Jul 2015 07:28:09 +0000 (09:28 +0200)]
rgw: avoid re-encoding already encoded query strings in AWS4 auth
When computing V4 signature, we need to encode the query string. But it
could come already encoded, at least partially.
So do not encode the entities that are already encoded.
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Fri, 3 Jul 2015 09:30:02 +0000 (11:30 +0200)]
rgw: AWS4 auth support when using request params
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Wed, 24 Jun 2015 15:19:33 +0000 (17:19 +0200)]
rgw: add proper AWSv4 and AWSv2 auth detection
Adds a new authorize function to identify/handle AWSv4 and AWSv2 auth
properly, handling common code, etc.
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Wed, 24 Jun 2015 09:46:28 +0000 (11:46 +0200)]
rgw: handle AWS4 auth case when query string exists
Crafts the canonical query string. URI-encode each parameter name and
value properly.
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Javier M. Mellid [Fri, 12 Jun 2015 13:04:23 +0000 (15:04 +0200)]
rgw: AWS4 authentication minimal support
Amazon S3 supports Signature Version 4. This patch contains the minimal
implementation supporting AWS4 in RGW. It implements AWS4 authentication
on http methods without body content and vars not shipping in the
request query string.
Fixes: #10333
Signed-off-by: Javier M. Mellid <jmunhoz@igalia.com>
Kefu Chai [Fri, 12 Feb 2016 11:59:08 +0000 (19:59 +0800)]
Merge pull request #7605 from dachary/wip-python-wheelhouse
python: use pip instead of python setup.py
Reviewed-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Thu, 11 Feb 2016 17:09:44 +0000 (00:09 +0700)]
ceph-disk,ceph-detect-init: clean the build directory
b030d8fc113736b479e84246b6b36d5f698a2da3 should have kept the build
directory in .gitignore and the clean target. Re-adding.
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Thu, 11 Feb 2016 11:47:55 +0000 (18:47 +0700)]
python: use pip instead of python setup.py
python setup.py develop may try to pull dependencies from the net and
has no way to collect them from the wheelhouse that was populated by
install-deps.sh. Use pip install -e instead
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Fri, 12 Feb 2016 06:14:17 +0000 (13:14 +0700)]
Merge pull request #7528 from objoo/YD-jewel-mailmap-updates-take2
mailmap updates
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Josh Durgin [Fri, 12 Feb 2016 05:10:13 +0000 (21:10 -0800)]
Merge pull request #7609 from dillaman/wip-librbd-flatten-test
test: new librbd flatten test case
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Josh Durgin [Fri, 12 Feb 2016 05:09:01 +0000 (21:09 -0800)]
Merge pull request #7583 from dillaman/wip-librbd-journal-fsx
librbd: integrate journal replay with fsx testing
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Thu, 11 Feb 2016 21:32:44 +0000 (16:32 -0500)]
Merge pull request #7613 from wjwithagen/patch-1
osd: add missing newline to usage message
Reviewed-by: Sage Weil <sage@redhat.com>
Willem Jan Withagen [Thu, 11 Feb 2016 18:18:19 +0000 (19:18 +0100)]
src/ceph_osd.cc Add missing newline to usage message
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
Sage Weil [Thu, 11 Feb 2016 18:24:29 +0000 (13:24 -0500)]
common: fix build error with Graylog
Graylog includes boost stuff, which clobbers our assert macros.
Signed-off-by: Sage Weil <sage@redhat.com>
Casey Bodley [Thu, 11 Feb 2016 17:43:04 +0000 (12:43 -0500)]
Merge pull request #6920 from oritwas/wip-mstart-cmake
ajdust mstart and mstop script to run with cmake build
Ali Maredia [Thu, 11 Feb 2016 17:40:41 +0000 (12:40 -0500)]
Merge pull request #7523 from tchaikov/wip-fix-cmake
cmake: fix the build of tests
Sage Weil [Thu, 11 Feb 2016 17:30:54 +0000 (12:30 -0500)]
Merge pull request #7607 from FlorentCoppint/master
mount.fuse.ceph: better parsing of arguments passed to mount.fuse.ceph by mount command
Reviewed-by: Sage Weil <sage@redhat.com>
Jason Dillaman [Tue, 2 Feb 2016 15:54:53 +0000 (10:54 -0500)]
test: new librbd flatten test case
AIO operations after a flatten operation were previously
hanging during the close of the parent image.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Florent [Thu, 11 Feb 2016 13:51:49 +0000 (14:51 +0100)]
Better parsing of arguments passed to mount.fuse.ceph by mount command.
Signed-off-by: Florent Bautista <florent@coppint.com>
Sage Weil [Thu, 11 Feb 2016 13:46:22 +0000 (08:46 -0500)]
Merge pull request #5961 from majianpeng/small-fix
osd: clean up CMPXATTR checks
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Feb 2016 13:45:17 +0000 (08:45 -0500)]
Merge pull request #7533 from Cdiscount/master
debian: include cpio in build-requiers
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Feb 2016 13:44:35 +0000 (08:44 -0500)]
Merge pull request #7537 from ifed01/wip-no-promote-for-delete-fix
osd: fix unnecessary object promotion when deleting from cache pool
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Feb 2016 13:43:46 +0000 (08:43 -0500)]
Merge pull request #7567 from branch-predictor/bp-slimdown-conns
msg: significantly reduce minimal memory usage of connections
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Feb 2016 13:42:50 +0000 (08:42 -0500)]
Merge pull request #7579 from javacruft/wip-systemd-escaping
systemd: correctly escape block device paths
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Feb 2016 13:42:26 +0000 (08:42 -0500)]
Merge pull request #7581 from jcsp/wip-asok-lockdep
librados: mix lock cycle (un)registering asok commands
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 11 Feb 2016 13:37:50 +0000 (08:37 -0500)]
Merge pull request #7604 from ceph/wip-selinux-update-radosgw-log
selinux: allow log files to be located in /var/log/radosgw
Reviewed-by: Sage Weil <sage@redhat.com>
Loic Dachary [Thu, 11 Feb 2016 12:18:34 +0000 (19:18 +0700)]
Merge pull request #7606 from tchaikov/wip-fix-ceph-disk
tests: ceph-disk.sh: use "readlink -f" instead for fullpath
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Thu, 11 Feb 2016 12:08:32 +0000 (20:08 +0800)]
tests: ceph-disk.sh: use "readlink -f" instead for fullpath
if $PATH has ".." in it, and the program happen to be located in
"..", `which program` will print `../program` instead of its fullpath,
so we should always use `readlink -f` for the fullpath.
Signed-off-by: Kefu Chai <kchai@redhat.com>
Boris Ranto [Thu, 11 Feb 2016 11:03:06 +0000 (12:03 +0100)]
selinux: Allow log files to be located in /var/log/radosgw
We do suggest users to put their logs in /var/log/radosgw in the
documentation at times. We should also label that directory with
ceph_var_log_t so that ceph daemons can also write there.
The commit also updates the man page for this policy. This man page is
automatically generated by
* sepolicy manpage -p . -d ceph_t
and have not been reloaded in a while. Hence, it contains few more
changes than the new radosgw directory.
Signed-off-by: Boris Ranto <branto@redhat.com>
Haomai Wang [Thu, 11 Feb 2016 06:36:01 +0000 (14:36 +0800)]
Merge pull request #7601 from jjhuo/master
os/bluestore: fix a typo in SPDK path parsing
Reviewed-by: Haomai Wang <haomai@xsky.com>
Jianjian Huo [Thu, 11 Feb 2016 01:44:33 +0000 (20:44 -0500)]
os/bluestore: fix a typo in SPDK path parsing
SPDK block path with bluestore is something like spdk:
55cd2e404bd73932 .
The size of the prefix to compare should be 5.
sizeof(SPDK_PREFIX)-1 returns 5, while sizeof(SPDK_PREFIX-1) returns 8.
Signed-off-by: Jianjian Huo <samuel.huo@gmail.com>
Jason Dillaman [Thu, 11 Feb 2016 00:06:02 +0000 (19:06 -0500)]
librbd: protect journal replay against overlapping writes
If fsx issues a back-to-back synchronous write, these will be
replayed as AIO writes. If object map is enabled, it's possible
for the two writes to commit to disk out-of-order if the first
write required an object map update.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 10 Feb 2016 22:40:42 +0000 (17:40 -0500)]
librbd: track in-flight AIO flush requests during journal replay
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Wed, 10 Feb 2016 22:39:36 +0000 (17:39 -0500)]
test: possible librbd journal replay flush race
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Wed, 10 Feb 2016 21:02:11 +0000 (16:02 -0500)]
Merge pull request #7588 from dmick/master
common/page.cc: _page_mask has too many bits
Reviewed-by: Sage Weil <sage@redhat.com>
Yehuda Sadeh [Wed, 10 Feb 2016 19:16:30 +0000 (11:16 -0800)]
Merge pull request #7413 from YankunLi/dev
rgw: remove duplicated code in RGWRados::get_bucket_info()
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 10 Feb 2016 19:15:49 +0000 (11:15 -0800)]
Merge branch 'wip-11642-0203'
Bo Cai [Wed, 3 Feb 2016 08:49:50 +0000 (16:49 +0800)]
rgw: make function parameter 'errordoc_key' passed by reference
Signed-off-by: Bo Cai <cai.bo@h3c.com>
Sage Weil [Wed, 10 Feb 2016 18:58:50 +0000 (13:58 -0500)]
Merge branch 'master' of github.com:ceph/ceph
Yehuda Sadeh [Wed, 10 Feb 2016 19:03:04 +0000 (11:03 -0800)]
Merge pull request #7544 from ceph/wip-rh-covscan
rgw/rgw_orphan: check the return value of save_state
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Wed, 10 Feb 2016 19:01:54 +0000 (11:01 -0800)]
Merge pull request #7586 from bsedyang/master
rgw: user quota may not adjust on bucket removal
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Sage Weil [Wed, 10 Feb 2016 18:57:37 +0000 (13:57 -0500)]
doc/release-notes: v10.0.3
Finalized release notes.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 10 Feb 2016 14:24:35 +0000 (09:24 -0500)]
Merge pull request #7592 from dachary/wip-release-notes
release-notes: draft v10.0.3 release notes
Loic Dachary [Wed, 10 Feb 2016 13:58:53 +0000 (20:58 +0700)]
Merge pull request #7594 from tchaikov/fix-ceph-disk-test
tests: ceph-disk.sh: should use "readlink -f" instead
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Wed, 10 Feb 2016 13:30:46 +0000 (21:30 +0800)]
tests: ceph-disk.sh: should use "readlink -f" instead
turns out trusty does not have `realpath` unless the package named
`realpath` is installed.
Reported-by: Joao Eduardo Luis <joao@suse.de>
Signed-off-by: Kefu Chai <kchai@redhat.com>
Loic Dachary [Wed, 10 Feb 2016 09:19:06 +0000 (16:19 +0700)]
release-notes: draft v10.0.3 release notes
Signed-off-by: Loic Dachary <loic@dachary.org>
Loic Dachary [Wed, 10 Feb 2016 08:14:31 +0000 (15:14 +0700)]
scripts: ceph-release-notes fix merge messages handling
Strip the title line if it is the same as the pr title instead of
ignoring the message entirely.
Signed-off-by: Loic Dachary <loic@dachary.org>
Kefu Chai [Wed, 10 Feb 2016 05:23:07 +0000 (21:23 -0800)]
cmake: remove Boost libraries from EXTRALIBS
* and remove ${Boost_SYSTEM_LIBRARY} from test_rados_api_tier
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 5 Feb 2016 07:56:55 +0000 (15:56 +0800)]
log: remove "boost/asio.hpp" from Log.h
graylog uses boost/asio.hpp which introduces the link-time dependency on
libboost_system to the compilation units which includes Log.h and
LogClient.h. so it appears that perfglue/heap_profiler.cc is referencing
libboost_system.so, and fails the cmake build of all tests which links
against tcmalloc.
in this change, we:
* remove unnecessary #includes from Graylog.h
* forward declare Graylog class, so that "Graylog.h" is not included in
any header files to avoid the link-time dependency pollution
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Wed, 10 Feb 2016 05:16:34 +0000 (21:16 -0800)]
cmake: disable warnings introduced by
457f023
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Sat, 6 Feb 2016 00:59:32 +0000 (08:59 +0800)]
Revert "cmake: add libboost_system to EXTRALIBS"
This reverts commit
21438a6773a3153556de07096919ab46c4540eee .
Signed-off-by: Kefu Chai <kchai@redhat.com>
Dan Mick [Wed, 10 Feb 2016 03:35:25 +0000 (19:35 -0800)]
common/page.cc: _page_mask has too many bits
It's not used anywhere, but in case it is one day...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
root [Tue, 9 Feb 2016 20:03:24 +0000 (12:03 -0800)]
rgw: user quota may not adjust on bucket removal
Description:
If the user/admin removes a bucket using --force/--purge-objects options with s3cmd/radosgw-admin respectively, the user stats will continue to reflect the deleted objects for quota purposes, and there seems to be no way to reset them. User stats need to be sync'ed prior to bucket removal.
Solution:
Sync user stats before removing a bucket.
Fixes: #14507
Signed-off-by: Edward Yang eyang@us.fujitsu.com
Jason Dillaman [Tue, 9 Feb 2016 02:35:31 +0000 (21:35 -0500)]
test: fsx now exercises librbd journal replay
write, discard, snap create, snap protect, flatten, and resize journal
events are tests when using the new '-j' option.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 9 Feb 2016 17:12:51 +0000 (12:12 -0500)]
librbd: missing lock on maint operation replay callback
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Tue, 9 Feb 2016 17:10:10 +0000 (12:10 -0500)]
librbd: do not fire flush completions before associated write
Prevents a race condition in journal replay when committing events
to the journal.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Tue, 9 Feb 2016 14:02:22 +0000 (09:02 -0500)]
Merge pull request #7496 from xiexingguo/xxg-wip-fixnvme
osd: BlueStore/NVMEDevice: fix compiling and fd leak
Reviewed-by: Haomai Wang <haomai@xsky.com>
Sage Weil [Tue, 9 Feb 2016 13:58:28 +0000 (08:58 -0500)]
Merge pull request #7349 from yuyuyu101/add-pwritev
osd: FileStore: use pwritev instead of lseek+writev
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 9 Feb 2016 13:57:11 +0000 (08:57 -0500)]
Merge pull request #7504 from renhwsky/renhw-wip-mon-shutdown
mon: unregister command on shutdown
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Sage Weil [Tue, 9 Feb 2016 13:56:48 +0000 (08:56 -0500)]
Merge pull request #7550 from tchaikov/wip-osd-cleanup
osd: a fix for HeartbeatDispatcher and cleanups
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 9 Feb 2016 13:56:14 +0000 (08:56 -0500)]
Merge pull request #7553 from XinzeChi/wip-osdmap-affinity
osd: OSDMap: reset osd_primary_affinity shared_ptr when deepish_copy_from
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 9 Feb 2016 13:55:59 +0000 (08:55 -0500)]
Merge pull request #7560 from tchaikov/wip-fix-icl
crush/CrushTester: workaround a bug in boost::icl
Sage Weil [Tue, 9 Feb 2016 13:55:43 +0000 (08:55 -0500)]
Merge pull request #7568 from liewegas/wip-bluestore-mutex
osd: bluestore/blockdevice: use std::mutex et al
Rémi BUISSON [Fri, 5 Feb 2016 07:00:01 +0000 (08:00 +0100)]
debian: fix build-depends
Signed-off-by: Rémi BUISSON <remi.buisson@cdiscount.com>
Jason Dillaman [Tue, 9 Feb 2016 12:57:53 +0000 (07:57 -0500)]
Merge pull request #7578 from ceph/fix-stripper
Stripper: Fix incorrect push_front -> append_zero change
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
John Spray [Tue, 9 Feb 2016 12:15:56 +0000 (12:15 +0000)]
osdc/Objecter: drop lock to unregister asok hooks
unregister blocks until any running hook has
completed, and that running hook might
be one that takes the objecter lock, so you
can't hold it while unregistering.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 9 Feb 2016 12:11:40 +0000 (12:11 +0000)]
common: asok should drop lock to call hook
Otherwise, hooks cannot take any locks which
were held during registration of hooks, because
it creates a cycle.
Signed-off-by: John Spray <john.spray@redhat.com>
James Page [Tue, 9 Feb 2016 11:13:00 +0000 (11:13 +0000)]
Correctly escape block device paths for systemd
Ensure that the leading / is stripped from block device
paths before escaping for using in systemd unit names.
Fixes: #14706
Signed-off-by: James Page <james.page@ubuntu.com>
Yann Dupont [Mon, 8 Feb 2016 23:31:09 +0000 (00:31 +0100)]
mailmap: Matt Benjamin affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Yann Dupont [Mon, 8 Feb 2016 23:30:02 +0000 (00:30 +0100)]
mailmap: Emile Snyder affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Yann Dupont [Mon, 8 Feb 2016 23:18:59 +0000 (00:18 +0100)]
mailmap: Jonas Keidel affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Yann Dupont [Mon, 8 Feb 2016 23:13:37 +0000 (00:13 +0100)]
mailmap: Alan Grosskurth affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Yann Dupont [Mon, 8 Feb 2016 23:11:21 +0000 (00:11 +0100)]
mailmap: Alexey Sheplyakov affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Yann Dupont [Mon, 8 Feb 2016 23:10:12 +0000 (00:10 +0100)]
mailmap: Benoît Knecht affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Yann Dupont [Mon, 8 Feb 2016 23:06:41 +0000 (00:06 +0100)]
mailmap: Chuanhong Wang affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Yann Dupont [Mon, 8 Feb 2016 23:04:21 +0000 (00:04 +0100)]
mailmap: Gu Zhongyan affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>
Yann Dupont [Mon, 8 Feb 2016 23:01:03 +0000 (00:01 +0100)]
mailmap: Ivan Grcic affiliation
Signed-off-by: Yann Dupont <yann@objoo.org>