1
0
mirror of https://github.com/ceph/ceph synced 2025-02-28 05:22:19 +00:00
Commit Graph

77729 Commits

Author SHA1 Message Date
Xie Xingguo
b1e31f5e3f Merge pull request from ShiqiCooperation/master
test/unittest_bluefs: check whether rmdir success

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-04 19:01:59 +08:00
Haomai Wang
09561004a1 Merge pull request from liupan1111/wip-fix-spdk-perf
bluestore/NVMEDevice: accurate the latency perf counter of queue latency

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-09-03 22:33:43 -07:00
Pan Liu
ddc96a8e68 bluestore/NVMEDevice: accurate the latency of queue latency.
Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
2017-09-04 11:33:03 +08:00
Pan Liu
cc4596803c bluestore/NVMEDevice: remove mm_pause according to the example givn by
spdk.

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
2017-09-04 11:31:59 +08:00
Pan Liu
90bd1961cc bluestore/NVMEDevice: rename the perf counter *aio_write* to *write*,
because it will also statistic the latency of sync write

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
2017-09-04 10:57:24 +08:00
Pan Liu
cba229e987 bluestore/NVMEDevice.cc: rename the thread from ceph-osd to
nvme-device-manager, to avoid name duplication with main thread
"ceph-osd"

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
Signed-off-by: Ziye Yang <optimistyzy@gmail.com>
2017-09-04 10:49:11 +08:00
Xie Xingguo
c93c20fea5 Merge pull request from liewegas/wip-21207
os/bluestore: separate finisher for deferred_try_submit

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Varada Kari <varada.kari@sandisk.com>
2017-09-04 09:20:40 +08:00
Xie Xingguo
5ac0969b8a Merge pull request from theanalyst/cli-rados-stat2
cli: rados: support for high precision time using stat2

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-04 09:18:20 +08:00
Xie Xingguo
659f8912e6 Merge pull request from mychoxin/yuanxin_vstart_default_bluestore
vstart.sh: use bluestore as default osd objectstore backend

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-04 09:17:07 +08:00
Yehuda Sadeh
f609c0eb3a Merge pull request from amitkumar50/rgw_module
rgw: Initializes uninitialized members

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-03 08:25:42 +03:00
Yehuda Sadeh
1970d8fbc0 Merge pull request from C2python/clear_para
rgw: Remove unused Parameter in Function RGWConf::init()

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-09-03 08:23:59 +03:00
Sage Weil
c30ef8760d Merge pull request from chardan/jfw-wip-rand_makes_puppies_cry
common: implement random number generator (following N3551)

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Adam Emerson <aemerson@redhat.com>
2017-09-02 13:37:37 -05:00
Sage Weil
6ad99a7e6c Merge pull request from gmayyyha/ceph-osd-help-output
ceph-osd: some flags are not documented in the help output

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-02 13:36:53 -05:00
Sage Weil
f6baa93735 Merge pull request from jcsp/wip-20888
mon: rate limit on health check update logging

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-02 13:36:08 -05:00
Sage Weil
1d103c0769 Merge pull request from rzarzynski/wip-bs-ldout-in-stupid
os/bluestore: replace dout with ldout in StupidAllocator.
2017-09-02 13:35:51 -05:00
Sage Weil
f47c85ed12 Merge pull request from liewegas/wip-21206
qa/tasks/ceph_manager: revive osds before doing final rerr reset
2017-09-02 13:35:26 -05:00
Sage Weil
a216dd0447 Merge pull request from xiexingguo/wip-handle-small-block
os/bluestore: handle small main device properly

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-02 13:35:15 -05:00
Sage Weil
94722b4a35 Merge pull request from liewegas/wip-21203
osd: fix build_initial_pg_history

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-02 13:34:41 -05:00
Sage Weil
3ce39706ed Merge pull request from kungf/calc_replicated_acting
osd/PG: remove unused parameter in calc_ec_acting

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-01 21:07:33 -05:00
Sage Weil
f9eca1fafa Merge pull request from zmedico/interval_set_intersection_of_optimization
interval_set: optimize intersection_of

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-09-01 21:06:36 -05:00
Sage Weil
3682651105 Merge pull request from chardan/jfw-wip-consolidate-spinlocks
common: consolidate spinlocks

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2017-09-01 16:28:03 -05:00
Sage Weil
e59508e730 Merge pull request from zmedico/interval-set-intersection-insert-optimization
interval_set: optimize intersect_of insert operations

Reviewed-by: Adam Emerson <aemerson@redhat.com>
2017-09-01 16:27:42 -05:00
Sage Weil
30a99d4ca7 Merge pull request from myoungwon/wip-proxywrite-cleanup
osd: remove unused variable in do_proxy_write

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-01 16:26:50 -05:00
Sage Weil
c66f68dea6 Merge pull request from Songweibin/wip-common-cleanup
common: drop unused variables "bluestore_csum_*_block" in opts

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-01 16:26:24 -05:00
Sage Weil
91bf1ed053 Merge pull request from xiexingguo/wip-21175
os/bluestore: don't re-initialize csum-setting for existing blobs

Reviewed-by: Sage Weil <sage@redhat.com>
2017-09-01 16:25:53 -05:00
Josh Durgin
317a8bae5e Merge pull request from ceph/wip-luminous-x-master
qa: add upgrade/luminous-x suite

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-09-01 14:19:48 -07:00
Kefu Chai
dc3efc4f9d Merge pull request from tchaikov/wip-remove-boost-submodule
boost: remove boost submodule

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2017-09-02 01:47:18 +08:00
Alfredo Deza
3831d4023b Merge pull request from ceph/wip-ceph-volume-docs
docs: ceph-volume CLI updates

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-09-01 12:55:34 -04:00
Sage Weil
0dbd0b9def Merge pull request from liewegas/wip-integration
script/build-integration-branch: print pr url list with titles

Reviewed-by: Yuri Weinstein <yweinstei@redhat.com>
2017-09-01 11:33:37 -05:00
Sage Weil
5916683c52 script/build-integration-branch: print pr url list with titles
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-01 12:26:39 -04:00
Casey Bodley
7e9de8bd90 Merge pull request from scienceluo/wip-luo-fix-rgw-memory-leak-branch
rgw: fix resource leak in rgw_bucket.cc and rgw_user.cc

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-09-01 12:23:33 -04:00
Alfredo Deza
dc2f1ffb66 doc/ceph-volume prepare partitions with PARTUUID
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 12:12:43 -04:00
Yuri Weinstein
aff342627c Initial check in
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2017-09-01 08:56:19 -07:00
Alfredo Deza
aad84fc9ce doc/ceph-volume prepare needs both volume group and lv names
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:51:59 -04:00
Alfredo Deza
794067e694 doc/ceph-volume activate re-links the journal always
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:29:51 -04:00
Alfredo Deza
8858f02610 doc/ceph-volume emphasize the danger of calling prepare for an existing OSD
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 11:29:15 -04:00
Luo Kexue
1f23976ada rgw: fix resource leak in rgw_bucket.cc and rgw_user.cc
Fixes: http://tracker.ceph.com/issues/21214

Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
2017-09-01 23:11:11 +08:00
Sage Weil
692a32600d Merge pull request from nrdmn/dashboard-colors
mgr/dashboard: change raw usage chart's color depending on usage

Reviewed-by: John Spray <john.spray@redhat.com>
2017-09-01 09:31:35 -05:00
Sage Weil
a9ae738348 Merge pull request from theanalyst/release-eol-updates-l
doc/releases: the Kraken sleepeth, faintest sunlights flee

Reviewed-by: Nathan Cutler <ncutler@suse.com>
2017-09-01 09:18:46 -05:00
John Spray
5b903c7b42 mon: rate limit on health check update logging
Fixes: http://tracker.ceph.com/issues/20888
Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-01 10:18:01 -04:00
Abhishek Lekshmanan
7b9dfd3ed0 doc/releases: the Kraken sleepeth, faintest sunlights flee
updating releases to retire Kraken, Hammer. Also updated to mention
Jewel will be around until at least N is finalized

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-09-01 16:05:46 +02:00
w11979
afdacc6ed7 osd: fix build_initial_pg_history
We need to update our info about the previous interval in order to
detect interval changes properly.

Fixes: http://tracker.ceph.com/issues/21203

Signed-off-by: w11979 <wang.wenfeng@h3c.com>
Signed-off-by: Sage Weil <sage@redhat.com>
2017-09-01 10:04:17 -04:00
Alfredo Deza
219f64b8a5 doc/ceph-volume update intro to mention dm-cache
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-09-01 10:00:35 -04:00
Sage Weil
7949c2c603 Merge pull request from theanalyst/release-updates
doc: update releases to the current state
2017-09-01 08:46:52 -05:00
Nick Erdmann
db027bcd8e mgr/dashboard: change raw usage chart's color depending on usage
Signed-off-by: Nick Erdmann <n@nirf.de>
2017-09-01 13:14:00 +00:00
John Spray
618a27868d mon: add helper for emitting logs by health status
We were starting to repeat our little "if(status==HEALTH_ERR"
blocks in too many places.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-09-01 05:53:13 -04:00
Abhishek Lekshmanan
948bff4c21 doc: update releases to the current state
Adding Luminous release date, and dropping links for dev releases (since
they've been merged to 12.2.0), also rearranged the table so that newer
releases come left

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-09-01 11:23:59 +02:00
xie xingguo
9f94f9f00e os/bluestore: handle small main device properly
Originally reported by MarcinDulak on 'ceph-users' channel.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-01 15:53:38 +08:00
xie xingguo
22740cc9b3 os/bluestore: formatting nits
So we don't output anything if csum is currently off:

_do_alloc_write blob Blob(0x7fad7cc25950 blob([0x42a80000~10000] none/0x1)

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-01 12:33:40 +08:00
xie xingguo
8ec4b4960f os/bluestore: don't re-initialize csum-setting for existing blobs
The global checksum setting may change, e.g., from NONE to CRC32,
which can cause improper re-initialization of the csum-settings of
existing blobs(e.g., partial write/overwrite may turn out to shrink
'csum_data').

We could develop some complicated solutions but for now let's not
bother since the above scenario is rare.

Fixes: http://tracker.ceph.com/issues/21175
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-09-01 12:33:40 +08:00