Re: [9fans] A few questions about 9p

2022-11-04 Thread ibrahim via 9fans
Thank you for your clarifications Ori. From the perspective of kernel filesystems what you wrote made things clear. But one question remains regarding tflush and user fileservers : On Saturday, 5 November 2022, at 5:31 AM, ori wrote: > This situation is impossible -- you can always respond to a

Re: [9fans] A few questions about 9p

2022-11-04 Thread ori
Quoth ibrahim via 9fans <9fans@9fans.net>: > On Saturday, 5 November 2022, at 12:41 AM, ron minnich wrote: > > I'd argue that this may be the most real-world-tested Tflush handler you'll > > see. I have seen Tflush handlers that just return, having done nothing, and > > it's possible that in many

Re: [9fans] A few questions about 9p

2022-11-04 Thread ibrahim via 9fans
On Saturday, 5 November 2022, at 12:41 AM, ron minnich wrote: > I'd argue that this may be the most real-world-tested Tflush handler you'll > see. I have seen Tflush handlers that just return, having done nothing, and > it's possible that in many cases, that's good enough. But Chris's code is >

Re: [9fans] A few questions about 9p

2022-11-04 Thread ibrahim via 9fans
Thanks for your reply Ron. At least now I know that Tflush and Tversion in the middle of a running session can really be beasts and this wasn't only my imagination. I'm writing three filesystems for my applications needs. For the first the whole tflush, tversion (which is far more dangerous t

Re: [9fans] A few questions about 9p

2022-11-04 Thread ron minnich
Tflush is harder than it looks, given that it is part of a giant race condition. Will you get the R for the message you are flushing right after you send Tflush? What happens at the server? It's fun. Perhaps one of the biggest uses of 9p, globally, was google's gvisor, which runs an unimaginably l