]> git.apps.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 Feb 2021 18:26:08 +0000 (23:56 +0530)
commit8fa12844fb3499e26c65a8b976064a6954aa7f97
tree9de84b5d5f0692dc437d66653434c8117db64494
parentd07750352582dcf9ec8e04d917794d6f5ce6faa8
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