Commit Graph

72620 Commits

Author SHA1 Message Date
John Spray
8535249bad 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>
2017-05-24 16:13:53 +01:00
Sage Weil
da7a99f5d1 Merge pull request #15264 from xiexingguo/wip-kill-typo
os/bluestore/KernelDevice: fix comments

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-24 08:43:35 -05:00
Jos Collin
cc7dea594d Merge pull request #15266 from ztczll/master
test:Check make_writeable() return value
2017-05-24 16:11:48 +05:30
zhanglei
0bcb3d2f34 test/:Check make_writeable return value
Signed-off-by: zhanglei <243290414@qq.com>
2017-05-24 05:22:02 -04:00
xie xingguo
ba3d6b48e1 os/bluestore/KernelDevice: fix comments
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-05-24 17:15:18 +08:00
Mykola Golub
1d74182a29 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>
2017-05-24 09:57:02 +03:00
Sage Weil
ba3e590f7b 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>
2017-05-23 22:08:49 -05:00
Sage Weil
2ebd3e8dcc 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>
2017-05-23 22:08:32 -05:00
Sage Weil
0aa04f523b Merge pull request #9307 from cxwshawn/wip-tc7-fix
crush: optimize header file dependency

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-23 21:49:46 -05:00
Sage Weil
ff04315240 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>
2017-05-23 21:49:22 -05:00
Sage Weil
e8fd9867e3 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>
2017-05-23 21:48:53 -05:00
Sage Weil
f58ea0419c Merge pull request #15169 from joscollin/wip-cleanup-redundant-headers-2
common: Remove redundant includes - 2

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-23 21:48:28 -05:00
Sage Weil
1f5c50aa56 Merge pull request #15177 from liewegas/wip-bluestore-nonexperimental
os: remove experimental status for BlueStore

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-05-23 21:48:06 -05:00
Sage Weil
9d51ab5b9d Merge pull request #15244 from liewegas/wip-crush-features
crush/CrushWrapper: fix has_incompat_choose_args()

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-05-23 21:47:51 -05:00
Sage Weil
10a88f1c62 Merge pull request #15245 from liewegas/wip-20058
qa/suites/rados/*/at-end: wait for healthy before scrubbing
2017-05-23 21:47:13 -05:00
Dan Mick
c59cfff6ca 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>
2017-05-23 16:38:52 -07:00
Matt Benjamin
9f8f0d75e8 Merge pull request #15246 from linuxbox2/wip-unlink-safe
rgw_file: release rgw_fh lock and ref on ENOTEMPTY
2017-05-23 16:47:57 -04:00
Sage Weil
88776b9c74 Merge pull request #15202 from liewegas/wip-19935
qa/suites/rados: temporarily remove scrub_test from basic/ until post-luminous
2017-05-23 15:37:08 -05:00
Sage Weil
0e03c189fc Merge pull request #15207 from liewegas/wip-20043
qa/suites/rados/singleton-nomsg/health-warnings: behave on ext4
2017-05-23 15:36:50 -05:00
Yuri Weinstein
27f7146613 Merge pull request #15092 from yuyuyu101/wip-msgr-writelock
msg/async: reduce write_lock contention

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-23 13:36:37 -07:00
Yuri Weinstein
fea1f930c7 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>
2017-05-23 13:35:22 -07:00
Yuri Weinstein
aaaf48cb87 Merge pull request #15187 from badone/wip-compressor-optimize-header-file-dependency
compressor: optimize header file dependency

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-23 13:34:53 -07:00
Yuri Weinstein
6b7d4db843 Merge pull request #15201 from liewegas/wip-19990
qa/workunits/rados/test_health_warning: misc fixes


Reviewed-by: Neha Ojha <nojha@redhat.com>
2017-05-23 13:33:23 -07:00
Casey Bodley
62c8dbcfca Merge pull request #15098 from cbodley/wip-rgw-default-frontend
rgw: remove fastcgi from default rgw frontends

Reviewed-by: Sage Weil <sage@redhat.com>
2017-05-23 16:18:34 -04:00
Matt Benjamin
51c25593dd 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>
2017-05-23 15:44:59 -04:00
Casey Bodley
344135f2c5 Merge pull request #15216 from linuxbox2/wip-rgw-file-unlink
rgw_file:  remove post-unlink lookup check

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-23 14:29:28 -04:00
Sage Weil
e283924d56 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>
2017-05-23 13:16:21 -05:00
Sage Weil
bac8e45fdb Merge pull request #15188 from ShiqiCooperation/master
mon: delete useless function definition

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-05-23 13:15:43 -05:00
Sage Weil
65b144d9e1 Merge pull request #15204 from joscollin/wip-cleanup-redundant-headers-3
common: Remove redundant includes - 3
2017-05-23 13:15:22 -05:00
Sage Weil
ce654c5133 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>
2017-05-23 14:12:24 -04:00
Casey Bodley
2dc585975a Merge pull request #14389 from mingshuaiwang/master
rgw: segment fault when shard id out of range

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-05-23 13:54:56 -04:00
Casey Bodley
0247770025 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>
2017-05-23 13:52:58 -04:00
Sage Weil
ddf0bb88cb 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 b1e4295570.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-23 13:50:06 -04:00
Haomai Wang
eded0c11b2 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>
2017-05-24 00:14:03 +08:00
Sage Weil
ae19a960c6 Merge pull request #15218 from liewegas/wip-crush-features
crush/CrushWrapper: fix has_incompat_choose_args

Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2017-05-23 11:06:56 -05:00
Pan Liu
c53d949e7f 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>
2017-05-23 23:15:14 +08:00
xie xingguo
58291dd69c 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>
2017-05-23 22:19:36 +08:00
John Spray
8d85c52fa2 Merge pull request #14610 from jcsp/wip-17980
#17980: MDS client blacklisting and blacklist on eviction

Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-05-23 14:57:01 +01:00
Igor Fedotov
4f178b2a56 rbd/bench: fixes write gaps when doing sequential writes with io-threads > 1
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
Signed-off-by: Mykola Golub mgolub@mirantis.com
2017-05-23 06:27:30 -07:00
John Spray
e875d7ddf9 Merge pull request #14550 from ukernel/wip-multimds-misc
mds: miscellaneous multimds fixes

Reviewed-by: John Spray <john.spray@redhat.com>
2017-05-23 13:14:43 +01:00
John Spray
3913ed0ba6 qa: refine assert_session_count (don't count killing)
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:18 -04:00
John Spray
ee2683c804 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>
2017-05-23 05:22:18 -04:00
John Spray
ab8e328c80 qa: clean up whitespace in test_misc.py
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:18 -04:00
John Spray
c91ccac6f6 qa: remove outdated TODO in TestVolumeClient
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:17 -04:00
John Spray
06935d406b qa: log whitelist for eviction messages
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:17 -04:00
John Spray
45caf26140 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>
2017-05-23 05:22:17 -04:00
John Spray
71229af5ea 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>
2017-05-23 05:22:17 -04:00
John Spray
47a9c9ba67 qa: add test_filelock_eviction
To check that eviction is releasing flocks.

Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:17 -04:00
John Spray
dd08483bd0 mds: hook up autoclose to blacklisting eviction
Signed-off-by: John Spray <john.spray@redhat.com>
2017-05-23 05:22:17 -04:00
John Spray
048e825484 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>
2017-05-23 05:22:16 -04:00