-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FixOSX Build fallocate #1827
FixOSX Build fallocate #1827
Conversation
util/io_posix.h
Outdated
@@ -114,9 +114,11 @@ class PosixWritableFile : public WritableFile { | |||
#ifdef ROCKSDB_FALLOCATE_PRESENT | |||
virtual Status Allocate(uint64_t offset, uint64_t len) override; | |||
#endif | |||
#ifdef OS_LINUX | |||
virtual Status RangeSync(uint64_t offset, uint64_t nbytes) override; | |||
virtual size_t GetUniqueId(char* id, size_t max_size) const override; | |||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you need the }; even if non-Linux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! updated.
@siying updated the pull request - view changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah compilation works now for me, ship it! :)
Since the build is broken and it takes too long for this diff's turn of Travis. I'm committing it. |
@siying has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
3 similar comments
@siying has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@siying has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@siying has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
@siying updated the pull request - view changes - changes since last import |
@siying has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
Replaced by #1830 |
The recent update about fallocate failed OSX build. Fix it.