mirror of
https://github.com/ceph/ceph
synced 2025-02-24 19:47:44 +00:00
tasks/cephfs: add Filesystem.data_scan wrapper
Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
parent
b5b668edb2
commit
0f34d0785c
@ -683,3 +683,9 @@ class Filesystem(object):
|
||||
Invoke cephfs-table-tool with the passed arguments, and return its stdout
|
||||
"""
|
||||
return self._run_tool("cephfs-table-tool", args, None, quiet)
|
||||
|
||||
def data_scan(self, args, quiet=False):
|
||||
"""
|
||||
Invoke cephfs-data-scan with the passed arguments, and return its stdout
|
||||
"""
|
||||
return self._run_tool("cephfs-data-scan", args, None, quiet)
|
||||
|
Loading…
Reference in New Issue
Block a user