Poul-Henning Kamp
8cd1535a24
Rename g_call_me() to g_post_event(), and give it a flag
...
argument to determine if we can M_WAITOK in malloc.
2003-04-23 20:46:12 +00:00
Poul-Henning Kamp
7220a9e779
Make more of the "hotspot" stuff generic:
...
Give the class a way to specify the necessary action for read/delete/write:
ALLOW, DENY, START or CALL.
Update geom_bsd to use this.
2003-04-19 10:14:39 +00:00
Poul-Henning Kamp
183a45f65e
Create a dedicated structure for holding hotspot information rather than
...
using slice structures for it.
2003-04-19 10:00:22 +00:00
Poul-Henning Kamp
0d3e96e39c
Retire the "frontstuff" record keeping, it was no match for the
...
in-band meta-data of BSD labels and a more complex solution will be needed.
2003-04-12 08:41:26 +00:00
Poul-Henning Kamp
a1d5f791fa
Get rid of g_slice_addslice() and use g_slice_config() instead.
...
Tested with: i386 + src/tools/regression/geom
2002-12-16 23:08:48 +00:00
Poul-Henning Kamp
0f9d3dba37
Constification and some s/int/u_int/ changes.
2002-12-16 22:33:27 +00:00
Poul-Henning Kamp
188321b737
Add a simplified version of the hot-spot code to enable us to protect
...
in-band disklabels from in-band vandalism.
Approve by: re
2002-12-02 19:59:25 +00:00
Poul-Henning Kamp
48444d6262
Make the sectorsize a property of providers so we can include it in the XML
...
output.
Sponsored by: DARPA & NAI Labs
2002-10-20 19:18:07 +00:00
Poul-Henning Kamp
5a6baf5457
Add the new g_slice_config() call, which can add/delete/change a slice,
...
with support for trying, doing and forcing.
This will eventually replace g_slice_addslice() which gets changed from
grabbing topology to requing it in this commit as well.
Sponsored by: DARPA & NAI Labs.
2002-09-27 21:37:11 +00:00
Poul-Henning Kamp
2285b09474
All in a days work: make a function static.
2002-04-23 19:03:03 +00:00
Poul-Henning Kamp
1bdb20a68e
Implement DIOCGFRONTSTUFF ioctl which reports how many bytes from the start
...
of the device magic stuff might occupy.
Sponsored by: DARPA & NAI Labs.
2002-04-09 15:43:32 +00:00
Poul-Henning Kamp
07d77fc610
Move access and orphan member functions from class to geom.
...
Sponsored by: DARPA & NAI Labs
2002-04-04 09:54:13 +00:00
Poul-Henning Kamp
b1876192f0
Eliminate some thread pointers which do not make sense anymore.
...
Split private parts of geom.h into geom_int.h. The latter should
never be included in class implemtations.
2002-03-26 22:07:38 +00:00
Poul-Henning Kamp
e805e8f0e8
Cave in to tradition and rename "methods" to "classes".
2002-03-26 21:40:06 +00:00
Poul-Henning Kamp
dd84a43c1d
First commit of the GEOM subsystem to make it easier for people to
...
test and play with this.
This is not yet production quality and should be run only on dedicated
test boxes.
For people who want to develop transformations for GEOM there exist a
set of shims to run geom in userland (ask phk@freebsd.org ).
Reports of all kinds to: phk@freebsd.org
Please include in report:
dmesg
sysctl debug.geomdot
sysctl debug.geomconf
Known significant limitations:
no kernel dump facility.
ioctls severely restricted.
Sponsored by: DARPA, NAI Labs
2002-03-11 21:42:35 +00:00