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

UCS/VFS: Connect to daemon and expose dummy filesystem #6084

Merged

Conversation

yosefe
Copy link
Contributor

@yosefe yosefe commented Dec 31, 2020

Why

Infrastructure for exposing UCX internal status over FUSE

How

  • UCS starts a FUSE thread which connects to a mount daemon and serves filesystem operations
  • If the daemon does not exits, the thread will wait for it to appear, using inotify service
        +-----------------------+
        | filesystem operations |
        | (cat, ls, etc.)       |
        +-----------------------+
                     |
        +------------v-----------+
        |   kernel FUSE driver   |
        +------------------------+
                     ^
                     |
                +----v----+             +---------+
                |         |             |         |
                |  UCS    |             | ucx_vfs |
                |  fuse   +<----------->+ mount   |
                |  thread |             | daemon  |
                |         |             |         |
                +---------+             +---------+

return 0;
}

if (offset + size <= length) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrap by (...)

@yosefe yosefe merged commit 1da555b into openucx:master Jan 3, 2021
@yosefe yosefe deleted the topic/ucs-vfs-connect-to-daemon-and-expose branch January 3, 2021 11:13
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.

2 participants