Re: [9fans] kfs bug

2010-09-09 Thread erik quanstrom
On Thu Sep 9 09:54:56 EDT 2010, fors...@terzarima.net wrote: > >Would I be right in thinking that 9p originally had 16 bit fids? If > >so, it suggests that no-one has used kfs in anger for a while. > > how are you using the kfs? just locally? > a plan 9 client normally re-used fids, so i'd have t

Re: [9fans] kfs bug

2010-09-09 Thread rod
>a plan 9 client normally re-used fids, Ah right, thank you - I see that now. I have just tried native plan9 and, of course, it works fine. I was running 9vx earlier and it seems as if the fid increments each time. Rod

Re: [9fans] kfs bug

2010-09-09 Thread Charles Forsyth
>Would I be right in thinking that 9p originally had 16 bit fids? If >so, it suggests that no-one has used kfs in anger for a while. how are you using the kfs? just locally? a plan 9 client normally re-used fids, so i'd have thought you'd need to have >32767 active files, which most people probab

[9fans] kfs bug

2010-09-09 Thread rod
kfs works fine for a bit and then fails with an "out of files" error. It happens when the fid in a 9p message gets to a value greater than 32767. I think the "fid" field in struct File should be a 32-bit type rather than a short int. Would I be right in thinking that 9p originally had 16 bit f