Re: [PATCH] 9p: treat read return values of 0 as EOF
From: Dominique Martinet
Date: Thu Oct 29 2026 - 02:05:37 EST
Barret Rhoden wrote on Fri, Oct 23, 2026 at 08:19:33AM -0400:
> On 9/13/26 11:49 AM, Dominique Martinet wrote:
> > Sorry for dropping the ball here, I haven't had any time to do 9p stuff
> > at all recently and the wave of LLM generated patches hasn't helped...
>
> no problem.
>
> as far as resolving the underlying netfs stuff goes, i don't know how much
> of the logic about "are we at EOF" should be in netfs or in the servers
> (9p).
Right, I don't either which is why I was hoping for David to follow up
:-D
> would you be OK with merging my original patch so that at least 9p works?
Well, it's certainly better than returning ENODATA to userspace, so
let's go forward with that.
It still leaves much to be desired (cache enabled, symlinks...), but
that can come later if someone has energy to fight this windmill
Thank you for your time,
--
Dominique Martinet | Asmadeus