]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
8 years agocommon/iso_8601.cc: Make return expression Clang compatible 15336/head
Willem Jan Withagen [Sat, 27 May 2017 16:36:08 +0000 (18:36 +0200)]
common/iso_8601.cc: Make return expression Clang compatible

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoMerge pull request #15111 from Liuchang0812/wip-19885-mgr-help
Kefu Chai [Sat, 27 May 2017 02:53:22 +0000 (10:53 +0800)]
Merge pull request #15111 from Liuchang0812/wip-19885-mgr-help

ceph: introduce "tell x help" subcommand

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15289 from ifed01/wip-bluestore-fix-bmap-assert 15334/head
Sage Weil [Fri, 26 May 2017 22:48:08 +0000 (17:48 -0500)]
Merge pull request #15289 from ifed01/wip-bluestore-fix-bmap-assert

os/bluestore: fix BitMapAllocator assert on out-of-bound hint value

Reviewed-by: Varada Kari <varada.kari@gmail.com>
8 years agoMerge pull request #15288 from yuyuyu101/wip-20062
Sage Weil [Fri, 26 May 2017 22:47:22 +0000 (17:47 -0500)]
Merge pull request #15288 from yuyuyu101/wip-20062

msg/async: remove false alert "assert"

8 years agoMerge pull request #15214 from gregsfortytwo/wip-19931-snaptrim-pgref
Gregory Farnum [Fri, 26 May 2017 21:50:00 +0000 (14:50 -0700)]
Merge pull request #15214 from gregsfortytwo/wip-19931-snaptrim-pgref

osd: don't leak pgrefs or reservations in SnapTrimmer

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoosd: do not default-abort on leaked pg refs 15214/head
Greg Farnum [Fri, 26 May 2017 05:32:01 +0000 (22:32 -0700)]
osd: do not default-abort on leaked pg refs

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoosd: shutdown our reserver_finisher earlier in the process
Greg Farnum [Fri, 26 May 2017 05:14:38 +0000 (22:14 -0700)]
osd: shutdown our reserver_finisher earlier in the process

This finisher thread has a lot of callbacks which can hold PGRefs. Make
sure we drain them out before checking that all the PGs have finished
and have no outstanding references.

Moving this should be safe; we've already stopped the op thread et al
and the only things still running are the OSDService's objecter_finisher,
recovery_request_timer, and snap_sleep_timer (which has definitely been emptied
by the time we get here as it's synchronously cleared out on PG shutdown).

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15316 from linuxbox2/wip-limitcheck-fixes
Casey Bodley [Fri, 26 May 2017 21:05:23 +0000 (17:05 -0400)]
Merge pull request #15316 from linuxbox2/wip-limitcheck-fixes

rgw-admin: fix bucket limit check argparse, div(0)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw-admin: fix bucket limit check argparse, div(0) 15316/head
Matt Benjamin [Fri, 26 May 2017 16:41:40 +0000 (12:41 -0400)]
rgw-admin: fix bucket limit check argparse, div(0)

1. normalize arg parsing for "bucket limit check"
1.1 s/buckets/bucket/

2. avoid dividing by num_shards when it is 0

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #15304 from Linbing/modify-note-word-error
Jos Collin [Fri, 26 May 2017 16:11:08 +0000 (21:41 +0530)]
Merge pull request #15304 from Linbing/modify-note-word-error

mon: Fixed typo in function comment blocks and in other comments

8 years agoos/bluestore: fix BitMapAllocator assert on out-of-bound hint value 15289/head
Igor Fedotov [Thu, 25 May 2017 14:27:36 +0000 (07:27 -0700)]
os/bluestore: fix BitMapAllocator assert on out-of-bound hint value

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #15256 from fangyuxiangGL/bucket-stats
Casey Bodley [Fri, 26 May 2017 14:48:41 +0000 (10:48 -0400)]
Merge pull request #15256 from fangyuxiangGL/bucket-stats

rgw: display more info when using  radosgw-admin bucket stats

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15221 from fangyuxiangGL/set-placement-rule
Casey Bodley [Fri, 26 May 2017 14:35:26 +0000 (10:35 -0400)]
Merge pull request #15221 from fangyuxiangGL/set-placement-rule

rgw: set placement rule properly

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15287 from ktdreyer/doc-ceph-fs-settings
John Spray [Fri, 26 May 2017 14:35:10 +0000 (15:35 +0100)]
Merge pull request #15287 from ktdreyer/doc-ceph-fs-settings

doc: describe CephFS max_file_size

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
8 years agoMerge pull request #15219 from fangyuxiangGL/extra_pool
Casey Bodley [Fri, 26 May 2017 14:34:19 +0000 (10:34 -0400)]
Merge pull request #15219 from fangyuxiangGL/extra_pool

rgw: use get_data_extra_pool() when get extra pool

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14341 from theanalyst/cleanup/rgw/str-find
Casey Bodley [Fri, 26 May 2017 14:33:35 +0000 (10:33 -0400)]
Merge pull request #14341 from theanalyst/cleanup/rgw/str-find

rgw_common: use string::npos for the results of str.find

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14746 from wjwithagen/wip-wjw-reduce-noise-2
Sage Weil [Fri, 26 May 2017 14:30:17 +0000 (09:30 -0500)]
Merge pull request #14746 from wjwithagen/wip-wjw-reduce-noise-2

src/ceph.in: Use env(CEPH_DEV) to suppress noise from ceph

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15247 from liewegas/wip-upmap-save
Sage Weil [Fri, 26 May 2017 14:20:05 +0000 (09:20 -0500)]
Merge pull request #15247 from liewegas/wip-upmap-save

osdmaptool: require --upmap-save before modifying input osdmap

Reviewed-by: Loic Dachary <ldachary@redhat.com>
8 years agoMerge pull request #15234 from trociny/wip-19832
Jason Dillaman [Fri, 26 May 2017 14:12:44 +0000 (10:12 -0400)]
Merge pull request #15234 from trociny/wip-19832

librbd: potential read IO hang when image is flattened

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15239 from trociny/wip-19962
Jason Dillaman [Fri, 26 May 2017 14:12:06 +0000 (10:12 -0400)]
Merge pull request #15239 from trociny/wip-19962

librbd: discard related IO should skip op if object non-existent

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agoMerge pull request #15293 from linuxbox2/wip-rgwfile-buckattr
Matt Benjamin [Fri, 26 May 2017 13:48:09 +0000 (09:48 -0400)]
Merge pull request #15293 from linuxbox2/wip-rgwfile-buckattr

rgw_file: store bucket uxattrs on the bucket

8 years agoMerge pull request #15290 from idryomov/wip-krbd-unmap-straw
Jason Dillaman [Fri, 26 May 2017 13:27:50 +0000 (09:27 -0400)]
Merge pull request #15290 from idryomov/wip-krbd-unmap-straw

qa/suites/krbd: unmap subsuite needs straw buckets

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agodoc: describe differences with "mds set" vs "fs set" 15287/head
Ken Dreyer [Thu, 25 May 2017 17:40:48 +0000 (11:40 -0600)]
doc: describe differences with "mds set" vs "fs set"

Thanks to John Spray <jspray@redhat.com> on ceph-users for this
information.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
8 years agodoc: describe CephFS max_file_size
Ken Dreyer [Thu, 25 May 2017 03:51:54 +0000 (21:51 -0600)]
doc: describe CephFS max_file_size

Add a description of max_file_size to the CephFS admin docs.

Thanks to John Spray <jspray@redhat.com> on ceph-users for this
information.

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
8 years ago./qa/workunits/ceph-helpers.sh: Do not trace kill_daemon 14746/head
Willem Jan Withagen [Thu, 27 Apr 2017 16:09:03 +0000 (18:09 +0200)]
./qa/workunits/ceph-helpers.sh: Do not trace kill_daemon

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agovstart:Suppress trivial logging info during devlopment
Willem Jan Withagen [Thu, 27 Apr 2017 14:06:29 +0000 (16:06 +0200)]
vstart:Suppress trivial logging info during devlopment

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agosrc/ceph.in: Use env(CEPH_DEV) to suppress noise from ceph
Willem Jan Withagen [Mon, 24 Apr 2017 10:32:09 +0000 (12:32 +0200)]
src/ceph.in: Use env(CEPH_DEV) to suppress noise from ceph

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
8 years agoModify note error 15304/head
linbing [Fri, 26 May 2017 09:45:43 +0000 (17:45 +0800)]
Modify note error

Signed-off-by: linbing linbing@t2cloud.net
8 years agotool/ceph: support target mon in tell help subcommand 15111/head
liuchang0812 [Fri, 26 May 2017 02:38:38 +0000 (10:38 +0800)]
tool/ceph: support target mon in tell help subcommand

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoosd: Reset() the snaptrimmer on shutdown
Greg Farnum [Fri, 26 May 2017 04:52:49 +0000 (21:52 -0700)]
osd: Reset() the snaptrimmer on shutdown

We were failing to exit various wait states which held PGRefs. Error!

Fixes: http://tracker.ceph.com/issues/19931
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #14658 from chardan/jfw-wip-halflife_atomic_t-baragon
Sage Weil [Fri, 26 May 2017 03:29:19 +0000 (22:29 -0500)]
Merge pull request #14658 from chardan/jfw-wip-halflife_atomic_t-baragon

librados,libradosstriper,test: migrate atomic_t to std::atomic (baragon)

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15227 from tchaikov/wip-20051
Sage Weil [Fri, 26 May 2017 03:28:47 +0000 (22:28 -0500)]
Merge pull request #15227 from tchaikov/wip-20051

mon/MonClient: cancel pending commands on shutdown

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15249 from Alessandro-Barbieri/patch-2
Sage Weil [Fri, 26 May 2017 03:27:57 +0000 (22:27 -0500)]
Merge pull request #15249 from Alessandro-Barbieri/patch-2

yasm-wrapper: filter -pthread

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15268 from ifed01/wip-bluestore-false-assert
Sage Weil [Fri, 26 May 2017 03:27:23 +0000 (22:27 -0500)]
Merge pull request #15268 from ifed01/wip-bluestore-false-assert

os/bluestore: fix false assert in IOContext::aio_wake

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15272 from tchaikov/wip-mon-cleanups
Sage Weil [Fri, 26 May 2017 03:27:11 +0000 (22:27 -0500)]
Merge pull request #15272 from tchaikov/wip-mon-cleanups

mon: cleanups

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agotool/ceph: remove old mon support and verbose support
liuchang0812 [Thu, 25 May 2017 14:06:47 +0000 (22:06 +0800)]
tool/ceph: remove old mon support and verbose support

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agotool/ceph: validate target in tell subcommand
liuchang0812 [Wed, 24 May 2017 13:39:23 +0000 (21:39 +0800)]
tool/ceph: validate target in tell subcommand

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agotest/cephtool: convert FS_NAME to local variable
liuchang0812 [Mon, 22 May 2017 02:23:54 +0000 (10:23 +0800)]
test/cephtool: convert FS_NAME to local variable

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agodoc/tool: introduce "ceph tell x help" command in man
liuchang0812 [Thu, 18 May 2017 04:24:24 +0000 (12:24 +0800)]
doc/tool: introduce "ceph tell x help" command in man

Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agotool/ceph: create "tell x help" command
liuchang0812 [Tue, 16 May 2017 10:16:46 +0000 (18:16 +0800)]
tool/ceph: create "tell x help" command

Fixes: http://tracker.ceph.com/issues/19885
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
8 years agoMerge pull request #15192 from badone/wip-tracker-19900-wait_auth_rotating-crash
Brad Hubbard [Thu, 25 May 2017 22:35:29 +0000 (08:35 +1000)]
Merge pull request #15192 from badone/wip-tracker-19900-wait_auth_rotating-crash

mgr: Mark session connections down on shutdown

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15146 from tchaikov/wip-split-test-tiering
Yuri Weinstein [Thu, 25 May 2017 20:43:53 +0000 (13:43 -0700)]
Merge pull request #15146 from tchaikov/wip-split-test-tiering

qa: split test_tiering into smaller pieces

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15156 from tchaikov/wip-ceph.in-assert-connected
Yuri Weinstein [Thu, 25 May 2017 20:43:17 +0000 (13:43 -0700)]
Merge pull request #15156 from tchaikov/wip-ceph.in-assert-connected

ceph.in: assert(state==connected) before help_for_target()

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15224 from tchaikov/wip-denc-no-deep-copy-for-segmented-buffer
Yuri Weinstein [Thu, 25 May 2017 20:40:23 +0000 (13:40 -0700)]
Merge pull request #15224 from tchaikov/wip-denc-no-deep-copy-for-segmented-buffer

denc: add need_contiguous to denc_traits

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agorgw_file: store bucket uxattrs on the bucket 15293/head
Matt Benjamin [Thu, 25 May 2017 20:25:19 +0000 (16:25 -0400)]
rgw_file: store bucket uxattrs on the bucket

This turns out to be the corollary of the earlier bug in removing
buckets w/uxattrs. Rather than conditionally put the attrs on a '/'
object, put them on the bucket--because that works, and will be
slightly more efficient when the check for the '/' object goes
away.

Fixes: http://tracker.ceph.com/issues/20082
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoosd: make sure we drop Backoff PGRefs on shutdown
Greg Farnum [Wed, 24 May 2017 03:11:27 +0000 (20:11 -0700)]
osd: make sure we drop Backoff PGRefs on shutdown

Fixes: http://tracker.ceph.com/issues/19931
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoosd: print out pg debug ref counts on acquire/drop
Greg Farnum [Thu, 25 May 2017 01:43:34 +0000 (18:43 -0700)]
osd: print out pg debug ref counts on acquire/drop

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoosd: repair the PG_DEBUG_REFS build
Greg Farnum [Wed, 24 May 2017 07:36:00 +0000 (00:36 -0700)]
osd: repair the PG_DEBUG_REFS build

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoosd: use PGRef instead of boost::intrusive_ptr<PG> everywhere
Greg Farnum [Wed, 24 May 2017 07:19:51 +0000 (00:19 -0700)]
osd: use PGRef instead of boost::intrusive_ptr<PG> everywhere

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
8 years agoMerge pull request #15062 from ukernel/wip-19912
John Spray [Thu, 25 May 2017 17:44:54 +0000 (18:44 +0100)]
Merge pull request #15062 from ukernel/wip-19912

qa/tasks/cephfs: use getattr to guarantee inode is in client cache

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15270 from ceph/wip-subman-cron-attr-tserlin
Ken Dreyer [Thu, 25 May 2017 17:43:09 +0000 (11:43 -0600)]
Merge pull request #15270 from ceph/wip-subman-cron-attr-tserlin

Set subman cron attributes in spec file

Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
8 years agoMerge pull request #15253 from tchaikov/wip-ceph-daemon-termsize
Dan Mick [Thu, 25 May 2017 17:09:14 +0000 (10:09 -0700)]
Merge pull request #15253 from tchaikov/wip-ceph-daemon-termsize

pybind/ceph_daemon.py: fix Termsize.update

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #15279 from joscollin/wip-cleanup-rename-filejournal-object
Jos Collin [Thu, 25 May 2017 15:57:40 +0000 (21:27 +0530)]
Merge pull request #15279 from joscollin/wip-cleanup-rename-filejournal-object

test: Rename FileJournal object to distinguish

8 years agoSet subman cron attributes in spec file 15270/head
Thomas Serlin [Wed, 24 May 2017 16:07:41 +0000 (12:07 -0400)]
Set subman cron attributes in spec file

Fixes: http://tracker.ceph.com/issues/20074
Signed-off-by: Thomas Serlin <tserlin@redhat.com>
8 years agoqa/suites/krbd: unmap subsuite needs straw buckets 15290/head
Ilya Dryomov [Thu, 25 May 2017 12:47:25 +0000 (14:47 +0200)]
qa/suites/krbd: unmap subsuite needs straw buckets

The default tunables for luminous allow straw2 buckets, which aren't
supported by pre-single-major.yaml kernel.  The map is generated before
crush_tunables override takes effect, so set the bucket algorithm to
straw manually.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
8 years agomsg/async: remove false alert "assert" 15288/head
Haomai Wang [Thu, 25 May 2017 13:56:07 +0000 (21:56 +0800)]
msg/async: remove false alert "assert"

Signed-off-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #15200 from smithfarm/wip-rdma-devel
Nathan Cutler [Thu, 25 May 2017 09:18:29 +0000 (11:18 +0200)]
Merge pull request #15200 from smithfarm/wip-rdma-devel

build/ops: rpm: move RDMA and python-prettytables build dependencies to distro-conditional section

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
8 years agotest: Rename FileJournal object to distinguish 15279/head
Jos Collin [Thu, 25 May 2017 06:36:10 +0000 (12:06 +0530)]
test: Rename FileJournal object to distinguish

Renamed FileJournal object for easier searching and identifying with in test_filejournal.cc

Signed-off-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #15258 from big-henry/wip-mds-misc-fix
Jos Collin [Thu, 25 May 2017 03:59:33 +0000 (09:29 +0530)]
Merge pull request #15258 from big-henry/wip-mds-misc-fix

mds: fix client ID truncation

8 years agoMerge pull request #15235 from smithfarm/wip-doc-empowers
Nathan Cutler [Thu, 25 May 2017 01:32:30 +0000 (03:32 +0200)]
Merge pull request #15235 from smithfarm/wip-doc-empowers

doc: fix factual inaccuracy in doc/architecture.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15275 from ktdreyer/wip-17396
Josh Durgin [Thu, 25 May 2017 00:05:10 +0000 (17:05 -0700)]
Merge pull request #15275 from ktdreyer/wip-17396

docs: document "osd recovery max single start" setting

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15276 from liewegas/wip-ext4-again
Sage Weil [Wed, 24 May 2017 22:09:25 +0000 (17:09 -0500)]
Merge pull request #15276 from liewegas/wip-ext4-again

qa/suites/rados/singleton-nomsgr: fix syntax

8 years agoMerge pull request #15252 from liewegas/wip-cleanup-tell
Sage Weil [Wed, 24 May 2017 22:05:32 +0000 (17:05 -0500)]
Merge pull request #15252 from liewegas/wip-cleanup-tell

qa/tasks/ceph_manager: 'ceph $service tell ...' is obsolete

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15250 from neha-ojha/wip-19989
Sage Weil [Wed, 24 May 2017 22:04:52 +0000 (17:04 -0500)]
Merge pull request #15250 from neha-ojha/wip-19989

osd/OSDMap.cc: check if osd is out in subtree_type_is_down

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14944 from yuyuyu101/wip-msgr-throttle-ops
Sage Weil [Wed, 24 May 2017 22:03:36 +0000 (17:03 -0500)]
Merge pull request #14944 from yuyuyu101/wip-msgr-throttle-ops

ceph_osd: remove client message cap limit

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14655 from chardan/jfw-wip-halflife_atomic_t-gojira
Sage Weil [Wed, 24 May 2017 22:03:13 +0000 (17:03 -0500)]
Merge pull request #14655 from chardan/jfw-wip-halflife_atomic_t-gojira

test: migrate atomic_t to std::atomic

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #11966 from aclamk/wip-linear-zeros-crc
Sage Weil [Wed, 24 May 2017 22:02:28 +0000 (17:02 -0500)]
Merge pull request #11966 from aclamk/wip-linear-zeros-crc

common: Improved CRC calculation for zero buffers

8 years agoqa/suites/rados/singleton-nomsgr/health...: whitelist wrongly marked me down 15276/head
Sage Weil [Wed, 24 May 2017 21:58:12 +0000 (17:58 -0400)]
qa/suites/rados/singleton-nomsgr/health...: whitelist wrongly marked me down

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/suites/rados/singleton-nomsgr: fix syntax
Sage Weil [Wed, 24 May 2017 20:46:00 +0000 (16:46 -0400)]
qa/suites/rados/singleton-nomsgr: fix syntax

This parsed out as

  tasks:
  - install: null
  - ceph:
      conf:
        osd: osd max object name len = 400 osd max object namespace len = 64
  - workunit:
      clients:
        all:
        - rados/test_health_warnings.sh

which is clearly not correct.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agodocs: document "osd recovery max single start" setting 15275/head
Ken Dreyer [Wed, 24 May 2017 20:39:55 +0000 (14:39 -0600)]
docs: document "osd recovery max single start" setting

Fixes: http://tracker.ceph.com/issues/17396
Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
8 years agoMerge pull request #15028 from pritha-srivastava/wip-rgw-bucket-policy-test
Matt Benjamin [Wed, 24 May 2017 19:57:31 +0000 (15:57 -0400)]
Merge pull request #15028 from pritha-srivastava/wip-rgw-bucket-policy-test

rgw: Adding code to create tenanted user for s3 bucket policy tests.

8 years agoMerge pull request #15070 from ceph/wip-turn-off-fcgi-tserlin
Matt Benjamin [Wed, 24 May 2017 19:53:57 +0000 (15:53 -0400)]
Merge pull request #15070 from ceph/wip-turn-off-fcgi-tserlin

rgw: Turn off fcgi as a frontend

8 years agomon/PGMonitor: assert(format_version == 1) 15272/head
Kefu Chai [Sat, 20 May 2017 05:07:24 +0000 (13:07 +0800)]
mon/PGMonitor: assert(format_version == 1)

we have been PGMonitor's formart_version has been 1 since v0.67
(dumpling). so let's drop it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomon,mgr: std::move(osd_stat) when possible
Kefu Chai [Sat, 20 May 2017 05:11:23 +0000 (13:11 +0800)]
mon,mgr: std::move(osd_stat) when possible

osd_stat_t could be a relatively large struct, so use std::move() when
possible

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15175 from cloudbau/update-rgw-docs
Sage Weil [Wed, 24 May 2017 16:38:34 +0000 (11:38 -0500)]
Merge pull request #15175 from cloudbau/update-rgw-docs

doc: Update some RGW documentation

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agomon/MonClient: cancel pending commands on shutdown 15227/head
Kefu Chai [Tue, 23 May 2017 08:54:57 +0000 (16:54 +0800)]
mon/MonClient: cancel pending commands on shutdown

Fixes: http://tracker.ceph.com/issues/20051
Signed-off-by: Sage Weil <sage@redhat.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomon/MonClient: drop unused param
Kefu Chai [Tue, 23 May 2017 08:54:34 +0000 (16:54 +0800)]
mon/MonClient: drop unused param

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15213 from jcsp/wip-20040
John Spray [Wed, 24 May 2017 15:50:42 +0000 (16:50 +0100)]
Merge pull request #15213 from jcsp/wip-20040

mon: fix accesing pending_fsmap from peon

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #15130 from ukernel/wip-19946
John Spray [Wed, 24 May 2017 15:49:42 +0000 (16:49 +0100)]
Merge pull request #15130 from ukernel/wip-19946

mds: fix CDir::merge() for mds_debug_auth_pins

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15105 from ukernel/wip-19892
John Spray [Wed, 24 May 2017 15:41:45 +0000 (16:41 +0100)]
Merge pull request #15105 from ukernel/wip-19892

qa/cephfs: disable mds_bal_frag for TestStrays.test_purge_queue_op_rate

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15122 from batrick/test-fragment-error
John Spray [Wed, 24 May 2017 15:40:50 +0000 (16:40 +0100)]
Merge pull request #15122 from batrick/test-fragment-error

qa: fix float parse error in test_fragment

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15106 from ukernel/wip-export-pin-cleanup
John Spray [Wed, 24 May 2017 15:37:53 +0000 (16:37 +0100)]
Merge pull request #15106 from ukernel/wip-export-pin-cleanup

ceph: simplify CInode::maybe_export_pin()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #15129 from ukernel/wip-mds-standby-for-rank
John Spray [Wed, 24 May 2017 15:37:03 +0000 (16:37 +0100)]
Merge pull request #15129 from ukernel/wip-mds-standby-for-rank

mon/MDSMonitor: respect mds_standby_for_rank config

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
8 years agoMerge pull request #15131 from ukernel/wip-19955
John Spray [Wed, 24 May 2017 15:34:50 +0000 (16:34 +0100)]
Merge pull request #15131 from ukernel/wip-19955

mds: limit client writable range increment

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #15198 from renhwztetecs/renhw-wip-client-inode
John Spray [Wed, 24 May 2017 15:13:53 +0000 (16:13 +0100)]
Merge pull request #15198 from renhwztetecs/renhw-wip-client-inode

client/inode: fix the dump type of Inode::dump()

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoos/bluestore: fix false assertion 15268/head
Igor Fedotov [Wed, 24 May 2017 13:54:42 +0000 (06:54 -0700)]
os/bluestore: fix false assertion

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoos/bluestore: wrap IOContext::aio_wake with additional stuff to remove copy-paste...
Igor Fedotov [Wed, 24 May 2017 13:37:34 +0000 (06:37 -0700)]
os/bluestore: wrap IOContext::aio_wake with additional stuff to remove copy-paste for its use

Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
8 years agoMerge pull request #15264 from xiexingguo/wip-kill-typo
Sage Weil [Wed, 24 May 2017 13:43:35 +0000 (08:43 -0500)]
Merge pull request #15264 from xiexingguo/wip-kill-typo

os/bluestore/KernelDevice: fix comments

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15266 from ztczll/master
Jos Collin [Wed, 24 May 2017 10:41:48 +0000 (16:11 +0530)]
Merge pull request #15266 from ztczll/master

test:Check make_writeable() return value

8 years agotest/:Check make_writeable return value 15266/head
zhanglei [Wed, 24 May 2017 09:22:02 +0000 (05:22 -0400)]
test/:Check make_writeable return value

Signed-off-by: zhanglei <243290414@qq.com>
8 years agoos/bluestore/KernelDevice: fix comments 15264/head
xie xingguo [Wed, 24 May 2017 02:45:29 +0000 (10:45 +0800)]
os/bluestore/KernelDevice: fix comments

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15206 from ifed01/wip-fix-rbd-bench
Mykola Golub [Wed, 24 May 2017 06:57:02 +0000 (09:57 +0300)]
Merge pull request #15206 from ifed01/wip-fix-rbd-bench

rbd/bench: fix write gaps when doing sequential writes with io-threads > 1

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
8 years agorgw: display more info when use bucket stats 15256/head
fang.yuxiang [Wed, 24 May 2017 05:41:21 +0000 (13:41 +0800)]
rgw: display more info when use bucket stats

display the zonegroup uuid and placement rule of bucket, when using radosgw-admin bucket stats

Signed-off-by: fang yuxiang fang.yuxiang@eisoo.com
8 years agopybind/ceph_daemon.py: fix Termsize.update 15253/head
Kefu Chai [Wed, 24 May 2017 04:12:53 +0000 (12:12 +0800)]
pybind/ceph_daemon.py: fix Termsize.update

it's a regression introduced by 84f9c12

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agomgr: Mark session connections down on shutdown 15192/head
Brad Hubbard [Wed, 17 May 2017 03:28:26 +0000 (13:28 +1000)]
mgr: Mark session connections down on shutdown

Also assert in OSD::ms_get_authorizer since it is dangerous to proceed
if we are shutting down.

Fixes: http://tracker.ceph.com/issues/19900
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agodenc: add need_contiguous to denc_traits 15224/head
Kefu Chai [Tue, 23 May 2017 07:28:23 +0000 (15:28 +0800)]
denc: add need_contiguous to denc_traits

so the decode() will not try to copy the bufferlist for a continous one
if the bufferlist is segmented *and* its length is greater than
CEPH_PAGE_SIZE (4K) if the decoded object does not "need_contiguous" per
its denc_traits<>.

copying a memory chunk could be expensive if the decoded bufferlist is
huge, so we should try to avoid this. this could happen when we read the
buffer from bluestore.

and drop the partial specialization for denc() which tries to differentiate
traits::featured and !traits::featured, it does not matter to
decode() if the type supports feature or not. the encode() does.

also use denc() in interval_set<>::decode(). unlike encode(), decode(),
encode_nohead() or decode_nohead(), denc() is not part of our legacy
dencoder, so i think it's fine and encouraged to use it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15238 from xiexingguo/wip-fix-blue-mkfs
Sage Weil [Wed, 24 May 2017 03:08:49 +0000 (22:08 -0500)]
Merge pull request #15238 from xiexingguo/wip-fix-blue-mkfs

os/bluestore: write "mkfs_done" into disk only if we pass fsck() tests

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15228 from chardan/jfw-wip-halflife_atomic_t-filestore
Sage Weil [Wed, 24 May 2017 03:08:32 +0000 (22:08 -0500)]
Merge pull request #15228 from chardan/jfw-wip-halflife_atomic_t-filestore

filestore: migrate atomic_t to std::atomic<>

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoqa/tasks/ceph_manager: 'ceph $service tell ...' is obsolete 15252/head
Sage Weil [Wed, 24 May 2017 02:53:34 +0000 (22:53 -0400)]
qa/tasks/ceph_manager: 'ceph $service tell ...' is obsolete

This died forever ago; no need for the fallback here.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #9307 from cxwshawn/wip-tc7-fix
Sage Weil [Wed, 24 May 2017 02:49:46 +0000 (21:49 -0500)]
Merge pull request #9307 from cxwshawn/wip-tc7-fix

crush: optimize header file dependency

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>