From: Sage Weil Date: Tue, 22 Dec 2015 22:30:48 +0000 (-0500) Subject: os/ObjectStore: add fsck to interface X-Git-Tag: v10.0.3~154^2~53 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=da9266d0efc729c712db7b31460aa5b122f86ee9;p=ceph.git os/ObjectStore: add fsck to interface Only bluestore and kstore implement this currently. Signed-off-by: Sage Weil --- diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h index 8af918de1bb9..ba9dd76e97ae 100644 --- a/src/os/ObjectStore.h +++ b/src/os/ObjectStore.h @@ -1818,6 +1818,9 @@ public: virtual bool test_mount_in_use() = 0; virtual int mount() = 0; virtual int umount() = 0; + virtual int fsck() { + return -EOPNOTSUPP; + } virtual unsigned get_max_object_name_length() = 0; virtual unsigned get_max_attr_name_length() = 0; virtual int mkfs() = 0; // wipe