Skip to content

Initial implementation of fuse staging directory for Workspace Virt.#1734

Draft
Abrar Quazi (AbrarQuazi) wants to merge 1 commit into
masterfrom
implement-fuse-staging-for-virtualization
Draft

Initial implementation of fuse staging directory for Workspace Virt.#1734
Abrar Quazi (AbrarQuazi) wants to merge 1 commit into
masterfrom
implement-fuse-staging-for-virtualization

Conversation

@AbrarQuazi
Copy link
Copy Markdown
Contributor

@AbrarQuazi Abrar Quazi (AbrarQuazi) commented Jan 27, 2026

Initial implementation for the staging directory in fuse daemon to get workspace virtualization working

  • Implemented StagedFile struct with appropriate metadata for a representation, as well as relevaant mappings to a StagedFile
  • Hooked up wakefuse file I/O operations to handle staged_files and inserts into the staged file directory
  • Have Fuse output appropriate JSON:
  • "ibytes": <integer>,
    "obytes": <integer>,
    "inputs": [
      "<path1>",
      "<path2>",
      ...
    ],
    "outputs": [
      "<path1>",
      "<path2>",
      ...
    ],
    "staging_files": {
      "<dest_path>": {
        "staging_path": "<path_in_staging_dir>",
        "mode": <integer>,
        "mtime_sec": <integer>,
        "mtime_nsec": <integer>
      },
      ...
    }
    

}```

  • Have fuse client parse out the staging_files json, and reflink files to build/ directory

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant