Kefu Chai
83b9449c56
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>
2017-05-24 23:58:25 +08:00
Kefu Chai
b758fa3c98
mon/MonClient: drop unused param
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-24 23:58:25 +08:00
John Spray
9dd2bc8974
Merge pull request #15213 from jcsp/wip-20040
...
mon: fix accesing pending_fsmap from peon
Reviewed-by: Yan, Zheng <zyan@redhat.com>
2017-05-24 16:50:42 +01:00
John Spray
0f0fdeb18e
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>
2017-05-24 16:49:42 +01:00
John Spray
ef9d555916
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>
2017-05-24 16:41:45 +01:00
John Spray
ee75318807
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>
2017-05-24 16:40:50 +01:00
John Spray
6ca92c502b
Merge pull request #15106 from ukernel/wip-export-pin-cleanup
...
ceph: simplify CInode::maybe_export_pin()
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-05-24 16:37:53 +01:00
John Spray
db6890e2c9
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>
2017-05-24 16:37:03 +01:00
John Spray
4f5d7aafe1
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>
2017-05-24 16:34:50 +01:00
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
Igor Fedotov
5f53346dc2
os/bluestore: fix false assertion
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-24 07:01:46 -07:00
Igor Fedotov
3cd35b9f99
os/bluestore: wrap IOContext::aio_wake with additional stuff to remove copy-paste for its use
...
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
2017-05-24 06:56:34 -07: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
fang.yuxiang
01865a10bc
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
2017-05-24 13:41:21 +08:00
Kefu Chai
7f7ae7ac7c
pybind/ceph_daemon.py: fix Termsize.update
...
it's a regression introduced by 84f9c12
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-05-24 12:25:50 +08:00
Brad Hubbard
eb5c02df63
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>
2017-05-24 14:11:32 +10:00
Kefu Chai
77fbfc29d1
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>
2017-05-24 11:29:07 +08: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
5ab996ab3c
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>
2017-05-23 22:53:53 -04: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
myoungwon oh
5e9b432398
osd: add the RWORDERED flag when the client need it
...
Signed-off-by: Myoungwon Oh omwmw@sk.com
Signed-off-by: Sage Weil sage@redhat.com
2017-05-24 10:17:19 +09:00
fang.yuxiang
7868a18eb2
rgw: use get_data_extra_pool() when get data extra pool from RGWZonePlacementInfo
...
use member data_extra_pool of RGWZonePlacementInfo isn't properly, because it maybe not configured.
Fixes: http://tracker.ceph.com/issues/20064
Signed-off-by: fang yuxiang <fang.yuxiang@eisoo.com>
2017-05-24 09:04:19 +08: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
Neha Ojha
6917551546
osd/OSDMap.cc: check if osd is out in subtree_type_is_down
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-05-23 15:35:16 -07:00
Alessandro Barbieri
761735a279
filter -pthread
...
Get confused for a yasm option
Signed-off-by: Alessandro Barbieri <ale.barbio@alice.it>
2017-05-24 00:30:17 +02:00
Sage Weil
e03edc587d
osdmaptool: require --upmap-save before modifying input osdmap
...
IMO it is dangerous to modify the provided osdmap in this case unless the
user explicitly asks for it. This was super annoying while I was testing
this code.
Signed-off-by: Sage Weil <sage@redhat.com>
2017-05-23 17:56:14 -04: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