Sage Weil
138b7b9f4d
Merge pull request #14725 from tchaikov/wip-cmake
...
cmake: do not compile crush twice
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-04-25 09:31:13 -05:00
Sage Weil
c9106d48ec
Merge pull request #14730 from tchaikov/wip-19744
...
mon/OSDMonitor: update pg_creatings even the new acting set is empty
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-25 09:30:36 -05:00
Sage Weil
79a7c21546
Merge pull request #14744 from ceph/wip-bluefs-alloc-size
...
os/bluestore: align reclaim size to bluefs_alloc_size
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-25 09:30:10 -05:00
Sage Weil
0b2b544406
Merge pull request #14749 from ifed01/wip-bluestore-nolock-alloc
...
os/bluestore: get rid off excessive lock at BitMapAllocator
Reviewed-by: Sage Weil <sage@redhat.com>
2017-04-25 09:29:48 -05:00
Sage Weil
4b1d6b05d2
osd/OSDMap: move to 'osdmap' mempool
...
We leave a few things out:
- strings (to annoying, and they are small)
- erasure code profiles (ditto)
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-25 09:11:50 -04:00
Sage Weil
db49e0d79e
include/mempool: add osdmap mempool
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-25 09:11:50 -04:00
Sage Weil
5a1a4051f1
crush: templatize weights arg for do_rule
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-25 09:11:50 -04:00
Sage Weil
28b7d27943
include/encoding: use more auto
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-25 09:11:49 -04:00
Sage Weil
b3b86254a1
osd/OSDMap: use auto where possible
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-25 09:11:49 -04:00
Mykola Golub
dba3de2a8c
Merge pull request #14762 from zy751713126/add-bench-notes
...
rbd/bench: add notes of default values, it's easy to use
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-04-25 15:07:49 +03:00
zy751713126
79b6695689
rbd/bench: add notes of default values, it's more easy to use
...
Signed-off-by: Zheng Yin <zhengyin@chinac.com>
2017-04-25 18:08:43 +08:00
Pan Liu
60f4e0e452
src/common: change last_work_queue to next_work_queue.
...
Signed-off-by: Pan Liu <liupan1111@gmail.com>
2017-04-25 18:05:20 +08:00
liuchang0812
2d43791d41
mailmap: update organization info
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-04-25 16:45:23 +08:00
Dan Mick
4bdc18a739
squashme: review comments
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 23:39:52 -07:00
Dan Mick
1fc50db592
test/cli/ceph-conf/env-vs-args.t: accept new error messages
...
Failing to load ceph.conf now dumps more errors for the user
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 23:36:38 -07:00
Dan Mick
0825f4e262
test/librados_test_stub/LibradosTestStub.cc: accept ENOENT
...
Missing ceph.conf now returns ENOENT rather than EINVAL
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 23:35:40 -07:00
Dan Mick
9a5954fc66
global/global_init.cc global_pre_init: look for ENOENT
...
EINVAL for no conf file found changes to ENOENT
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 23:34:27 -07:00
liuchang0812
9a372d7d91
osd/pglog: align pglog op name in ostream
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-04-25 10:54:58 +08:00
liuchang0812
2a229fb2f9
osd/pglog: strip pglog op name
...
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-04-25 10:39:21 +08:00
Dan Mick
96f95193f6
librados/librados.cc rados_conf_read_file: report errors to client
...
Previously all the error text was hidden; log it.
Note: ENOENT is noted as a 'parse error'
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 15:55:16 -07:00
Dan Mick
cd96ee5f80
common/config.cc md_config_t::parse_config_files: return ENOENT
...
If the only error we get is ENOENT, pass that back instead of
EINVAL, as it more-accurately reflects the error(s)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 15:43:26 -07:00
Dan Mick
71728a437f
common/ConfUtils.cc parse_file: fix function name in errors
...
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 15:43:26 -07:00
Dan Mick
623e1a8eeb
common/ConfUtils.cc: ConfFile:parse_file: warn about ENOENT
...
Consider ENOENT an error; it may or may not be reported, but
accumulate it as if it might be
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 15:43:26 -07:00
Dan Mick
058ac8526c
ceph.in, pybind/rados/rados.pyx: Handle EINVAL better
...
Translate EINVAL to an exception type in rados.pyx
Print entire exception in ceph CLI
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-04-24 15:43:26 -07:00
Yehuda Sadeh
180e276dd1
qa/suite: replace reference to fs/xfs.yaml
...
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
2017-04-24 15:40:12 -07:00
John Spray
de36573fb2
Merge pull request #14726 from batrick/i19583
...
mds: change_attr++ and set ctime for set_vxattr
Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-24 22:13:48 +01:00
John Spray
c2fb170586
Merge pull request #14652 from jcsp/wip-18816
...
mds: remove "mds log" config option
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-24 22:12:46 +01:00
John Spray
1eb9438bc9
Merge pull request #14636 from jcsp/wip-19691
...
osdc: remove journaler_allow_split_entries option
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-04-24 22:12:35 +01:00
John Spray
ca0b087b32
Merge pull request #14317 from ukernel/wip-19306
...
client: make seeky readdir more efficiency
Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-24 22:11:08 +01:00
John Spray
d0d3a4a02e
Merge pull request #12935 from stiopaa1/17855_evictClient
...
mds/Server.cc: Don't evict a slow client if...
Reviewed-by: John Spray <john.spray@redhat.com>
2017-04-24 22:10:01 +01:00
root
abca7a86c3
rgw: add a field to store generic user data in the bucket index,
...
that can populated/fetched via a configurable custom http header
Fixes: http://tracker.ceph.com/issues/19644
Signed-off-by: Pavan Rallabhandi <prallabhandi@walmartlabs.com>
2017-04-25 00:24:23 +05:30
Mykola Golub
40de8f1183
rbd: import needs to sanity check auto-generated image name
...
Fixes: http://tracker.ceph.com/issues/19128
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-04-24 20:29:36 +02:00
Sage Weil
4a2c595e6a
ceph-object-corpus: prune old types from decode tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 14:27:48 -04:00
Sage Weil
9fc11f1c27
osd/osd_types: remove compat cruft for object_stat_sum_t
...
v15 is 169cd4d962
(pre-jewel), but
the decode method still said v14. Therefose, we leave the compat
version when we encode as 14.
v14 is 0643845665
(pre-jewel).
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 14:27:47 -04:00
Sage Weil
86e195cbe6
include/encoding: fix compat version error messages
...
These were just...wrong. Correctly report the encoding version we
got and the oldest we can decode.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 14:27:47 -04:00
Casey Bodley
dad69a1592
Merge pull request #14388 from shashalu/fix-create-bucket
...
rgw: using the same bucket num_shards as master zg when create bucket in secondary zg
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-04-24 11:56:38 -04:00
Abhishek Lekshmanan
ec9702f65a
doc: v12.0.2 (dev) release notes
...
Also adding the commits after 12.0.1 tag merged back into the master
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-04-24 17:11:04 +02:00
Loic Dachary
27445ce7c6
Merge pull request #14479 from swamireddy/v12.0.1_credits
...
mailmap: V12.0.1 credits
Reviewed-by: Loic Dachary <ldachary@redhat.com>
2017-04-24 17:08:32 +02:00
Sage Weil
8a3716a472
Merge pull request #14611 from liewegas/wip-mon-warn-cleanup
...
mon/PGMonitor: clean up min/max span warning
Reviewed-by: David Zafman <dzafman@redhat.com>
2017-04-24 09:57:55 -05:00
Mykola Golub
e009e1bdd4
test/librbd/test_notify.py: don't disable feature in slave
...
On jewel it will have stolen the exclusive lock. Instead, ensure that
object map and fast diff are already disabled on the clone before the
start of the test.
Fixes: http://tracker.ceph.com/issues/19716
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2017-04-24 16:23:21 +02:00
Sage Weil
852f4da3b1
ceph-kvstore-tool: compact{,-prefix,-range}
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:20:29 -04:00
Sage Weil
d7f74d86e9
ceph-kvstore-tool: (url) escape prefixes and keys
...
Escape output; unescape input.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:20:28 -04:00
Sage Weil
ca5bf3cf8f
common/url_escape: add simple url_[un]escape() methods
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:20:28 -04:00
Igor Fedotov
b2cf5bd0e8
os/bluestore: get rid off excessive lock at BitMapAllocator
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-04-24 07:15:10 -07:00
Sage Weil
331ee3e859
ceph-kvstore-tool: tabs instead of : as delimiter
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:04:00 -04:00
Sage Weil
b05b018f6c
ceph-kvstore-tool: nicer failure message on open failure
...
I have been hating this assert for a long time.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:04:00 -04:00
Sage Weil
4ed5ab97b2
ceph-kvstore-tool: 'bluestore-kv' to open bluestore's embedded kv
...
This is usually rocksdb on bluefs, but it should work with whatever kv
backend bluestore is configured to use.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:04:00 -04:00
Sage Weil
a0a9a982fe
ceph-bluestore-tool: add error handling to bluefs-export
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:04:00 -04:00
Sage Weil
aafa816b25
os/bluestore: BLUEFS_START -> SUPER_RESERVED
...
We reserve the first 8k for bluestore and bluefs superblocks even if
bluefs isn't enabled at mkfs time.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-04-24 10:04:00 -04:00
Jason Dillaman
7801682a6b
Merge pull request #14741 from trociny/wip-19405
...
test/rbd_mirror: race in TestMockLeaderWatcher.AcquireError
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2017-04-24 09:35:04 -04:00