]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Vikhyat Umrao [Wed, 5 Aug 2015 16:55:35 +0000 (22:25 +0530)]
rbd: support size suffixes for size-based options
This patch will provide support for size suffixes for
below given options:
--stripe-unit <size in B/K/M>
--io-size <size in B/K/M/G/T>
--io-total <size in B/K/M/G/T>
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
Loic Dachary [Wed, 5 Aug 2015 15:06:02 +0000 (17:06 +0200)]
Merge pull request #5478 from dachary/wip-test-rados-striper
tests: rados striper tests use 7116 instead of 7113
Reviewed-by: Sebastien Ponce <sebastien.ponce@cern.ch>
Sage Weil [Wed, 5 Aug 2015 14:34:21 +0000 (10:34 -0400)]
Merge pull request #5459 from cxwshawn/master
radosgw-admin: use cout instead of cerr to print help message.
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Wed, 5 Aug 2015 13:06:37 +0000 (14:06 +0100)]
Merge pull request #4860 from ceph/wip-nobjectiterator-crash
librados: fix empty NObjectIterator crash on comparisons
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Tue, 28 Apr 2015 17:40:57 +0000 (18:40 +0100)]
librados: fix empty NObjectIterator crash on comparisons
This would segfault if you did a
NObjectIterator i;
i == ...
Fix comparisons by allowing pointer-wise comparisons
for iterators with impl==NULL, and asserting in
other methods that require a non-null ::impl
Signed-off-by: John Spray <john.spray@redhat.com>
Loic Dachary [Wed, 5 Aug 2015 12:46:57 +0000 (14:46 +0200)]
tests: rados striper tests use 7116 instead of 7113
Change src/test/libradosstriper/rados-striper.sh monitor address to 7116
because src/test/mon/osd-crush.sh uses 7113 already.
Signed-off-by: Loic Dachary <ldachary@redaht.com>
Kefu Chai [Wed, 5 Aug 2015 08:35:43 +0000 (16:35 +0800)]
Merge pull request #5474 from kylinstorage/wip-sparse_read_bugfix
osd/ReplicatedPG: sparse read should return (extent_map, data_bufferlist)
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Yunchuan Wen [Wed, 5 Aug 2015 05:04:38 +0000 (13:04 +0800)]
osd/ReplicatedPG: sparse read should return (extent_map, data_bufferlist)
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Josh Durgin [Wed, 5 Aug 2015 01:13:52 +0000 (18:13 -0700)]
Merge remote-tracking branch 'origin/next'
Conflicts:
src/Makefile-client.am (link rbd to libglobal again)
Jason Dillaman [Fri, 31 Jul 2015 17:06:33 +0000 (13:06 -0400)]
Revert "rbd: remove dependency on non-ABI controlled CephContext"
This reverts commit
fa78739933d7b9501116a12a4fbfd58b5ca99cdb .
Original approach broke krbd map/unmap functions and did not fully
address ABI issues.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Sage Weil [Tue, 4 Aug 2015 18:05:41 +0000 (14:05 -0400)]
Merge pull request #5446 from ceph/wip-systemd
systemd support
Reviewed-by: Owen Synge <osynge@suse.com>
Loic Dachary [Tue, 4 Aug 2015 17:13:02 +0000 (19:13 +0200)]
Merge pull request #5469 from theanalyst/doc/v0.94.3-release
doc: release notes for v0.94.3
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Abhishek Lekshmanan [Tue, 4 Aug 2015 15:53:27 +0000 (21:23 +0530)]
doc: release notes for v0.94.3
Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
Sage Weil [Tue, 4 Aug 2015 13:57:41 +0000 (09:57 -0400)]
client/Makefile: ship InodeRef
Signed-off-by: Sage Weil <sage@redhat.com>
John Spray [Tue, 4 Aug 2015 13:13:40 +0000 (14:13 +0100)]
Merge pull request #4753 from ceph/wip-client-inode-refs
client: hold reference for returned inode
Reviewed-by: John Spray <john.spray@redhat.com>
John Spray [Tue, 4 Aug 2015 13:12:38 +0000 (14:12 +0100)]
Merge pull request #5466 from ceph/wip-12578
mds: open base inode's snaprealm after decoding snapblob
Reviewed-by: John Spray <john.spray@redhat.com>
Yan, Zheng [Tue, 4 Aug 2015 11:18:10 +0000 (19:18 +0800)]
mds: open base inode's snaprealm after decoding snapblob
base inode has no parent, so can we mark its snaprealm open
immediately. This change makes sure replica mdsdir's snaplream
is opened.
Fixes: #12578
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Kefu Chai [Tue, 4 Aug 2015 11:08:24 +0000 (19:08 +0800)]
Merge pull request #5140 from tchaikov/wip-pg-ls-update-pending-rel-notes
doc: add changes to "pg ls*" commands to pending release notes
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Fri, 3 Jul 2015 10:28:24 +0000 (18:28 +0800)]
doc: add changes to "pg ls*" commands to pending release notes
"pg ls*" commands now accept recovering instead of recovery as
one of its states.
Fixes: #11569
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 4 Aug 2015 07:04:29 +0000 (15:04 +0800)]
Merge pull request #5337 from branch-predictor/bp-reduce-mallocs
Thread.cc: remove malloc/free pair
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 4 Aug 2015 07:03:11 +0000 (15:03 +0800)]
Merge pull request #5000 from ceph/wip-da-SCA-
20150601
Various SCA and Coverity fixes
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 4 Aug 2015 05:58:21 +0000 (13:58 +0800)]
Merge pull request #5312 from xinxinsh/wip-sparse-copy
use SEEK_HOLE/SEEK_DATA for sparse copy
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Tue, 4 Aug 2015 05:52:15 +0000 (13:52 +0800)]
Merge pull request #5420 from ceph/wip-12429
osd/OSDMap: handle incrementals that modify+del pool
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
shawn [Tue, 4 Aug 2015 03:14:31 +0000 (11:14 +0800)]
radosgw-admin: use cout not cerr to print help message.
everytime I print radosgw-admin help message, it's too long, and I wanna add | more,
but the help message prints to cerr, so I can only add 2>&1 again, so I think it's
so inconvenient.
Signed-off-by: shawn chen <cxwshawn@gmail.com>
Sage Weil [Tue, 4 Aug 2015 01:49:38 +0000 (21:49 -0400)]
Merge pull request #5431 from kylinstorage/test_cache_pool_script_fix
fix: qa/workunits/rados/test_cache_pool.sh
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 4 Aug 2015 01:47:41 +0000 (21:47 -0400)]
Merge pull request #5430 from ceph/wip-12537
rgw: url encode exposed bucket
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Aug 2015 19:15:51 +0000 (15:15 -0400)]
Merge pull request #5397 from ceph/wip-12222
mon: reject over-large values of max_mds
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Joao Eduardo Luis <joao@suse.de>
Sage Weil [Mon, 3 Aug 2015 19:14:37 +0000 (15:14 -0400)]
Merge pull request #5400 from tchaikov/wip-12451
tools/rados: update the help message
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 3 Aug 2015 18:41:28 +0000 (14:41 -0400)]
logrotate: fix log rotation with systemd
systemctl does not have a nice way to enumerate (active) units so we can
reload them. On centos7, the is-active wildcard syntax does not appear to
be supported. On fedora 22, it prints the state only but not which unit
the state belongs to.
Simply killall -1 instead.
Signed-off-by: Sage Weil <sage@redhat.com>
Josh Durgin [Mon, 3 Aug 2015 18:05:55 +0000 (11:05 -0700)]
Merge pull request #5440 from vumrao/wip-vumrao-12458-doc
doc: change --keyfile description in man page of rbd help
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Vikhyat Umrao [Fri, 31 Jul 2015 11:54:37 +0000 (17:24 +0530)]
doc: change "--keyfile" description in man page of rbd help
"--keyring" has higher priority than "--keyfile".
"--keyfile" option is overridden by "--keyring"
if latter is also specified.
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
Kefu Chai [Mon, 3 Aug 2015 17:18:47 +0000 (01:18 +0800)]
Merge pull request #5455 from ceph/wip-cephfs-cmake
CMake fixes for CephFS
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Mon, 3 Aug 2015 16:09:33 +0000 (12:09 -0400)]
Merge pull request #5456 from kylinstorage/wip-do_autogen.sh
Allow do_autogen.sh pass configure parameters
Reviewed-by: Sage Weil <sage@redhat.com>
John Spray [Mon, 3 Aug 2015 15:27:12 +0000 (16:27 +0100)]
CMake: add crushtool
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 15:26:49 +0000 (16:26 +0100)]
CMake: fix librados build
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 15:11:22 +0000 (16:11 +0100)]
CMake: fix rbd build
Don't link with 'global' from rbd (to match
autotools update
fa78739 ). Fixes "g_ceph_context
defined twice" error.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 11:59:00 +0000 (12:59 +0100)]
CMake: libblkid not only needed with rbd
It's linked in libcommon.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 11:52:58 +0000 (12:52 +0100)]
CMake: smalliobenchrbd should dep on rbd
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 11:48:32 +0000 (12:48 +0100)]
CMake: set WITH_CEPHFS by default
Option was referenced in CMakeLists but
not actually set.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 12:14:16 +0000 (13:14 +0100)]
CMake: fix cephfs cls build
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Mon, 3 Aug 2015 11:51:42 +0000 (12:51 +0100)]
CMake: fix cephfs test targets
These had bad lib names.
Signed-off-by: John Spray <john.spray@redhat.com>
John Spray [Fri, 31 Jul 2015 12:26:12 +0000 (13:26 +0100)]
CMake: add cephfs tools
cephfs-table-tool, cephfs-data-scan, cephfs-journal-tool
Signed-off-by: John Spray <john.spray@redhat.com>
Sage Weil [Mon, 3 Aug 2015 14:57:14 +0000 (10:57 -0400)]
Makefile: include systemd udev rules in tarball
Signed-off-by: Sage Weil <sage@redhat.com>
Kefu Chai [Mon, 3 Aug 2015 14:37:35 +0000 (22:37 +0800)]
Merge pull request #5422 from ceph/wip-fix-filestore-getattr
tests: fix the ObjectStore/StoreTest.SimpleCloneTest in "ceph_test_objectstore"
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Yan, Zheng [Mon, 3 Aug 2015 13:28:47 +0000 (21:28 +0800)]
Merge pull request #5375 from ceph/wip-config-root-ino
Make UID of new root inos configurable
Yunchuan Wen [Mon, 3 Aug 2015 13:05:18 +0000 (13:05 +0000)]
add help to do_autogen.sh
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
Yunchuan Wen [Mon, 3 Aug 2015 13:03:47 +0000 (13:03 +0000)]
Allow do_autogen.sh to pass configure parameters
Currently do_autogen.sh does not allow to pass parameters
of configure to disable/enable components during building, which is not
flexible, this patch add the ability to it.
Signed-off-by: Yunchuan Wen <yunchuanwen@ubuntukylin.com>
Reviewed-by: Li Wang <liwang@ubuntukylin.com>
Yan, Zheng [Wed, 24 Jun 2015 07:39:31 +0000 (15:39 +0800)]
client: use smart pointer to track temporary inode reference
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 07:54:31 +0000 (15:54 +0800)]
client: use smart pointer to track 'cwd' and 'root_parents'
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 07:52:10 +0000 (15:52 +0800)]
client: convert Inode::snapdir_parent to smart pointer
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 07:24:41 +0000 (15:24 +0800)]
client: convert CapSnap::in to smart pointer
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 07:50:10 +0000 (15:50 +0800)]
client: convert Fh::inode to smart pointer
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 07:00:50 +0000 (15:00 +0800)]
client: use smart pointers in MetaRequest
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Wed, 24 Jun 2015 03:21:23 +0000 (11:21 +0800)]
client: convert Dentry::inode to smart pointer
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Yan, Zheng [Sat, 23 May 2015 12:01:46 +0000 (20:01 +0800)]
client: hold reference for returned inode
CLient::make_request() returns pointer of target inode, but it does not
increase reference count of the returned inode. The inode may get freed
when CLient::make_request() releases MetaRequest.
he fix is hold a reference for the returned inode. Since there are many
of places use CLient::make_request() directly or indirectly, it's easy
to leak reference. This patch uses intrusive_ptr to track the reference.
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Sage Weil [Fri, 31 Jul 2015 19:44:15 +0000 (15:44 -0400)]
systemd: fix ceph-radosgw@ service
There's no prestart. Fix the instance name. Cleanup.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 31 Jul 2015 19:16:30 +0000 (15:16 -0400)]
ceph.spec: install the new systemd-based udev rules from ddiss
Signed-off-by: Sage Weil <sage@redhat.com>
Owen Synge [Fri, 31 Jul 2015 13:03:40 +0000 (15:03 +0200)]
ceph.spec.in:Fixup renamed ceph-rgw.conf
This is a simple renaming bug.
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Fri, 31 Jul 2015 11:15:02 +0000 (13:15 +0200)]
ceph.spec.in:fixup bad merge of systemd logic
Sage Weil [Thu, 30 Jul 2015 14:00:29 +0000 (10:00 -0400)]
remove ceph-disk-{activate,prepare} wrappers
These ancient aliases shouldn't be used. We should have removed them
immediately way back when, honestly.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 30 Jul 2015 13:41:35 +0000 (09:41 -0400)]
ceph.spec: ship ceph-disk-* units
Signed-off-by: Sage Weil <sage@redhat.com>
David Disseldorp [Mon, 11 May 2015 23:45:34 +0000 (01:45 +0200)]
systemd: activate disks via systemd service instead of udev
The udev(7) man page states:
RUN
...
This can only be used for very short-running foreground tasks. Running
an event process for a long period of time may block all further
events for this or a dependent device.
Starting daemons or other long-running processes is not appropriate
for udev; the forked processes, detached or not, will be
unconditionally killed after the event handling has finished.
ceph-disk activate is far from a short-running task:
- check whether path is a block dev, for dirs call through to
activate_dir()
- call blkid to obtain the filesystem type for the block dev
- pull mount options from hard-coded ceph.conf file
- mount the OSD dev at a temporary path
- check the ceph magic for mounted filesystem
- read cluster uuid and locate corresponding /etc/ceph/{cluster}.conf
path
- read or generate (if missing) the OSD uuid
- create a file indicating init system usage (systemd)
- mount the device at a second (final) location
- umount (lazy) the temporary mount path
- enable the systemd ceph-osd@{osd_id} service
- start the systemd ceph-osd@{osd_id} service
This logic is therefore best left in a systemd service for execution. As
it is less limited in terms of execution time, and also allows for
improved event handling in future (fsck, dmcrypt mapping etc.).
This change sees 95-ceph-osd.rules.systemd trigger ceph-disk activate or
ceph-disk activate-journal via new ceph-disk-activate-journal@.service,
ceph-disk-activate@.service and ceph-disk-dmcrypt-activate@.service
systemd service files.
ceph-disk-dmcrypt-activate@.service makes use of the newly added
--dmcrypt parameter for ceph-disk activate.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Sage Weil [Thu, 30 Jul 2015 13:39:51 +0000 (09:39 -0400)]
ceph.spec: use sysvinit rbdmap script for now
Signed-off-by: Sage Weil <sage@redhat.com>
David Disseldorp [Tue, 12 May 2015 15:07:30 +0000 (17:07 +0200)]
ceph-disk: map dmcrypt devices prior to activation
Support mapping of dmcrypt devices during activation via the new
ceph-disk activate[-journal] --dmcrypt and --dmcrypt-key-dir parameters.
Signed-off-by: David Disseldorp <ddiss@suse.de>
David Disseldorp [Wed, 13 May 2015 10:58:50 +0000 (12:58 +0200)]
ceph-disk: split get_dmcrypt_key_path from key creation
In preparation for mapping dmcrypt cyphertext devs during activation.
Signed-off-by: David Disseldorp <ddiss@suse.de>
David Disseldorp [Tue, 12 May 2015 12:08:16 +0000 (14:08 +0200)]
ceph-disk: add --log-stdout parameter
This can be used when ceph-disk is run by systemd services, to ensure
that output is captured in the journal.
Signed-off-by: David Disseldorp <ddiss@suse.de>
Sage Weil [Wed, 29 Jul 2015 19:12:54 +0000 (15:12 -0400)]
ceph.spec: no rcceph[-radosgw] with systemd
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 29 Jul 2015 19:10:36 +0000 (15:10 -0400)]
systemd: add ceph-create-keys@ service
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 27 Jul 2015 19:11:10 +0000 (15:11 -0400)]
ceph.spec: include systemd units files
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 27 Jul 2015 18:38:45 +0000 (14:38 -0400)]
system: include all unit files
Signed-off-by: Sage Weil <sage@redhat.com>
Owen Synge [Tue, 26 May 2015 17:23:58 +0000 (19:23 +0200)]
Autotools to install systemd unit files.
To simplify the spec file we should install as much using autotools
and as little as possible in the spec file.
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Wed, 10 Jun 2015 13:33:54 +0000 (15:33 +0200)]
Add unit files to the spec file.
%{_unitdir}/ceph-mds@.service
%{_unitdir}/ceph-mon@.service
%{_unitdir}/ceph-osd@.service
%{_unitdir}/ceph.target
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Thu, 25 Jun 2015 11:30:17 +0000 (13:30 +0200)]
radosgw systemd prestart moved to systemd
prestart scripts are going to be added to systemd to simplify the switching behavior.
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Wed, 18 Mar 2015 09:17:05 +0000 (10:17 +0100)]
radosgw systemd support
Added a radosgw systemd support and associated prestart script.
- With improved checking over first revison.
- ceph-radosgw-prestart.sh now installed in /usr/lib/ceph-radosgw
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Tue, 9 Jun 2015 14:55:10 +0000 (16:55 +0200)]
ceph.spec.in: Change redhat defaults for rgw
Changes
--with-rgw-user=$USER \
--with-rgw-group=$GROUP \
to
USER=root
GROUP=root
from
USER=apache
GROUP=apache
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Wed, 3 Jun 2015 10:55:01 +0000 (12:55 +0200)]
Added tmpfiles.d for rgw: templated user and group.
tmpfiles.d are part of system.d and define how temporary directories are setup.
rgw needs a socket directory. To do this we template tmpfiles.d user and group
for rgw and fill in the values using autotools.
Note1: Added to spec file.
Note2: Name changed to rgw from radosgw as is preferred name by Sage.
Note3: Adds configure options
--with-rgw-user=UserName
--with-rgw-group=GroupName
Note4: Defaults set for debian
Note5: spec file overrides defaults for redhat and suse
Signed-off-by: Owen Synge <osynge@suse.com>
Owen Synge [Mon, 18 May 2015 10:07:03 +0000 (12:07 +0200)]
ceph.spec.in:Update rpm hooks and file content
Take rpm hooks from SUSE rpm and move upstream.
These are tested on SLE12 to include the correct files.
Signed-off-by: Owen Synge <osynge@suse.com>
Orit Wasserman [Fri, 31 Jul 2015 19:39:04 +0000 (21:39 +0200)]
Merge pull request #5445 from ceph/wip-12432
Wip 12432
Yehuda Sadeh [Wed, 22 Jul 2015 17:01:00 +0000 (10:01 -0700)]
rgw: set http status in civetweb
Need to set the http status in civetweb so that we report it correctly.
Fixes: #12432
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 31 Jul 2015 18:03:29 +0000 (11:03 -0700)]
civetweb: update submodule to support setting of http status
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Yehuda Sadeh [Fri, 31 Jul 2015 17:25:46 +0000 (13:25 -0400)]
Merge pull request #5258 from zhouyuan/rgw_skip_first_chunk
rgw: skip prefetch first chunk if range get falls to shadow objects
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Ilya Dryomov [Fri, 31 Jul 2015 16:50:58 +0000 (19:50 +0300)]
doc: krbd supports clones since 3.10
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Loic Dachary [Fri, 31 Jul 2015 10:29:04 +0000 (12:29 +0200)]
Merge pull request #5438 from ceph/fix-doc-build
doc: fix the build of placement-groups.rst
Reviewed-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Thu, 30 Jul 2015 14:19:41 +0000 (22:19 +0800)]
os/FileStore: getattr() should return 0 if success
* fix the test of ObjectStore/StoreTest.SimpleCloneTest, the expected
return value of getattr() should be 0. otherwise it otherwise it fails
on objectstore backends of "memstore" and "keyvaluestore".
* change FileStore::getattr() to return 0 on success
* tighten related tests in ceph_test_objectstore, to test the return value
of getattr() using ASSERT_EQ(r, 0) instead of ASSERT_GE(r, 0)
Signed-off-by: Kefu Chai <kchai@redhat.com>
Haomai Wang [Fri, 31 Jul 2015 08:05:41 +0000 (16:05 +0800)]
KeyValueStore: Fix incorrect rm_keys behaviors
GenericObjectMap will copyup parents keys when rm keys, but if
caller(KeyValueStore) already buffer "set keys", it shouldn't
copyup reset keys.
Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
Kefu Chai [Fri, 31 Jul 2015 09:07:29 +0000 (17:07 +0800)]
doc: fix the build of placement-groups.rst
add a reference target of "mapping pgs to osds"
Signed-off-by: Kefu Chai <kchai@redhat.com>
Kefu Chai [Fri, 31 Jul 2015 08:47:55 +0000 (16:47 +0800)]
Merge pull request #5432 from ceph/wip-fix-rbd-build
make: fix the build of "rbd"
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Mingxin Liu [Fri, 31 Jul 2015 03:16:41 +0000 (11:16 +0800)]
fix: qa/workunits/rados/test_cache_pool.sh
Signed-off-by: Mingxin Liu <mingxinliu@ubuntukylin.com>
Loic Dachary [Fri, 31 Jul 2015 07:55:01 +0000 (09:55 +0200)]
Merge pull request #5434 from tobegit3hub/remove_execute_mode
Remove execute mode of source files
Reviewed-by: Loic Dachary <ldachary@redhat.com>
tobe [Fri, 31 Jul 2015 07:47:43 +0000 (15:47 +0800)]
Remove execute mode of source files
Haomai Wang [Fri, 31 Jul 2015 07:41:32 +0000 (15:41 +0800)]
Merge pull request #5398 from mingyuez/master
rbd:If the image has any protected snaps,'rbd snap purge image' will return failure without removing any snaps.
Reviewed-by: Josh During <jdurgin@redhat.com>
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Kefu Chai [Fri, 31 Jul 2015 06:41:51 +0000 (14:41 +0800)]
make: fix the build of "rbd"
`CEPH_GLOBAL` was removed in
fa78739 , but the linked libraries does not
offer all needed symbols for "rbd". so add them back.
Signed-off-by: Kefu Chai <kchai@redhat.com>
mingyuez [Fri, 31 Jul 2015 04:06:05 +0000 (12:06 +0800)]
rbd:'rbd purge image' will return failure without removing any snaps if the image has a protected snap
Signed-off-by: mingyuez <zhao.mingyue@h3c.com>
Kefu Chai [Fri, 31 Jul 2015 02:24:30 +0000 (10:24 +0800)]
Merge pull request #5395 from tchaikov/wip-12512
common/syncfs: fall back to sync(2) if syncfs(2) not available
Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
Kefu Chai [Fri, 31 Jul 2015 02:14:02 +0000 (10:14 +0800)]
Merge pull request #5402 from ceph/wip-claim-sparse-read-buffer
osd/ReplicatedPG: claim the read buffer instead of copying it
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Fri, 31 Jul 2015 02:13:40 +0000 (22:13 -0400)]
Merge pull request #5428 from ceph/wip-kill-rest-bench
kill rest-bench
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Yuan Zhou [Thu, 16 Jul 2015 08:18:09 +0000 (16:18 +0800)]
rgw: skip prefetch first chunk if range get falls to shadow objects
Currently the head object will be prefetched in each GET:
a) This is unnecessary if the Range GET falls to shadow objects.
b) The GET request would be quite slow if we have a big head object
This patch adds some check on the Range. If it's not in the head
object(>=rgw_max_chunk_size) then skip the prefetch.
Fixes: #12539
Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
Josh Durgin [Thu, 30 Jul 2015 23:35:01 +0000 (16:35 -0700)]
Merge remote-tracking branch 'origin/next'
Josh Durgin [Thu, 30 Jul 2015 23:26:51 +0000 (16:26 -0700)]
Merge pull request #5425 from ceph/wip-12479-next
librbd: test crash during client upgrade suite
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Yehuda Sadeh [Thu, 30 Jul 2015 21:47:15 +0000 (14:47 -0700)]
rgw: url encode exposed bucket
Fixes: #12537
Don't send the bucket name back without url encoding it.
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>