pjd
c2f8ebb2b6
Allow to use g_slice_orphan() from outside.
...
MFC after: 3 days
2006-02-18 11:21:17 +00:00
phk
926fff03bf
Add a destroy_geom method to the slice "library".
...
If a slice class has no destroy_geom method, use this one.
This should allow all slicers to kldload.
2003-05-31 19:25:05 +00:00
phk
4ac5216f83
Use a more tailored spoil routine for slices, and take advantage of
...
g_wither_geom() to do most of the work for us.
2003-05-02 06:29:33 +00:00
phk
3bbfe9f43b
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
phk
db4d21ffaf
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
phk
a41f716e91
Create a dedicated structure for holding hotspot information rather than
...
using slice structures for it.
2003-04-19 10:00:22 +00:00
phk
b08878d5ab
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
phk
3cf4280261
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
phk
cd9caf5281
Constification and some s/int/u_int/ changes.
2002-12-16 22:33:27 +00:00
phk
7b3238944a
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
phk
5df21f9258
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
phk
bd4b849139
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
phk
07bfe3bc16
All in a days work: make a function static.
2002-04-23 19:03:03 +00:00
phk
a90e28ebbb
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
phk
fd177bc959
Move access and orphan member functions from class to geom.
...
Sponsored by: DARPA & NAI Labs
2002-04-04 09:54:13 +00:00
phk
aeded84143
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
phk
1af8cfb2f2
Cave in to tradition and rename "methods" to "classes".
2002-03-26 21:40:06 +00:00
phk
3e53a43775
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