Skip to content
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

Add support for macOS fcntl(F_NOCACHE, 1) #8

Open
laurynas-biveinis opened this issue Aug 22, 2017 · 4 comments
Open

Add support for macOS fcntl(F_NOCACHE, 1) #8

laurynas-biveinis opened this issue Aug 22, 2017 · 4 comments

Comments

@laurynas-biveinis
Copy link
Contributor

A macOS counterpart of O_DIRECT. This should be helpful for e.g. TokuDB and RocksDB testsuites.

@stewartsmith
Copy link
Owner

Implemented in 1e5ae05

@laurynas-biveinis
Copy link
Contributor Author

It's something separate from F_FULLSYNC patch and thus it's not implemented there - please reopen?

@stewartsmith stewartsmith reopened this Sep 23, 2017
@stewartsmith
Copy link
Owner

Helps if I read the issue I close. Whoops :-)

@stewartsmith
Copy link
Owner

So, I finally have a Mac to actually go and poke at these kind of things on (okay, I could have gone and spawned an EC2 instance... but laziness prevailed!).

One of the challenges with masking out O_DIRECT is that there are semantic changes that you lose without a whole bunch of extra checks.

Is there anything that F_NOCACHE would do? I can't see anything in the man page...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants