freebsd-skq/sys/geom
marcel e6f532ab6f Add method precheck to the g_part interface. The precheck
method allows schemes to reject the ctl request, pre-check
the parameters and/or modify/set parameters. There are 2
use cases that triggered the addition:
1.  When implementing a R/O scheme, deletes will still
    happen to the in-memory representation. The scheme is
    not involved in that operation. The pre-check method
    can be used to fail the delete up-front. Without this
    the write to disk will typically fail, but at that
    time the delete already happened.
2.  The EBR scheme uses a linked list to record slices.
    There's no index. The EBR scheme defines the index
    as a function of the start LBA of the partition. The
    add verb picks an index for the range and then invokes
    the add method of the scheme to fill in the blanks. It
    is too late for the add method to change the index.
    The pre-check is used to set the index up-front. This
    also (silently) overrides/nullifies any (pointless)
    user-specified index value.
2009-02-15 22:18:16 +00:00
..
bde
cache
concat Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
eli Style(9). 2008-08-12 20:19:08 +00:00
gate
journal Make it possible to use gjournal for the root filesystem. Previously, 2008-12-06 11:33:10 +00:00
label - Use the correct argument when determining the buffer size. 2009-02-11 18:13:20 +00:00
linux_lvm Add a geom class to map Linux LVM logical volumes. 2008-02-20 07:45:36 +00:00
mirror
multipath
nop
part Add method precheck to the g_part interface. The precheck 2009-02-15 22:18:16 +00:00
raid3
shsec
stripe Add sbuf_new_auto as a shortcut for the very common case of creating a 2008-08-09 11:14:05 +00:00
uzip
vinum - Fix an issue with access permissions to underlying disks used by a gvinum 2008-12-27 14:32:39 +00:00
virstor Avoid NULL deference. 2008-06-30 15:21:42 +00:00
zero
geom_aes.c
geom_bsd_enc.c
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 Remove unused unrhdr from GEOM character device module. 2009-01-24 18:23:19 +00:00
geom_disk.c Revert r184136. Instead, push the check for crashdumpmap overflow into the 2008-10-31 10:11:35 +00:00
geom_disk.h
geom_dump.c
geom_event.c
geom_fox.c
geom_int.h
geom_io.c Just a fixup for a KTRACE message I stumbled upon many moons ago. 2008-09-18 15:02:19 +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_slice.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_slice.h
geom_subr.c In g_handleattr(), set bp->bio_completed also for the case 2009-02-03 07:07:13 +00:00
geom_sunlabel_enc.c
geom_sunlabel.c
geom_vfs.c Prevent a panic that happens on SMP machines when removing a disk with 2009-01-11 13:51:04 +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 Constify val in g_handleattr() and str in g_handleattr_str(). 2009-02-01 01:50:09 +00:00
notes