project-machine / puzzlefs

Apache License 2.0
378 stars 18 forks source link

puzzlefs linux kernel module #78

Open ariel-miculas opened 1 year ago

ariel-miculas commented 1 year ago

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

ariel-miculas commented 1 year ago

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 commented 1 year ago

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

ariel-miculas commented 1 year ago

First RFC patch series: https://lore.kernel.org/rust-for-linux/ZIO%2FOqxmFkTFzyDh@moria.home.lan/T/#t Github branch: https://github.com/Rust-for-Linux/linux/compare/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 commented 11 months ago

v2 of the kernel driver: https://lore.kernel.org/all/20230726164535.230515-1-amiculas@cisco.com/ Github branch: https://github.com/ariel-miculas/linux/tree/puzzlefs_rfc_v2

ariel-miculas commented 10 months ago

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

tych0 commented 10 months ago

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 commented 10 months ago

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 commented 10 months ago

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

ariel-miculas commented 10 months ago

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

tych0 commented 10 months ago

Of course :)

ariel-miculas commented 8 months ago

We now have a dedicated page under Rust for Linux.