summaryrefslogtreecommitdiffstats
path: root/src/os/ObjectStore.h
diff options
context:
space:
mode:
authorIgor Fedotov <ifedotov@suse.com>2024-04-26 18:05:10 +0200
committerIgor Fedotov <ifedotov@suse.com>2024-05-08 17:37:32 +0200
commit9865de86bccdc5cee0ed2c835fcf06656af1823e (patch)
tree04ea4a4de5146ad2d299f454ed248b606abf2094 /src/os/ObjectStore.h
parentMerge pull request #55007 from shminjs/fix-wrong-osd-op-flag-name (diff)
downloadceph-9865de86bccdc5cee0ed2c835fcf06656af1823e.tar.xz
ceph-9865de86bccdc5cee0ed2c835fcf06656af1823e.zip
os/bluestore: enable async manual compactions
Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
Diffstat (limited to 'src/os/ObjectStore.h')
-rw-r--r--src/os/ObjectStore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/ObjectStore.h b/src/os/ObjectStore.h
index 3f953533700..ddf48bfa89a 100644
--- a/src/os/ObjectStore.h
+++ b/src/os/ObjectStore.h
@@ -791,7 +791,7 @@ public:
virtual void inject_data_error(const ghobject_t &oid) {}
virtual void inject_mdata_error(const ghobject_t &oid) {}
- virtual void compact() {}
+ virtual int compact() { return -ENOTSUP; }
virtual bool has_builtin_csum() const {
return false;
}