diff --git a/fs/io_zenfs.h b/fs/io_zenfs.h index 022a4aea..5ebd7d61 100644 --- a/fs/io_zenfs.h +++ b/fs/io_zenfs.h @@ -226,6 +226,11 @@ class ZonedWritableFile : public FSWritableFile { virtual IOStatus Fsync(const IOOptions& options, IODebugContext* dbg) override; + uint64_t GetFileSize(const IOOptions& options, IODebugContext* dbg) { + (void)options; + (void)dbg; + return zoneFile_->GetFileSize(); + } bool use_direct_io() const override { return !buffered; } bool IsSyncThreadSafe() const override { return true; }; size_t GetRequiredBufferAlignment() const override {