Commit Graph

76098 Commits

Author SHA1 Message Date
Sage Weil
c7430c56cd Merge pull request #16388 from xiexingguo/wip-class-misc-fixes
crush, mon: simplify device class manipulation commands

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-27 11:04:33 -05:00
Josh Durgin
c1a4877da1 Merge pull request #16172 from ivancich/wip-dup-ops
PGLog: store extra duplicate ops beyond the normal log entries

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-27 08:57:39 -07:00
Yuri Weinstein
6942e3932b Merge pull request #16558 from hjwsm1989/fix-recovering-hang-with-unfound-objects
osd/PrimaryLogPG: fix recovering hang when have unfound objects

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-27 08:37:15 -07:00
Yuri Weinstein
2eaa086c19 Merge pull request #16561 from Yan-waller/wip-walle-0725osddumpclinfo
osd: add dump filter for tracked ops

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2017-07-27 08:36:23 -07:00
J. Eric Ivancich
a3d2c6b6a0 PGLog: continuation, store extra duplicate ops beyond the normal log entries
This helps us avoid replaying non-idempotent client operations when
the pg log is very short, e.g. in an effort to force OSDs to use
backfill rather than regular recovery. This can be advantageous to
avoid blocking i/o to objects, at the cost of longer total time to
become clean (since backfill requires scanning the objects to see what
is missing).

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
2017-07-27 11:09:04 -04:00
Yuri Weinstein
105435a38e Merge pull request #16384 from mikulely/2-checkout-placmenet-target-existness
rgw: check placement target existence during bucket creation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-27 07:29:13 -07:00
Yuri Weinstein
2357dcd23c Merge pull request #16389 from prallabh/wip-20661
rgw: Do not decrement stats cache when the cache values are zero

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
2017-07-27 07:27:37 -07:00
Yuri Weinstein
63a5f60b07 Merge pull request #16463 from cbodley/wip-20708
rgw: fix parse/eval of policy conditions with IfExists

Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2017-07-27 07:25:50 -07:00
Yuri Weinstein
8ff76b7033 Merge pull request #16495 from weiqiaomiao/wip_weiqm_rgw_crash
rgw: fix radosgw will crash when service is restarted during lifecycl…

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
2017-07-27 07:22:59 -07:00
Yuri Weinstein
5fc9dfa36f Merge pull request #16531 from rzarzynski/wip-rgw-20757
rgw: fix memory leaks during Swift Static Website's error handling.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-27 07:19:22 -07:00
Yuri Weinstein
b59e577334 Merge pull request #16601 from rzarzynski/wip-rgw-20774
rgw: never let http_redirect_code of RGWRedirectInfo to stay uninitialized

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2017-07-27 07:18:42 -07:00
Yuri Weinstein
1d4593703b Merge pull request #16604 from rzarzynski/wip-rgw-20779
rgw: fix the UTF8 check on bucket entry name in rgw_log_op().

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-27 07:17:32 -07:00
Sage Weil
203c68ad55 Merge pull request #16575 from liewegas/wip-20693
qa/suites/rados: at-end: ignore PG_{AVAILABILITY,DEGRADED}

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-27 08:31:53 -05:00
Jason Dillaman
42fabc2e80 Merge pull request #16398 from dillaman/wip-20655
rbd-mirror: guard the deletion of non-primary images

Reviewed-by: Venky Shankar <vshankar@redhat.com>
2017-07-27 08:27:39 -04:00
Kefu Chai
2531063c30 Merge pull request #16574 from batrick/rgw-rbd-stripped-build
CMakeLists: trim rbd/rgw forced dependencies

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-27 13:10:07 +08:00
Venky Shankar
3d86277b2e Merge pull request #16603 from dillaman/wip-rbd-mirror-valgrind
rbd-mirror: initialize timer context pointer to null
2017-07-27 08:24:28 +05:30
Sage Weil
964432b97c Merge pull request #16613 from liewegas/wip-vstart-mgr
vstart.sh: start mgr after mon, before osds

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-07-26 21:04:25 -05:00
Jos Collin
0a8becf8a5 Merge pull request #16584 from gregsfortytwo/wip-deletes-coverity
messages: default-initialize MOSDPGRecoveryDelete[Reply] members

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-27 01:11:01 +00:00
Sage Weil
77ba569ac9 vstart.sh: start mgr after mon, before osds
Signed-off-by: Sage Weil <sage@redhat.com>
2017-07-26 17:22:25 -04:00
David Zafman
e92c953d7b Merge pull request #16610 from dzafman/wip-fix-reg11184
test: reg11184 might not always find pg 2.0 prior to import

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-26 11:42:15 -07:00
Sage Weil
ee06dc6996 Merge pull request #16530 from xiexingguo/wip-fix-pgtemp
mon: prime pg_temp and a few health warning fixes

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-26 13:09:33 -05:00
David Zafman
012ad6ffb1 Merge pull request #16587 from dzafman/wip-20770
Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-26 10:53:16 -07:00
Kefu Chai
609e12e223 Merge pull request #16600 from dingdangzhang/master
bluestore/BlueFS: pass string as const ref

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-27 01:03:12 +08:00
Kefu Chai
31ef1790c1 Merge pull request #16563 from hjwsm1989/readable-thread-info
common/WorkQueue: use threadpoolname + threadaddr for heartbeat_han…

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-27 01:00:31 +08:00
Kefu Chai
c59fd70242 Merge pull request #16576 from liewegas/wip-20371
mon/MonClient: scale backoff interval down when we have a healthy mon session

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-27 01:00:07 +08:00
Sage Weil
59a3a4a40e Merge pull request #16559 from hjwsm1989/dump-stuck
qa/tasks/dump_stuck: fix dump_stuck test bug

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-26 11:59:21 -05:00
Kefu Chai
9f1243b4ad Merge pull request #16516 from Liuchang0812/nit-close-formatter-section
mon/MDSMonitor: close object section of formatter

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-27 00:55:05 +08:00
Kefu Chai
a5300a38a8 Merge pull request #16553 from wumingqiao/wip-leveldb-store-crash
kv: resolve a crash issue in ~LevelDBStore()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-27 00:54:21 +08:00
Sage Weil
efa31408fb Merge pull request #16578 from liewegas/wip-20771
common/common_init: disable default dout logging for UTILITY_NODOUT too

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-26 11:53:17 -05:00
Kefu Chai
3163e9ba52 Merge pull request #16522 from majianpeng/bluestore-remove-unused-code
os/bluestore/BlueStore: remove unused code.

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-27 00:46:34 +08:00
David Zafman
7c43840399 test: reg11184 might not always find pg 2.0 prior to import
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-07-26 09:46:15 -07:00
Sage Weil
56ffd7a727 Merge pull request #16571 from ceph/wip-cd-bluestore-2
qa/tasks/ceph-deploy: Fix bluestore options for ceph-deploy

Reviewed-by: Tamil Muthamizhan <tmuthami@redhat.com>
2017-07-26 11:43:50 -05:00
Kefu Chai
da4286ee0e Merge pull request #16452 from wjwithagen/wjw-warning-unused
buffer: silence unused var warning on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-26 23:19:57 +08:00
Kefu Chai
344ed5f191 Merge pull request #16483 from ddiss/cmake_install_includedir
cmake: use CMAKE_INSTALL_INCLUDEDIR

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-07-26 23:19:05 +08:00
Casey Bodley
1de6bc26db Merge pull request #15033 from rzarzynski/wip-rgw-19831
rgw: fix segfault in RevokeThread during its shutdown procedure.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-07-26 11:13:33 -04:00
Josh Durgin
2c85647399 PGLog: store extra duplicate ops beyond the normal log entries
This helps us avoid replaying non-idempotent client operations when
the pg log is very short, e.g. in an effort to force OSDs to use
backfill rather than regular recovery. This can be advantageous to
avoid blocking i/o to objects, at the cost of longer total time to
become clean (since backfill requires scanning the objects to see what
is missing).

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
2017-07-26 11:04:44 -04:00
Sage Weil
c4ee3a5d17 Merge pull request #16013 from xiexingguo/wip-blue-tool
os/bluestore/bluestore_tool: add sanity check to get rid of occasionally crash

Reviewed-by: Sage Weil <sage@redhat.com>
2017-07-26 10:04:26 -05:00
Kefu Chai
8a3876049d Merge pull request #16528 from tchaikov/wip-ceph-release-notes
tools: ceph-release-notes: escape _ for unintended links

Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2017-07-26 23:03:01 +08:00
David Zafman
c9a5e47067 Merge pull request #16404 from dzafman/wip-20041
osd: scrub_to specifies clone ver, but transaction include head write…

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-07-26 07:59:43 -07:00
xie xingguo
15085fcf72 doc/rados/operations/crush-map: s/die/dice/
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:43:04 +08:00
xie xingguo
1fb05559e8 mon/OSDMonitor: be more helpful for new weight-set CLI users
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:42:58 +08:00
xie xingguo
23f30ec752 doc/release-notes: update device-class cli family
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:42:23 +08:00
xie xingguo
1ed72c3e86 test/crush: fix memory leak
use unique_ptr<> instead, otherwise static analyzer will complain.
as ASSERT_EQ will bail out without executing delete c

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:41:33 +08:00
xie xingguo
e75465fdac test/crush: kill dead class_is_in_use test
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:41:17 +08:00
xie xingguo
076a6abd80 crush: kill 'class rename'
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:40:50 +08:00
xie xingguo
a27fd9d25c crush: kill "class create" command
The device class is now self and automatically managed.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:40:17 +08:00
xie xingguo
edd8930346 crush: allow "crush class rm" to automatically recycle shadow tree(s)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:39:41 +08:00
xie xingguo
9d908c14f6 crush: rm-device-class support
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:39:08 +08:00
xie xingguo
983fa20c5a crush: tidy up class_map on remove_root()
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:38:11 +08:00
xie xingguo
397a2987a7 crush: implement find_shadow_roots
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-07-26 22:36:25 +08:00