News for hackers. Stuff that matters.
Re:FUSE-T is a kext-less implementation of FUSE for macOS th... by pzmarzly on Wednesday December 27, 2023 @02:11AM (#38779790)
Filesystem cache may make latency unpredictable, but it won't make open() unexpectedly fail with ECONNREFUSED. Most programs barely handle ENOENT, let alone EINTR.

Also, how do you do async fstat and mkdir in Linux? I don't see it in manpages.

AFAIK Plan9 answers to that was to not implement POSIX interfaces, and instead all I/O looked like RPC calls. This is generally a good design idea, but it's hard to sell an OS where all existing software will have to be rewritten for.

Re:FUSE-T is a kext-less implementation of FUSE for macOS th... by GoblinSlayer on Wednesday December 27, 2023 @04:07AM (#38780310)
Conceptually it's possible: async fstat sets pending read, then epoll could return read flag when it completes, after that fstat completes without delay.
Re:FUSE-T is a kext-less implementation of FUSE for macOS th... by the8472 on Wednesday December 27, 2023 @04:16PM (#38786838)
> Also, how do you do async fstat and mkdir in Linux? I don't see it in manpages.

io_uring. and a virtual filesystem may have to serve multiple concurrent requests from several threads. so even if individual IO calls are blocking in the aggregate they still have to be interleaved.