Re: silent semantic changes with reiser4

From: Pavel Machek (pavel_at_ucw.cz)
Date: 08/31/04

  • Next message: Adrian Bunk: "Re: [PATCH] embedding 2.6 or more findings on kernel size"
    Date:	Tue, 31 Aug 2004 22:54:23 +0200
    To: Linus Torvalds <torvalds@osdl.org>
    
    

    Hi!

    > > It buys me caching.
    >
    > I'll actually buy into that. If only because I consider caching to be one
    > of the more important things that the kernel does (caches are a _classic_
    > case of "shared data that needs synchronization").
    >
    > 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...

    chattr +kill-this-file-when-low-on-disk-space patch.bz2...ubz

    would solve first problem. Not sure how to do the second one.

                                                                    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/
    

  • Next message: Adrian Bunk: "Re: [PATCH] embedding 2.6 or more findings on kernel size"

    Relevant Pages

    • Re: silent semantic changes with reiser4
      ... On Tue, 31 Aug 2004, Pavel Machek wrote: ... If only because I consider caching to be one ... However, that said, user space can trivially cache things in the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH 1/1] pci: Block config access during BIST (resend)
      ... > make use of the config space caching code that is in my patch. ... What if the user space you block holds a resource that is preventing ... I can see how the kernel side stuff needs to be ...
      (Linux-Kernel)
    • Re: nasm over gas?
      ... While it may not benefit from caching, cache misses still hurt it. ... Why has Alan measured faster kernels with -Os than with -O2? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: another nfs puzzle
      ... The use of O_DIRECT implies no caching and mmap implies the use of caching. ... the ranges of the i/o operations done, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: file as a directory
      ... > manage and seems impossible to do as efficiently (with built-in caching, ... > should any meta-files created by kernel plugins. ... Why do we need hardlinks? ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)