Commit Graph

59794 Commits

Author SHA1 Message Date
Mykola Golub
a3df091595 qa/workunits/rbd: simplify running nbd test under build env
Previously running the script as unprivileged user was not very useful
due to difficulty to change path sudo was looking for a command to
execute.

Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-11-04 16:22:51 +02:00
whu_liuchang
6735a681c5 Update crush-map.rst
fix typo
2016-11-04 22:14:39 +08:00
Sage Weil
648ea38d49 Merge pull request #11771 from liewegas/wip-bluestore-collection-end
os/bluestore: fix collection_list end bound off-by-one

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-04 08:26:17 -05:00
Kefu Chai
23b591c0f9 Merge pull request #11784 from jcsp/wip-jcsp-docs
Documentation syntax cleanup

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-04 21:14:17 +08:00
John Spray
e7858ecf87 doc/cephfs: separate front page section for dev stuff
The "additional details" section was getting longer
and longer, and I don't want developer-only stuff
in there anyway.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:30 +00:00
John Spray
1dcdf35455 doc/mgr: fix rst syntax in plugin guide
Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:30 +00:00
John Spray
7d4c4c83d1 doc/cephfs: fix rst syntax in mantle.rst
Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:29 +00:00
John Spray
e33355d228 cephfs/capabilities: fix rst syntax
Although we don't link this into built docs,
it generates warnings during build.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:29 +00:00
John Spray
8111fea1ad doc/cephfs: s/CephFS Quotas/Quotas/
This looks odd in the TOC (we're already
in the cephfs section)

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:29 +00:00
John Spray
6c38e3adb0 doc/cephfs: fix header depths
Some files had multiple top-level headers resulting in
subsections being listed in the TOC alongside the
main page header.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:28 +00:00
John Spray
1e7e2a94ce doc/cephfs: link in mantle doc
...and add a warning at the very top of the document
that it is not for ordinary user use.

Considered just not linking this in at all, but it
seems a shame to have it here but not be able to
e.g. google it and link to it.

Signed-off-by: John Spray <john.spray@redhat.com>
2016-11-04 13:07:28 +00:00
Jason Dillaman
1ad92a52e8 Merge pull request #11741 from trociny/wip-17219
rbd-nbd: disallow mapping images >2TB in size

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-11-04 08:54:41 -04:00
Jason Dillaman
740ac0581b Merge pull request #11744 from trociny/wip-16962
rbd-mirror: snap protect of non-layered image results in split-brain

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-11-04 08:53:51 -04:00
Jason Dillaman
ff00d41275 Merge pull request #11755 from trociny/wip-17791
librbd: proper check for get_data_pool compatibility

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-11-04 08:52:54 -04:00
Kefu Chai
7cd371d914 Merge pull request #10852 from wido/doc-mon-dns
doc: Add docs about looking up Monitors through DNS

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-04 19:30:29 +08:00
Kefu Chai
bf4338a861 Merge pull request #11774 from wjwithagen/wip-wjw-test_bloom_filter
test_bloom_filter.cc: Fix a mismatch for the random_seed parameter

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-04 14:46:06 +08:00
Kefu Chai
36b7f28873 Merge pull request #11731 from kylinstorage/wip-avoid-unnecessary-verify
FileStore: Only verify split when it has been really done and done correctly

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-04 10:50:58 +08:00
Josh Durgin
b75f0a9900 OSDMonitor: remove duplicate jewel/kraken flag warning
Since 6244755a70 and
12e508313d, the original check added in
ae0d6eb1c0 (perhaps by a bad
rebase/merge?)  is duplicated and doubles the warning messages.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2016-11-03 15:37:58 -07:00
Willem Jan Withagen
c1e4b2e429 test/common/test_bloom_filter.cc: Fix a mismatch for the random_seed parameter
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2016-11-03 22:59:36 +01:00
Sage Weil
85aa6fa411 mon/OSDMonitor: require 'sortbitwise' before 'require_jewel_osds'
This forces users upgrading past jewel to first set
'sortbitwise', which in turn means that post-jewel OSDs
do not need to support nibblewise sort.

Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 16:55:53 -04:00
Sage Weil
dfb350e489 osd: do not boot unless SORTBITWISE and REQUIRE_JEWEL flags are set
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 16:51:16 -04:00
Marcus Watts
3252c10a15 Updated version of civetweb.
Fixes here:
Pull civetweb from new branch/commit.
Build civetweb.c w/ USE_IPV6 (w/o depending on extra ceph-only build
	logic inside of civetweb.)
Make several things "const" to please the compiler.
Remap port string at '+' -> ,; to avoid , overload.
Use new civetweb options validate_http_method=no canonicalize_url_path=no

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2016-11-03 13:11:54 -07:00
Sage Weil
ab0b6dffed Merge pull request #11554 from mslovy/wip-fix-fiemap
os/FileStore: fix fiemap issue in xfs when #extents > 1364 

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-03 13:19:37 -05:00
Ning Yao
fb119ac40e test: add test for fiemap xfs issue when #extents > 1364
Signed-off-by: Ning Yao <yaoning@unitedstack.com>
2016-11-04 02:16:06 +08:00
Ning Yao
1a1c126d80 FileStore:: fix fiemap issue in xfs when #extents > 1364
Signed-off-by: Ning Yao <yaoning@unitedstack.com>
2016-11-04 02:15:58 +08:00
Sage Weil
3941f630d0 os/kstore: fix collection_list end bound off-by-one
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 14:14:33 -04:00
Sage Weil
a115062fa5 os/bluestore: fix collection_list end bound off-by-one
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 14:14:23 -04:00
Sage Weil
592a4753b2 ceph_test_objectstore: test collection_list end bound
Ensure that it is not included in the result!

Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 14:14:07 -04:00
Kefu Chai
6478a3dd1d Merge pull request #11617 from umullan/brokenlinks
doc: Fixing the broken hyperlinks by pointing to correct documentation.

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-11-04 01:03:10 +08:00
Mykola Golub
c1f374ef6c librbd: snap_get_limit compatibility check
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-11-03 18:36:04 +02:00
Sage Weil
1014850996 Merge pull request #10707 from SUSE/wip-fix-suse-usermod
rpm: Remove trailing whitespace in usermod command (SUSE)

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2016-11-03 11:29:02 -05:00
Orit Wasserman
40ba752410 Merge pull request #11494 from aclamk/wip-rgw-compression
[RGW] Wip rgw compression
Reviewed-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-11-03 17:25:02 +01:00
Jianpeng Ma
ac898e61cb osd/ReplicatedBackend: let MOSDRepOP record the correctly largest_data_off_in_data_bl.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2016-11-03 12:08:25 -04:00
Jianpeng Ma
2b0ea15b56 os/ObjectStore: fix bug about calc largest_data_off_in_data_bl.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2016-11-03 12:08:25 -04:00
Jianpeng Ma
a72a1c2d26 os/ObjectStore: remove the legacy tbl support completely.
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
2016-11-03 12:08:25 -04:00
Sage Weil
6d6d4b3243 os/bluestore: fix build error
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 11:10:14 -04:00
Matt Benjamin
2e2ca3b620 Merge pull request #11768 from linuxbox2/xio-build-2
xio: fix build
2016-11-03 11:07:17 -04:00
Sage Weil
bb879215fa Merge pull request #11769 from liewegas/wip-option-name
kv/RocksDBStore: rename option

Reviewed-by: Mark Nelson <mnelson@redhat.com>
2016-11-03 10:05:35 -05:00
Sage Weil
e1c6152e0f kv/RocksDBStore: rename option
Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 11:02:00 -04:00
Sage Weil
9c6a84e810 Merge pull request #11767 from ceph/wip-cmake
cmake: pass CMAKE_BUILD_TYPE down to rocksdb

Reviewed-by: Bassam Tabbara <bassam.tabbara@quantum.com>
2016-11-03 10:00:48 -05:00
Matt Benjamin
c5aa43d3a6 xio: build fixes (some unittest targets need XIO_LIBRARY)
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-11-03 10:51:40 -04:00
Igor Fedotov
8e1e51a8cb Merge pull request #11748 from liewegas/wip-bluestore-split
os/bluestore: fix _split_collections race with osr_reap

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
2016-11-03 17:50:45 +03:00
Matt Benjamin
2ac2ef350c xio: build fixes (XioMessenger lacks features argument)
Applies the constructor signature change to the uses in
xio_client and xio_server test programs.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-11-03 10:49:44 -04:00
Marov Aleksey
7b10c6c3a1 xio: compile fix removing undeclared 'features'
This fix was proposed on ceph-devel and acked by Sage Weil.
The corresponding change in in the later print is obvious
from context.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2016-11-03 10:49:25 -04:00
Sage Weil
d4209863b7 os/bluestore: fix _split_collections race with osr_reap
The SharedBlobSet may not yet be empty at split time because previous
transactions may not have been reaped, leaving some Blobs still alive
even after the cache refs are cleared.  Drop them explicitly here (they
will go away shortly).

Signed-off-by: Sage Weil <sage@redhat.com>
2016-11-03 10:33:23 -04:00
Sage Weil
ccfc644f80 Merge pull request #9444 from Adirl/dout_prefix
xio: provide dout_prefix for XioConnection

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2016-11-03 09:21:27 -05:00
Kefu Chai
0b5fcc0797 cmake: pass CMAKE_BUILD_TYPE down to rocksdb
so rocksdb share the same ${CMAKE_BUILD_TYPE} with ceph

Signed-off-by: Kefu Chai <kchai@redhat.com>
2016-11-03 22:18:12 +08:00
Mykola Golub
9933e0df1f Merge pull request #11704 from dillaman/wip-17752
librbd: do not create empty object map object on image creation

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2016-11-03 15:59:49 +02:00
Sage Weil
1184a03f1b Merge pull request #11696 from tanghaodong25/rocksdb-breakdown-wip
kv/rocksdb: enable rocksdb write path breakdown

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-03 08:51:48 -05:00
Sage Weil
b0b8c5a9bf Merge pull request #11752 from stiopaa1/mds_mdsrank_addConstToMemFunc
mds/MDSRank: add const to member functions
2016-11-03 08:48:37 -05:00