]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agocmake: avoid false-positive LDAP header detect 8100/head
Matt Benjamin [Mon, 14 Mar 2016 18:08:53 +0000 (14:08 -0400)]
cmake: avoid false-positive LDAP header detect

Pre-setting a value in OPENLDAP_INCLUDE_DIR broke the subsequent
test.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agoMerge pull request #7913 from liewegas/wip-list-encode
Sage Weil [Mon, 14 Mar 2016 14:53:08 +0000 (10:53 -0400)]
Merge pull request #7913 from liewegas/wip-list-encode

include/encoding: do not try to be clever with list encoding

9 years agoMerge pull request #7915 from ceph/wip-librados-stat2
Sage Weil [Mon, 14 Mar 2016 14:52:15 +0000 (10:52 -0400)]
Merge pull request #7915 from ceph/wip-librados-stat2

librados: stat2 with higher time precision

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #7964 from liewegas/wip-crush-jewel
Sage Weil [Mon, 14 Mar 2016 14:51:40 +0000 (10:51 -0400)]
Merge pull request #7964 from liewegas/wip-crush-jewel

crush: update tunable docs.  change default profile to jewel

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8035 from liewegas/wip-bluestore
Sage Weil [Mon, 14 Mar 2016 14:50:58 +0000 (10:50 -0400)]
Merge pull request #8035 from liewegas/wip-bluestore

osd: bluestore updates, scrub fixes

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8050 from liewegas/wip-15077
Sage Weil [Mon, 14 Mar 2016 14:50:06 +0000 (10:50 -0400)]
Merge pull request #8050 from liewegas/wip-15077

os/filestore: fix punch hole usage in _zero

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8064 from liewegas/wip-zlib-test
Sage Weil [Mon, 14 Mar 2016 14:49:45 +0000 (10:49 -0400)]
Merge pull request #8064 from liewegas/wip-zlib-test

unittest_compression_zlib: do not assume buffer will be null terminated

9 years agoMerge pull request #7870 from stiopaa1/blueStoreRemoveIncludes
Sage Weil [Mon, 14 Mar 2016 13:59:52 +0000 (09:59 -0400)]
Merge pull request #7870 from stiopaa1/blueStoreRemoveIncludes

osd: bluestore: remove unneeded includes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7871 from xiexingguo/xxg-wip-cleanasync
Sage Weil [Mon, 14 Mar 2016 12:27:47 +0000 (08:27 -0400)]
Merge pull request #7871 from xiexingguo/xxg-wip-cleanasync

msg: async: small cleanups

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #7170 from trociny/wip-freebsd-misc
Kefu Chai [Mon, 14 Mar 2016 09:38:05 +0000 (17:38 +0800)]
Merge pull request #7170 from trociny/wip-freebsd-misc

FreeBSD related fixes

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7947 from saru95/patch---2
Kefu Chai [Mon, 14 Mar 2016 09:36:25 +0000 (17:36 +0800)]
Merge pull request #7947 from saru95/patch---2

ceph.in: Minor python3 specific changes

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #7974 from tchaikov/wip-buffer-eq-neq
Kefu Chai [Mon, 14 Mar 2016 09:35:05 +0000 (17:35 +0800)]
Merge pull request #7974 from tchaikov/wip-buffer-eq-neq

buffer: add symmetry operator==() and operator!=()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8074 from tchaikov/wip-ceph-detect-init-test
Loic Dachary [Sun, 13 Mar 2016 09:40:49 +0000 (16:40 +0700)]
Merge pull request #8074 from tchaikov/wip-ceph-detect-init-test

ceph-detect-init: add debian/jessie test

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoceph-detect-init: return None at seeing unknown debian distro 8074/head
Kefu Chai [Sun, 13 Mar 2016 02:21:27 +0000 (10:21 +0800)]
ceph-detect-init: return None at seeing unknown debian distro

* return None at seeing unknown debian distros
* add test for this accordingly

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8046 from xiexingguo/xxg-wip-fixpc
Haomai Wang [Sun, 13 Mar 2016 04:19:57 +0000 (12:19 +0800)]
Merge pull request #8046 from xiexingguo/xxg-wip-fixpc

msg: async: fix perf counter description and simplify _send_keepalive_or_ack

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #7949 from wjin/fix
Haomai Wang [Sun, 13 Mar 2016 04:15:53 +0000 (12:15 +0800)]
Merge pull request #7949 from wjin/fix

Event: fix clock skew problem

Reviewed-by: Haomai Wang <haomai@xsky.com>
9 years agoMerge pull request #8076 from ceph/wip-rgw-ldap
Yehuda Sadeh [Sun, 13 Mar 2016 04:10:02 +0000 (20:10 -0800)]
Merge pull request #8076 from ceph/wip-rgw-ldap

Wip rgw ldap

This follows a revert of the previous PR. This branch has some build related fixes.

9 years agoMerge pull request #8075 from ceph/revert-7985-rgw-token-7
Yehuda Sadeh [Sun, 13 Mar 2016 04:07:52 +0000 (20:07 -0800)]
Merge pull request #8075 from ceph/revert-7985-rgw-token-7

Revert "rgw ldap"

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoRevert "rgw ldap" 8075/head
Yehuda Sadeh [Sun, 13 Mar 2016 04:07:04 +0000 (20:07 -0800)]
Revert "rgw ldap"

9 years agoMerge pull request #8066 from yehudasa/wip-rgw-swift-versioning-disabled
Yehuda Sadeh [Sun, 13 Mar 2016 02:02:50 +0000 (18:02 -0800)]
Merge pull request #8066 from yehudasa/wip-rgw-swift-versioning-disabled

Wip rgw swift versioning disabled

Reviewed-by: Josh Durgin <joshd@redhat.com>
9 years agoMerge pull request #7985 from linuxbox2/rgw-token-7
Yehuda Sadeh [Sun, 13 Mar 2016 02:02:06 +0000 (18:02 -0800)]
Merge pull request #7985 from linuxbox2/rgw-token-7

rgw ldap (Matt Benjamin)

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge remote-tracking branch 'origin/master' into wip-rgw-ldap 8076/head
Yehuda Sadeh [Sat, 12 Mar 2016 23:17:03 +0000 (15:17 -0800)]
Merge remote-tracking branch 'origin/master' into wip-rgw-ldap

9 years agotest: disable test_rgw_ldap
Yehuda Sadeh [Sat, 12 Mar 2016 21:44:24 +0000 (13:44 -0800)]
test: disable test_rgw_ldap

for now

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw/Makefile.am: add a missing .h file
Yehuda Sadeh [Sat, 12 Mar 2016 00:27:32 +0000 (16:27 -0800)]
rgw/Makefile.am: add a missing .h file

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw_ldap: merge cleanups
Matt Benjamin [Fri, 11 Mar 2016 19:22:24 +0000 (14:22 -0500)]
rgw_ldap:  merge cleanups

* match LDAPHelper op return codes to RGW (-POSIX)
* make temporary LDAP handle local (MT-safe)
* add required --encode and --ttype to usage
* use versioned encoding macros

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agorgw: require openldap library client headers
Matt Benjamin [Thu, 10 Mar 2016 12:31:30 +0000 (07:31 -0500)]
rgw: require openldap library client headers

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agorgw: free components on shutdown
Matt Benjamin [Wed, 9 Mar 2016 16:21:55 +0000 (11:21 -0500)]
rgw: free components on shutdown

Also, use ldout in rgw_file.h in 3 places.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agorgw: LDAP pass-through authentication
Matt Benjamin [Sat, 14 Nov 2015 19:51:13 +0000 (14:51 -0500)]
rgw: LDAP pass-through authentication

Implement a new external authenticator based on LDAP and the
new external token format.

External LDAP auth now works, at least with openldap/X.500 style
naming and ldaps:// (SSL).

The latter is AD-friendly, but since AD uses dnattr=cn (IIRC)
everywhere, AD will need testing.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agoMerge remote-tracking branch 'gh/jewel'
Sage Weil [Sat, 12 Mar 2016 14:03:06 +0000 (09:03 -0500)]
Merge remote-tracking branch 'gh/jewel'

9 years agoMerge branch 'wip-15086' of git://github.com/SUSE/ceph
Sage Weil [Sat, 12 Mar 2016 14:02:49 +0000 (09:02 -0500)]
Merge branch 'wip-15086' of git://github.com/SUSE/ceph

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8068 from SUSE/wip-15104
Josh Durgin [Sat, 12 Mar 2016 01:48:43 +0000 (17:48 -0800)]
Merge pull request #8068 from SUSE/wip-15104

qa/workunits/rbd: use POSIX function definition

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #7663 from javacruft/wip-pybind-flags
Josh Durgin [Sat, 12 Mar 2016 01:40:40 +0000 (17:40 -0800)]
Merge pull request #7663 from javacruft/wip-pybind-flags

pybind: Ensure correct python flags are passed

Reviewed-by: Boris Ranto <branto@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #7856 from jdurgin/wip-cython-cleanup
Josh Durgin [Sat, 12 Mar 2016 01:35:11 +0000 (17:35 -0800)]
Merge pull request #7856 from jdurgin/wip-cython-cleanup

configure.ac: update help strings for cython

Reviewed-by: Kefu Chai <tchaikov@gmail.com>
9 years agoMerge remote-tracking branch 'origin/wip-josh-testing'
Josh Durgin [Sat, 12 Mar 2016 01:20:47 +0000 (17:20 -0800)]
Merge remote-tracking branch 'origin/wip-josh-testing'

9 years agoMerge pull request #8067 from athanatos/wip-fix-filestore-warning
Gregory Farnum [Sat, 12 Mar 2016 01:06:07 +0000 (17:06 -0800)]
Merge pull request #8067 from athanatos/wip-fix-filestore-warning

FileStore: fix initialization order for m_disable_wbthrottle

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoqa/workunits/rbd: use POSIX function definition 8068/head
Nathan Cutler [Sat, 12 Mar 2016 01:03:27 +0000 (02:03 +0100)]
qa/workunits/rbd: use POSIX function definition

In scripts with /bin/sh shebang, we must use POSIX function definitions to
avoid syntax errors on platforms that link /bin/sh to something other than
/bin/bash.

See https://wiki.ubuntu.com/DashAsBinSh#function for more information.

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

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agorgw: disable swift versioning by default 8066/head
Yehuda Sadeh [Sat, 12 Mar 2016 00:07:15 +0000 (16:07 -0800)]
rgw: disable swift versioning by default

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: improve naming of Swift versioned object's copies.
Radoslaw Zarzynski [Thu, 3 Mar 2016 16:45:40 +0000 (17:45 +0100)]
rgw: improve naming of Swift versioned object's copies.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: dump X-Versions-Location HTTP header of Swift API.
Radoslaw Zarzynski [Thu, 3 Mar 2016 15:33:16 +0000 (16:33 +0100)]
rgw: dump X-Versions-Location HTTP header of Swift API.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agorgw: copy swift versioned object to destination if overwritten
Yehuda Sadeh [Wed, 2 Mar 2016 00:46:47 +0000 (16:46 -0800)]
rgw: copy swift versioned object to destination if overwritten

Only allow if target bucket owner is the source bucket owner.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: swift object versioning data structure changes
Yehuda Sadeh [Thu, 18 Feb 2016 04:46:42 +0000 (20:46 -0800)]
rgw: swift object versioning data structure changes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8034 from SUSE/wip-15047
Ken Dreyer [Fri, 11 Mar 2016 23:58:30 +0000 (16:58 -0700)]
Merge pull request #8034 from SUSE/wip-15047

packaging: make infernalis -> jewel upgrade work

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agodebian: make infernalis -> jewel upgrade work 8034/head
Nathan Cutler [Thu, 10 Mar 2016 21:11:46 +0000 (22:11 +0100)]
debian: make infernalis -> jewel upgrade work

Attempts to install jewel ceph-common, ceph-mon, ceph-osd, and ceph-base
package over infernalis ceph package fail due to files existing in both.

See comment #4 in the tracker issue for a deeper analysis.

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

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoFileStore: fix initialization order for m_disable_wbthrottle 8067/head
Samuel Just [Fri, 11 Mar 2016 23:16:37 +0000 (15:16 -0800)]
FileStore: fix initialization order for m_disable_wbthrottle

Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoceph-detect-init: return systemd on Debian Jessie 8062/head
Nathan Cutler [Fri, 11 Mar 2016 21:54:54 +0000 (22:54 +0100)]
ceph-detect-init: return systemd on Debian Jessie

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

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoRevert "test/time: no need to abs(uint64_t) for comparing"
Sage Weil [Fri, 11 Mar 2016 22:42:27 +0000 (17:42 -0500)]
Revert "test/time: no need to abs(uint64_t) for comparing"

This reverts commit da0f6608dd6cc3356e727e739575f496c2b6a590.

unittest_time fails:

[==========] Running 4 tests from 2 test cases.
[----------] Global test environment set-up.
[----------] 2 tests from RealClock
[ RUN      ] RealClock.Sanity
[       OK ] RealClock.Sanity (0 ms)
[ RUN      ] RealClock.Conversions
test/common/test_time.cc:125: Failure
Expected: ((Clock::from_double(bd) - brt).count()) < (30U), actual: 18446744073709551595 vs 30
[  FAILED  ] RealClock.Conversions (0 ms)
[----------] 2 tests from RealClock (0 ms total)

[----------] 2 tests from CoarseRealClock
[ RUN      ] CoarseRealClock.Sanity
[       OK ] CoarseRealClock.Sanity (0 ms)
[ RUN      ] CoarseRealClock.Conversions
test/common/test_time.cc:125: Failure
Expected: ((Clock::from_double(bd) - brt).count()) < (30U), actual: 18446744073709551595 vs 30
[  FAILED  ] CoarseRealClock.Conversions (0 ms)
[----------] 2 tests from CoarseRealClock (0 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 2 test cases ran. (0 ms total)
[  PASSED  ] 2 tests.
[  FAILED  ] 2 tests, listed below:
[  FAILED  ] RealClock.Conversions
[  FAILED  ] CoarseRealClock.Conversions

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agounittest_compression_zlib: do not assume buffer will be null terminated 8064/head
Sage Weil [Fri, 11 Mar 2016 22:34:19 +0000 (17:34 -0500)]
unittest_compression_zlib: do not assume buffer will be null terminated

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8063 from gregsfortytwo/wip-fix-fsmap-decode
Gregory Farnum [Fri, 11 Mar 2016 22:29:30 +0000 (14:29 -0800)]
Merge pull request #8063 from gregsfortytwo/wip-fix-fsmap-decode

Wip fix fsmap decode

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7752 from somnathr/wip-odsync-write
Samuel Just [Fri, 11 Mar 2016 21:47:38 +0000 (13:47 -0800)]
Merge pull request #7752 from somnathr/wip-odsync-write

FileStore: Added O_DSYNC write scheme

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoFSMap: actually include the legacy MDSMap in Filesystems when upgrading 8063/head
Greg Farnum [Fri, 11 Mar 2016 21:41:48 +0000 (13:41 -0800)]
FSMap: actually include the legacy MDSMap in Filesystems when upgrading

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
9 years agoFSMap: decode old MDSMaps properly
Greg Farnum [Fri, 11 Mar 2016 21:36:51 +0000 (13:36 -0800)]
FSMap: decode old MDSMaps properly

We accidentally left a few members out that the MDSMap had!

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #8058 from yehudasa/wip-rgw-clean-log
Yehuda Sadeh [Fri, 11 Mar 2016 20:47:04 +0000 (12:47 -0800)]
Merge pull request #8058 from yehudasa/wip-rgw-clean-log

cleanup

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agomon: make the minimum crush tunables configurable 7964/head
Sage Weil [Fri, 11 Mar 2016 20:39:06 +0000 (15:39 -0500)]
mon: make the minimum crush tunables configurable

If they cluster is using very old tunables, as inferred by whether it
requires a newer version of CRUSH, issue a health warning.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agocrush: report minimum_required_version when dumping tunables
Sage Weil [Tue, 8 Mar 2016 01:41:08 +0000 (20:41 -0500)]
crush: report minimum_required_version when dumping tunables

This mimics the feature bit enforcement in OSDMap.cc but it does it based
on the version string.  This is useful when you have CRUSH tunables that
aren't mapped to a named profile.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorgw_ldap: merge cleanups 7985/head
Matt Benjamin [Fri, 11 Mar 2016 19:22:24 +0000 (14:22 -0500)]
rgw_ldap:  merge cleanups

* match LDAPHelper op return codes to RGW (-POSIX)
* make temporary LDAP handle local (MT-safe)
* add required --encode and --ttype to usage
* use versioned encoding macros

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agorgw: silence compilation warnings 8058/head
Yehuda Sadeh [Fri, 11 Mar 2016 19:28:06 +0000 (11:28 -0800)]
rgw: silence compilation warnings

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agorgw: cleanup of debug messages
Orit Wasserman [Fri, 4 Mar 2016 11:52:10 +0000 (12:52 +0100)]
rgw: cleanup of debug messages

use ldout instead of derr and lderr and increase logging level

Signed-off-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #7944 from trociny/wip-rbd-mirror-image-replayer-async
Josh Durgin [Fri, 11 Mar 2016 19:24:12 +0000 (11:24 -0800)]
Merge pull request #7944 from trociny/wip-rbd-mirror-image-replayer-async

rbd-mirror: ImageReplayer async start/stop

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #8028 from dillaman/wip-librbd-journal-replay
Josh Durgin [Fri, 11 Mar 2016 19:22:10 +0000 (11:22 -0800)]
Merge pull request #8028 from dillaman/wip-librbd-journal-replay

librbd: replaying a journal op post-refresh requires locking

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
9 years agoMerge pull request #7483 from liewegas/wip-osd-boot
Samuel Just [Fri, 11 Mar 2016 19:03:58 +0000 (11:03 -0800)]
Merge pull request #7483 from liewegas/wip-osd-boot

osd: resolve boot vs NOUP set + clear race

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #8030 from yehudasa/wip-rgw-sync-status
Orit Wasserman [Fri, 11 Mar 2016 18:39:59 +0000 (19:39 +0100)]
Merge pull request #8030 from yehudasa/wip-rgw-sync-status

adds the radosgw-admin sync status command that gives a human readable status of the sync process at a specific zone

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #7615 from ceph/wip-14678
Yehuda Sadeh [Fri, 11 Mar 2016 18:21:03 +0000 (10:21 -0800)]
Merge pull request #7615 from ceph/wip-14678

rgw: store system object meta in cache when creating it

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
9 years agoMerge pull request #8037 from yehudasa/wip-bucket-link
Yehuda Sadeh [Fri, 11 Mar 2016 18:17:07 +0000 (10:17 -0800)]
Merge pull request #8037 from yehudasa/wip-bucket-link

rgw:bucket link now set the bucket.instance acl (bug fix)

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #8013 from yehudasa/wip-rgw-multisite-fixes
Orit Wasserman [Fri, 11 Mar 2016 18:11:38 +0000 (19:11 +0100)]
Merge pull request #8013 from yehudasa/wip-rgw-multisite-fixes

rgw multisite fixes

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #6953 from jcsp/wip-fsmap
Gregory Farnum [Fri, 11 Mar 2016 17:36:30 +0000 (09:36 -0800)]
Merge pull request #6953 from jcsp/wip-fsmap

Multi-filesystem support

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #7465 from liewegas/wip-promote-throttle
Sage Weil [Fri, 11 Mar 2016 17:15:46 +0000 (12:15 -0500)]
Merge pull request #7465 from liewegas/wip-promote-throttle

osd: probabilistic cache tier promotion throttling

Reviewed-by: Samuel Just <sjust@redhat.com>
9 years agoMerge tag 'v10.0.5'
Sage Weil [Fri, 11 Mar 2016 17:07:55 +0000 (12:07 -0500)]
Merge tag 'v10.0.5'

v10.0.5

Conflicts:
debian/changelog

9 years agov10.0.5 v10.0.5
Sage Weil [Fri, 11 Mar 2016 17:05:13 +0000 (12:05 -0500)]
v10.0.5

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodebian/changelog: Remove stray 'v' in version
Dan Mick [Fri, 4 Mar 2016 19:42:08 +0000 (11:42 -0800)]
debian/changelog: Remove stray 'v' in version

Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit 0f7730c8f444657d4aaffa28c12bbcd602a2e3b8)

9 years agomsg: async: improve _send_keepalive_or_ack() a little 8046/head
xie xingguo [Fri, 11 Mar 2016 16:39:24 +0000 (00:39 +0800)]
msg: async: improve _send_keepalive_or_ack() a little

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agomsg: async: fix connection perf counter description
xie xingguo [Fri, 11 Mar 2016 16:32:26 +0000 (00:32 +0800)]
msg: async: fix connection perf counter description

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoMerge branch 'master' of github.com:ceph/ceph
Sage Weil [Fri, 11 Mar 2016 16:14:55 +0000 (11:14 -0500)]
Merge branch 'master' of github.com:ceph/ceph

9 years agoMerge branch 'debian-stretch-dep-fix' of git://github.com/rldleblanc/ceph
Sage Weil [Fri, 11 Mar 2016 16:14:18 +0000 (11:14 -0500)]
Merge branch 'debian-stretch-dep-fix' of git://github.com/rldleblanc/ceph

Reviewed-by: Sage Weil <sage@redhat.com>
# Conflicts:
# debian/control

9 years agoos/filestore: add filestore_punch_hole = false option 8050/head
Sage Weil [Fri, 11 Mar 2016 16:13:02 +0000 (11:13 -0500)]
os/filestore: add filestore_punch_hole = false option

Make punch hole usage optional.

Default to off, since it's relatively untested.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/filestore: fix punch hole usage in _zero
Sage Weil [Fri, 11 Mar 2016 16:02:58 +0000 (11:02 -0500)]
os/filestore: fix punch hole usage in _zero

If we punch a hole that extends past EOF, ObjectStore semantics are
that the file size is also extended.  Do that.

Note that this bug was hidden before because we weren't passing
KEEP_SIZE to fallocate until 7bd95b595fddb8a4e618a2c7df1ba04eccf0829d
and the fallocate was *always* failing with EOPNOTSUPP (making us fall
back to writing actual zeros).

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8045 from tchaikov/wip-scrubstore-cleanup
Sage Weil [Fri, 11 Mar 2016 15:50:43 +0000 (10:50 -0500)]
Merge pull request #8045 from tchaikov/wip-scrubstore-cleanup

osd/ScrubStore: remove unused function

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoosd: use correct shard for temp scrub object 8035/head
Sage Weil [Thu, 10 Mar 2016 21:35:45 +0000 (16:35 -0500)]
osd: use correct shard for temp scrub object

Use ghobject_t type throughout.  Make ghobject_t variant of
spg_t::make_temp_object().

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: ref ovec for CLONE, CLONERANGE
Sage Weil [Thu, 10 Mar 2016 19:25:25 +0000 (14:25 -0500)]
os/bluestore: ref ovec for CLONE, CLONERANGE

This keeps ovec up to date.  Marginally more efficient.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix OP_TRY_RENAME
Sage Weil [Tue, 8 Mar 2016 20:49:16 +0000 (15:49 -0500)]
os/bluestore: fix OP_TRY_RENAME

We don't need to create the dest onode.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix _rename
Sage Weil [Thu, 10 Mar 2016 18:44:18 +0000 (13:44 -0500)]
os/bluestore: fix _rename

Update the *target* object ref in ovec.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_objectstore: rename assumes target does not exist
Sage Weil [Tue, 8 Mar 2016 18:15:35 +0000 (13:15 -0500)]
ceph_test_objectstore: rename assumes target does not exist

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/memstore: assert src and dst collection match on rename
Sage Weil [Tue, 8 Mar 2016 18:14:47 +0000 (13:14 -0500)]
os/memstore: assert src and dst collection match on rename

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/filestore: make read replace (not append) to result bl
Sage Weil [Tue, 8 Mar 2016 18:14:33 +0000 (13:14 -0500)]
os/filestore: make read replace (not append) to result bl

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_objectstore: add a few checks to the rename test
Sage Weil [Tue, 8 Mar 2016 17:47:53 +0000 (12:47 -0500)]
ceph_test_objectstore: add a few checks to the rename test

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/BlueStore: do not cow_rmw_tail at or past eof
Sage Weil [Thu, 3 Mar 2016 15:13:51 +0000 (10:13 -0500)]
os/bluestore/BlueStore: do not cow_rmw_tail at or past eof

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: print debug on ENOTEMPTY
Sage Weil [Thu, 10 Mar 2016 14:17:08 +0000 (09:17 -0500)]
os/bluestore: print debug on ENOTEMPTY

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: make _do_omap_clear debug line pretty
Sage Weil [Tue, 8 Mar 2016 21:41:59 +0000 (16:41 -0500)]
os/bluestore: make _do_omap_clear debug line pretty

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoinclude/buffer: make is_partial work on empty ptr
Sage Weil [Wed, 9 Mar 2016 18:04:13 +0000 (13:04 -0500)]
include/buffer: make is_partial work on empty ptr

Add a few unit tests.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd/ScrubStore: do not use temp collection
Sage Weil [Fri, 26 Feb 2016 16:25:44 +0000 (11:25 -0500)]
osd/ScrubStore: do not use temp collection

Temp collections are deprecated, and used only internally by
FileStore for compat reasons.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoosd: simplify split vs backfill behavior
Sage Weil [Thu, 10 Mar 2016 22:19:17 +0000 (17:19 -0500)]
osd: simplify split vs backfill behavior

This is more future-proof, in case we add special backfill
completion work in the future.  In the worst case we will re-scan
the parent PG and find no changes.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7707 from xiexingguo/xxg-wip-14815
Sage Weil [Fri, 11 Mar 2016 15:33:13 +0000 (10:33 -0500)]
Merge pull request #7707 from xiexingguo/xxg-wip-14815

osd: filestore: fix wrong scope of result code for error cases during mount

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7726 from tchaikov/wip-fix-ftbfs-gcc6
Sage Weil [Fri, 11 Mar 2016 15:32:38 +0000 (10:32 -0500)]
Merge pull request #7726 from tchaikov/wip-fix-ftbfs-gcc6

test/time: no need to abs(uint64_t) for comparing

Reviewed-by: Adam Emerson <aemerson@redhat.com>
9 years agoMerge pull request #7955 from ErwanAliasr1/evelu-check-bufferlist
Sage Weil [Fri, 11 Mar 2016 15:32:05 +0000 (10:32 -0500)]
Merge pull request #7955 from ErwanAliasr1/evelu-check-bufferlist

test/bufferlist: Avoid false-positive tests

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #7980 from liewegas/wip-14952
Sage Weil [Fri, 11 Mar 2016 15:31:34 +0000 (10:31 -0500)]
Merge pull request #7980 from liewegas/wip-14952

mon: initialize last_* timestamps on new pgs to creation time

Reviewed-by: John Spray <john.spray@redhat.com>
9 years agoMerge pull request #7982 from liewegas/wip-14606
Sage Weil [Fri, 11 Mar 2016 15:30:53 +0000 (10:30 -0500)]
Merge pull request #7982 from liewegas/wip-14606

qa/workunits/rest/test.py: add confirmation to 'mds setmap'

9 years agoMerge pull request #7983 from liewegas/wip-14616
Sage Weil [Fri, 11 Mar 2016 15:29:55 +0000 (10:29 -0500)]
Merge pull request #7983 from liewegas/wip-14616

log: do not repeat errors to stderr

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #8004 from liewegas/wip-rados-test-stderr
Sage Weil [Fri, 11 Mar 2016 15:29:39 +0000 (10:29 -0500)]
Merge pull request #8004 from liewegas/wip-rados-test-stderr

qa/workunits/rados/test.sh: capture stderr too

9 years agoMerge pull request #8006 from liewegas/wip-big-pages
Sage Weil [Fri, 11 Mar 2016 15:29:00 +0000 (10:29 -0500)]
Merge pull request #8006 from liewegas/wip-big-pages

os/bluestore/KernelDevice: force block size

9 years agoMerge pull request #8019 from kmroz/wip-upstream-civetweb-low-ports-6
Sage Weil [Fri, 11 Mar 2016 15:28:17 +0000 (10:28 -0500)]
Merge pull request #8019 from kmroz/wip-upstream-civetweb-low-ports-6

rgw: drop permissions of rgw/civetweb after startup

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #8007 from wido/se-mirror-mail
Kefu Chai [Fri, 11 Mar 2016 14:39:59 +0000 (22:39 +0800)]
Merge pull request #8007 from wido/se-mirror-mail

mirrors: Change contact e-mail address for se.ceph.com

Reviewed-by: Kefu Chai <kchai@redhat.com>