From 0f34d0785c8f94174d5cf0db3ee0b5277454b228 Mon Sep 17 00:00:00 2001 From: John Spray Date: Wed, 13 May 2015 13:39:22 +0100 Subject: [PATCH] tasks/cephfs: add Filesystem.data_scan wrapper Signed-off-by: John Spray --- tasks/cephfs/filesystem.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/cephfs/filesystem.py b/tasks/cephfs/filesystem.py index bf3a739e8ad63..667c07120b60e 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) -- 2.39.5