]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agoceph.spec.in: put distro conditional around Group: 5796/head
Nathan Cutler [Sat, 1 Aug 2015 07:30:59 +0000 (09:30 +0200)]
ceph.spec.in: put distro conditional around Group:

Neither RHEL and Fedora require a Group: line, so retain
only for SLE/openSUSE (and set the right value for these distros)

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #5798 from SUSE/wip-fix-license
Ken Dreyer [Fri, 4 Sep 2015 17:38:10 +0000 (11:38 -0600)]
Merge pull request #5798 from SUSE/wip-fix-license

ceph.spec.in: fix License line

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #5801 from dreamhost/wip-12939-header
Yehuda Sadeh [Fri, 4 Sep 2015 17:21:19 +0000 (10:21 -0700)]
Merge pull request #5801 from dreamhost/wip-12939-header

Fix casing of Content-Type header

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #5811 from vumrao/wip-vumrao-12944
Loic Dachary [Fri, 4 Sep 2015 16:58:44 +0000 (18:58 +0200)]
Merge pull request #5811 from vumrao/wip-vumrao-12944

doc: Add pgcalc tool link in placement-groups document

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5791 from SUSE/wip-drop-lsb-release
Ken Dreyer [Fri, 4 Sep 2015 15:48:04 +0000 (09:48 -0600)]
Merge pull request #5791 from SUSE/wip-drop-lsb-release

ceph.spec.in: drop lsb-release dependency from ceph-common

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #5808 from ceph/wip-simplify-logrotate
Sage Weil [Fri, 4 Sep 2015 13:02:24 +0000 (09:02 -0400)]
Merge pull request #5808 from ceph/wip-simplify-logrotate

logrotate.conf: Simplify log files reopening after log rotation

Reviewed-by: Milan Broz <mbroz@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agodoc: Add pgcalc tool link in placement-groups document 5811/head
Vikhyat Umrao [Fri, 4 Sep 2015 11:25:13 +0000 (16:55 +0530)]
doc: Add pgcalc tool link in placement-groups document

Fixes #12944

Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
9 years agoMerge pull request #5771 from ceph/wip-fix-i386-build
Kefu Chai [Fri, 4 Sep 2015 11:29:01 +0000 (19:29 +0800)]
Merge pull request #5771 from ceph/wip-fix-i386-build

memstore: fix the build on i386

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5804 from tchaikov/wip-fix-build-boost-1.59
Loic Dachary [Fri, 4 Sep 2015 09:19:22 +0000 (11:19 +0200)]
Merge pull request #5804 from tchaikov/wip-fix-build-boost-1.59

mon: fix the build with boost 1.59

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agologrotate.conf: Simplify log files reopening after log rotation 5808/head
Boris Ranto [Fri, 4 Sep 2015 08:08:35 +0000 (10:08 +0200)]
logrotate.conf: Simplify log files reopening after log rotation

SIGHUP (1) signal makes ceph services reopen its log files so we do not
need to call any init scripts magic, here.

Additionally, the old approach caused problems with rhel-based systems
since it found the service command and tried to reload ceph.service
instead of ceph.target.

This also caused problems with SELinux as processes with context
logrotate_t are not allowed to issue systemctl reload on a process.

This patch is also in sync with other logrotate postrotate scripts which
do exactly the same thing (send SIGHUP to the daemon).

Signed-off-by: Boris Ranto <branto@redhat.com>
9 years agoMerge pull request #5802 from liewegas/wip-coverity
Loic Dachary [Fri, 4 Sep 2015 07:18:35 +0000 (09:18 +0200)]
Merge pull request #5802 from liewegas/wip-coverity

a few coverity fixes

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomon: fix the build with boost 1.59 5804/head
Kefu Chai [Fri, 4 Sep 2015 02:37:26 +0000 (10:37 +0800)]
mon: fix the build with boost 1.59

cmd_vartype is a
boost::variant<std::string, bool, int64_t, double,
               std::vector<std::string>>, so we can not get a
int8_t from it.

Fixes: #12922
Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoosd/ReplicatedPG: ProxyWriteOp::reqid should not be a ref 5802/head
Sage Weil [Fri, 4 Sep 2015 02:01:19 +0000 (22:01 -0400)]
osd/ReplicatedPG: ProxyWriteOp::reqid should not be a ref

CID 1322778 (#1 of 1): Pointer to local outside scope (RETURN_LOCAL)
1. escape_local_addr: Returning, through this->reqid, the address of stack variable _reqid.
    2. return: Returning here.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd/osd_types: init coll_t::removal_seq in all ctors
Sage Weil [Fri, 4 Sep 2015 01:59:00 +0000 (21:59 -0400)]
osd/osd_types: init coll_t::removal_seq in all ctors

CID 1322784 (#1 of 1): Uninitialized scalar variable (UNINIT)
2. uninit_use_in_call: Using uninitialized value coll.removal_seq when calling coll_t. [show details]

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agotest_cls_numops: fix iterator use
Sage Weil [Fri, 4 Sep 2015 01:57:56 +0000 (21:57 -0400)]
test_cls_numops: fix iterator use

CID 1322828 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
28. use_after_free: Using invalidated internal representation of local it.
CID 1322827 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
25. use_after_free: Using invalidated internal representation of local it.
CID 1322826 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
31. use_after_free: Using invalidated internal representation of local it.
CID 1322825 (#1 of 1): Wrapper object use after free (WRAPPER_ESCAPE)
31. use_after_free: Using invalidated internal representation of local it.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoFix casing of Content-Type header 5801/head
Robin H. Johnson [Fri, 4 Sep 2015 01:07:48 +0000 (01:07 +0000)]
Fix casing of Content-Type header

It turns out, despite the HTTP spec declaring that header field names
should be case-insensitive, some clients treat them wrongly, and
consider "Content-type" to not match "Content-Type".

CyberDuck was one of those clients, now fixed upstream in
https://trac.cyberduck.io/ticket/8999

To reduce future occurances of this bug, fix the casing of the
Content-Type header, to strictly comply with the HTTP specification (be
strict about what you send, and generous about what you receive).

Fixes: #12939
Backport: infernalis, hammer, firefly
Signed-off-by: Robin H. Johnson <robin.johnson@dreamhost.com>
9 years agodebian: package radosgw-object-expirer in radosgw deb
Sage Weil [Thu, 3 Sep 2015 22:41:52 +0000 (18:41 -0400)]
debian: package radosgw-object-expirer in radosgw deb

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph.spec: package new rgw files
Sage Weil [Thu, 3 Sep 2015 22:41:26 +0000 (18:41 -0400)]
ceph.spec: package new rgw files

   /usr/bin/radosgw-object-expirer
   /usr/lib64/rados-classes/libcls_timeindex.so

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5799 from liewegas/wip-cmake
Sage Weil [Thu, 3 Sep 2015 19:44:43 +0000 (15:44 -0400)]
Merge pull request #5799 from liewegas/wip-cmake

cmake: fix build (newstore issues)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoCMakeLists.txt: add newstore files 5799/head
Sage Weil [Thu, 3 Sep 2015 19:27:45 +0000 (15:27 -0400)]
CMakeLists.txt: add newstore files

Signed-off-by: Sage Weil <sage@redhat.com>
9 years ago.gitignore: ignore build (usually used by cmake)
Sage Weil [Thu, 3 Sep 2015 19:27:34 +0000 (15:27 -0400)]
.gitignore: ignore build (usually used by cmake)

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge remote-tracking branch 'gh/master' into infernalis
Sage Weil [Thu, 3 Sep 2015 19:15:01 +0000 (15:15 -0400)]
Merge remote-tracking branch 'gh/master' into infernalis

9 years agorgw/Makefile.am: ship rgw_object_expirer_core.h
Sage Weil [Thu, 3 Sep 2015 19:13:40 +0000 (15:13 -0400)]
rgw/Makefile.am: ship rgw_object_expirer_core.h

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5744 from ceph/wip-12909
Sage Weil [Thu, 3 Sep 2015 19:09:49 +0000 (15:09 -0400)]
Merge pull request #5744 from ceph/wip-12909

cmake: update FUSE_INCLUDE_DIRS to match autoconf

9 years agoMerge pull request #5610 from ceph/wip-cmake
Sage Weil [Thu, 3 Sep 2015 19:08:36 +0000 (15:08 -0400)]
Merge pull request #5610 from ceph/wip-cmake

cmake: make check

9 years agoceph.spec: build requires cmake 5610/head
Sage Weil [Thu, 3 Sep 2015 19:01:53 +0000 (15:01 -0400)]
ceph.spec: build requires cmake

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodebian/control: build requires cmake
Sage Weil [Thu, 3 Sep 2015 19:01:34 +0000 (15:01 -0400)]
debian/control: build requires cmake

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodebian/control: build-requires libboost-regex-dev
Sage Weil [Thu, 3 Sep 2015 18:59:37 +0000 (14:59 -0400)]
debian/control: build-requires libboost-regex-dev

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph.spec.in: fix License line 5798/head
Nathan Cutler [Thu, 3 Sep 2015 18:30:50 +0000 (20:30 +0200)]
ceph.spec.in: fix License line

This is closer to my reading of
https://github.com/ceph/ceph/blob/master/COPYING than the previous version.

http://tracker.ceph.com/issues/12935 Fixes: #12935

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #5692 from ceph/wip-rgw-swift-expiration
Yehuda Sadeh [Thu, 3 Sep 2015 17:23:00 +0000 (10:23 -0700)]
Merge pull request #5692 from ceph/wip-rgw-swift-expiration

Wip rgw swift expiration

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agocmake: install crushtool to destdir/bin
Matt Benjamin [Tue, 25 Aug 2015 17:49:25 +0000 (13:49 -0400)]
cmake: install crushtool to destdir/bin

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agocmake: add blkid as dependency to libcommon
Casey Bodley [Tue, 1 Sep 2015 19:33:31 +0000 (15:33 -0400)]
cmake: add blkid as dependency to libcommon

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agocmake: Changed name of crc32 target to crc32c
Ali Maredia [Tue, 25 Aug 2015 17:49:23 +0000 (13:49 -0400)]
cmake: Changed name of crc32 target to crc32c

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Added shell script tests
Ali Maredia [Mon, 24 Aug 2015 22:01:09 +0000 (18:01 -0400)]
cmake: Added shell script tests

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Fixed HAVE_BETTER_YASM_ELF64 variable
Ali Maredia [Mon, 24 Aug 2015 19:32:53 +0000 (15:32 -0400)]
cmake: Fixed HAVE_BETTER_YASM_ELF64 variable

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Removed trailing spaces from isa .s files
Ali Maredia [Mon, 24 Aug 2015 18:11:01 +0000 (14:11 -0400)]
cmake: Removed trailing spaces from isa .s files

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Uncommented erasure-code/shec conditional
Ali Maredia [Fri, 21 Aug 2015 17:33:05 +0000 (13:33 -0400)]
cmake: Uncommented erasure-code/shec conditional

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Removed traces of CDS, minor cmake fixes
Ali Maredia [Wed, 19 Aug 2015 20:15:46 +0000 (16:15 -0400)]
cmake: Removed traces of CDS, minor cmake fixes

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Fixed rbd_replay build issue
Ali Maredia [Tue, 18 Aug 2015 21:03:58 +0000 (17:03 -0400)]
cmake: Fixed rbd_replay build issue

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Removed scripts, check_PROGRAMS included
Ali Maredia [Tue, 18 Aug 2015 19:44:36 +0000 (15:44 -0400)]
cmake: Removed scripts, check_PROGRAMS included

Removed the unittest scripts for the time being.
Built unittests included in check_PROGRAMS target.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: Cleaned up syntax for make check targets
Ali Maredia [Tue, 18 Aug 2015 18:34:54 +0000 (14:34 -0400)]
cmake: Cleaned up syntax for make check targets

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agocmake: check_TESTPROGRAMS tests running
Ali Maredia [Mon, 17 Aug 2015 20:26:47 +0000 (16:26 -0400)]
cmake: check_TESTPROGRAMS tests running

Make check working, accept rocksdb tests. Clean up coming.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoREADME.md: Add basic CMake instructions
Ali Maredia [Tue, 4 Aug 2015 16:45:52 +0000 (12:45 -0400)]
README.md: Add basic CMake instructions

README.md: Fixed spacing, trimmed cmake section

Signed-off-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #5792 from ceph/wip-vstart-rgw
Sage Weil [Thu, 3 Sep 2015 15:03:26 +0000 (11:03 -0400)]
Merge pull request #5792 from ceph/wip-vstart-rgw

vstart: add -c argument to radosgw-admin commands

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agovstart: add -c argument to radosgw-admin commands 5792/head
Casey Bodley [Wed, 2 Sep 2015 14:54:44 +0000 (10:54 -0400)]
vstart: add -c argument to radosgw-admin commands

Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoceph.spec.in: drop redundant centos from conditionals 5791/head
Nathan Cutler [Thu, 3 Sep 2015 14:28:19 +0000 (16:28 +0200)]
ceph.spec.in: drop redundant centos from conditionals

Since the %{rhel} macro is guaranteed to be defined on all CentOS
installations, the %{centos} macro is superfluous.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoceph.spec.in: clean up suse_version conditionals
Nathan Cutler [Thu, 9 Jul 2015 11:42:50 +0000 (13:42 +0200)]
ceph.spec.in: clean up suse_version conditionals

Use 0%{?suse_version} throughout for consistency.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoceph.spec.in: drop lsb-release dependency from ceph-common
Nathan Cutler [Thu, 9 Jul 2015 11:39:03 +0000 (13:39 +0200)]
ceph.spec.in: drop lsb-release dependency from ceph-common

It was there as an equivalent of redhat-lsb-core, but the redhat-lsb-core bits
that ceph-common relies on are included in insserv-compat on SUSE, and
insserv-compat is in base.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #5590 from majianpeng/mds
John Spray [Thu, 3 Sep 2015 09:35:06 +0000 (10:35 +0100)]
Merge pull request #5590 from majianpeng/mds

Mds: add osdmap epoch for setxattr.

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agorgw: don't copy delete_at attr, unless it's intra region copy 5692/head
Yehuda Sadeh [Thu, 3 Sep 2015 00:56:07 +0000 (17:56 -0700)]
rgw: don't copy delete_at attr, unless it's intra region copy

We don't want to keep the expiration value of a copied object, unless
we're doing a copy within the same zone group.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: objexp shards index by key
Yehuda Sadeh [Thu, 27 Aug 2015 23:38:04 +0000 (16:38 -0700)]
rgw: objexp shards index by key

Not by time. This should provide better concurrency.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: delete-at and delete-after also on obj put / copy
Yehuda Sadeh [Thu, 27 Aug 2015 23:02:44 +0000 (16:02 -0700)]
rgw: delete-at and delete-after also on obj put / copy

And potentially later we could use also the S3 api, so it
could work with multipart upload, and POST obj.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #5775 from dachary/wip-do-autogen
Sage Weil [Wed, 2 Sep 2015 15:38:25 +0000 (11:38 -0400)]
Merge pull request #5775 from dachary/wip-do-autogen

tools: fix do_autogen.sh -R

9 years agoMerge pull request #5712 from yuyuyu101/wip-12801
Sage Weil [Wed, 2 Sep 2015 14:15:44 +0000 (10:15 -0400)]
Merge pull request #5712 from yuyuyu101/wip-12801

Mon: Make ceph osd metadata support dump all osds

Reviewed-by: Joao Eduardo Luis <joao@suse.de>
9 years agotools: fix do_autogen.sh -R 5775/head
Loic Dachary [Wed, 2 Sep 2015 14:00:10 +0000 (16:00 +0200)]
tools: fix do_autogen.sh -R

The R letter was missing from the getopts flags. Also sort the flags
alphabetically to make it easier to spot that kind of lossage.

Signed-off-by: Loic Dachary <ldachary@redhat.com>
9 years agorocksdb: fix 32-bit build 5771/head
Kefu Chai [Wed, 2 Sep 2015 13:01:57 +0000 (21:01 +0800)]
rocksdb: fix 32-bit build

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5752 from wonzhq/doc-write-recency
Loic Dachary [Wed, 2 Sep 2015 10:05:52 +0000 (12:05 +0200)]
Merge pull request #5752 from wonzhq/doc-write-recency

doc: add the doc for min_write_recency_for_promote

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomemstore: fix the build on i386
Kefu Chai [Wed, 2 Sep 2015 09:20:36 +0000 (17:20 +0800)]
memstore: fix the build on i386

on i386, uint64 is `unsigned long long`, while size_t is `unsigned int`.
std::min(uint64, size_t) can not be resolved.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #5739 from ceph/wip-12776
Yan, Zheng [Wed, 2 Sep 2015 06:38:30 +0000 (14:38 +0800)]
Merge pull request #5739 from ceph/wip-12776

mds: fix shutdown while in standby

9 years agodoc: add the doc for min_write_recency_for_promote 5752/head
Zhiqiang Wang [Wed, 2 Sep 2015 06:00:40 +0000 (14:00 +0800)]
doc: add the doc for min_write_recency_for_promote

Signed-off-by: Zhiqiang Wang <zhiqiang.wang@intel.com>
9 years agoMerge pull request #5736 from tianshan/wip-12864
Loic Dachary [Wed, 2 Sep 2015 05:19:19 +0000 (07:19 +0200)]
Merge pull request #5736 from tianshan/wip-12864

rados: make 'rados bench' support json format output

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5748 from liewegas/wip-warnings
Loic Dachary [Wed, 2 Sep 2015 05:16:48 +0000 (07:16 +0200)]
Merge pull request #5748 from liewegas/wip-warnings

fix newstore warning

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoceph-osd-prestart.sh: fix osd data dir ownership check
Sage Weil [Wed, 2 Sep 2015 01:43:04 +0000 (21:43 -0400)]
ceph-osd-prestart.sh: fix osd data dir ownership check

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5749 from liewegas/wip-async-ms
Haomai Wang [Wed, 2 Sep 2015 01:34:32 +0000 (09:34 +0800)]
Merge pull request #5749 from liewegas/wip-async-ms

msg/async: log tx/rx at level 1

Reviewed-by: Haomai Wang <haomaiwang@gmail.com>
9 years agovstart.sh: enable all experimental features for vstart 5749/head
Sage Weil [Wed, 2 Sep 2015 01:15:20 +0000 (21:15 -0400)]
vstart.sh: enable all experimental features for vstart

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoms/async: log message tx/rx at level 1
Sage Weil [Wed, 2 Sep 2015 01:15:07 +0000 (21:15 -0400)]
ms/async: log message tx/rx at level 1

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5722 from cxwshawn/vs-fix
Loic Dachary [Wed, 2 Sep 2015 00:11:20 +0000 (02:11 +0200)]
Merge pull request #5722 from cxwshawn/vs-fix

vstart.sh: add --mon_num --osd_num --mds_num --rgw_port option

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5693 from tchaikov/wip-12730
Loic Dachary [Wed, 2 Sep 2015 00:05:27 +0000 (02:05 +0200)]
Merge pull request #5693 from tchaikov/wip-12730

common/SubProcess: silence compiler warnings

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5643 from dreamhost/wip-make-check-makeopt
Loic Dachary [Tue, 1 Sep 2015 23:56:01 +0000 (01:56 +0200)]
Merge pull request #5643 from dreamhost/wip-make-check-makeopt

make-check: support MAKEOPTS overrides.

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5299 from hjwsm1989/pgmonitor-const
Loic Dachary [Tue, 1 Sep 2015 23:03:14 +0000 (01:03 +0200)]
Merge pull request #5299 from hjwsm1989/pgmonitor-const

  mon: added const to dump_* functions in PGMonitor

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5156 from rubenk/fix-indentation
Loic Dachary [Tue, 1 Sep 2015 22:51:58 +0000 (00:51 +0200)]
Merge pull request #5156 from rubenk/fix-indentation

Fix indentation

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5275 from tchaikov/wip-12287
Loic Dachary [Tue, 1 Sep 2015 22:49:23 +0000 (00:49 +0200)]
Merge pull request #5275 from tchaikov/wip-12287

pybind/ceph_argparse: do not choke on non-ascii prefix

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5702 from Sandy4999/wip-doc-sandy
Loic Dachary [Tue, 1 Sep 2015 21:57:53 +0000 (23:57 +0200)]
Merge pull request #5702 from Sandy4999/wip-doc-sandy

doc:radosgw: correct typos of the command removing a subuser

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@ril.com>
9 years agoMerge pull request #5747 from ceph/wip-user
Sage Weil [Tue, 1 Sep 2015 20:11:21 +0000 (16:11 -0400)]
Merge pull request #5747 from ceph/wip-user

fix ceph-disk

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #5742 from dachary/wip-user 5747/head
Loic Dachary [Tue, 1 Sep 2015 19:15:21 +0000 (21:15 +0200)]
Merge pull request #5742 from dachary/wip-user

tests: ceph-disk: dmcrypt simplification

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5746 from ceph/wip-fix-doc-build
Loic Dachary [Tue, 1 Sep 2015 19:04:38 +0000 (21:04 +0200)]
Merge pull request #5746 from ceph/wip-fix-doc-build

doc: fix the code-block in ruby.rst

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc: fix the code-block in ruby.rst 5746/head
Kefu Chai [Tue, 1 Sep 2015 17:41:55 +0000 (01:41 +0800)]
doc: fix the code-block in ruby.rst

* and add the link to library homepage in the section titles

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: update FUSE_INCLUDE_DIRS to match autoconf 5744/head
Casey Bodley [Tue, 1 Sep 2015 15:35:42 +0000 (11:35 -0400)]
cmake: update FUSE_INCLUDE_DIRS to match autoconf

client/fuse_ll.cc is now including <fuse.h> and <fuse_lowlevel.h>
instead of <fuse/fuse.h> and <fuse/fuse_lowlevel.h>, so we need to add
the fuse directory to the FUSE_INCLUDE_DIRS variable

using find_path() with just fuse.h was finding a /usr/include/fuse.h
instead of the one in /usr/include/fuse/. looking for fuse_common.h and
fuse_lowlevel.h first causes it to generate the correct
FUSE_INCLUDE_DIRS=/usr/include/fuse

Fixes: #12909
Signed-off-by: Casey Bodley <cbodley@redhat.com>
9 years agoos/newstore: fix swarning 5748/head
Sage Weil [Tue, 1 Sep 2015 17:59:40 +0000 (13:59 -0400)]
os/newstore: fix swarning

os/newstore/NewStore.cc: In member function 'int NewStore::_zero(NewStore::TransContext*, NewStore::CollectionRef&, const ghobject_t&, uint64_t, size_t)':
os/newstore/NewStore.cc:3693:32: warning: ignoring return value of 'int ftruncate(int, __off64_t)', declared with attribute warn_unused_result [-Wunused-result]
       ::ftruncate(fd, f.length);
                                ^

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #5578 from ceph/wip-newstore
Sage Weil [Tue, 1 Sep 2015 17:48:06 +0000 (13:48 -0400)]
Merge pull request #5578 from ceph/wip-newstore

osd: newstore (experimental)

9 years agoceph_test_keyvaluedb: add simple commit latency benchmark 5578/head
Sage Weil [Tue, 1 Sep 2015 17:14:03 +0000 (13:14 -0400)]
ceph_test_keyvaluedb: add simple commit latency benchmark

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/newstore: update todo
Sage Weil [Tue, 1 Sep 2015 17:13:47 +0000 (13:13 -0400)]
os/newstore: update todo

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodo_autogen.sh: build static rocksdb by default
Sage Weil [Thu, 27 Aug 2015 18:21:23 +0000 (14:21 -0400)]
do_autogen.sh: build static rocksdb by default

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorocksdb: update alt dist rule
Sage Weil [Thu, 27 Aug 2015 15:45:58 +0000 (11:45 -0400)]
rocksdb: update alt dist rule

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_objectstore: make OMapIterator test work with FileStore
Sage Weil [Wed, 26 Aug 2015 19:41:50 +0000 (15:41 -0400)]
ceph_test_objectstore: make OMapIterator test work with FileStore

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_objectstore: enable newstore tests
Sage Weil [Tue, 1 Sep 2015 17:22:02 +0000 (13:22 -0400)]
ceph_test_objectstore: enable newstore tests

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorocksdb: update to 3.11.2
Sage Weil [Wed, 26 Aug 2015 18:57:28 +0000 (14:57 -0400)]
rocksdb: update to 3.11.2

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/RocksDBStore: make other rmkey match
Sage Weil [Wed, 26 Aug 2015 18:54:00 +0000 (14:54 -0400)]
os/RocksDBStore: make other rmkey match

No need for Slice() here; it can take a string.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/RocksDBStore: fix rmkey()
Sage Weil [Wed, 26 Aug 2015 18:52:56 +0000 (14:52 -0400)]
os/RocksDBStore: fix rmkey()

This took way too long to debug!

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_keyvaluedb: some simple KeyValueDB unit tests
Sage Weil [Wed, 26 Aug 2015 17:55:45 +0000 (13:55 -0400)]
ceph_test_keyvaluedb: some simple KeyValueDB unit tests

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/newstore: fix end bound on collection_list
Sage Weil [Mon, 24 Aug 2015 21:59:34 +0000 (17:59 -0400)]
os/newstore: fix end bound on collection_list

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/newstore: flush object before doing omap reads
Sage Weil [Sat, 22 Aug 2015 14:33:40 +0000 (10:33 -0400)]
os/newstore: flush object before doing omap reads

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/newstore: add 'newstore backend options' to pass options to e.g. rocksdb
Sage Weil [Tue, 18 Aug 2015 21:22:32 +0000 (17:22 -0400)]
os/newstore: add 'newstore backend options' to pass options to e.g. rocksdb

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/newstore: change escaping chars
Sage Weil [Tue, 18 Aug 2015 19:33:39 +0000 (15:33 -0400)]
os/newstore: change escaping chars

# is lowest besides space and !, except for " (which would be too
confusing).

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/newstore: trim overlay when zeroing extent
Sage Weil [Tue, 18 Aug 2015 19:09:21 +0000 (15:09 -0400)]
os/newstore: trim overlay when zeroing extent

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/newstore: tolerate null pnext to collection_list()
Sage Weil [Tue, 18 Aug 2015 19:08:55 +0000 (15:08 -0400)]
os/newstore: tolerate null pnext to collection_list()

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/newstore: fix collection range for temp objects
Sage Weil [Tue, 18 Aug 2015 18:57:47 +0000 (14:57 -0400)]
os/newstore: fix collection range for temp objects

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/newstore: Implement fiemap
Xiaoxi Chen [Thu, 7 May 2015 07:41:20 +0000 (15:41 +0800)]
os/newstore: Implement fiemap

For simplicity we ignore holes inside an fragment now.

Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
9 years agoos/newstore: make sync/async submit_transaction optional
Sage Weil [Mon, 4 May 2015 18:05:27 +0000 (11:05 -0700)]
os/newstore: make sync/async submit_transaction optional

It seems doing this synchronously may be better for SSDs?

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/newstore: renamed TransContext::fds -> sync_items
Sage Weil [Sat, 2 May 2015 23:29:24 +0000 (16:29 -0700)]
os/newstore: renamed TransContext::fds -> sync_items

Signed-off-by: Sage Weil <sage@redhat.com>