]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Evict clients based on auth-IDs and subvolume mounted
authorKotresh HR <khiremat@redhat.com>
Fri, 15 Jan 2021 20:07:14 +0000 (01:37 +0530)
committerKotresh HR <khiremat@redhat.com>
Fri, 5 Mar 2021 06:50:32 +0000 (12:20 +0530)
commita724c7803bd74bbd58bad7876585a9c4b5d59baa
tree1bad982412ef46e2bd08c6269c953866eeca10de
parent410e2fbb075d3636110967c0c88e7250d2c15e1d
mgr/volumes: Evict clients based on auth-IDs and subvolume mounted

Add subvolume evict command which evicts the subvolume mounts
which are mounted using particular auth-ID.

Fixes: https://tracker.ceph.com/issues/44928
Signed-off-by: Kotresh HR <khiremat@redhat.com>
(cherry picked from commit 269adcc8b8ab0742ba741ed7c2b59ccfb17a63f9)

Conflicts:
    qa/tasks/cephfs/test_volumes.py: Few of the tests are re-organized,
           hence the conflicts. Resolved the same.
doc/cephfs/fs-volumes.rst
qa/tasks/cephfs/test_volumes.py
src/pybind/mgr/volumes/fs/exception.py
src/pybind/mgr/volumes/fs/operations/rankevicter.py [new file with mode: 0644]
src/pybind/mgr/volumes/fs/operations/template.py
src/pybind/mgr/volumes/fs/operations/versions/subvolume_v1.py
src/pybind/mgr/volumes/fs/operations/volume.py
src/pybind/mgr/volumes/fs/volume.py
src/pybind/mgr/volumes/module.py