kernel_optimize_test/fs/coda
Jan Harkes d3fec424b2 coda: remove CODA_STORE/CODA_RELEASE upcalls
This is an variation on the patch sent by Christoph Hellwig which kills
file_count abuse by the Coda kernel module by moving the coda_flush
functionality into coda_release.  However part of reason we were using the
coda_flush callback was to allow Coda to pass errors that occur during
writeback from the userspace cache manager back to close().

As Al Viro explained on linux-fsdevel, it is impossible to guarantee that
such errors can in fact be returned back to the caller.  There are many
cases where the last reference to a file is not released by the close
system call and it is also impossible to pick some close as a 'last-close'
and delay it until all other references have been destroyed.

The CODA_STORE/CODA_RELEASE upcall combination is clearly a broken design,
and it is better to remove it completely.

Signed-off-by: Jan Harkes <jaharkes@cs.cmu.edu>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Al Viro <viro@ftp.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-21 17:49:14 -07:00
..
cache.c coda: remove struct coda_sb_info 2007-07-19 10:04:48 -07:00
cnode.c coda: use ilookup5 2007-07-19 10:04:48 -07:00
coda_int.h coda: remove statistics counters from /proc/fs/coda 2007-07-19 10:04:48 -07:00
coda_linux.c [PATCH] inode-diet: Eliminate i_blksize from the inode structure 2006-09-27 08:26:18 -07:00
dir.c coda: remove CODA_STORE/CODA_RELEASE upcalls 2007-07-21 17:49:14 -07:00
file.c coda: remove CODA_STORE/CODA_RELEASE upcalls 2007-07-21 17:49:14 -07:00
inode.c mm: Remove slab destructors from kmem_cache_create(). 2007-07-20 10:11:58 +09:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pioctl.c [PATCH] mark struct inode_operations const 1 2007-02-12 09:48:46 -08:00
psdev.c coda: update module information 2007-07-19 10:04:49 -07:00
symlink.c coda: remove statistics counters from /proc/fs/coda 2007-07-19 10:04:48 -07:00
sysctl.c coda: remove statistics counters from /proc/fs/coda 2007-07-19 10:04:48 -07:00
upcall.c coda: remove CODA_STORE/CODA_RELEASE upcalls 2007-07-21 17:49:14 -07:00