Venky Shankar
c0b1dacc9f
test: validate client eviction for cap revoke non-responders
...
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2018-08-21 01:58:55 -04:00
Venky Shankar
8f2de92712
mds: add counter for tracking cap non-responding clients
...
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2018-08-21 01:58:55 -04:00
Venky Shankar
4cf7815cdc
mds: evict clients that do not respond to cap revoke by MDS
...
By default, preserve old behaviour. When configured with a non
default value, evict clients that have not responded to cap
revoke by MDS for the configured amount of seconds.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2018-08-21 01:58:55 -04:00
Venky Shankar
005cf6c76f
mds: pass timeout argument for fetching late clients
...
This would be required when fetching clients that have not
responded to cap revoke by MDS for a configured timeout
value.
Additionally, make member functions private which are called
from the Locker class itself.
Signed-off-by: Venky Shankar <vshankar@redhat.com>
2018-08-21 01:58:55 -04: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
Konstantin Sakhinov
6af10cae66
rpm: change ceph-mgr package depency from py-bcrypt to python2-bcrypt
...
Signed-off-by: Konstantin Sakhinov <sakhinov@gmail.com>
2018-08-20 16:08:33 +03: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
Kefu Chai
ed6bcfed61
Merge pull request #23593 from jtlayton/wip-jlayton-26948
...
librados: add a rados_omap_iter_size function
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-19 23:10:51 +08:00
Kefu Chai
bf357a68e8
Merge pull request #23588 from gmayyyha/ceph-df-json
...
mon/PGMap: command 'ceph df -f json' output add total_percent_used
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-19 23:10:01 +08:00
Kefu Chai
09714acc55
Merge pull request #23563 from yaozongyou/mon-ping-timeout
...
mon/MonClient: use mon_client_ping_timeout during ping_monitor
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-19 23:08:54 +08:00
Kefu Chai
26c0df5700
Merge pull request #10305 from majianpeng/memdb-perfcounter
...
kv/MemDB: add perfcounter.
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-19 23:08:24 +08:00
Kefu Chai
1d1833ece0
Merge pull request #23628 from tchaikov/wip-cmake-gtest-cleanup
...
cmake: link against gtest in a better way
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-19 22:58:47 +08:00
Willem Jan Withagen
39d831f95d
core: make pthread_get_name_np work when available
...
FreeBSD will have a pthread_get_name_np() in libpthread
Code for that was submitted
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
2018-08-19 12:07:56 +02:00
Kefu Chai
afa49931ae
cpp-btree: do not #define NDEBUG
...
use no_debug instead, the NDEBUG macro pollutes all source files
including this header.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-19 16:42:40 +08:00
Kefu Chai
487ecd7141
test/librados: do not use assert() for its side effect
...
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-08-19 16:42:40 +08:00
Mykola Golub
d9e5cfaf4a
librbd: potential race on image create request complete
...
Fixes: http://tracker.ceph.com/issues/24910
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-08-18 19:24:55 +03:00
Sage Weil
00223d2364
qa/tasks/mgr/test_module_selftest: use hello instead of status for disbled command test
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-18 09:29:00 -05:00
Sage Weil
a78d600e6b
doc: move mgr/balancer to rados/operations/balancer
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-18 09:25:50 -05:00
Sage Weil
41173eb13a
mgr: keep status, balancer always on
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-18 09:25:45 -05:00
Sage Weil
4573c7453a
Merge PR #23616 into master
...
* refs/pull/23616/head:
doc/releases/schedule: note Jewel EOL date
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-18 09:11:48 -05:00
Sage Weil
5867a480a1
Merge PR #23618 into master
...
* refs/pull/23618/head:
doc: updated infernalis release reference link
doc: added ref label for infernalis release notes
doc: used reST label for ceph-deploy reference
doc: added reference label for ceph-deploy page
doc: updated cross referencing locations link
Reviewed-by: Sage Weil <sage@redhat.com>
2018-08-18 09:10:32 -05:00
David Zafman
d0b260c272
test: Fix test to use -gt instead of creating an empty file "0"
...
Signed-off-by: David Zafman <dzafman@redhat.com>
2018-08-17 19:33:44 -07:00
Patrick Donnelly
39a9e1bef2
Merge PR #23636 into master
...
* refs/pull/23636/head:
messages: fix get_opname return type
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-08-17 18:43:58 -07:00
Kefu Chai
17fe9496b3
Merge pull request #23620 from tchaikov/wip-dpdk-cmake
...
cmake: add dpdk::dpdk if dpdk is built or found
Reviewed-by: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-08-18 09:42:25 +08:00
songweibin
91c67b2a8d
rbd: fix error processing images which have non-user snapshots
...
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-08-18 09:05:03 +08:00
songweibin
2c79a49390
rbd: fix error purging non-user snapshots
...
Fixes:
[root@ ~]# rbd snap rm img1@snap1
[root@ ~]# rbd snap ls img1 -a
SNAPID NAME SIZE TIMESTAMP NAMESPACE
4 f2e82bd1-e2ff-4a6b-aaef-5a12a2b23a30 100 MiB Sat Aug 18 08:48:34 2018 trash (snap1)
[root@ ~]# rbd snap purge img1
Removing all snapshots: 0% complete...failed.
rbd: removing snaps failed: (2) No such file or directory
Signed-off-by: songweibin <song.weibin@zte.com.cn>
2018-08-18 08:55:49 +08:00
Noah Watkins
61e2648c19
qa/ceph_objectstore_tool.py: set mgr module path
...
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-08-17 15:24:10 -07:00
Noah Watkins
7d3fa9bda3
qa/standalone/ceph-helpers.sh: fix mgr module path
...
callers of get_python_path were not passing in a $1 parameter, so
ceph_lib was an empty string resulting in an invalid path to the built
cython modules. assume this is called from the `lib` parent directory.
pass path to the manager modules when starting ceph-mgr.
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-08-17 15:21:57 -07:00
Patrick Donnelly
a69d4ec500
messages: fix get_opname return type
...
It cannot be a constexpr.
Introduce-by: 00b867fae2
/ #23623
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-17 14:15:18 -07:00
Casey Bodley
e2ecb0ee1c
Merge pull request #23574 from cbodley/wip-26895
...
rgw multisite: bucket sync transitions back to StateInit on OP_SYNCSTOP
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-08-17 16:52:18 -04:00
Patrick Donnelly
21c56b7402
Merge PR #23575 into master
...
* refs/pull/23575/head:
tools/cephfs-shell:pep8 code clean
tools/cephfs-shell:resolved removing files using pattern inside sub-directories
tools/cephfs-shell:changed output representation for the commands cwd and ls
tools/cephfs-shell:resolved removing directories using pattern inside sub-directories
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-08-17 12:04:42 -07:00