freebsd-dev/sys/geom
John Baldwin 419d406e4e geom_vfs: Pre-allocate event for g_vfs_destroy.
When an active g_vfs is orphaned due to an underlying disk going away
the destroy is deferred until the filesystem is unmounted in
g_vfs_done().  However, g_vfs_done() is invoked from a non-sleepable
context and cannot use M_WAITOK to allocate the event.  Instead,
allocate the event in g_vfs_orphan() and save it in the softc to be
retrieved by the last call to g_vfs_done().

Reported by:	Jithesh Arakkan @ Chelsio
Reviewed by:	imp
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D31354
2021-07-29 17:09:23 -07:00
..
bde
cache
concat gconcat: Zero the metadata block before writing 2021-07-13 17:45:59 -04:00
eli eli: Zero pad bytes that arise when certain auth algorithms are used 2021-07-15 12:23:04 -04:00
gate
journal
label geom_label: Partially reinstate old sysinstall(8) workaround 2021-07-21 02:51:25 +01:00
linux_lvm
mirror gmirror: Zero the metadata block before writing 2021-07-13 17:45:57 -04:00
mountver
multipath gmultipath: make physpath distinct from the underlying providers' 2021-05-06 12:32:27 -06:00
nop
part
raid
raid3 graid3: Zero the metadata block before writing 2021-07-13 17:46:02 -04:00
shsec
stripe
uzip
vinum
virstor
zero
geom_bsd_enc.c
geom_ccd.c
geom_ctl.c
geom_ctl.h
geom_dbg.h
geom_dev.c
geom_disk.c geom_disk: use a preallocated geom_event for disk destruction. 2021-07-23 18:08:52 -06:00
geom_disk.h Use a more specific type for geom_disk.d_event. 2021-07-29 16:34:46 -07:00
geom_dump.c
geom_event.c geom: create an API to allocate events, and use that storage to send them 2021-07-23 18:08:45 -06:00
geom_flashmap.c
geom_flashmap.h
geom_int.h
geom_io.c
geom_kern.c
geom_map.c
geom_redboot.c
geom_slice.c
geom_slice.h
geom_subr.c
geom_vfs.c geom_vfs: Pre-allocate event for g_vfs_destroy. 2021-07-29 17:09:23 -07:00
geom_vfs.h
geom.h geom: create an API to allocate events, and use that storage to send them 2021-07-23 18:08:45 -06:00
notes