fuser icon indicating copy to clipboard operation
fuser copied to clipboard

New API using async

Open cberner opened this issue 3 years ago • 5 comments

It would be nice to have an easier to use Filesystem API that also uses Rust's async feature

cberner avatar Jun 22 '21 05:06 cberner

Tokio-uring 0.1.0 was just announced and, where available, is likely to show significant performance improvements for specifically filesystem I/O that would be common with FUSE. It may be worth consideration for this issue. The main catch is it requires a newer Linux kernel; otherwise, a different library with a different interface (e.g. normal Tokio) is needed.

paradigm avatar Jul 20 '21 11:07 paradigm

I'm working with an API that is generated from protobuf using tonic. The generated APIs are async functions. I would be great if I can call into the APIs from fuser's Filesystem API without translating the async calls to sync calls. Is there any plan on solving this issue any time soon?

@paradigm any pointers on how to integrate with the new Tokio-uring? is that something coming out of the box that can be enable from tokio at high level with some configurations, or is that some low level API needs to be written before hand, something like reading /dev/fuse using io_uring?

leakingtapan avatar Jan 05 '22 02:01 leakingtapan

@paradigm any pointers on how to integrate with the new Tokio-uring?

I haven't actually programmed anything in it, just read about it at a high level; I don't have enough experience with it to provide much guidance.

paradigm avatar Jan 07 '22 12:01 paradigm

There is https://github.com/3442/blown-fuse , but it's linux only.

messense avatar Jan 13 '22 04:01 messense

Check out https://github.com/Sherlock-Holo/fuse3 . Seems linux only too.

Mivik avatar Sep 25 '23 15:09 Mivik