lkml.org 
[lkml]   [2004]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: silent semantic changes with reiser4
    Hi!

    > > > However, that said, user space can trivially cache things in the
    > > > filesystem, so while this may be a convenient feature, I think you should
    > > > look at perhaps doing it in the _shell_ instead..
    > >
    > > That cache should disappear as soon as I need disk
    > > space. I.e. userspace should never see -ENOSPC because of this kind of
    > > caching. This need some kernel support. Ouch and cached file should
    > > atomically go away as soon as main file changes, otherwise I do not
    > > see how multiple processes could cooperate on caching...
    >
    > Well, what other projects have done is to just reserve a certain amount of
    > disk for caching. See "ccache", which solves both of the above problems
    > (it doesn't shrink the cache on ENOSPC, but reserving diskspace is
    > accepted practice for things like this..)

    Okay, that does work, it just is not really nice. Just as reserving
    fixed ammount of space for disk cache is bad, reserving fixed ammount
    of space for ccache (and similar) is bad. When there are few of such
    caches, balancing between them starts to matter...
    Pavel
    --
    People were complaining that M$ turns users into beta-testers...
    ...jr ghea gurz vagb qrirybcref, naq gurl frrz gb yvxr vg gung jnl!
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

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