lkml.org 
[lkml]   [2001]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: hundreds of mount --bind mountpoints?
    On Tue, Apr 24, 2001 at 02:49:23PM -0400, Alexander Viro wrote:
    > On Tue, 24 Apr 2001, Andreas Dilger wrote:
    > > One thing to watch out for is that the current code zeros the u. struct
    > > for us (as you pointed out to me previously), but allocating from the
    > > slab cache will not... This could be an interesting source of bugs for
    > > some filesystems that assume zero'd inode_info structs.
    > True, but easy to catch.

    Jepp. Just request SLAB_ZERO (still to be implemented) instead of
    SLAB_POISON or provide an constructor.

    A nice set of macros for this would make it quite easy. The ctor
    is the way to handle it. May be we could even put all the fs
    specific initalizers into it (e.g. magics, zeroes).

    Regards

    Ingo Oeser
    --
    10.+11.03.2001 - 3. Chemnitzer LinuxTag <http://www.tu-chemnitz.de/linux/tag>
    <<<<<<<<<<<< been there and had much fun >>>>>>>>>>>>
    -
    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 13:28    [W:3.319 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site