It will be in the "real" kernel soon, here is a patch I submitted adding it:
https://lore.kernel.org/lkml/20190828160817.6250-1-gregkh@li...
And yes, this is _much_ better than using a FUSE interface to the filesystem.
And yes, this is _much_ better than using a FUSE interface to the filesystem.
Does a userspace filesystem driver lose a lot of performance to context switching, or is there something unique to filesystems that slows them down in user space?
Yes.
Try the two versions out, and see for yourself if you are curious.
For another, that's probably a desktop, not a smartphone.
The Spectre/Meltdown situation must have made FUSE much, much worse than it was already. I wonder if anyone did any benchmarks for that