lkml.org 
[lkml]   [1996]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: VFS Problem: close returns void



On 5 Dec 1996, Derek Atkins wrote:
> alan@lxorguk.ukuu.org.uk (Alan Cox) writes:
> >
> > > POSIX compliant", I still believe that the kernel should be able to
> > > inform the user that a close failed. Filesystems that perform
> > > write-through caching wont be affected at all, but filesystems that
> > > behave like AFS will still be able to let users know when they go over
> > > quota writing a file.
> >
> > The obvious answer would be to copy the SunOS NFS response to this case.
> > Its part of a more general lack of ability to pass errors back cleanly
> > issue. Its going to attack us for NFS write behind too
>
> I'm not sure what the "SunOS NFS response" is. I'd be willing to copy
> it if I did. However, in my mind, the best solution would be to
> change the VFS close() [oops -- release()] method to return an int
> instead of returning void. Then the filesystem would have a way to
> return errors.

This _will_ be done - I'm actually expecting patches for this from Olaf
Kirch some day soon for the NFS code (needed for write-behind). He's done
all this already I'm told.

Linus


\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.039 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site