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

Truncate of an open file #17

Open
brettkettering opened this issue Aug 21, 2012 · 1 comment
Open

Truncate of an open file #17

brettkettering opened this issue Aug 21, 2012 · 1 comment
Assignees

Comments

@brettkettering
Copy link
Contributor

There's a bit of a concern that in an N-1 open through FUSE with O_TRUNC passed and no barrier after open that some procs will truncate data from other procs. This is app misbehavior so I don't know if we should care about this but if we want to protect them, we can always check with nodes have the file open and not truncate their data.

@brettkettering
Copy link
Contributor Author

Are we going to do this or just expect that the application will only use O_TRUNC for one of the processes that opens a N-1 file?

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

No branches or pull requests

2 participants