History log of /freebsd-current/sys/geom/geom_slice.h
Revision Date Author Comments
# 95ee2897 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


# 3728855a 27-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

sys/geom: adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.


# 02c62349 19-Nov-2012 Jaakko Heinonen <jh@FreeBSD.org>

- Don't pass geom and provider names as format strings.
- Add __printflike() attributes.
- Remove an extra argument for the g_new_geomf() call in swapongeom_ev().

Reviewed by: pjd


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# bdf2e45a 18-Feb-2006 Pawel Jakub Dawidek <pjd@FreeBSD.org>

Allow to use g_slice_orphan() from outside.

MFC after: 3 days


# ce67c955 31-May-2003 Poul-Henning Kamp <phk@FreeBSD.org>

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.


# 15649213 02-May-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Use a more tailored spoil routine for slices, and take advantage of
g_wither_geom() to do most of the work for us.


# 8cd1535a 23-Apr-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Rename g_call_me() to g_post_event(), and give it a flag
argument to determine if we can M_WAITOK in malloc.


# 7220a9e7 19-Apr-2003 Poul-Henning Kamp <phk@FreeBSD.org>

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.


# 183a45f6 19-Apr-2003 Poul-Henning Kamp <phk@FreeBSD.org>

Create a dedicated structure for holding hotspot information rather than
using slice structures for it.


# 0d3e96e3 12-Apr-2003 Poul-Henning Kamp <phk@FreeBSD.org>

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.


# a1d5f791 16-Dec-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Get rid of g_slice_addslice() and use g_slice_config() instead.

Tested with: i386 + src/tools/regression/geom


# 0f9d3dba 16-Dec-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Constification and some s/int/u_int/ changes.


# 188321b7 02-Dec-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Add a simplified version of the hot-spot code to enable us to protect
in-band disklabels from in-band vandalism.

Approve by: re


# 48444d62 20-Oct-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Make the sectorsize a property of providers so we can include it in the XML
output.

Sponsored by: DARPA & NAI Labs


# 5a6baf54 27-Sep-2002 Poul-Henning Kamp <phk@FreeBSD.org>

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.


# 2285b094 23-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

All in a days work: make a function static.


# 1bdb20a6 09-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Implement DIOCGFRONTSTUFF ioctl which reports how many bytes from the start
of the device magic stuff might occupy.

Sponsored by: DARPA & NAI Labs.


# 07d77fc6 04-Apr-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Move access and orphan member functions from class to geom.

Sponsored by: DARPA & NAI Labs


# b1876192 26-Mar-2002 Poul-Henning Kamp <phk@FreeBSD.org>

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.


# e805e8f0 26-Mar-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Cave in to tradition and rename "methods" to "classes".


# dd84a43c 11-Mar-2002 Poul-Henning Kamp <phk@FreeBSD.org>

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