1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/geom
Andrey V. Elsukov 362073c089 We have two functions from where a geom orphan method could be called:
g_orphan_register and g_resize_provider_event. Both are called from the
event queue. Also we have GEOM_DEV class, which does deferred destroy
for its consumers via g_dev_destroy (also called from the event queue).
So it is possible, that for some consumers an orphan method will be
called twice. This triggers panic in g_dev_orphan.
Check that consumer isn't already orphaned before call orphan method.

MFC after:	2 weeks
2014-05-19 16:05:42 +00:00
..
bde
cache Partially revert r259080. bde@ pointed out that there are a lot more style bugs 2013-12-08 09:34:56 +00:00
concat Merge GEOM direct dispatch changes from the projects/camlock branch. 2013-10-22 08:22:19 +00:00
eli In g_eli_crypto_hmac_init(), zero out after using the ipad buffer, 2014-02-08 05:17:49 +00:00
gate Merge GEOM direct dispatch changes from the projects/camlock branch. 2013-10-22 08:22:19 +00:00
journal Partially revert r259080. bde@ pointed out that there are a lot more style bugs 2013-12-08 09:34:56 +00:00
label Make r242379 - the fix for UFS labels disappearing after resizing 2014-05-05 09:20:30 +00:00
linux_lvm
mirror Show error code when failing to destroy a mirror on delay 2014-04-05 03:01:29 +00:00
mountver
multipath Removed unneeded and dangerous assignment. It would probably cause NULL 2014-01-19 16:37:57 +00:00
nop gnop: make sure that newly allocated memory for softc is zeroed 2013-10-23 01:34:18 +00:00
part It is safe to allow shrinking, when aligned size is bigger than current. 2014-05-07 11:18:27 +00:00
raid Reduce number of opens by REOM RAID during provider taste. 2014-04-28 15:03:52 +00:00
raid3
sched
shsec
stripe Do not increment bio_data in case of BIO_DELETE. 2014-04-10 10:12:56 +00:00
uncompress Some style and whitespace fixes. Reduce the difference between geom_uzip(4) 2014-05-01 14:47:27 +00:00
uzip Fix a leak in g_uzip_taste(). After retrieve all the block offsets from 2014-05-01 15:23:20 +00:00
vinum
virstor
zero Merge GEOM direct dispatch changes from the projects/camlock branch. 2013-10-22 08:22:19 +00:00
geom_aes.c
geom_bsd_enc.c
geom_bsd.c
geom_ccd.c
geom_ctl.c Always free sbuf in gctl_free(). 2014-01-23 21:30:31 +00:00
geom_ctl.h
geom_dev.c Fix bug introduced at r256607. We have to recalculate bp_resid here since 2013-12-12 08:23:28 +00:00
geom_disk.c Make GEOM DISK to account also BIO_FLUSH operations. 2014-05-17 15:07:00 +00:00
geom_disk.h Reject attempts to attack a disk device that has the old NEEDSGIANT 2013-10-25 19:19:12 +00:00
geom_dump.c Escape special XML chars, returned by some devices, confusing XML parsers. 2013-11-27 14:25:06 +00:00
geom_event.c We have two functions from where a geom orphan method could be called: 2014-05-19 16:05:42 +00:00
geom_flashmap.c
geom_fox.c
geom_int.h Escape special XML chars, returned by some devices, confusing XML parsers. 2013-11-27 14:25:06 +00:00
geom_io.c Merge GEOM direct dispatch changes from the projects/camlock branch. 2013-10-22 08:22:19 +00:00
geom_kern.c Merge GEOM direct dispatch changes from the projects/camlock branch. 2013-10-22 08:22:19 +00:00
geom_map.c
geom_mbr_enc.c
geom_mbr.c
geom_pc98_enc.c
geom_pc98.c
geom_redboot.c
geom_slice.c Make sure we don't free memory that's already been freed by setting 2014-04-06 02:20:42 +00:00
geom_slice.h
geom_subr.c Make g_access() KASSERT() more useful. 2014-04-15 14:41:41 +00:00
geom_sunlabel_enc.c
geom_sunlabel.c
geom_vfs.c Merge GEOM direct dispatch changes from the projects/camlock branch. 2013-10-22 08:22:19 +00:00
geom_vfs.h
geom_vol_ffs.c
geom.h Improve ZFS N-way mirror read performance by using load and locality 2013-10-23 09:54:58 +00:00
notes