Kefu Chai
62279559e3
Merge pull request #23643 from tchaikov/wip-cmake-dmclock
...
dmclock, cmake: sync up with ceph/dmclock, dmclock related cleanups
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
2018-08-23 19:23:41 +08:00
Kefu Chai
21d2d8d393
Merge pull request #23624 from david-z/wip-fix-mgr-fs-status
...
mgr/status: Add standby-replay MDS ceph version
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2018-08-23 19:22:50 +08:00
Kefu Chai
ee7761db34
Merge pull request #23576 from ifed01/wip-ifed-fix-perf-counters
...
os/bluestore: bluestore_buffer_hit_bytes perf counter doesn't reset
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-23 19:22:12 +08:00
Kefu Chai
2532fb6b2a
Merge pull request #21983 from chardan/jfw-wip-libradosstriper_ultimate-final-battle
...
libradosstriper: conditional compile
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-23 19:20:16 +08:00
Kefu Chai
76eae2dad9
Merge pull request #23689 from tchaikov/wip-run-make-check-more-aio
...
run-make-check: increase fs.aio-max-nr to 1048576
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Liu-Chunmei <chunmei.liu@intel.com>
2018-08-23 10:10:29 +08:00
Kefu Chai
406a3a22b0
Merge pull request #23675 from tserlin/tserlin-require-fuse
...
debian/control: require fuse for ceph-fuse
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-22 21:18:21 +08:00
Kefu Chai
83f18055be
Merge pull request #23655 from tchaikov/wip-silence-Wsign-compare-warnings
...
test: silence -Wsign-compare warnings
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-22 21:17:19 +08:00
Kefu Chai
b928c7777c
run-make-check: increase fs.aio-max-nr to 1048576
...
the solution was suggested by Yingxin Cheng. otherwise we could have
EAGAIN returned by io_setup(2).
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 19:52:46 +08:00
Mykola Golub
645233ec82
Merge pull request #23630 from wjwithagen/wjw-fix-rbd-ggate-kldload
...
test/rbd: rbd_ggate test improvements
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-08-22 14:45:07 +03:00
Kefu Chai
06c86b7a87
Merge pull request #23684 from tchaikov/wip-doc-balancer
...
doc/rados/operations: add balancer.rst to TOC
Reviewed-by: John Spray <john.spray@redhat.com>
2018-08-22 18:50:54 +08:00
Kefu Chai
a68120e884
doc/rados/operations: add balancer.rst to TOC
...
this helps user to find the balancer feature, and
also addresses the FTBFS of doc like
Warning, treated as error:
/home/jenkins-build/build/workspace/ceph-pr-docs/doc/rados/operations/balancer.rst:document
isn't included in any toctree
this doc was moved from doc/mgr/balancer.rst to
doc/rados/operations/balancer.rst in
a78d600e6b
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 16:08:02 +08:00
Kefu Chai
a5735b8718
Merge pull request #23642 from tchaikov/wip-crimson-msgr
...
cmake,crimson/net: add keepalive support, and enable unittest_seastar_messenger in "make check"
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-22 16:00:14 +08:00
Kefu Chai
26c0172505
test/mon: no need to include OSD.h
...
what it needs is the definition of `struct statfs`.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 10:20:51 +08:00
Kefu Chai
e3242088ab
common,test: update mClockPriorityQueue to accomodate the change in dmc
...
* cost is required to be a positive number
* PullPriorityQueue's construct uses an enum instead of a bool for
specifying the behavior when request breaches the limit.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 10:20:51 +08:00
Kefu Chai
bdc7c5fdfa
dmclock: pick up tag.reservation calc fix and cmake changes
...
see
- ceph/dmclock#58
- ceph/dmclock#60
- ceph/dmclock#61
Fixes: http://tracker.ceph.com/issues/26998
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 10:20:51 +08:00
Kefu Chai
e7d38d7a63
cmake: dmclock related cleanups
...
* do not include_directories() globally. use dmclock::dmclock's
interface properties instead
* add_subdirectory(dmclock) instead of add_subdirectory(dmclock/src)
for including its
* set dmclock_TEST instead of including the subdirectories under
dmclock/
* objclass/class_api.cc includes PrimaryLogPG.h, which in turn includes
indirect_intrusive_heap.h, so it'd better to compile class_api.cc as
a part of osd.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-22 10:20:51 +08:00
Patrick Donnelly
7a69ebbce7
Merge PR #23635 into master
...
* refs/pull/23635/head:
mds: use monotonic clock in beacon
mds: simplify beacon init
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-08-21 14:38:54 -07:00
Jason Dillaman
b613fbdb62
Merge pull request #21114 from colletj/colletj_rbd_image_timestamps
...
librbd: add rbd image access/modified timestamps
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-21 16:17:37 -04:00
Julien Collet
809c5430c2
librbd: add image access/last modified timestamps
...
Add access and modify timestamps and associated tests
to RBD images.
Access (resp. modify) timestamps are updated on
read (resp. write) operations. A configurable throttling
mechanism is implemented (default to 60s).
Signed-off-by: Julien Collet <julien.collet@cern.ch>
2018-08-21 16:17:17 -04:00
Thomas Serlin
b012016cd5
debian/control: require fuse for ceph-fuse
...
This is the Ubuntu equivalent for:
https://github.com/ceph/ceph/pull/17120
http://tracker.ceph.com/issues/21057
Installing "ceph-fuse" should pull in the "fuse" package automatically.
Signed-off-by: Thomas Serlin <tserlin@redhat.com>
2018-08-21 15:55:39 -04:00
Jason Dillaman
9cfc3a7fc0
Merge pull request #23649 from trociny/wip-26939
...
librbd: journaling unable request can not be sent to remote lock owner
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-21 14:38:32 -04:00
Jason Dillaman
f4fe2c34e6
Merge pull request #23311 from Songweibin/wip-fix-du-display
...
tools/rbd: minor fixes for rbd du display
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-21 14:37:46 -04:00
Jason Dillaman
4d7c6cc111
Merge pull request #23638 from Songweibin/wip-filter-user-snapshots
...
rbd: filter out group/trash snapshots from snap_list
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-21 14:37:25 -04:00
Kefu Chai
1e7242e4f8
Merge pull request #23615 from dmick/wip-ceph-mgr-deb
...
debian/rules: fix ceph-mgr .pyc files left behind
Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-22 00:25:24 +08:00
Kefu Chai
3b3e54d861
Merge pull request #23606 from ifed01/wip-ifed-stupid-get-fragmentation-fix
...
os/bluestore: fix assertion in StupidAllocator::get_fragmentation
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-22 00:22:59 +08:00
Kefu Chai
8aa5ec8ef8
Merge pull request #23587 from xiexingguo/wip-recover-order
...
osd/PrimaryLogPG: optimize recover order
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-22 00:21:30 +08:00
Kefu Chai
f7d452e8d1
Merge pull request #23558 from liewegas/wip-mgr-always-on
...
mgr: keep status, balancer always on
2018-08-22 00:18:30 +08:00
Kefu Chai
fef9d575df
Merge pull request #23573 from rzarzynski/wip-msg-26937
...
msg: entity_addr_t::parse doesn't do memset(this, 0, ...) for clean-up
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-22 00:16:47 +08:00
Kefu Chai
bcd6ad1505
Merge pull request #23641 from wjwithagen/wjw-fix-pthread_get_name_np
...
include/compat.h: make pthread_get_name_np work when available
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-22 00:16:09 +08:00
Patrick Donnelly
c0e1734af7
Merge PR #23658 into master
...
* refs/pull/23658/head:
qa: use cephfs standard configs for kclient
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-21 08:49:54 -07:00
Kefu Chai
e8efb01a64
test: silence -Wsign-compare warnings
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-21 21:41:50 +08:00
Jason Dillaman
52788b2966
Merge pull request #23657 from trociny/wip-wsign-compare
...
test/librbd: fix compiler -Wsign-compare warnings
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-21 09:37:23 -04:00
Kefu Chai
c159d1f302
Merge pull request #23591 from tchaikov/wip-lockless-auth
...
auth,common: add lockless auth
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-21 21:33:35 +08:00
Kefu Chai
0d209b6c21
Merge pull request #23567 from tchaikov/wip-cmake-cleanup
...
cmake: fix Debug build `WITH_SEASTAR=ON`
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-21 21:30:46 +08:00
Kefu Chai
e513e3cf32
Merge pull request #23631 from cyx1231st/test-seastar-config
...
crimson/common: apply config changes also on shard.0
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-21 21:08:37 +08:00
Yingxin
ca8ccb5b43
crimson/test: improve test_config with observers
...
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-08-22 03:04:42 +08:00
Kefu Chai
cfdaae642e
Merge pull request #23582 from badone/wip-remove-upstart
...
Remove upstart files and references
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-21 20:17:39 +08:00
Willem Jan Withagen
b8cc3fdb09
test/rbd: Improve/update rbd-ggate
...
* check if geom_gate can be loaded before doing the actual tests
Otherwise continuing does not make sense.
Major reason for this problem is due to mismatch between
kernel and module versions.
* After FreeBSD kernevel 1200078 ggate resizing is possible
So set the flag that resizing can be tested
* Only sudo commands that really need sudo
rbd-ggate list is available in regular user mode
* be a bit more verbose during testing and list the test purpose
* list-mapped is an option in rbd-nbd, not (yet) in rbd-ggate
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-21 14:16:49 +02:00
Kefu Chai
dda006a007
cmake: should use lowercase for component name in FindSanitizers.cmake
...
and s/undefined-behavior/undefined_behavior/ to be compatible with
seastar
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-21 20:05:49 +08:00
Kefu Chai
b093128616
test/crimson: exercise keepalive also
...
allow one to pass options to unittest_seastar_messenger for specifying
- verbose
- keepalive-ratio
- rounds
so we can have better coverage of crimson/messenger. and make it less
chatty unless it's asked to do so.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-21 16:22:27 +08:00
Kefu Chai
06dab8f1ad
crimson/net: add keepalive support to Connection
...
* do not mix buffered writes and zero-copy writes.
/root/ceph/src/seastar/include/seastar/core/iostream-impl.hh:114:
seastar::future<> seastar::output_stream::write(seastar::net::packet)
[with CharType = char]: Assertion `!_end && "Mixing buffered writes and
zero-copy writes not supported yet"' failed.
Aborting on shard 0.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-21 16:22:27 +08:00
Kefu Chai
06b0db64be
cmake: add unittest_seastar_messenger to "make check"
...
as it's relatively stable at the moment. and as suggested by @cyx1231st
.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-21 16:22:27 +08:00
Kefu Chai
73aee8e28a
crimson/net: use HAVE_FEATURE instead
...
so we can check the marker the bit's incarnation also.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-21 16:22:27 +08:00
Kefu Chai
04b7d3db49
Merge pull request #23654 from cbodley/wip-crypto-assert-always
...
crypto: use ceph_assert_always for assertions
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-21 11:00:50 +08:00
Patrick Donnelly
5f1727c5e4
Merge PR #22668 into master
...
* refs/pull/22668/head:
mds: reorganize and curate perf log counters
mds: show session load average in dump session
mds: allow request load average decay rate configurable via admin socket
mds: decay counter for tracking request load average
mds: add perf counters to track current open/stale sessions
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-20 15:11:45 -07:00
Patrick Donnelly
13214bdf68
Merge PR #23438 into master
...
* refs/pull/23438/head:
client: fix choose_target_mds for requests that do name lookup
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-20 15:11:38 -07:00
Patrick Donnelly
a031796058
Merge PR #23467 into master
...
* refs/pull/23467/head:
cephfs-journal-tool: enable purge_queue journal's event commands
Reviewed-by: Zheng Yan <zyan@redhat.com>
2018-08-20 15:11:31 -07:00
Patrick Donnelly
dbaa32b412
Merge PR #23529 into master
...
* refs/pull/23529/head:
mon: fix idempotent FS creation
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-08-20 15:11:23 -07:00
Patrick Donnelly
84fa8ad720
Merge PR #23543 into master
...
* refs/pull/23543/head:
tools/cephfs: make cephfs-data-scan prints the max used ino
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-20 15:11:17 -07:00
Patrick Donnelly
9076ecf94a
Merge PR #23584 into master
...
* refs/pull/23584/head:
mds: don't modify filepath when printing
mds: hold slave request refernce when dumping MDRequestImpl
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-20 15:11:10 -07:00