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

puzzlefs linux kernel module #78

Open
ariel-miculas opened this issue Mar 14, 2023 · 12 comments
Open

puzzlefs linux kernel module #78

ariel-miculas opened this issue Mar 14, 2023 · 12 comments
Assignees

Comments

@ariel-miculas
Copy link
Collaborator

This issue will track the necessary changes required to get puzzlefs into the linux kernel.

@ariel-miculas
Copy link
Collaborator Author

The following dependencies are required for implementing a puzzlefs kernel module:

Licensing discussion:
https://rust-for-linux.zulipchat.com/#narrow/stream/291565-Help/topic/Missing.20parts.20of.20alloc
https://docs.kernel.org/process/license-rules.html

@ariel-miculas ariel-miculas self-assigned this May 29, 2023
@ariel-miculas
Copy link
Collaborator Author

List of missing rust features in the kernel, needed by puzzlefs:

  • a TryClone trait, use case: try_clone() a Vec
  • a TryFromIterator together with a try_collect method, used extensively in puzzlefs and other crates such as hex.

@ariel-miculas
Copy link
Collaborator Author

First RFC patch series: https://lore.kernel.org/rust-for-linux/ZIO%[email protected]/T/#t
Github branch: Rust-for-Linux/linux@rust-next...ariel-miculas:puzzlefs_rfc_v1
Article in phoronix: https://www.phoronix.com/news/Experimental-Rust-PuzzleFS
Next steps towards upstreaming will be discussed with the Rust for Linux people on June 21st: https://rust-for-linux.zulipchat.com/#narrow/stream/384413-Filesystems/topic/Filesystem.20abstractions

@ariel-miculas
Copy link
Collaborator Author

@ariel-miculas
Copy link
Collaborator Author

There's a new version of the puzzlefs driver based on Wedson's read-only filesystem abstractions branch. @tych0 FYI.

@tych0
Copy link
Contributor

tych0 commented Sep 5, 2023

Nice, thanks for the update. Is your plan to archive this repo at some point?

I'm still finagling some time to work on PuzzleFS at work. I'm hopeful that after the first of the year I'll be able to lend some hours to the effort!

@ariel-miculas
Copy link
Collaborator Author

No, there's no plan to archive this repo. You still need userspace tools to build puzzlefs images, what would be the reason to archive it?

@tych0
Copy link
Contributor

tych0 commented Sep 5, 2023

Fair enough, I didn't know if those were going to live in tools/ or something as well. Thanks!

@ariel-miculas
Copy link
Collaborator Author

First we need to convince people it is upstream-worthy.

@tych0
Copy link
Contributor

tych0 commented Sep 5, 2023

Of course :)

@ariel-miculas
Copy link
Collaborator Author

We now have a dedicated page under Rust for Linux.

@ariel-miculas
Copy link
Collaborator Author

The latest PuzzleFS patch series is here. There have been discussions about PuzzleFS in this email thread and #114.

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