summaryrefslogtreecommitdiffstats
path: root/src/os/ObjectStore.h
diff options
context:
space:
mode:
authorIgor Fedotov <ifedotov@suse.com>2019-09-05 16:43:40 +0200
committerIgor Fedotov <ifedotov@suse.com>2019-09-11 17:15:28 +0200
commitca2c4e5d6956a32a7ce83f28a01c825dde1ee117 (patch)
tree31d4e7d54661305a56063a0f46a6689961cef5fd /src/os/ObjectStore.h
parentos/bluestore: do not collect onodes when doing fsck. (diff)
downloadceph-ca2c4e5d6956a32a7ce83f28a01c825dde1ee117.tar.xz
ceph-ca2c4e5d6956a32a7ce83f28a01c825dde1ee117.zip
os/bluestore: introduce shallow (quick-fix) mode for bluestore fsck/repair.
Signed-off-by: Igor Fedotov <ifedotov@suse.com>
Diffstat (limited to 'src/os/ObjectStore.h')
-rw-r--r--src/os/ObjectStore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h
index fdb8b2dc428..b60993daab0 100644
--- a/src/os/ObjectStore.h
+++ b/src/os/ObjectStore.h
@@ -259,6 +259,9 @@ public:
virtual int repair(bool deep) {
return -EOPNOTSUPP;
}
+ virtual int quick_fix() {
+ return -EOPNOTSUPP;
+ }
virtual void set_cache_shards(unsigned num) { }