]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
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 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 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>
8 years agoMerge pull request #14035 from liewegas/wip-bluestore-kv-finisher
Sage Weil [Wed, 24 May 2017 02:49:22 +0000 (21:49 -0500)]
Merge pull request #14035 from liewegas/wip-bluestore-kv-finisher

os/bluestore: separate kv_sync_thread into two parts

Reviewed-by: Igor Fedotov <ifedotov@mirantis.com>
Reviewed-by: Mark Nelson <mnelson@redhat.com>
8 years agoMerge pull request #14176 from LiumxNL/wip-170321
Sage Weil [Wed, 24 May 2017 02:48:53 +0000 (21:48 -0500)]
Merge pull request #14176 from LiumxNL/wip-170321

mon: show io status quickly if no update in a long period

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15169 from joscollin/wip-cleanup-redundant-headers-2
Sage Weil [Wed, 24 May 2017 02:48:28 +0000 (21:48 -0500)]
Merge pull request #15169 from joscollin/wip-cleanup-redundant-headers-2

common: Remove redundant includes - 2

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #15177 from liewegas/wip-bluestore-nonexperimental
Sage Weil [Wed, 24 May 2017 02:48:06 +0000 (21:48 -0500)]
Merge pull request #15177 from liewegas/wip-bluestore-nonexperimental

os: remove experimental status for BlueStore

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #15244 from liewegas/wip-crush-features
Sage Weil [Wed, 24 May 2017 02:47:51 +0000 (21:47 -0500)]
Merge pull request #15244 from liewegas/wip-crush-features

crush/CrushWrapper: fix has_incompat_choose_args()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
8 years agoMerge pull request #15245 from liewegas/wip-20058
Sage Weil [Wed, 24 May 2017 02:47:13 +0000 (21:47 -0500)]
Merge pull request #15245 from liewegas/wip-20058

qa/suites/rados/*/at-end: wait for healthy before scrubbing

8 years agoMerge pull request #15190 from tchaikov/wip-ceph-term-width
Dan Mick [Tue, 23 May 2017 23:38:52 +0000 (16:38 -0700)]
Merge pull request #15190 from tchaikov/wip-ceph-term-width

ceph.in: adjust usage width according to user's tty

Reviewed-by: Dan Mick <dmick@redhat.com>
8 years agoMerge pull request #15246 from linuxbox2/wip-unlink-safe
Matt Benjamin [Tue, 23 May 2017 20:47:57 +0000 (16:47 -0400)]
Merge pull request #15246 from linuxbox2/wip-unlink-safe

rgw_file: release rgw_fh lock and ref on ENOTEMPTY

8 years agoMerge pull request #15202 from liewegas/wip-19935
Sage Weil [Tue, 23 May 2017 20:37:08 +0000 (15:37 -0500)]
Merge pull request #15202 from liewegas/wip-19935

qa/suites/rados: temporarily remove scrub_test from basic/ until post-luminous

8 years agoMerge pull request #15207 from liewegas/wip-20043
Sage Weil [Tue, 23 May 2017 20:36:50 +0000 (15:36 -0500)]
Merge pull request #15207 from liewegas/wip-20043

qa/suites/rados/singleton-nomsg/health-warnings: behave on ext4

8 years agoMerge pull request #15092 from yuyuyu101/wip-msgr-writelock
Yuri Weinstein [Tue, 23 May 2017 20:36:37 +0000 (13:36 -0700)]
Merge pull request #15092 from yuyuyu101/wip-msgr-writelock

msg/async: reduce write_lock contention

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15172 from badone/wip-erasure-code-optimize-header-file-dependency
Yuri Weinstein [Tue, 23 May 2017 20:35:22 +0000 (13:35 -0700)]
Merge pull request #15172 from badone/wip-erasure-code-optimize-header-file-dependency

erasure-code: optimize header file dependency

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15187 from badone/wip-compressor-optimize-header-file-dependency
Yuri Weinstein [Tue, 23 May 2017 20:34:53 +0000 (13:34 -0700)]
Merge pull request #15187 from badone/wip-compressor-optimize-header-file-dependency

compressor: optimize header file dependency

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15201 from liewegas/wip-19990
Yuri Weinstein [Tue, 23 May 2017 20:33:23 +0000 (13:33 -0700)]
Merge pull request #15201 from liewegas/wip-19990

qa/workunits/rados/test_health_warning: misc fixes

Reviewed-by: Neha Ojha <nojha@redhat.com>
8 years agoMerge pull request #15098 from cbodley/wip-rgw-default-frontend
Casey Bodley [Tue, 23 May 2017 20:18:34 +0000 (16:18 -0400)]
Merge pull request #15098 from cbodley/wip-rgw-default-frontend

rgw: remove fastcgi from default rgw frontends

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agorgw_file: release rgw_fh lock and ref on ENOTEMPTY 15246/head
Matt Benjamin [Tue, 23 May 2017 19:05:45 +0000 (15:05 -0400)]
rgw_file: release rgw_fh lock and ref on ENOTEMPTY

An early return in new unlink bucket num_entries check was
missing a conditional unlock and unref.

Fixes: http://tracker.ceph.com/issues/20061
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #15216 from linuxbox2/wip-rgw-file-unlink
Casey Bodley [Tue, 23 May 2017 18:29:28 +0000 (14:29 -0400)]
Merge pull request #15216 from linuxbox2/wip-rgw-file-unlink

rgw_file:  remove post-unlink lookup check

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15179 from liewegas/wip-fix-osd-health
Sage Weil [Tue, 23 May 2017 18:16:21 +0000 (13:16 -0500)]
Merge pull request #15179 from liewegas/wip-fix-osd-health

mon: fix a few bugs with the osd health reporting

Reviewed-by: Neha Ojha <nojha@redhat.com>
8 years agoMerge pull request #15188 from ShiqiCooperation/master
Sage Weil [Tue, 23 May 2017 18:15:43 +0000 (13:15 -0500)]
Merge pull request #15188 from ShiqiCooperation/master

mon: delete useless function definition

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15204 from joscollin/wip-cleanup-redundant-headers-3
Sage Weil [Tue, 23 May 2017 18:15:22 +0000 (13:15 -0500)]
Merge pull request #15204 from joscollin/wip-cleanup-redundant-headers-3

common: Remove redundant includes - 3

8 years agoqa/suites/rados/*/at-end: wait for healthy before scrubbing 15245/head
Sage Weil [Tue, 23 May 2017 18:10:54 +0000 (14:10 -0400)]
qa/suites/rados/*/at-end: wait for healthy before scrubbing

The scrub_pgs command also waits for healthy for a while, but fails
silently if it times out, which means the subsequent scrubs will also
fail to clean up.

This forces an earlier failure that does not obscure the root cause.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #14389 from mingshuaiwang/master
Casey Bodley [Tue, 23 May 2017 17:54:56 +0000 (13:54 -0400)]
Merge pull request #14389 from mingshuaiwang/master

rgw: segment fault when shard id out of range

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #12774 from shashalu/gc-list
Casey Bodley [Tue, 23 May 2017 17:52:58 +0000 (13:52 -0400)]
Merge pull request #12774 from shashalu/gc-list

rgw: fix 'gc list --include-all' command infinite loop the first items

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agocrush/CrushWrapper: fix has_incompat_choose_args() 15244/head
Sage Weil [Tue, 23 May 2017 17:50:06 +0000 (13:50 -0400)]
crush/CrushWrapper: fix has_incompat_choose_args()

Special case empty and return false.  Otherwise the rest of the method
will dereference an invalid iterator on an empty choose_args
map.

Fixes broken fix in b1e4295570b6af4d844cf3ec55d77f5c287b29e6.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15242 from liupan1111/wip-fix-msg
Haomai Wang [Tue, 23 May 2017 16:14:03 +0000 (00:14 +0800)]
Merge pull request #15242 from liupan1111/wip-fix-msg

msg/async: Lower down the AsyncMessenger's standby warning from debug

Reviewed-by: Haomai Wang <haomai@xsky.com>
8 years agoMerge pull request #15218 from liewegas/wip-crush-features
Sage Weil [Tue, 23 May 2017 16:06:56 +0000 (11:06 -0500)]
Merge pull request #15218 from liewegas/wip-crush-features

crush/CrushWrapper: fix has_incompat_choose_args

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
8 years agomsg/async: Lower down the AsyncMessenger's standby warning from debug 15242/head
Pan Liu [Tue, 23 May 2017 15:15:14 +0000 (23:15 +0800)]
msg/async: Lower down the AsyncMessenger's standby warning from debug
level 0 to 10.

Signed-off-by: Pan Liu <wanjun.lp@alibaba-inc.com>
8 years agoos/bluestore: save "mkfs_done" only if we pass fsck() tests 15238/head
xie xingguo [Tue, 23 May 2017 14:00:35 +0000 (22:00 +0800)]
os/bluestore: save "mkfs_done" only if we pass fsck() tests

In our local test bed, we found mkfs() sometimes can fail
due to errors discovered by fsck(), and is therefore unrecoverable
by redoing mkfs() as the "mkfs_done" flag has been successfully saved into disk.

This patch fixes the above case.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
8 years agoMerge pull request #14610 from jcsp/wip-17980
John Spray [Tue, 23 May 2017 13:57:01 +0000 (14:57 +0100)]
Merge pull request #14610 from jcsp/wip-17980

#17980: MDS client blacklisting and blacklist on eviction

Reviewed-by: Yan, Zheng <zyan@redhat.com>
8 years agoMerge pull request #14550 from ukernel/wip-multimds-misc
John Spray [Tue, 23 May 2017 12:14:43 +0000 (13:14 +0100)]
Merge pull request #14550 from ukernel/wip-multimds-misc

mds: miscellaneous multimds fixes

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoqa: refine assert_session_count (don't count killing) 14610/head
John Spray [Mon, 22 May 2017 23:04:05 +0000 (19:04 -0400)]
qa: refine assert_session_count (don't count killing)

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa: update TestVolumeClient for new blacklisting
John Spray [Thu, 18 May 2017 12:59:43 +0000 (08:59 -0400)]
qa: update TestVolumeClient for new blacklisting

Blacklisted clients will now proactively fail
outstanding operations, rather than blocking.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa: clean up whitespace in test_misc.py
John Spray [Thu, 18 May 2017 08:18:23 +0000 (04:18 -0400)]
qa: clean up whitespace in test_misc.py

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa: remove outdated TODO in TestVolumeClient
John Spray [Thu, 18 May 2017 08:17:15 +0000 (04:17 -0400)]
qa: remove outdated TODO in TestVolumeClient

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa: log whitelist for eviction messages
John Spray [Tue, 16 May 2017 16:01:49 +0000 (12:01 -0400)]
qa: log whitelist for eviction messages

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: improve eviction usability and update docs
John Spray [Mon, 24 Apr 2017 21:19:43 +0000 (17:19 -0400)]
mds: improve eviction usability and update docs

The "session ls" and "session evict" are now
"client ls" and "client evict" (the old ones
are still there for backwards compatibility).

The automatic client eviction now emits
cluster logs that call the client by its
friendly name (usually the hostname).

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: tidy up 'kill_session' naming
John Spray [Tue, 18 Apr 2017 20:34:47 +0000 (16:34 -0400)]
mds: tidy up 'kill_session' naming

We had two kill_sessions.  Leave Server::kill_session (the
one that actually operates on MDS sessions only), and rename
the MDSRank one to evict_client, because it does more than
just kill the MDS session.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoqa: add test_filelock_eviction
John Spray [Tue, 21 Mar 2017 14:38:47 +0000 (10:38 -0400)]
qa: add test_filelock_eviction

To check that eviction is releasing flocks.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: hook up autoclose to blacklisting eviction
John Spray [Thu, 16 Mar 2017 16:37:18 +0000 (16:37 +0000)]
mds: hook up autoclose to blacklisting eviction

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: make blacklisting configurable in kill_session
John Spray [Wed, 15 Mar 2017 19:48:25 +0000 (19:48 +0000)]
mds: make blacklisting configurable in kill_session

This makes the code a bit awkward because we now have
4x paths through this function (blocking, noblocking, blacklisting,
nonblacklisting).

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoclient: fix unmounting while blacklisted
John Spray [Thu, 23 Feb 2017 23:23:11 +0000 (23:23 +0000)]
client: fix unmounting while blacklisted

Previously, if you ever made it as far as ~Client
with any inodes in your cache, you'd hit the ObjectCacher
is_locked_by_me assertion during release_set on those inode's osets.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoclient: detect blacklisting of myself
John Spray [Thu, 23 Feb 2017 17:46:16 +0000 (17:46 +0000)]
client: detect blacklisting of myself

EIO all operations when this happens, and do a cut-down
unmount() so that once the user has noticed his mount
is broken, he can unmount it without getting stuck
waiting for flushes/caps/sessions.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: update osd epoch barrier when handling blacklist
John Spray [Thu, 23 Feb 2017 16:20:59 +0000 (16:20 +0000)]
mds: update osd epoch barrier when handling blacklist

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: update osdmap epoch barrier on eviction
John Spray [Thu, 23 Feb 2017 16:04:20 +0000 (16:04 +0000)]
mds: update osdmap epoch barrier on eviction

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: blacklist clients on eviction
John Spray [Thu, 23 Feb 2017 11:31:18 +0000 (11:31 +0000)]
mds: blacklist clients on eviction

Fixes: http://tracker.ceph.com/issues/9754
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomon: permit MDS daemons to do blacklisting
John Spray [Thu, 23 Feb 2017 11:30:34 +0000 (11:30 +0000)]
mon: permit MDS daemons to do blacklisting

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: remove stale comment
John Spray [Thu, 23 Feb 2017 10:23:28 +0000 (10:23 +0000)]
mds: remove stale comment

The code the comment is talking about went
away in 2490a0a1e.

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agomds: apply OSDMap blacklist to CephFS clients
John Spray [Thu, 16 Feb 2017 17:21:18 +0000 (17:21 +0000)]
mds: apply OSDMap blacklist to CephFS clients

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoosd/OSDMap: std::set version of get_blacklist
John Spray [Thu, 16 Feb 2017 17:20:48 +0000 (17:20 +0000)]
osd/OSDMap: std::set version of get_blacklist

Signed-off-by: John Spray <john.spray@redhat.com>
8 years agoosdc: expose new blacklist entries from Objecter
John Spray [Thu, 16 Feb 2017 14:48:50 +0000 (14:48 +0000)]
osdc: expose new blacklist entries from Objecter

For the MDS which needs to know about new blacklist entries
in order to evict corresponding MDS sessions.

Fixes: http://tracker.ceph.com/issues/17980
Signed-off-by: John Spray <john.spray@redhat.com>
8 years agofilestore: migrate atomic_t to std::atomic<> 15228/head
Jesse Williamson [Tue, 2 May 2017 15:00:24 +0000 (08:00 -0700)]
filestore: migrate atomic_t to std::atomic<>

Signed-off-by: Jesse Williamson <jwilliamson@suse.de>
8 years agoMerge pull request #15220 from joscollin/wip-cleanup-rados-typo
Jos Collin [Tue, 23 May 2017 05:20:27 +0000 (10:50 +0530)]
Merge pull request #15220 from joscollin/wip-cleanup-rados-typo

include/rados: Fix typo in rados_ioctx_cct() doc

8 years agoinclude/rados: Fix typo in rados_ioctx_cct() doc 15220/head
Jos Collin [Tue, 23 May 2017 04:03:12 +0000 (09:33 +0530)]
include/rados: Fix typo in rados_ioctx_cct() doc

This fixes PR#15077.

Signed-off-by: Jos Collin <jcollin@redhat.com>
8 years agoceph.in: adjust usage width according to user's tty 15190/head
Kefu Chai [Sun, 21 May 2017 17:24:32 +0000 (01:24 +0800)]
ceph.in: adjust usage width according to user's tty

fixed a pep8 warning also

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agopybind/ceph_daemon.py: move _gettermsize() into Termsize
Kefu Chai [Tue, 23 May 2017 03:28:10 +0000 (11:28 +0800)]
pybind/ceph_daemon.py: move _gettermsize() into Termsize

as the latter is the only consumer of _gettermsize(). and a little bit
refactor to improve the readability and be more pep8 compliant.

Signed-off-by: Kefu Chai <kchai@redhat.com>
8 years agocrush/CrushWrapper: fix has_incompat_choose_args 15218/head
Sage Weil [Tue, 23 May 2017 02:51:18 +0000 (22:51 -0400)]
crush/CrushWrapper: fix has_incompat_choose_args

If the map has *no* choose_args it does not have incompat choose args.
This makes the OSDMap::get_features() check

  if (crush->has_incompat_choose_args())
    features |= CEPH_FEATURE_CRUSH_CHOOSE_ARGS;

happier.

Signed-off-by: Sage Weil <sage@redhat.com>
8 years agorgw_file: remove post-unlink lookup check 15216/head
Matt Benjamin [Mon, 22 May 2017 21:37:11 +0000 (17:37 -0400)]
rgw_file:  remove post-unlink lookup check

This could induce asserts in multi-nfs-gateway scenarios.

Fixes: http://tracker.ceph.com/issues/20047
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #15210 from linuxbox2/wip-rgw-rmbuck
Matt Benjamin [Tue, 23 May 2017 00:40:09 +0000 (20:40 -0400)]
Merge pull request #15210 from linuxbox2/wip-rgw-rmbuck

rgw_file: remove hidden uxattr objects from buckets on delete

8 years agorgw_file: remove hidden uxattr objects from buckets on delete 15210/head
Matt Benjamin [Mon, 22 May 2017 18:51:19 +0000 (14:51 -0400)]
rgw_file: remove hidden uxattr objects from buckets on delete

If a setattr (e.g., chown) has been performed on a bucket, then like
any directory it has a hidden object storing its attributes. This must
be deleted before attempting bucket delete, otherwise, actually empty
buckets will not be removable via NFS.

Fixes: http://tracker.ceph.com/issues/20045
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
8 years agoMerge pull request #15195 from theanalyst/doc/12.0.3-typo-fix
Sage Weil [Mon, 22 May 2017 17:46:43 +0000 (12:46 -0500)]
Merge pull request #15195 from theanalyst/doc/12.0.3-typo-fix

doc: fixing an error in 12.0.3 release notes

Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Loic Dachary <loic@dachary.org>
8 years agocommon: Remove redundant includes 15169/head
Jos Collin [Fri, 19 May 2017 04:17:32 +0000 (09:47 +0530)]
common: Remove redundant includes

Fixes: http://tracker.ceph.com/issues/19883 (Partially)
Signed-off-by: Jos Collin <jcollin@redhat.com>
8 years agoMerge pull request #15186 from adamemerson/wip-clangtastic-mr-clocks
Adam C. Emerson [Mon, 22 May 2017 17:14:06 +0000 (13:14 -0400)]
Merge pull request #15186 from adamemerson/wip-clangtastic-mr-clocks

rgw: Remove pessimizing move
common: Forward-declare container I/O overloads

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoqa/suites/rados/singleton-nomsg/health-warnings: behave on ext4 15207/head
Sage Weil [Mon, 22 May 2017 16:53:51 +0000 (12:53 -0400)]
qa/suites/rados/singleton-nomsg/health-warnings: behave on ext4

We may land on an ext4 root partition.

Fixes: http://tracker.ceph.com/issues/20043
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #12861 from theanalyst/wip-absolute-urls
Yehuda Sadeh [Mon, 22 May 2017 16:30:53 +0000 (09:30 -0700)]
Merge pull request #12861 from theanalyst/wip-absolute-urls

rgw: pass authentication domain to civetweb

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
8 years agoMerge pull request #15150 from ovh/bp-doc-perf-histograms
Sage Weil [Mon, 22 May 2017 15:59:22 +0000 (10:59 -0500)]
Merge pull request #15150 from ovh/bp-doc-perf-histograms

doc: document perf historgrams

Reviewed-by: Sage Weil <sage@redhat.com>
8 years agodoc: document perf historgrams 15150/head
Piotr Dałek [Mon, 22 May 2017 15:50:08 +0000 (15:50 +0000)]
doc: document perf historgrams

Documentation for perf histograms schema and dump.

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
8 years agocommon: Remove redundant includes 15204/head
Jos Collin [Mon, 22 May 2017 15:12:58 +0000 (20:42 +0530)]
common: Remove redundant includes

Fixes: http://tracker.ceph.com/issues/19883 (Partially)
Signed-off-by: Jos Collin <jcollin@redhat.com>
8 years agorgw: Remove pessimizing move 15186/head
Adam C. Emerson [Sat, 20 May 2017 00:49:24 +0000 (20:49 -0400)]
rgw: Remove pessimizing move

Do not std::move values from returned functions.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agocommon: Forward-declare container I/O overloads
Adam C. Emerson [Sat, 20 May 2017 16:10:15 +0000 (12:10 -0400)]
common: Forward-declare container I/O overloads

This will allow strict ADL to find the right overload in the case of a
container of containers and unbreak compilation with Clang.

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
8 years agoqa/suites/rados: temporarily remove scrub_test from basic/ until post-luminous 15202/head
Sage Weil [Mon, 22 May 2017 14:15:23 +0000 (10:15 -0400)]
qa/suites/rados: temporarily remove scrub_test from basic/ until post-luminous

We don't want to do the at-end.yaml scrubbing business with this test.
Move it into a separate collection until after luminous.

I have a todo item on the post-luminous cleanup list to avoid forgetting
to move this back.

Fixes: http://tracker.ceph.com/issues/19935
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoqa/workunits/rados/test_health_warning: misc fixes 15201/head
Sage Weil [Mon, 22 May 2017 14:09:19 +0000 (10:09 -0400)]
qa/workunits/rados/test_health_warning: misc fixes

- use 'noup' flag
- wait for healthy between each test
- check counts for each type

Fixes: http://tracker.ceph.com/issues/19990
Signed-off-by: Sage Weil <sage@redhat.com>
8 years agoMerge pull request #15162 from dillaman/wip-19970
Mykola Golub [Mon, 22 May 2017 12:50:57 +0000 (15:50 +0300)]
Merge pull request #15162 from dillaman/wip-19970

librbd: reduce potential of erroneous blacklisting on image close

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
8 years agodoc: fixing an error in 12.0.3 release notes 15195/head
Abhishek Lekshmanan [Mon, 22 May 2017 08:42:19 +0000 (10:42 +0200)]
doc: fixing an error in 12.0.3 release notes

Thanks @smithfarm for pointing this out

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #15191 from Linbing/modify-note-word-error
Jos Collin [Mon, 22 May 2017 02:00:43 +0000 (07:30 +0530)]
Merge pull request #15191 from Linbing/modify-note-word-error

mon: Fixed typo in @post of _active()

8 years agoNote word error of _active(), take iif with if 15191/head
linbing [Mon, 22 May 2017 00:32:28 +0000 (08:32 +0800)]
Note word error of _active(), take iif with if

Signed-off-by: Linbing <hawkerous@gmail.com>
8 years agomon: delete useless function definition 15188/head
shiqi [Sat, 20 May 2017 09:40:23 +0000 (17:40 +0800)]
mon: delete useless function definition

Signed-off-by: shiqi <1454927420@qq.com>
8 years agocompressor: optimize header file dependency 15187/head
shawn [Thu, 26 May 2016 02:22:35 +0000 (22:22 -0400)]
compressor: optimize header file dependency

Signed-off-by: Xiaowei Chen <chen.xiaowei@h3c.com>
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
8 years agoMerge pull request #15181 from tchaikov/wip-cxx1z-size
Kefu Chai [Sat, 20 May 2017 01:53:45 +0000 (09:53 +0800)]
Merge pull request #15181 from tchaikov/wip-cxx1z-size

common: add ceph::size()

Reviewed-By: Adam C. Emerson <aemerson@redhat.com>
8 years agoMerge pull request #14946 from dmick/wip-mgr-dashboard
Sage Weil [Fri, 19 May 2017 21:59:59 +0000 (16:59 -0500)]
Merge pull request #14946 from dmick/wip-mgr-dashboard

mgr: dashboard GUI module

8 years agoMerge pull request #14994 from theanalyst/f/tier-fix
Casey Bodley [Fri, 19 May 2017 21:58:46 +0000 (17:58 -0400)]
Merge pull request #14994 from theanalyst/f/tier-fix

rgw_rados: create sync module instances only if run_sync_thread is set

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agotest: add mgr/ and smoke test for mgr dashboard 14946/head
Dan Mick [Thu, 18 May 2017 04:52:31 +0000 (21:52 -0700)]
test: add mgr/ and smoke test for mgr dashboard

Signed-off-by: Dan Mick <dan.mick@redhat.com>
8 years agorgw_rados: create sync module instances only if run_sync_thread is set 14994/head
Abhishek Lekshmanan [Mon, 8 May 2017 11:38:32 +0000 (13:38 +0200)]
rgw_rados: create sync module instances only if run_sync_thread is set

This allows for radosgw-admin to run even if there was a
misconfiguration in setting tier types which would otherwise make it
difficult to revert an invalid tier type setting. Since sync modules are
necessary only for rgw and not for the admin itself, this allows for
invalid tier configurations to be corrected as rgw-admin wouldn't fail

Fixes: http://tracker.ceph.com/issues/19830
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
8 years agoMerge pull request #15153 from zhangsw/optimize-torrent
Casey Bodley [Fri, 19 May 2017 19:03:06 +0000 (15:03 -0400)]
Merge pull request #15153 from zhangsw/optimize-torrent

rgw: optimize generating torrent file. Object data won't stay in memory  now.

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
8 years agoMerge pull request #15001 from chardan/jfw-wip-halflife_atomic_t-kamakuras
Casey Bodley [Fri, 19 May 2017 19:02:14 +0000 (15:02 -0400)]
Merge pull request #15001 from chardan/jfw-wip-halflife_atomic_t-kamakuras

rgw: migrate atomic_t to std::atomic<>

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14827 from liuyuhong66/rgw-swift-auth-improve
Casey Bodley [Fri, 19 May 2017 19:01:11 +0000 (15:01 -0400)]
Merge pull request #14827 from liuyuhong66/rgw-swift-auth-improve

rgw/rgw_swift_auth.cc: using string::back() instead as the C++11 recommend

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #15025 from mikulely/jiaying-fix-lc-list
Casey Bodley [Fri, 19 May 2017 18:58:25 +0000 (14:58 -0400)]
Merge pull request #15025 from mikulely/jiaying-fix-lc-list

rgw: fix lc list failure when shards not be all created

Reviewed-by: Daniel Gryniewicz <dang@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #12300 from idealguo/rename-s3_code
Casey Bodley [Fri, 19 May 2017 18:57:26 +0000 (14:57 -0400)]
Merge pull request #12300 from idealguo/rename-s3_code

rgw: rename s3_code to err_code for swift

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #15045 from shashalu/fix-slo
Casey Bodley [Fri, 19 May 2017 18:56:53 +0000 (14:56 -0400)]
Merge pull request #15045 from shashalu/fix-slo

rgw: fix X-Object-Meta-Static-Large-Object in SLO download

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14800 from theanalyst/doc/release-notes/sse-c-correction
Sage Weil [Fri, 19 May 2017 18:54:09 +0000 (13:54 -0500)]
Merge pull request #14800 from theanalyst/doc/release-notes/sse-c-correction

doc: release-notes clarify about rgw encryption

Reviewed-by: Casey Bodley <cbodley@redhat.com>
8 years agoMerge pull request #14922 from ukernel/wip-kcephfs-whitelist
Sage Weil [Fri, 19 May 2017 18:41:20 +0000 (13:41 -0500)]
Merge pull request #14922 from ukernel/wip-kcephfs-whitelist

qa: update log whitelists for kcephfs suite

Reviewed-by: John Spray <john.spray@redhat.com>
8 years agoMerge pull request #14941 from wjwithagen/wip-wjw-freebsd-doc-manual-install
Sage Weil [Fri, 19 May 2017 18:40:10 +0000 (13:40 -0500)]
Merge pull request #14941 from wjwithagen/wip-wjw-freebsd-doc-manual-install

doc: add FreeBSD manual install

8 years agoMerge pull request #14988 from ShiqiCooperation/master
Sage Weil [Fri, 19 May 2017 18:33:49 +0000 (13:33 -0500)]
Merge pull request #14988 from ShiqiCooperation/master

test/unittest_bluefs: check whether mounted success

Reviewed-by: Kefu Chai <kchai@redhat.com>
8 years agoMerge pull request #14688 from cbodley/wip-rgw-multi-suite
Casey Bodley [Fri, 19 May 2017 18:30:57 +0000 (14:30 -0400)]
Merge pull request #14688 from cbodley/wip-rgw-multi-suite

qa/rgw: add multisite suite to configure and run multisite tests

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
8 years agoMerge pull request #15071 from cbodley/wip-qa-dnsmasq
Sage Weil [Fri, 19 May 2017 18:25:12 +0000 (13:25 -0500)]
Merge pull request #15071 from cbodley/wip-qa-dnsmasq

qa: add task for dnsmasq configuration

Reviewed-by: Vasu Kulkarni <vasu@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
8 years agoMerge pull request #15090 from theanalyst/release/v12.0.3/notes
Sage Weil [Fri, 19 May 2017 18:21:58 +0000 (13:21 -0500)]
Merge pull request #15090 from theanalyst/release/v12.0.3/notes

doc: release notes for v12.0.3 (dev)

8 years agoMerge pull request #15133 from cbodley/wip-doc-rgw-remove-fcgi
Sage Weil [Fri, 19 May 2017 18:13:24 +0000 (13:13 -0500)]
Merge pull request #15133 from cbodley/wip-doc-rgw-remove-fcgi

doc/rgw: remove fastcgi page and sample configs

Reviewed-by: Sage Weil <sage@redhat.com>