Sage Weil
a66d65847c
Merge pull request #13337 from ifed01/wip-bluestore-minimiza-blobs2
...
os/bluestore: optimize blob usage when doing appends/overwrites
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-29 08:33:40 -05:00
J. Eric Ivancich
4db915a03d
os/bluestore: make live changes for BlueStore throttle config work like initial config
...
Make live changes of configuration options bluestore_max_ops,
bluestore_max_bytes, bluestore_deferred_max_ops,
bluestore_deferred_max_bytes work the same way as initial
configuration. Specifically, the deferred throttles have a max to be
the sum of the deferred value and the non-deferred value during
initial configuration, so live changes now work this way.
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2017-03-29 09:32:49 -04:00
Kefu Chai
06256a53f3
Merge pull request #14223 from tchaikov/wip-rbd-nbd-ftbfs
...
rbd-nbd: s/cpp_error/cpp_strerror/ to fix FTBFS
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Pan Liu <liupan1111@gmail.com>
2017-03-29 21:21:24 +08:00
Kefu Chai
523b7cafc4
mgr: shutdown py_modules in Mgr::shutdown()
...
Fixes: http://tracker.ceph.com/issues/19258
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-29 19:57:42 +08:00
Kefu Chai
c12ecd984d
rbd-nbd: s/cpp_error/cpp_strerror/ to fix FTBFS
...
the build failure was introduced by ff4dcf0
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-29 19:19:23 +08:00
Mykola Golub
6e77724464
Merge pull request #14079 from liupan1111/wip-support-signal-handler
...
rbd-nbd: support signal handle for SIGHUP, SIGINT and SIGTERM.
Reviewed-by: Dongsheng Yang <dongsheng.yang@easystack.cn>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-03-29 12:31:12 +03:00
Radoslaw Zarzynski
7ef29cee29
os/bluestore: drop unused & duplicated BitMapAreaIN::m_num_child.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-29 10:31:51 +02:00
Radoslaw Zarzynski
3bd221267d
os/bluestore: remove yet another indirection in BitMapAreaIN::m_child_list.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-29 10:31:51 +02:00
Radoslaw Zarzynski
ba028d412c
os/bluestore: BitMapAreaList became a thin wrapper over std::vector.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-29 10:31:51 +02:00
Radoslaw Zarzynski
0e12241aa8
os/bluestore: remove unused BitMapAreaList::m_marker_mutex.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-29 10:31:51 +02:00
Radoslaw Zarzynski
8352d6ab27
os/bluestore: remove the unused BitMapArea::m_type and related stuff.
...
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-29 10:31:51 +02:00
Radoslaw Zarzynski
cb216ba5e8
os/bluestore: move the CephContext* from BitMapArea to BitAllocator.
...
Saves over 2 MiB on x86-64 running 1 TiB with the default configuration.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2017-03-29 10:31:51 +02:00
Dan Mick
c1309fbef3
tasks/workunit.py: when cloning, use --depth=1
...
Help avoid killing git.ceph.com. A depth 1 clone takes about
7 seconds, whereas a full one takes about 3:40 (much of it
waiting for the server to create a huge compressed pack)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
2017-03-28 20:09:44 -07:00
Sage Weil
97ea67fcee
Merge pull request #14184 from SUSE/wip-mgr-rest-timezone
...
pybind/mgr/rest: don't set timezone to Chicago
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 21:30:18 -05:00
Sage Weil
da51861d71
Merge pull request #14199 from andihit/doc-update-default-osd-op-thread-timeout
...
doc: change osd_op_thread_timeout default value to 15
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 21:26:08 -05:00
hrchu
51a88267f0
doc: rgw: correct the quota section
...
Add the missing option and fix typo.
Fixes: http://tracker.ceph.com/issues/19397
Signed-off-by: Chu, Hua-Rong <hrchu@cht.com.tw>
2017-03-29 02:17:04 +00:00
Sage Weil
4a8732eba7
Merge pull request #14203 from cbodley/wip-rgw-slo-auth-identity
...
rgw: fix build of conflict after auth rework
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 17:23:36 -05:00
Casey Bodley
2e82401c91
rgw: fix build of conflict after auth rework
...
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2017-03-28 15:01:59 -04:00
Matt Benjamin
b0fc817458
Merge pull request #13764 from guihecheng/rgwfs-errcode
...
rgw_file: fix non-posix errcode EINVAL to ENAMETOOLONG
2017-03-28 14:31:14 -04:00
Kefu Chai
2ad4aa0c2a
rbd: use min<uint64_t>() explicitly
...
on arm32, size_t is actually int, which cannot be compared with uint64_t
using std::min().
Fixes: http://tracker.ceph.com/issues/18938
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-29 02:26:53 +08:00
John Wilkins
f2dfa64da5
Merge pull request #14108 from sven15/doc-fix-pools
...
doc: typo in hit_set_search_last_n
Reviewed-by: John Wilkins <jowilkin@redhat.com>
2017-03-28 10:53:48 -07:00
Sage Weil
50b9becaf8
Merge pull request #14128 from yehudasa/wip-19367
...
cls/user: cls_user_bucket backward compatibility
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 11:31:39 -05:00
Yuri Weinstein
9137790062
Merge pull request #13987 from shinobu-x/wp-sk-clean-up-timeindexlistctx-20170316
...
cls/timeindex: clean up cls_timeindex_client.h|cc
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 09:25:26 -07:00
Yuri Weinstein
0dee0b7560
Merge pull request #14009 from yuyuyu101/wip-objecter-ping
...
msg/async/AsyncConnection: keepalive objecter ping connection to avoid timeout
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-03-28 09:24:51 -07:00
Yuri Weinstein
4d9eecd74e
Merge pull request #14133 from runsisi/wip-pg-state-cleanup
...
osd/PG: some minor cleanups
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-03-28 09:24:02 -07:00
Casey Bodley
2af680c7ba
Merge pull request #14089 from ceph/wip-rgw-doc-changing-master
...
doc/rgw: instructions for changing multisite master zone
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-28 12:13:10 -04:00
Casey Bodley
862cb8bc71
Merge pull request #14090 from cbodley/wip-rgw-test-delete-notempty
...
test/rgw: test_bucket_delete_notempty in test_multi.py
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-28 12:11:14 -04:00
Casey Bodley
5284ec9fba
Merge pull request #13561 from cbodley/wip-19027
...
rgw: allow system users to read SLO parts
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-03-28 12:10:07 -04:00
Andreas Gerstmayr
d5b9e281d0
doc: change osd_op_thread_timeout default value to 15
...
Signed-off-by: Andreas Gerstmayr <andreas.gerstmayr@catalysts.cc>
2017-03-28 18:00:28 +02:00
Sage Weil
35b60ae057
Merge pull request #13984 from liewegas/wip-osdmap-remap
...
mon,osd: explicitly remap some pgs
Reviewed-by: Josh Durgin <jduring@redhat.com>
2017-03-28 10:47:22 -05:00
Sage Weil
eda8d28c37
Merge pull request #13687 from Liuchang0812/wip-19106-eliminate-unsafe-option
...
common/config: eliminate config_t::set_val unsafe option
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 10:45:01 -05:00
Sage Weil
ba97f1f562
Merge pull request #13855 from yuyuyu101/wip-bluestore-rm-range
...
kv/RocksDBStore: implement rm_range_keys operator interface and test
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 10:44:44 -05:00
Sage Weil
3f107041f4
Merge pull request #13879 from liewegas/wip-19076
...
osd/ReplicatedBackend: clear pull source once we are done with it
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 10:44:16 -05:00
Sage Weil
1c954f4b64
Merge pull request #13961 from wangzhengyong/network
...
msg/SimpleMessenger: error out misplace in set_socket_options
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-03-28 10:43:37 -05:00
Sage Weil
936966601a
Merge pull request #14093 from hjwsm1989/sparse-read
...
osd/PrimaryLogPG: set return value if sparse read failed
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 10:43:07 -05:00
Sage Weil
d999e36c02
Merge pull request #14099 from tchaikov/wip-denc-arm32
...
include/denc: add {encode,decode}_nohead for denc_traits<basic_string>
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 10:42:40 -05:00
Sage Weil
fe9d54ac2c
Merge pull request #14129 from SUSE/wip-18764
...
mgr: fix crash on missing 'ceph_version' in daemon metadata (fixes #18764 )
Reviewed-by: Sage Weil <sage@redhat.com>
2017-03-28 10:42:23 -05:00
Mykola Golub
31f456b1f0
Merge pull request #14003 from dillaman/wip-19287
...
librbd: is_exclusive_lock_owner API should ping OSD
Reviewed-by: Mike Christie <mchristi@redhat.com>
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-03-28 18:03:54 +03:00
Haomai Wang
b164ac5990
Merge pull request #14179 from Adirl/rdma-cm-3
...
msg/async/rdma: RDMA-CM Initialize device on first connect
Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-03-28 23:01:50 +08:00
Mykola Golub
e01dcbd9ee
Merge pull request #14166 from dillaman/wip-19388
...
librbd: random unit test failures due to shut down race
Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-03-28 17:56:46 +03:00
Jos Collin
7553a8ea2c
rgw: warning, output may be truncated before the last format character
...
The following warning appears during make:
```
rgw_rados.cc: In function ‘void usage_log_hash(CephContext*, const string&, std::__cxx11::string&, uint32_t)’:
rgw_rados.cc:4579:13: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=]
static void usage_log_hash(CephContext *cct, const string& name, string& hash, uint32_t index)
^~~~~~~~~~~~~~
/usr/include/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output between 8 and 17 bytes into a destination of size 16
__bos (__s), __fmt, __va_arg_pack ());
```
Signed-off-by: Jos Collin <jcollin@redhat.com>
2017-03-28 19:57:39 +05:30
Pan Liu
7011c88e45
librados: set the flag CEPH_OSD_FLAG_FULL_TRY of Op in the right place.
...
Signed-off-by: Pan Liu <liupan1111@gmail.com>
2017-03-28 22:16:15 +08:00
Sage Weil
2a08cbbed5
qa/tasks/thrashosds,ceph_manager: thrash pg_remap[_items]
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-28 10:12:10 -04:00
Sage Weil
bd49dc0863
test/cli/osdmaptool/remap.t: add --remap test
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-28 10:12:09 -04:00
Sage Weil
ae557d0557
test/cli/osdmaptool: fix tests
...
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-28 10:12:09 -04:00
Sage Weil
d40825377e
osdmaptool: add --remap to run the remap_pgs() method
...
Output ceph cli commands to realize the new remaps entries.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-28 10:12:09 -04:00
Sage Weil
0364b3f173
osd/OSDMap: clean_pg_remaps
...
Helper to clean out no-op pg_remap cruft:
- pg_remap entries that match the raw result
- pg_remap_items entries where the 'from' part of the (from,to)
set isn't present.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-28 10:12:09 -04:00
Sage Weil
7f1934cb1e
osd/OSDMap: implement remap_pgs
...
Run a specified number of iterations trying to install new
pg_remap_items entries that improve the PG distribution.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-28 10:12:09 -04:00
Sage Weil
06ec9d41eb
crush: implement try_remap_rule
...
Simulate a CRUSH mapping but try to identify alternative OSD
choices (based on an underfull list and overfull set) that still
respect the CRUSH rule constraints.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-03-28 10:12:09 -04:00
Igor Fedotov
cbac32d904
os/bluestore: allow 'single step' blob reuse when overwriting
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-03-28 13:43:43 +00:00