Commit Graph

57130 Commits

Author SHA1 Message Date
Jeff Layton
2115de04a4 client: move the device bitshift handling macros to Client.h
We'll need them in Client.cc now in addition to FUSE specific code.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2016-08-29 07:16:38 -04:00
Jeff Layton
34c6d592a0 ceph: break up ll_getattr into two functions
...in preparation for adding a ll_getattrx.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2016-08-29 07:16:38 -04:00
Sage Weil
e97e74a493 client: keep btime in Inode and InodeStat
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2016-08-29 07:16:38 -04:00
Sage Weil
4349879a69 mds: pass btime in InodeStat MClientReply, if feature is present
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-29 07:16:38 -04:00
Sage Weil
e292d2bef5 include/ceph_features: add FS_BTIME features
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-29 07:16:38 -04:00
Sage Weil
9cbfc47b47 mds/MDCache: set btime on system inodes
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-29 07:16:38 -04:00
Sage Weil
9591c51c90 mds/Server: set btime=ctime on creation
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-29 07:16:37 -04:00
Sage Weil
d0fc2a852a mds/mdstypes: add btime to inode
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-29 07:16:37 -04:00
Jeff Layton
37eb3b4ed0 client: pass a mask parameter to path_walk
ll_walk expects to get a set of attributes out of a path_walk. Pass a
caps mask parameter into path_walk, and then apply it when we reach the
last component of the path.

This may prevent us from having to further iteract with the server after
the pathwalk, in some cases. If we know that we're going to need certain
caps to do the actual operation we can request them during the lookup
and may have all that we need by the time we go to do the real request.

Signed-off-by: Jeff Layton <jlayton@redhat.com>
2016-08-29 07:16:37 -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
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
Loic Dachary
cedc643319 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>
2016-08-27 20:38:18 +02:00
Loic Dachary
ba6d1811ba 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>
2016-08-27 20:37:13 +02:00
Michal Jarzabek
c949279024 mds/MDCache.h: remove unneeded access specifier
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-08-27 19:22:01 +01:00
Nathan Cutler
46264a3b6c doc: add missing PR to hammer 0.94.8 release notes
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-08-27 20:20:50 +02:00
Nathan Cutler
1b62d9465a 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>
2016-08-27 20:11:04 +02:00
Sage Weil
443941cb86 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>
2016-08-26 16:30:03 -05:00
Loic Dachary
b0ae9dfdcd 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>
2016-08-26 22:14:31 +02:00
Sage Weil
c5597e341c 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>
2016-08-26 14:22:30 -04:00
Yehuda Sadeh
e058ef98a8 Merge pull request #10779 from cbodley/wip-17073
rgw multisite: RGWDataSyncCR fails on errors from RGWListBucketIndexesCR

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-08-26 11:09:10 -07:00
Yehuda Sadeh
3a852028fe Merge pull request #10778 from cbodley/wip-17047
rgw multisite: RGWCoroutinesManager::run returns status of last cr

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-08-26 11:07:45 -07:00
Yehuda Sadeh
2ab07a14aa 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>
2016-08-26 11:03:02 -07:00
Kefu Chai
90836aaf2b 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>
2016-08-26 22:51:58 +08:00
Sage Weil
1ac3997b03 doc/release-notes: fix v10.2.2 changelog link
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-26 09:51:41 -04:00
Sage Weil
902b5e3a10 doc/releases: add v0.94.8 to timeline
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-26 09:27:22 -04:00
Sage Weil
d865190150 doc: add v0.94.8 changelog
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-26 09:27:14 -04:00
Sage Weil
68215aea97 doc: add v0.94.7 changelog
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-26 09:26:24 -04:00
Nathan Cutler
a497a53737 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>
2016-08-26 14:22:09 +02:00
Nathan Cutler
8f7811551b Revert "ceph.spec.in: don't try to package __pycache__ for SUSE"
This reverts commit be39d6dc71.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-08-26 14:22:09 +02:00
Kefu Chai
f0bb265eba 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>
2016-08-26 16:57:10 +08:00
Haomai Wang
640d61732d Merge pull request #9869 from yuyuyu101/wip-kqueue
msg/async/kqueue: avoid remove nonexist kqueue event

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2016-08-26 11:31:59 +08:00
Kefu Chai
4c514e3686 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>
2016-08-26 10:52:51 +08:00
Kefu Chai
577f027ba8 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>
2016-08-26 09:36:53 +08:00
Kefu Chai
3c6d48b42c 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>
2016-08-26 09:23:25 +08:00
Michal Jarzabek
8fc2e9f6c0 mds/SnapRealm.h: add const to member functions
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2016-08-25 22:36:09 +01:00
Ken Dreyer
b0f9aaf852 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>
2016-08-25 15:05:48 -06:00
Sage Weil
41ddc8be35 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>
2016-08-25 15:23:23 -05:00
Ken Dreyer
0f001697b1 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>
2016-08-25 14:04:54 -06:00
Dan Mick
09f041c7c9 jerasure: include generic objects in neon jerasure lib (like sse3/4)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2016-08-25 11:35:17 -07:00
Kefu Chai
16f4baabe7 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>
2016-08-25 23:30:21 +08:00
Mykola Golub
ae81907146 Merge pull request #10770 from dillaman/wip-16773
librbd: interlock image refresh and exclusive lock operations

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-08-25 13:49:10 +03:00
Orit Wasserman
c19ecb05e4 Merge pull request #10831 from cbodley/wip-17051
rgw: delete region map after upgrade to zonegroup map
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2016-08-25 09:55:53 +02:00
Sage Weil
7290f34101 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>
2016-08-24 13:02:31 -04:00
Sage Weil
108ee77b54 os/bluestore: fsck on mkfs (on by default)
Signed-off-by: Sage Weil <sage@redhat.com>
2016-08-24 13:02:31 -04:00