diff options
| author | Jan Harkes <[email protected]> | 2007-07-21 04:37:26 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-07-21 17:49:14 -0700 |
| commit | d3fec424b23c47686efcf3f2004c3f1c1cee4d9c (patch) | |
| tree | ffad3cf369d35e85fca9a340347eea09caa53ff3 /tools/perf/scripts | |
| parent | b50731732f926d6c49fd0724616a7344c31cd5cf (diff) | |
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 <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions