lkml.org 
[lkml]   [2004]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] [Request for inclusion] Filesystem in Userspace
    Jan Engelhardt writes:
    > > > >mount -tfoo_ctrlfs -o host=/mnt/point /mnt/control-point
    > > >
    > > > Looks to me like a pollution of the mount table if you do this on a lot of
    > > > filesystems.
    > >
    > >If you have a lot of file-systems your mount table is already polluted.
    >
    > That does not justify to pollute with *_ctlfs it
    > to double the size it already is.

    "mount-table" (fs/namespace.c:mount_hashtable) is consulted only when
    path-resolution crosses dentry marked as mount-point (has non-zero
    ->d_mounted field), which is rare, and this means that number of
    elements in mount_hashtable has little effect on the cost of path-name
    resolution.

    Unless, of course, by "polluted" you mean that output of "cat
    /proc/self/mounts" becomes longer.

    Nikita.
    -
    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:08    [W:2.297 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site