Date: Sat, 3 Apr 2010 08:53:53 +0000 (UTC) From: Andriy Gapon <avg@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/geom geom_vfs.c Message-ID: <201004030854.o338s6dj015482@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
avg 2010-04-03 08:53:53 UTC
FreeBSD src repository
Modified files:
sys/geom geom_vfs.c
Log:
SVN rev 206130 on 2010-04-03 08:53:53Z by avg
g_vfs_open: allow only one mount per device vnode
In other words, deny multiple read-only mounts of the same device.
Shared read-only mounts should theoretically be possible, but,
unfortunately, can not be implemented correctly using current
buffer cache code/interface and results in an eventual system crash.
Also, using nullfs seems to be a more efficient way to achieve the same
goal.
This gets us back to where we were before GEOM and where other BSDs are.
Submitted by: pjd (idea for checking for shared mounting)
Discussed with: phk, pjd
Silence from: fs@, geom@
MFC after: 2 weeks
Revision Changes Path
1.19 +6 -1 src/sys/geom/geom_vfs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004030854.o338s6dj015482>
