[PATCH Coda 0/5]

Jan Harkes jaharkes at cs.cmu.edu
Tue Jul 10 18:43:10 UTC 2007


Here is my current patch series.

The first three were originally developed to fix several issues in a
fbsd-current checkout of Nov 7th 2006.

The last two patches were added when I updated and retested against a checkout
of -current, May 8th, 2007.

Yesterday I updated my test system with cvsup and rebased the patches (only
one minor conflict). I am still in the middle of make buildworld and that will
probably take a while, but the change was pretty trivial so I expect it will
work as well as when I tested on May 8th. And on the bright side, it can't do
much worse compared to right now, which is to crash or panic the kernel as
soon as either /dev/cfs0 is opened or the Coda filesystem is mounted.

Short summary,

[1/5] Avoid crash when opening Coda's control device.

[2/5] mount coda failed because we failed to match on the device
      operations.

[3/5] When opening a file in /coda ask userspace to pass an opened file
      descriptor instead of device/inode number pair.

[4/5] insmntque panics the kernel when passed a NULL mount, so we should
      not pass that.

[5/5] ioctls on a character device fails before it gets passed on to the
      file system. Change the type of the control object to a regular file.

The diffs are taken from a repository that only tracks /usr/src/sys/coda,
they should apply cleanly with the following command,

    patch -d /usr/src/sys/coda -p1 < patchN

Jan



More information about the freebsd-fs mailing list