Coda on FreeBSD problem reports?

Jan Harkes jaharkes at cs.cmu.edu
Mon Jan 21 13:04:06 PST 2008


On Mon, Jan 21, 2008 at 08:40:30PM +0000, Robert Watson wrote:
> On Mon, 21 Jan 2008, Greg Troxel wrote:
>
>> Coda support in NetBSD (-current and netbsd-4 branch) is mostly ok, so 
>> you may want to glance at that for reference while working on the 
>> FreeBSD support.
>
> I was looking at the NetBSD Coda parts over the weekend, but it seemed 
> that most of the bugs in the FreeBSD code were due to gradual rot as VFS 
> evolved and our Coda module source didn't remain code up.
>
> I notice that NetBSD still supports CODA_COMPAT_5 as well -- is there any 
> reason to keep on doing this, really?  I understand originally it was 
> because Coda 5 remained under the BSD license and Coda 6 was under GPL, 
> but it's been a while since anyone did anything with Coda 5.

Actually it was Coda 4 that remained under the BSD license. The
difference between Coda 5 and 6 was the introduction of realms.

So instead of going to /coda/usr/jaharkes, I now have to access
/coda/coda.cs.cmu.edu/usr/jaharkes. The important kernel difference is
that we went from 96-bit file identifiers to 128-bit by adding a 32-bit
realm-id.

Aside from the inconvenience of having longer pathnames the initial
versions with the dynamic root were not neccesarily as stable. I think
it took at least 5 or 6 iterations before we got to a point that was
somewhat comparable in stability.

Same thing with coda-6.9.x clients, which use only write-disconnected
operation and although that code has been around for a long time, we
were never forced to really to rely on it 100%, so all those little
nagging problems that have been around for a long time but were hard to
reproduce or pin down are now pretty much unavoidable.

Jan



More information about the freebsd-fs mailing list