[lkml]   [2000]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: test12-pre5

    On Tue, 5 Dec 2000, Linus Torvalds wrote:

    > > So Stephen is right wrt fsync() (it will not get that stuff on disk).
    > > However, it's not a bug - if that crap will not end up on disk we
    > > will only win.
    > Stephen is _wrong_ wrt fsync().
    > Why?
    > Think about it for a second. How the hell could you even _call_ fsync() on
    > a file that no longer exists, and has no file handles open to it?
    clear_inode() <- dispose_list() <- prune_icache().

    IOW, if file still exists, but is closed by everyone, etc. you _can_
    get clear_inode() on it. <thinks> Ah, I see your point. OK, how about that:
    * clear_inode() _can_ be called for still-alive objects.
    * no matter how it is called, we don't give a damn for the stuff
    on the list.
    * moreover, if it gets called for object that is still alive the
    list is just empty. It doesn't contain anything valuable (as in every
    case) _and_ it doesn't contain random crap.

    If that's what you were talking about - fine with me.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:51    [W:0.043 / U:11.096 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site