freebsd-dev/sys/geom
Andriy Gapon 8f128ff559 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
2010-04-03 08:53:53 +00:00
..
bde Rename the kthread_xxx (e.g. kthread_create()) calls 2007-10-20 23:23:23 +00:00
cache Despite several examples in the kernel, the third argument of 2007-06-04 18:25:08 +00:00
concat Make geom_concat to passthrough stripe parameters of the first component, 2009-12-24 14:32:21 +00:00
eli Remove pointless assignment. 2010-01-25 16:58:58 +00:00
gate Simplify loops. 2010-03-18 13:11:43 +00:00
journal Make gjournal work with kernel compiled with "options DIAGNOSTIC". 2009-06-30 14:34:06 +00:00
label Provide a set of sysctls and tunables to disable device node creation 2009-11-28 11:57:43 +00:00
linux_lvm - Apply the same naming rules of LVM names as done in the LVM code itself. 2009-06-24 22:09:30 +00:00
mirror Move wakeup() out of mutex to reduce contention. 2010-01-05 10:30:56 +00:00
mountver Remove unused variable. 2010-01-25 16:10:22 +00:00
multipath Change how multipath labels are created and managed. This makes it easier 2010-03-29 18:04:06 +00:00
nop Remove trailing spaces. 2006-09-30 08:16:49 +00:00
part Export the UUID of the partition in the XML. The partition UUID is used 2010-01-30 23:13:19 +00:00
raid3 Move wakeup() out of mutex to reduce contention. 2010-01-05 10:52:21 +00:00
shsec If provider is open for writing when we taste it, skip it for classes that 2009-10-09 09:42:22 +00:00
stripe Correct comment. 2010-02-18 22:28:12 +00:00
uzip Change the way in which zero stripesize is handled. Instead of reporting 2010-01-06 13:14:37 +00:00
vinum - Set missing flag when initiating a plex rebuild with the rebuildparity 2010-03-08 21:16:28 +00:00
virstor Prevent NULL deference by checking return value of 2010-02-02 22:25:22 +00:00
zero
geom_aes.c
geom_bsd_enc.c Decode as many or as few partition entries as the label claims there 2007-12-09 22:44:22 +00:00
geom_bsd.c Trivial patch to show on which geom has the error been detected. 2008-12-01 15:02:00 +00:00
geom_ccd.c - Fix a potential NULL pointer reference. Note that this should not happen in 2008-11-25 20:28:33 +00:00
geom_ctl.c Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
geom_ctl.h
geom_dev.c Add BIO_DELETE support to ada(4): 2009-12-28 20:08:01 +00:00
geom_disk.c Simplify g_disk_ident_adjust() function and allow any printable character 2009-09-04 09:39:06 +00:00
geom_disk.h Revert r190676,190677 2009-04-10 04:08:34 +00:00
geom_dump.c Escape characters unsafe for XML output in GEOM class, instance and 2010-03-20 16:16:13 +00:00
geom_event.c When orphaning a provider, cancel events related to it. 2007-09-27 20:18:34 +00:00
geom_fox.c
geom_int.h
geom_io.c Do not fetch precise time of request start when stats collection disabled. 2010-03-24 18:04:25 +00:00
geom_kern.c Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
geom_mbr_enc.c
geom_mbr.c
geom_pc98_enc.c
geom_pc98.c
geom_redboot.c - Give geom_redboot taste of flash/spi. Now there is another provider 2010-02-03 01:12:19 +00:00
geom_slice.c Change the way in which zero stripesize is handled. Instead of reporting 2010-01-06 13:14:37 +00:00
geom_slice.h
geom_subr.c Log attach just like we log detach. 2010-02-18 22:27:38 +00:00
geom_sunlabel_enc.c
geom_sunlabel.c
geom_vfs.c g_vfs_open: allow only one mount per device vnode 2010-04-03 08:53:53 +00:00
geom_vfs.h Remove the struct thread unuseful argument from bufobj interface. 2008-10-10 21:23:50 +00:00
geom_vol_ffs.c
geom.h Make gjournal work with kernel compiled with "options DIAGNOSTIC". 2009-06-30 14:34:06 +00:00
notes