Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2007 14:01:56 -0400
From:      Jan Harkes <jaharkes@cs.cmu.edu>
To:        freebsd-fs@freebsd.org
Subject:   [PATCH Coda 0/5]
Message-ID:  <1184090521301-git-send-email-jaharkes@cs.cmu.edu>
In-Reply-To: <2c84c1de0707060800t21f3f993mfb53f7975a881ed4@mail.gmail.com>
References:  <2c84c1de0707060800t21f3f993mfb53f7975a881ed4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1184090521301-git-send-email-jaharkes>