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
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
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
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
Patrick Donnelly
3c8a66f186
Merge PR #23589 into master
...
* refs/pull/23589/head:
mds: more description for failed authpin
mds: cleanup CDir freezing/frozen tree check
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-20 15:11:01 -07:00
Patrick Donnelly
e77a2f5da7
mds: use monotonic clock in beacon
...
Also update other parts of MDS which interact.
Fixes: http://tracker.ceph.com/issues/26959
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-20 14:39:56 -07:00
Patrick Donnelly
862b84c1e8
qa: use cephfs standard configs for kclient
...
Specifically, qa/cephfs/begin.yaml.
Fixes: http://tracker.ceph.com/issues/26967
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-20 13:58:50 -07:00
Mykola Golub
71b5d7a771
test/librbd: fix compiler -Wsign-compare warnings
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-20 22:15:03 +03:00
Lenz Grimmer
001fcbefba
Merge pull request #23315 from Devp00l/wip-clean-notification-messages
...
mgr/dashboard: Cleaner notifications
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-08-20 20:05:35 +02:00
Noah Watkins
46e551108c
Merge pull request #23637 from noahdesu/qa-mgr-mod-path
...
qa: fix manager module paths
2018-08-20 10:41:29 -07:00
Casey Bodley
82c26d6c44
crypto: use ceph_assert_always for assertions
...
use ceph_assert_always() to enforce this comment in ceph_crypto.h:
This assert MUST NOT be compiled out, even on non-debug builds.
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-08-20 11:05:51 -04:00
Jason Dillaman
33bc68caf4
Merge pull request #23639 from trociny/wip-24910
...
librbd: potential race on image create request complete
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-20 09:11:17 -04:00
Jason Dillaman
9b240c040d
Merge pull request #23110 from Songweibin/wip-rbd-snap-rollback
...
librbd: use object map when doing snap rollback
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-08-20 08:56:54 -04:00
Mykola Golub
985535bae7
librbd: journaling unable request can not be sent to remote lock owner
...
Fixes: http://tracker.ceph.com/issues/26939
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-20 15:39:30 +03:00
Erwan Velu
bef6670ac4
Merge pull request #23609 from ErwanAliasr1/evelu-ccache
...
run-make-check: Showing configuration before the build
2018-08-20 11:55:45 +02:00
Yingxin
976e7e554e
crimson/common: apply config changes also on shard.0
...
Signed-off-by: Yingxin <yingxin.cheng@intel.com>
2018-08-20 16:17:45 +08:00
Brad Hubbard
2c755cef69
Remove upstart files and references
...
Nautilus is not supported on any distros still running upstart so these
are redundant.
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2018-08-20 12:59:34 +10:00
Kefu Chai
95be1a5994
Merge pull request #23601 from tchaikov/wip-pybind-freebsd-clang
...
pybind: do not check MFLAGS
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-19 23:59:28 +08:00