]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
9 years agodoc/release-notes: v0.94.9 10927/head
Sage Weil [Tue, 30 Aug 2016 19:08:49 +0000 (15:08 -0400)]
doc/release-notes: v0.94.9

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10745 from linuxbox2/rgw-nfs-31
Casey Bodley [Tue, 30 Aug 2016 18:59:45 +0000 (14:59 -0400)]
Merge pull request #10745 from linuxbox2/rgw-nfs-31

rgw nfs v3 completions

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #10926 from ifed01/wip-bluestore-fix-statfs-test
Sage Weil [Tue, 30 Aug 2016 17:30:25 +0000 (12:30 -0500)]
Merge pull request #10926 from ifed01/wip-bluestore-fix-statfs-test

os/bluestore: yet another statfs test fix

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10875 from athanatos/wip-16908
Samuel Just [Tue, 30 Aug 2016 16:56:59 +0000 (09:56 -0700)]
Merge pull request #10875 from athanatos/wip-16908

Revert "osd/ReplicatedPG: for sync-read it don't cacl l_osd_op_r_prep…

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoRevert "osd/ReplicatedPG: for sync-read it don't cacl l_osd_op_r_prepare_lat." 10875/head
Samuel Just [Thu, 25 Aug 2016 16:30:04 +0000 (09:30 -0700)]
Revert "osd/ReplicatedPG: for sync-read it don't cacl l_osd_op_r_prepare_lat."

Accessing the OpContext* after execute_ctx is invalid, on error, it
will have been deleted.

This reverts commit 52be772788d9d96accaa7af9eaf9f29a3792df49.

Fixes: http://tracker.ceph.com/issues/16908
Signed-off-by: Samuel Just <sjust@redhat.com>
9 years agoMerge pull request #10881 from ceph/wip-kill-warnings
Loic Dachary [Tue, 30 Aug 2016 16:18:11 +0000 (18:18 +0200)]
Merge pull request #10881 from ceph/wip-kill-warnings

Wip kill warnings

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoos/bluestore: yet another statfs test fix 10926/head
Igor Fedotov [Tue, 30 Aug 2016 15:26:24 +0000 (15:26 +0000)]
os/bluestore: yet another statfs test fix

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoMerge pull request #10917 from ceph/wip-cmake
Ali Maredia [Tue, 30 Aug 2016 14:39:32 +0000 (10:39 -0400)]
Merge pull request #10917 from ceph/wip-cmake

cmake changes related to LTTng-UST

Reviewed-by: Ali Maredia <amaredia@redhat.com>
9 years agoMerge pull request #10768 from liewegas/wip-bluestore-blobbuffers
Igor Fedotov [Tue, 30 Aug 2016 12:05:08 +0000 (15:05 +0300)]
Merge pull request #10768 from liewegas/wip-bluestore-blobbuffers

os/bluestore: avoid blob_t reencode when unchanged

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoMerge pull request #10910 from liewegas/wip-bluestore-statfs
Igor Fedotov [Tue, 30 Aug 2016 12:04:37 +0000 (15:04 +0300)]
Merge pull request #10910 from liewegas/wip-bluestore-statfs

os/bluestore: fix statfs tests

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
9 years agoMerge pull request #10017 from jan--f/os-release-based-install-deps
Nathan Cutler [Tue, 30 Aug 2016 09:41:29 +0000 (11:41 +0200)]
Merge pull request #10017 from jan--f/os-release-based-install-deps

build/ops: install-deps.sh based on /etc/os-release

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
9 years agocmake: let librados_api_obj depend on librados-tp 10917/head
Kefu Chai [Tue, 30 Aug 2016 05:33:59 +0000 (13:33 +0800)]
cmake: let librados_api_obj depend on librados-tp

so we don't need to messing up with the target names.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: replace Findlttng-ust.cmake with FindLTTngUST.cmake
Kefu Chai [Tue, 30 Aug 2016 05:33:24 +0000 (13:33 +0800)]
cmake: replace Findlttng-ust.cmake with FindLTTngUST.cmake

find_package(lttng-ust REQUIRED) fails to find the lttng library without
this change. because find_path(LTTNG_LIBRARY_DIR ...) does not search
in the default library paths. and the second mode of
FIND_PACKAGE_HANDLE_STANDARD_ARGS() does not stop the cmake with a fatal
message, even some of the required vars are missing. so use the
implemetantion from cmake upstream.

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agocmake: remove unused librados_api target
Kefu Chai [Tue, 30 Aug 2016 05:32:52 +0000 (13:32 +0800)]
cmake: remove unused librados_api target

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #9930 from yuyuyu101/wip-16472
Yuri Weinstein [Mon, 29 Aug 2016 23:44:19 +0000 (16:44 -0700)]
Merge pull request #9930 from yuyuyu101/wip-16472

msg/simple: wait dispatch_queue until all pipes closed

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #9121 from dillaman/wip-15688
Mykola Golub [Mon, 29 Aug 2016 18:31:00 +0000 (21:31 +0300)]
Merge pull request #9121 from dillaman/wip-15688

librbd: initial hooks for client-side, image-extent cache in IO path

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoceph_test_objectstore: disable statfs checks on available space 10910/head
Sage Weil [Fri, 26 Aug 2016 19:15:22 +0000 (15:15 -0400)]
ceph_test_objectstore: disable statfs checks on available space

These are too sensitive to other activity, like bluefs
files and bluefs vs bluestore freespace balancing.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoceph_test_objectstore: fix ObjectStore/StoreTest.BluestoreStatFSTest/2 on ssd
Sage Weil [Fri, 26 Aug 2016 19:07:57 +0000 (15:07 -0400)]
ceph_test_objectstore: fix ObjectStore/StoreTest.BluestoreStatFSTest/2 on ssd

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10897 from batrick/caps-graphic
John Spray [Mon, 29 Aug 2016 16:15:36 +0000 (17:15 +0100)]
Merge pull request #10897 from batrick/caps-graphic

doc: add graphic for cap bit field

Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoinstall-deps.sh: initial distro detection based on /etc/os-release 10017/head
Jan Fajerski [Wed, 29 Jun 2016 07:40:07 +0000 (09:40 +0200)]
install-deps.sh: initial distro detection based on /etc/os-release

This avoids initial distribution detection (before lsb_release is available)
based on the presence of a specific package manager. This caused an
issue with openSUSE Tumbleweed before since both zypper and apt-get are
available.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
9 years agoMerge pull request #10863 from xiexingguo/xxg-wip-fix-bfs-08-25
Sage Weil [Mon, 29 Aug 2016 13:59:44 +0000 (08:59 -0500)]
Merge pull request #10863 from xiexingguo/xxg-wip-fix-bfs-08-25

os/bluestore/bluefs: add file refs check

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10280 from rzarzynski/wip-rgw-swift-at-root-features
Radoslaw Zarzynski [Mon, 29 Aug 2016 13:36:17 +0000 (15:36 +0200)]
Merge pull request #10280 from rzarzynski/wip-rgw-swift-at-root-features

rgw: add suport for Swift-at-root dependent features of Swift API

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agoMerge pull request #10727 from weiqiaomiao/wqm-wip-checkout-ret
Radoslaw Zarzynski [Mon, 29 Aug 2016 13:19:24 +0000 (15:19 +0200)]
Merge pull request #10727 from weiqiaomiao/wqm-wip-checkout-ret

rgw: fix RGWAccessControlPolicy_SWIFT::create return value check error

Reviewed-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
9 years agoMerge pull request #10902 from stiopaa1/remove_unneeded
Kefu Chai [Mon, 29 Aug 2016 11:24:29 +0000 (19:24 +0800)]
Merge pull request #10902 from stiopaa1/remove_unneeded

common/Throttle.h: remove unneeded class

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10906 from ceph/wip-cmake
Jason Dillaman [Mon, 29 Aug 2016 11:13:45 +0000 (07:13 -0400)]
Merge pull request #10906 from ceph/wip-cmake

cmake: fix the tracing header dependencies

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #9301 from objoo/YD-mailmap-updates-MAY3
Loic Dachary [Mon, 29 Aug 2016 08:59:52 +0000 (10:59 +0200)]
Merge pull request #9301 from objoo/YD-mailmap-updates-MAY3

mailmap updates for upcoming 11.0.0

Reviewed-by: Loic Dachary <loic@dachary.org>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
9 years agocmake: fix the tracing header dependencies 10906/head
Kefu Chai [Mon, 29 Aug 2016 07:05:55 +0000 (15:05 +0800)]
cmake: fix the tracing header dependencies

in aa679df, we move librados.cc into a separated obj target. this broken
the dependency from librados.o to its tracing header. we need to update
it accordingly.

this change fixes the following compilation error:
```
/var/ceph/ceph/src/librados/librados.cc:47:30: fatal error:
tracing/librados.h: No such file or directory
 #include "tracing/librados.h"
                              ^
compilation terminated.
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10878 from stiopaa1/mds_snaprealm_addconstToMem
Gregory Farnum [Mon, 29 Aug 2016 04:24:03 +0000 (21:24 -0700)]
Merge pull request #10878 from stiopaa1/mds_snaprealm_addconstToMem

mds/SnapRealm.h: add const to member functions

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #10901 from stiopaa1/mds_mdcache_accessspecifierU
Gregory Farnum [Mon, 29 Aug 2016 04:17:51 +0000 (21:17 -0700)]
Merge pull request #10901 from stiopaa1/mds_mdcache_accessspecifierU

mds/MDCache.h: remove unneeded access specifier

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
9 years agoMerge pull request #10894 from smithfarm/wip-suse-build-pycache
Nathan Cutler [Sun, 28 Aug 2016 11:43:07 +0000 (13:43 +0200)]
Merge pull request #10894 from smithfarm/wip-suse-build-pycache

build/ops: force Python 3 packages to build in SUSE

Reviewed-by: Tim Serong <tserong@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #10903 from SUSE/wip-release-notes-correct-correction
Loic Dachary [Sun, 28 Aug 2016 11:34:14 +0000 (13:34 +0200)]
Merge pull request #10903 from SUSE/wip-release-notes-correct-correction

doc: fix some nits in release notes and releases table

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc: add 11.0.0 to releases table 10903/head
Nathan Cutler [Sun, 28 Aug 2016 07:42:42 +0000 (09:42 +0200)]
doc: add 11.0.0 to releases table

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agodoc: fix two broken links in releases.rst
Nathan Cutler [Sun, 28 Aug 2016 07:39:22 +0000 (09:39 +0200)]
doc: fix two broken links in releases.rst

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agodoc: release-notes.rst: move misplaced line
Nathan Cutler [Sun, 28 Aug 2016 07:22:23 +0000 (09:22 +0200)]
doc: release-notes.rst: move misplaced line

46264a3b6cb7f490680c79bf0957c36aeaea5f6c added the missing line to the wrong
section. This commit moves it to the right section (v0.94.8).

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agocommon/Throttle.h: remove unneeded class 10902/head
Michal Jarzabek [Sun, 28 Aug 2016 06:32:04 +0000 (07:32 +0100)]
common/Throttle.h: remove unneeded class

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agolibrbd: integrate image cache hooks into IO path 9121/head
Jason Dillaman [Fri, 26 Aug 2016 17:48:23 +0000 (13:48 -0400)]
librbd: integrate image cache hooks into IO path

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: C_ImageCacheRead bridge from Context to AioCompletion
Jason Dillaman [Fri, 26 Aug 2016 15:04:03 +0000 (11:04 -0400)]
librbd: C_ImageCacheRead bridge from Context to AioCompletion

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: differentiate between image and object cache
Jason Dillaman [Fri, 26 Aug 2016 14:57:33 +0000 (10:57 -0400)]
librbd: differentiate between image and object cache

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: consolidate IO clipping to reusable method
Jason Dillaman [Fri, 13 May 2016 14:59:01 +0000 (10:59 -0400)]
librbd: consolidate IO clipping to reusable method

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: initial integration of ImageWriteback to AioImageRequest
Jason Dillaman [Fri, 26 Aug 2016 14:33:39 +0000 (10:33 -0400)]
librbd: initial integration of ImageWriteback to AioImageRequest

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: add internal support for scatter/gather IO
Jason Dillaman [Fri, 26 Aug 2016 13:14:57 +0000 (09:14 -0400)]
librbd: add internal support for scatter/gather IO

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: support bufferlist payload for AioImageWrite
Jason Dillaman [Fri, 13 May 2016 02:41:20 +0000 (22:41 -0400)]
librbd: support bufferlist payload for AioImageWrite

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoRevert "osdc: ObjectCacher flusher might needs additional locks"
Jason Dillaman [Fri, 13 May 2016 01:54:58 +0000 (21:54 -0400)]
Revert "osdc: ObjectCacher flusher might needs additional locks"

This reverts commit a38f9e5104a6e08e130dc4f15ad19a06d9e63719.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: remove use of owner_lock on IO path
Jason Dillaman [Thu, 25 Aug 2016 14:42:36 +0000 (10:42 -0400)]
librbd: remove use of owner_lock on IO path

IO is fully flushed before releasing the exclusive lock so holding
the owner_lock isn't required.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: blocking parent IO completion no longer required
Jason Dillaman [Thu, 25 Aug 2016 14:05:15 +0000 (10:05 -0400)]
librbd: blocking parent IO completion no longer required

The completion will directly invoke the callback with the
result code.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agolibrbd: skeleton implementation of client-side image cache
Jason Dillaman [Thu, 12 May 2016 18:25:26 +0000 (14:25 -0400)]
librbd: skeleton implementation of client-side image cache

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
9 years agoMerge pull request #10899 from SUSE/wip-retirement
Loic Dachary [Sat, 27 Aug 2016 18:38:18 +0000 (20:38 +0200)]
Merge pull request #10899 from SUSE/wip-retirement

doc: do not list all major versions in get-packages.rst

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #10900 from SUSE/wip-hammer-release-notes-correction
Loic Dachary [Sat, 27 Aug 2016 18:37:13 +0000 (20:37 +0200)]
Merge pull request #10900 from SUSE/wip-hammer-release-notes-correction

doc: add missing PR to hammer 0.94.8 release notes

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agomds/MDCache.h: remove unneeded access specifier 10901/head
Michal Jarzabek [Sat, 27 Aug 2016 18:18:07 +0000 (19:18 +0100)]
mds/MDCache.h: remove unneeded access specifier

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agodoc: add missing PR to hammer 0.94.8 release notes 10900/head
Nathan Cutler [Sat, 27 Aug 2016 18:20:50 +0000 (20:20 +0200)]
doc: add missing PR to hammer 0.94.8 release notes

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agodoc: do not list all major versions in get-packages.rst 10899/head
Nathan Cutler [Sat, 27 Aug 2016 18:11:04 +0000 (20:11 +0200)]
doc: do not list all major versions in get-packages.rst

The list of major versions is difficult to maintain. This commit drops it and
replaces it with a link to releases.rst plus some general language about how we
recommend that everyone keep their clusters up-to-date.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #10895 from liewegas/wip-changelog
Sage Weil [Fri, 26 Aug 2016 21:30:03 +0000 (16:30 -0500)]
Merge pull request #10895 from liewegas/wip-changelog

doc: fix/add changelog for 10.2.2, 0.94.7, 0.94.8

Reviewed-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #10844 from liewegas/wip-bluestore-fsck-leak
Loic Dachary [Fri, 26 Aug 2016 20:14:31 +0000 (22:14 +0200)]
Merge pull request #10844 from liewegas/wip-bluestore-fsck-leak

os/bluestore: fix when block device is not a multiple of the block size

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agodoc: add graphic for cap bit field 10897/head
Patrick Donnelly [Fri, 26 Aug 2016 19:11:32 +0000 (15:11 -0400)]
doc: add graphic for cap bit field

Thanks to Jeff for putting this doc together!

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
9 years agounittest_bluefs: fix block device sizes 10844/head
Sage Weil [Fri, 26 Aug 2016 18:22:30 +0000 (14:22 -0400)]
unittest_bluefs: fix block device sizes

These should be a multiple of the block size (since we are feeding
the size directly into add_block_extent).

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10779 from cbodley/wip-17073
Yehuda Sadeh [Fri, 26 Aug 2016 18:09:10 +0000 (11:09 -0700)]
Merge pull request #10779 from cbodley/wip-17073

rgw multisite: RGWDataSyncCR fails on errors from RGWListBucketIndexesCR

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #10778 from cbodley/wip-17047
Yehuda Sadeh [Fri, 26 Aug 2016 18:07:45 +0000 (11:07 -0700)]
Merge pull request #10778 from cbodley/wip-17047

rgw multisite: RGWCoroutinesManager::run returns status of last cr

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
9 years agoMerge pull request #10742 from cbodley/wip-rgw-test-multi-gateway
Yehuda Sadeh [Fri, 26 Aug 2016 18:03:02 +0000 (11:03 -0700)]
Merge pull request #10742 from cbodley/wip-rgw-test-multi-gateway

test/rgw: add --gateways-per-zone to test_multi.py

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoMerge pull request #10837 from ceph/wip-cmake
Kefu Chai [Fri, 26 Aug 2016 14:51:58 +0000 (22:51 +0800)]
Merge pull request #10837 from ceph/wip-cmake

cmake: do not link against unused objects or libraries

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
9 years agodoc/release-notes: fix v10.2.2 changelog link 10895/head
Sage Weil [Fri, 26 Aug 2016 13:51:41 +0000 (09:51 -0400)]
doc/release-notes: fix v10.2.2 changelog link

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc/releases: add v0.94.8 to timeline
Sage Weil [Fri, 26 Aug 2016 13:27:22 +0000 (09:27 -0400)]
doc/releases: add v0.94.8 to timeline

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc: add v0.94.8 changelog
Sage Weil [Fri, 26 Aug 2016 13:27:14 +0000 (09:27 -0400)]
doc: add v0.94.8 changelog

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agodoc: add v0.94.7 changelog
Sage Weil [Fri, 26 Aug 2016 13:26:24 +0000 (09:26 -0400)]
doc: add v0.94.7 changelog

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agorpm: force creation of Python 3 __pycache__ on SUSE 10894/head
Nathan Cutler [Fri, 26 Aug 2016 08:45:52 +0000 (10:45 +0200)]
rpm: force creation of Python 3 __pycache__ on SUSE

Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Dominique Leuenberger <dimstar@opensuse.org>
9 years agoRevert "ceph.spec.in: don't try to package __pycache__ for SUSE"
Nathan Cutler [Fri, 26 Aug 2016 12:21:59 +0000 (14:21 +0200)]
Revert "ceph.spec.in: don't try to package __pycache__ for SUSE"

This reverts commit be39d6dc71af13eb3ee0d4482012a2091d121f66.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
9 years agoMerge pull request #10547 from wjwithagen/wip-wjw-test-util
Kefu Chai [Fri, 26 Aug 2016 08:57:10 +0000 (16:57 +0800)]
Merge pull request #10547 from wjwithagen/wip-wjw-test-util

test/common/test_util.cc: FreeBSD does not have distro information

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #9869 from yuyuyu101/wip-kqueue
Haomai Wang [Fri, 26 Aug 2016 03:31:59 +0000 (11:31 +0800)]
Merge pull request #9869 from yuyuyu101/wip-kqueue

msg/async/kqueue: avoid remove nonexist kqueue event

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
9 years agoMerge pull request #10879 from dmick/wip-jerasure-aarch64
Kefu Chai [Fri, 26 Aug 2016 02:52:51 +0000 (10:52 +0800)]
Merge pull request #10879 from dmick/wip-jerasure-aarch64

jerasure: include generic objects in neon jerasure lib (like sse3/4)

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agotest/unittest_alloc: fix -Wsign-compare warnings 10881/head
Kefu Chai [Fri, 26 Aug 2016 02:49:27 +0000 (10:49 +0800)]
test/unittest_alloc: fix -Wsign-compare warnings

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agotest/ceph_test_msgr: fix -Wsign-compare warnings
Kefu Chai [Fri, 26 Aug 2016 02:44:50 +0000 (10:44 +0800)]
test/ceph_test_msgr: fix -Wsign-compare warnings

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agopybind: silence -Wsign-compare warning
Kefu Chai [Fri, 26 Aug 2016 02:41:26 +0000 (10:41 +0800)]
pybind: silence -Wsign-compare warning

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agodebian: should dh_python3 python3-* not python-*
Kefu Chai [Fri, 26 Aug 2016 02:40:18 +0000 (10:40 +0800)]
debian: should dh_python3 python3-* not python-*

Signed-off-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #9943 from ceph/wip-ceph-disk-systemd
Kefu Chai [Fri, 26 Aug 2016 01:36:53 +0000 (09:36 +0800)]
Merge pull request #9943 from ceph/wip-ceph-disk-systemd

ceph-disk: do not activate device that is not ready

Reviewed-by: Loic Dachary <ldachary@redhat.com>
9 years agoMerge pull request #10828 from michelmno/perf_local_flags
Kefu Chai [Fri, 26 Aug 2016 01:23:25 +0000 (09:23 +0800)]
Merge pull request #10828 from michelmno/perf_local_flags

cmake: use PERF_LOCAL_FLAGS only if defined

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoos/kstore: kill dead code 10863/head
xie xingguo [Fri, 26 Aug 2016 00:51:57 +0000 (08:51 +0800)]
os/kstore: kill dead code

These are not applicable anymore.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore/bluefs: assert refs of file don't underflow
xie xingguo [Thu, 25 Aug 2016 06:43:41 +0000 (14:43 +0800)]
os/bluestore/bluefs: assert refs of file don't underflow

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore/bluefs: check against locked field during unlink
xie xingguo [Thu, 25 Aug 2016 06:25:21 +0000 (14:25 +0800)]
os/bluestore/bluefs: check against locked field during unlink

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agoos/bluestore/bluefs: avoid check "locked" field for newly created file
xie xingguo [Thu, 25 Aug 2016 06:02:07 +0000 (14:02 +0800)]
os/bluestore/bluefs: avoid check "locked" field for newly created file

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
9 years agomds/SnapRealm.h: add const to member functions 10878/head
Michal Jarzabek [Thu, 25 Aug 2016 21:36:09 +0000 (22:36 +0100)]
mds/SnapRealm.h: add const to member functions

Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
9 years agoMerge pull request #9757 from SUSE/wip-16353
Ken Dreyer [Thu, 25 Aug 2016 21:05:45 +0000 (15:05 -0600)]
Merge pull request #9757 from SUSE/wip-16353

rpm: drop obsolete libs-compat and python-ceph-compat metapackages

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agoMerge pull request #10730 from SUSE/wip-release-notes-draft
Sage Weil [Thu, 25 Aug 2016 20:23:23 +0000 (15:23 -0500)]
Merge pull request #10730 from SUSE/wip-release-notes-draft

release-notes.rst: draft 0.94.8 release notes

Reviewed-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10805 from SUSE/wip-dont-package-__pycache__
Ken Dreyer [Thu, 25 Aug 2016 20:04:48 +0000 (14:04 -0600)]
Merge pull request #10805 from SUSE/wip-dont-package-__pycache__

ceph.spec.in: don't try to package __pycache__ for SUSE

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Dirk Mueller <dmueller@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
9 years agojerasure: include generic objects in neon jerasure lib (like sse3/4) 10879/head
Dan Mick [Thu, 25 Aug 2016 05:03:44 +0000 (22:03 -0700)]
jerasure: include generic objects in neon jerasure lib (like sse3/4)

Signed-off-by: Dan Mick <dan.mick@redhat.com>
9 years agoMerge pull request #10577 from wjwithagen/wip-wjw-test-rados-striper
Kefu Chai [Thu, 25 Aug 2016 15:30:21 +0000 (23:30 +0800)]
Merge pull request #10577 from wjwithagen/wip-wjw-test-rados-striper

Rados-stripper: Flexible string matching for not found attributes

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10770 from dillaman/wip-16773
Mykola Golub [Thu, 25 Aug 2016 10:49:10 +0000 (13:49 +0300)]
Merge pull request #10770 from dillaman/wip-16773

librbd: interlock image refresh and exclusive lock operations

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
9 years agoMerge pull request #10831 from cbodley/wip-17051
Orit Wasserman [Thu, 25 Aug 2016 07:55:53 +0000 (09:55 +0200)]
Merge pull request #10831 from cbodley/wip-17051

rgw: delete region map after upgrade to zonegroup map
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
9 years agoos/bluestore: decode blobs on demand 10768/head
Sage Weil [Wed, 24 Aug 2016 21:41:53 +0000 (17:41 -0400)]
os/bluestore: decode blobs on demand

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: avoid reencoding unchanged blobs
Sage Weil [Wed, 17 Aug 2016 18:08:31 +0000 (14:08 -0400)]
os/bluestore: avoid reencoding unchanged blobs

Keep a dirty flag on each blob, set by the accessor.

Cache the encoded blob_t and only reencode it if it was
modified.

It improves 4K random IOPS on my nvme vstart cluster
by about 9%.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: use Blob const and non-const accessors
Sage Weil [Wed, 17 Aug 2016 18:07:06 +0000 (14:07 -0400)]
os/bluestore: use Blob const and non-const accessors

get_blob() returns a const ref, dirty_blob() returns a
non-const ref.  No change in behavior yet.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore/bluestore_types: make blob_t get_chunk_size const
Sage Weil [Thu, 18 Aug 2016 15:40:39 +0000 (11:40 -0400)]
os/bluestore/bluestore_types: make blob_t get_chunk_size const

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agovstart.sh: -b for bluestore
Sage Weil [Wed, 17 Aug 2016 18:03:18 +0000 (14:03 -0400)]
vstart.sh: -b for bluestore

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fix some #includes
Sage Weil [Wed, 17 Aug 2016 17:41:14 +0000 (13:41 -0400)]
os/bluestore: fix some #includes

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: ensure block device size is a multiple of the block size
Sage Weil [Wed, 24 Aug 2016 17:02:07 +0000 (13:02 -0400)]
os/bluestore: ensure block device size is a multiple of the block size

We might have a backing device that is an odd number of 512-byte sectors
but have the block_size configured to 4096.  Ensure the reported size
rounds down to avoid confusing other layers of the stack.

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoos/bluestore: fsck on mkfs (on by default)
Sage Weil [Wed, 24 Aug 2016 16:45:39 +0000 (12:45 -0400)]
os/bluestore: fsck on mkfs (on by default)

Signed-off-by: Sage Weil <sage@redhat.com>
9 years agoMerge pull request #10824 from dachary/wip-17100-ceph-disk
Kefu Chai [Wed, 24 Aug 2016 14:46:05 +0000 (22:46 +0800)]
Merge pull request #10824 from dachary/wip-17100-ceph-disk

tests: populate /dev/disk/by-partuuid for scsi_debug

Reviewed-by: Kefu Chai <kchai@redhat.com>
9 years agoMerge pull request #10836 from weiqiaomiao/wqm-wip-period-update
Casey Bodley [Wed, 24 Aug 2016 12:58:12 +0000 (08:58 -0400)]
Merge pull request #10836 from weiqiaomiao/wqm-wip-period-update

rgw: fix period update --commit return error

Reviewed-by: Casey Bodley <cbodley@redhat.com>
9 years agoMerge pull request #10829 from liewegas/wip-readme-make-dist
Alfredo Deza [Wed, 24 Aug 2016 11:48:51 +0000 (07:48 -0400)]
Merge pull request #10829 from liewegas/wip-readme-make-dist

README.md: replace package build instructions with tarball instructions
Reviewed-by: Alfredo Deza <adeza@redhat.com>
9 years agoMerge pull request #10576 from wjwithagen/wip-wjw-noise-lockdep
Jason Dillaman [Wed, 24 Aug 2016 11:35:13 +0000 (07:35 -0400)]
Merge pull request #10576 from wjwithagen/wip-wjw-noise-lockdep

lockdep: verbose even if no logging is set

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
9 years agorados-striper.sh: Use expect_failure and conditional stringmatching 10577/head
Willem Jan Withagen [Thu, 4 Aug 2016 21:34:19 +0000 (23:34 +0200)]
rados-striper.sh: Use expect_failure and conditional stringmatching

 - Linux and FreeBSD do not have the same error strings

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
9 years agoMerge pull request #10840 from david-z/wip-fix-manpage
Kefu Chai [Wed, 24 Aug 2016 10:51:44 +0000 (18:51 +0800)]
Merge pull request #10840 from david-z/wip-fix-manpage

doc: fix wrong osdkeepalive name in mount.ceph manpage

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