Commit Graph

50602 Commits

Author SHA1 Message Date
Josh Durgin
a7470c80ec Merge pull request #7846 from dillaman/wip-14551
rbd: update default image features

Conflicts:
	PendingReleaseNotes (trivial)
2016-03-01 17:18:04 -08:00
Josh Durgin
0c965e76d8 Merge pull request #7841 from dillaman/wip-14550
rbd: deprecate image format 1

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-01 17:18:18 -08:00
Josh Durgin
2da7196b49 Merge pull request #7839 from dillaman/wip-14809
librbd: remove last synchronous librados calls from open/close state machine

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-01 17:18:05 -08:00
Josh Durgin
928c2e4d08 Merge pull request #7785 from dillaman/wip-14822
librbd: journal replay needs to support re-executing maintenance ops

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-01 17:17:50 -08:00
Josh Durgin
939984f798 Merge pull request #7776 from dillaman/wip-librbd-journal-tweaks
journal: improve commit position tracking

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2016-03-01 17:17:31 -08:00
Ali Maredia
61026c872b cmake: Turned LTTng OFF
This is temporary, until a way to stop repetitive
unecessary generation of headerfiles is figured out.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-03-01 18:11:39 -05:00
Nathan Cutler
13a5aac669 RPM: move scriptlets from ceph to ceph-base
This addresses the following RPMLINT error:

ceph-base.x86_64: E: library-without-ldconfig-postun (Badness:
300) /usr/lib64/libosd_tp.so.1.0.0
ceph-base.x86_64: E: library-without-ldconfig-postun (Badness:
300) /usr/lib64/libos_tp.so.1.0.0
This package contains a library and provides no %postun scriptlet
containing a call to ldconfig.

ceph-base.x86_64: E: library-without-ldconfig-postin (Badness:
300) /usr/lib64/libosd_tp.so.1.0.0
ceph-base.x86_64: E: library-without-ldconfig-postin (Badness:
300) /usr/lib64/libos_tp.so.1.0.0
This package contains a library and provides no %post scriptlet
containing a call to ldconfig.

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

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-03-01 22:27:47 +01:00
Yehuda Sadeh
c6f317b4fa AUTHORS: update email
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2016-03-01 13:07:46 -08:00
Radoslaw Zarzynski
55eeee93c5 rgw: calculate payload hash in RGWPutObj_ObjStore only when necessary.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-03-01 21:55:44 +01:00
Samuel Just
c1e41afb84 Merge pull request #7767 from athanatos/wip-sam-journal-throttle-4
osd: filestore: restructure journal and op queue throttling

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-03-01 12:51:15 -08:00
James Liu
da84cbad3c os/kstore: Latency breakdown in each stage of transaction for Kstore
Signed-off-by: James Liu <james.liu@ssi.samsung.com>
2016-03-01 10:29:36 -08:00
Yan, Zheng
72ff3421b8 mds: deny access to file with pool_ns layout if feature is missing
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-01 11:18:18 -05:00
Yan, Zheng
00a1394247 mds: fix inodestat size calculation
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-01 11:18:18 -05:00
Yan, Zheng
a524df2fc8 mds: properly purge backtrace object
backtrace objects are always in default namespace

Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-01 11:18:18 -05:00
Yan, Zheng
8e728fca84 messages/MClientCaps: fix decoding
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-01 11:18:18 -05:00
Sage Weil
1de6e940d0 mds/Server: fix whitespace
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:17 -05:00
Sage Weil
e7ead6a535 mds/Locker: fix Session leak on access denial
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:17 -05:00
Sage Weil
fafb14212d fix init of new fields in MCLientCaps 2016-03-01 11:18:17 -05:00
Sage Weil
7f47cd76d2 mds/MDSMap: add file layout v2 incompat feature
The existing MDSMonitor machinations already add this to the MDSMap to
boot out old MDS's.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:17 -05:00
Sage Weil
00850a67ca mds: deny access to directories with pool_ns layouts if feature is missing
If the client feature is missing, given them EIO.  Change check_access to
return an error code to distinguish this from EACCES.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:17 -05:00
Sage Weil
9c7669b95a mon/MDSMonitor: prevent pool 0 from being used as a data pool
Pool 0 means no change or default in the legacy ceph_file_layout in the
layout ioctl and file create arguments. Prevent it from being used to avoid
putting users in an awkward situation later.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:17 -05:00
Yan, Zheng
a2d42d5572 mds: don't break compatibility of MClientCaps/MClientReply
Signed-off-by: Yan, Zheng <zyan@redhat.com>
2016-03-01 11:18:17 -05:00
Sage Weil
efb4a83f77 fs_types: file_layout_t: convert pool -1 (undefined) to 0 in legacy encoding
Old code assumes that fl_pg_pool == 0 means the pool is not defined, while
file_layout_t uses -1.  Translate between the two.

Note that this means a valid file_layout_t with pool_id == 0 cannot be
accurately translated to a legacy file_layout_t.  That is somewhat
unavoidable, and should not be a problem since real clusters create 'rbd'
as pool 0 and it does not use any file layouts.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:17 -05:00
Sage Weil
c31e94d3b5 qa/workunits/fs/misc/layout_vxattrs: test layout.pool_namespace
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:17 -05:00
Sage Weil
e0ad651744 client: expose layout.pool_namespace vxattr
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:16 -05:00
Sage Weil
386d7c6b02 mds: allow adjustment of layout.pool_namespace vxattr
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:16 -05:00
Sage Weil
99f1f6478d struct ceph_file_layout -> file_layout_t
- drop the global
- do not memset!
- encode with features
- field names are different
- use get_period() method where appropriate
- fix is layout empty checks

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:18:16 -05:00
Sage Weil
2752eeefc3 mds: make inode_t, old_inode_t featureful
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:17:41 -05:00
Sage Weil
e750f48c03 messages/MClientCaps: avoid fixed struct for encoding
At least for new clients.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:17:41 -05:00
Sage Weil
ff606bf4c4 mds: encode inode reply information directly
Drop the ceph_mds_reply_inode struct and encode directly.  Note
that we already decode directly to InodeStat in MClientReply.h.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:17:00 -05:00
Sage Weil
0b1f7f59b6 messages/MClientReply: stop using ceph_mds_reply_inode struct to unpack
Decode directly.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:17:00 -05:00
Sage Weil
7dcf39f7ca mds: pass features to various CInode encoders and helpers
We'll need this shortly.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:17:00 -05:00
Sage Weil
826e8d01dc mds/MDSMap: cache up_features; fix logic
& these, not | them.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:17:00 -05:00
Sage Weil
162ca5bcf9 libradosstriper: move default stripe parameters inline
The extern is going away.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:17:00 -05:00
Sage Weil
7b961ff129 include/encoding: featureful encoder for list of shared_ptrs
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:59 -05:00
Sage Weil
bdae5bf37c include/compact_map: featureful encoders, too
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:59 -05:00
Sage Weil
4cf4f8dd13 ceph-dencoder: TYPE_FEATUREFUL_NOCOPY
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:59 -05:00
Sage Weil
358cce1e7f mds: pass features to LogEvents, EMetaBlob
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:59 -05:00
Sage Weil
e08dd70d78 mds,mon: include features in beacon messages, MDSMap
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:59 -05:00
Sage Weil
4ad8f7254a mds/MDSMap: add features to MDSMap's mds_info_t
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:59 -05:00
Sage Weil
982208135c add fs_types.h, with file_layout_t
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:59 -05:00
Sage Weil
0cd1b94133 declare Formatter for everyone
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:59 -05:00
Sage Weil
58a00e01f5 qa/workunits/fs/misc/layout_vxattr.sh: detect data pool name
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 11:16:58 -05:00
branto1
cc7f9ec63c Merge pull request #7823 from SUSE/wip-14906
packaging: add lsb-release dependency for SUSE and Debian

Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Boris Ranto <branto@redhat.com>
2016-03-01 16:35:21 +01:00
Radoslaw Zarzynski
533b617739 rgw: send proper ETag value during GET on DLO/SLO through S3 API.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-03-01 16:26:33 +01:00
Sage Weil
efd7625f38 Merge pull request #7837 from rldleblanc/wpq-documentation
doc: osd-config Add Configuration Options for op queue.
2016-03-01 09:27:21 -05:00
Sage Weil
805e37cf8b Merge pull request #7851 from jupiturliu/obj-bencher-bug
rados: fix bug for write bench

Reviewed-by: Sage Weil <sage@redhat.com>
2016-03-01 09:25:51 -05:00
Sage Weil
48e2a65b22 Merge pull request #7729 from yuyuyu101/wip-spdk2
osd: bluestore: Revert NVMEDevice task cstor and refresh interface changes
2016-03-01 09:18:15 -05:00
Nathan Cutler
b87f4efb56 packaging: lsb_release build and runtime dependency
The lsb_release executable is being run in multiple places, not least in
src/common/util.cc, which calls it via shell in the collect_sys_info() code
path.

This patch addresses this issue on SUSE- and Debian-derivatives, as well
as reinstating the dependency for RHEL/Fedora after it was dropped in
1560057226.

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

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-03-01 15:14:46 +01:00
Sage Weil
aa2b891140 buffer: use alignof for raw_combined allocation arithmetic
Signed-off-by: Sage Weil <sage@redhat.com>
2016-03-01 09:09:23 -05:00