NetBSD/sys/coda
dholland 05d075b3ae Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can
find.

The filesystem ones all call genfs_eopnotsupp - right now I am only
implementing the plumbing and we can implement fallocate and/or
fdiscard for files later.

The device ones call spec_fallocate (which is also genfs_eopnotsupp)
and spec_fdiscard, which dispatches to the device-level op.

The fifo ones all call vn_fifo_bypass, which also ends up being
EOPNOTSUPP.
2014-07-25 08:20:51 +00:00
..
README mention current status 2012-08-04 12:47:00 +00:00
TODO
cnode.h
coda.h
coda_io.h
coda_namecache.c
coda_namecache.h
coda_opstats.h
coda_pioctl.h
coda_psdev.c Add d_discard to all struct cdevsw instances I could find. 2014-07-25 08:10:31 +00:00
coda_subr.c
coda_subr.h
coda_venus.c remove unused code from macro 2013-10-17 20:56:02 +00:00
coda_venus.h
coda_vfsops.c An (un)privileged user can easily make the kernel dereference a NULL 2014-04-16 18:55:17 +00:00
coda_vfsops.h
coda_vnops.c Add VOP_FALLOCATE and VOP_FDISCARD to every vnode ops table I can 2014-07-25 08:20:51 +00:00
coda_vnops.h
files.coda

README

$NetBSD: README,v 1.4 2012/08/04 12:47:00 christos Exp $

Coda is a distributed filesystem.  It is derived from AFS, but
supports disconnected operation, both reading and writing.  This
directory contains the interface between the VFS layer and a
user-space program ("venus") that implements the client part of Coda.
The interface is similar to puffs(9) in many respects.

Coda servers do not need kernel support.

For information on Coda, see
  http://www.coda.cs.cmu.edu

As of Sat Aug  4 15:45:27 EEST 2012
	- The coda/vcoda modules have been tested for read/write
	  operations and load/unload on amd64 with a DEBUG/DIAGNOSTIC
	  kernel and there are no locking errors.
	- If you find issues with coda, please file a bug report.
	  Also help can be obtained via the list codalist@coda.cs.cmu.edu.
	- Pkgsrc/net/coda has the latest source available from cmu and
	  has been fixed to co-exist with openafs (openafs has been modified)

To test:
- Install pkgsrc/net/coda

# rm -fr /var/lib/coda			# remove junk if there was a crash
# /usr/pkg/sbin/venus-setup xxxx	# xxxx the domain name
# /usr/pkg/sbin/venus
# clog guest@testserver.coda.cs.cmu.edu	# password is guest
# echo foo > /coda/testserver.coda.cs.cmu.edu/playground/nb.test0 

You should be able to access things in /coda