]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mds: remove cache drop asok command 29210/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 23 Jan 2019 02:26:38 +0000 (18:26 -0800)
committerNathan Cutler <ncutler@suse.com>
Tue, 23 Jul 2019 11:57:27 +0000 (13:57 +0200)
commit4de1a3f474e1c0d9fb66863ea58926861e0a4034
tree6eae337d8b28ee45d43c06fff38097c54fca1b0c
parentc1cd465c4f7a185c193fc8999a74b9ff428ac254
mds: remove cache drop asok command

`cache drop` is a long running command that will block the asok interface
(while the tell version does not). Attempting to abort the command with ^C or
equivalents will simply cause the `ceph` command to exit but won't stop the
asok command handler from waiting for the cache drop operation to complete.

Instead, just allow the tell version.

Fixes: http://tracker.ceph.com/issues/38020
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 7fa1e3c37f8c7fb709ae9e070a3154a7084c0584)

Conflicts:
PendingReleaseNotes
qa/tasks/cephfs/test_misc.py
src/mds/MDSDaemon.cc
PendingReleaseNotes
qa/tasks/cephfs/test_misc.py
src/mds/MDSDaemon.cc
src/mds/MDSRank.cc