Commit Graph

59519 Commits

Author SHA1 Message Date
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
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
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
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
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
Sage Weil
13dbff2de9 Merge pull request #11761 from xiexingguo/xxg-wip-fix-envmirror-cleanup
os/bluestore: fixes and cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
2016-11-03 08:43:15 -05:00
Matt Benjamin
47a2749f2f Merge pull request #11762 from atheism/doc-rgw-s3-javaapi
doc: rgw: fix a typo in S3 java api example
2016-11-03 09:31:56 -04:00
Mykola Golub
5577ada030 librbd: proper check for get_data_pool compatibility
Fixes: http://tracker.ceph.com/issues/17791
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-11-03 15:27:14 +02:00
Mykola Golub
2012b4dfc6 rbd-nbd: disallow mapping images >2TB in size
Fixes: http://tracker.ceph.com/issues/17219
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-11-03 14:50:47 +02:00
Weibing Zhang
654112000e doc: rgw: fix a typo in S3 java api example
ObjectSummary.getSize() should be objectSummary.getSize()

Signed-off-by: Weibing Zhang <zhangweibing@unitedstack.com>
2016-11-03 18:23:02 +08:00
Orit Wasserman
f216268083 Merge pull request #11753 from yehudasa/wip-17790
rgw: support for x-robots-tag header
Reviewed-by: Orit wasserman <owasserm@redhat.com>
2016-11-03 11:07:24 +01:00
Uday Mullangi
7c7395c1cc doc: Fixing the broken hyperlinks by pointing to correct documentation.
Signed-off-by: umullangi@walmartlabs.com
2016-11-03 14:55:12 +05:30
xie xingguo
a47e20aeae os/bluestore: fix improper call of shutdown() to mempool_thread
Because below here we haven't called mempool_thread.init() yet,
and call to mempool_thread.shutdown() will therefore raise an assert instead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-03 16:57:33 +08:00
xie xingguo
d129a2868a os/bluestore: drop safe check against g_conf
We are using g_conf unconditionly everywhere...

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-03 14:44:42 +08:00
xie xingguo
69b8e4d55a os/bluestore: drop redundant boundary check
As we have done the sanity check ahead.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-11-03 14:18:24 +08:00