Messages in this thread | | | From | Nikita Danilov <> | Date | Wed, 17 Nov 2004 20:58:42 +0300 | Subject | Re: [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/
| |