From: John Spray Date: Wed, 13 May 2015 12:39:22 +0000 (+0100) Subject: tasks/cephfs: add Filesystem.data_scan wrapper X-Git-Tag: v10.2.6~165^2^2~439^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=0f34d0785c8f94174d5cf0db3ee0b5277454b228;p=ceph.git tasks/cephfs: add Filesystem.data_scan wrapper Signed-off-by: John Spray --- diff --git a/tasks/cephfs/filesystem.py b/tasks/cephfs/filesystem.py index bf3a739e8ad6..667c07120b60 100644 --- a/tasks/cephfs/filesystem.py +++ b/tasks/cephfs/filesystem.py @@ -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)