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

Review and correct error handling in POSIX and XCache, implement XCache::Unlink() #997

Merged
merged 1 commit into from
May 29, 2019

Conversation

osschar
Copy link
Contributor

@osschar osschar commented May 29, 2019

  • [XCache] Implement Cache::Unlink(); use it for handling of FSync errors, too.

    • Unlink removes specified data file and corresponding cinfo file.
    • If a file is currently open, it is put into shutdown mode.
      All new Read requests on File fail immediately with ENOENT error code.
  • [POSIX] Correct inconsitent errno handling.

  • [XCache] Review error handling and bring error codes in sync with POSIX changes.

…he::Unlink().

* [XCache] Implement Cache::Unlink(); use it for handling of FSync errors, too.
  - Unlink removes specified data file and corresponding cinfo file.
  - If a file is currently open, it is put into shutdown mode.
    All new Read requests on File fail immediately with ENOENT error code.

* [POSIX] Correct inconsitent errno handling.

* [XCache] Review error handling and bring error codes in sync with POSIX changes.
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

Successfully merging this pull request may close these issues.

None yet

1 participant