Commit Graph

57256 Commits

Author SHA1 Message Date
Sage Weil
596a7dc463 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>
2016-08-30 12:30:25 -05:00
Samuel Just
5eb32c9e17 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>
2016-08-30 09:56:59 -07:00
Samuel Just
b4f4c42b75 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 52be772788.

Fixes: http://tracker.ceph.com/issues/16908
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-08-30 09:55:05 -07:00
Loic Dachary
545b65ad88 Merge pull request #10881 from ceph/wip-kill-warnings
Wip kill warnings

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-08-30 18:18:11 +02:00
Igor Fedotov
7ff3440475 os/bluestore: yet another statfs test fix
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2016-08-30 15:26:24 +00:00
Ali Maredia
243f1194f9 Merge pull request #10917 from ceph/wip-cmake
cmake changes related to LTTng-UST

Reviewed-by: Ali Maredia <amaredia@redhat.com>
2016-08-30 10:39:32 -04:00
Igor Fedotov
a77ce50f3a Merge pull request #10768 from liewegas/wip-bluestore-blobbuffers
os/bluestore: avoid blob_t reencode when unchanged

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-08-30 15:05:08 +03:00
Igor Fedotov
5a7b9ee788 Merge pull request #10910 from liewegas/wip-bluestore-statfs
os/bluestore: fix statfs tests

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-08-30 15:04:37 +03:00
Nathan Cutler
3c5e021c35 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>
2016-08-30 11:41:29 +02:00
Kefu Chai
0a717593c0 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>
2016-08-30 15:51:51 +08:00
Kefu Chai
2ed44f993f 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>
2016-08-30 15:51:51 +08:00
Kefu Chai
8c76f71d18 cmake: remove unused librados_api target
Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-08-30 15:51:51 +08:00
Yuri Weinstein
134528c2eb Merge pull request #9930 from yuyuyu101/wip-16472
msg/simple: wait dispatch_queue until all pipes closed

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2016-08-29 16:44:18 -07:00
Sage Weil
9c92d958d7 messages/MOSDMap: mark as enlighten OSDMap encoder
Back in 70094407c1 we require that anyone
encoding an OSDMap pass in a special feature bit indicating that they are
'enlightened' and understand the rules around encoding OSDMaps (basically,
only mons get to do it).  We forgot to update MOSDMap, which may have to
reencode an OSDMap without some features to talk to a really old client.
We haven't noticed until now because the old set of features we had to do
this for are really old.

We are about to introduce new features (for addr2 encoding) that change
that, and this fix is needed to prevent an assert when doing a reencode.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-29 15:15:06 -04:00
Mykola Golub
d16c046b4f 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>
2016-08-29 21:31:00 +03:00
Sage Weil
128b95a2a9 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>
2016-08-29 14:20:11 -04:00
Sage Weil
ce8b6c0d50 ceph_test_objectstore: fix ObjectStore/StoreTest.BluestoreStatFSTest/2 on ssd
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-29 14:19:59 -04:00
John Spray
0725f3ddfd 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>
2016-08-29 17:15:36 +01:00
Jan Fajerski
85a370e35f 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>
2016-08-29 16:38:51 +02:00
Willem Jan Withagen
d3bb10c445 src/test/common/CMakeLists.txt: BLKID exclude
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-08-29 16:18:29 +02:00
Willem Jan Withagen
7136c4dab1 src/test/CMakeLists.txt: RADOSGW|RBD exclude
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-08-29 16:18:29 +02:00
Willem Jan Withagen
276c4f9c72 src/os/CMakeLists.txt: AIO|FUSE exclude
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-08-29 16:18:29 +02:00
Willem Jan Withagen
c5abbcb0f0 src/librbd/CMakeLists.txt: krbd and secret.c are LINUX dependant
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-08-29 16:18:29 +02:00
Willem Jan Withagen
f246849120 src/CMakeLists.txt: RBD|KVS|FUSE exclude
- krbd is the Linux kernel RBD driver, and that is not going to be
   ported to FreeBSD in its current state. If anything it will be
   a module based on a derivative  of gated.
 - The current secret.c depends on keyutils
   Which is an interesting concept, but still needs to be ported to
   FreeBSD one way or another.
 - ceph-dencoder can live without these modules on FreeBSD

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-08-29 16:18:29 +02:00
Willem Jan Withagen
5c72468930 src/test/bench/CMakeLists.txt: RBD exclude
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-08-29 16:18:29 +02:00
Sage Weil
96c4bfed3c 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>
2016-08-29 08:59:44 -05:00
Radoslaw Zarzynski
585026833d 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>
2016-08-29 15:36:17 +02:00
Radoslaw Zarzynski
6399652469 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>
2016-08-29 15:19:24 +02:00
Kefu Chai
483ea7dcac Merge pull request #10902 from stiopaa1/remove_unneeded
common/Throttle.h: remove unneeded class

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-08-29 19:24:29 +08:00
Jason Dillaman
95759c8c16 Merge pull request #10906 from ceph/wip-cmake
cmake: fix the tracing header dependencies

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-08-29 07:13:45 -04:00
Loic Dachary
433b028941 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>
2016-08-29 10:59:52 +02:00
Kefu Chai
5e03ff0981 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>
2016-08-29 15:06:44 +08:00
Gregory Farnum
159a58464d Merge pull request #10878 from stiopaa1/mds_snaprealm_addconstToMem
mds/SnapRealm.h: add const to member functions

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-08-28 21:24:03 -07:00
Gregory Farnum
6587950ae4 Merge pull request #10901 from stiopaa1/mds_mdcache_accessspecifierU
mds/MDCache.h: remove unneeded access specifier

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2016-08-28 21:17:51 -07:00
Nathan Cutler
0775e71127 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>
2016-08-28 13:43:07 +02:00
Loic Dachary
2449adf51a 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>
2016-08-28 13:34:14 +02:00
Nathan Cutler
88d3fe9232 doc: add 11.0.0 to releases table
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-08-28 09:42:42 +02:00
Nathan Cutler
ea3ddeec41 doc: fix two broken links in releases.rst
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-08-28 09:40:25 +02:00
Nathan Cutler
b83d25d291 doc: release-notes.rst: move misplaced line
46264a3b6c 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>
2016-08-28 09:22:23 +02:00
Michal Jarzabek
c1abdae84d common/Throttle.h: remove unneeded class
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-08-28 07:33:36 +01:00
Jason Dillaman
8e69b2efc4 librbd: integrate image cache hooks into IO path
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-27 19:37:37 -04:00
Jason Dillaman
6beb353c1a librbd: C_ImageCacheRead bridge from Context to AioCompletion
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-27 19:37:37 -04:00
Jason Dillaman
bc0921870b librbd: differentiate between image and object cache
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-27 19:37:37 -04:00
Jason Dillaman
d9eb3720b9 librbd: consolidate IO clipping to reusable method
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-27 19:37:37 -04:00
Jason Dillaman
991c77d042 librbd: initial integration of ImageWriteback to AioImageRequest
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-27 19:37:37 -04:00
Jason Dillaman
633f0ab0c4 librbd: add internal support for scatter/gather IO
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-27 19:37:37 -04:00
Jason Dillaman
9176900300 librbd: support bufferlist payload for AioImageWrite
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-27 19:37:37 -04:00
Jason Dillaman
1c59945c13 Revert "osdc: ObjectCacher flusher might needs additional locks"
This reverts commit a38f9e5104.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-08-27 19:37:37 -04:00
Jason Dillaman
551d7eae12 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>
2016-08-27 19:37:37 -04:00
Jason Dillaman
9395525058 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>
2016-08-27 19:37:37 -04:00