Open ariel-miculas opened 1 year ago
I am happy to contribute to this issue.
The latest development is this patch series by Wedson Almeida which introduces abstractions for read-only filesystems.
FYI Wedson recently sent another patch series for the filesystem abstractions: https://lore.kernel.org/rust-for-linux/20240514131711.379322-1-wedsonaf@gmail.com/
I've opened this issue to track the missing pieces for the initial rust filesystem abstractions. I have backported @wedsonaf's branch fs on top of rust-next to get a sense about the missing modules, see rust-next-fs. Here's a list of the missing parts:
The dependencies between the modules are:
One strategy would be to start bottom-up, starting with
io_buffer
,page
,iov_iter
,cred
anduser_ptr
and then continue with the rest. Remains to be seen how much of the code can be backported as it is and how much it needs to be changed.