#
272461 |
|
02-Oct-2014 |
gjb |
Copy stable/10@r272459 to releng/10.1 as part of the 10.1-RELEASE process.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
260479 |
|
09-Jan-2014 |
mav |
MFC r258683: Escape special XML chars, returned by some devices, confusing XML parsers.
|
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
250868 |
|
21-May-2013 |
jh |
Remove an extra semicolon from the DOT language output.
PR: kern/178540 Submitted by: Trond Endrestol MFC after: 1 week
|
#
249507 |
|
15-Apr-2013 |
ivoras |
Introduce a symbol for the GEOM class name instead of using the ad-hoc string constant.
|
#
222603 |
|
02-Jun-2011 |
ae |
Do not hide stripeoffset from libgeom(3), it may be useful even when stripesize is zero.
MFC after: 1 week
|
#
205385 |
|
20-Mar-2010 |
jh |
Escape characters unsafe for XML output in GEOM class, instance and provider names.
- Characters in range 0x01-0x1f except '\t', '\n', and '\r' are replaced with '?'. Those characters are disallowed in XML. - '&', '<', '>', '\'', '"' and characters in range 0x7f-0xff are replaced with XML numeric character reference.
If the kern.geom.confxml sysctl provides invalid XML, libgeom geom_xml2tree() fails and utilities using it do not work. Unsafe characters are common in msdosfs and cd9660 labels.
PR: kern/104389 Submitted by: Doug Steinwand (original version) Reviewed by: pjd Discussed on: freebsd-geom MFC after: 3 weeks
|
#
202454 |
|
17-Jan-2010 |
delphij |
Expose stripe offset and stripe size through libgeom and geom(8) userland utilities.
Reviewed by: pjd, mav (earlier version)
|
#
152342 |
|
12-Nov-2005 |
marcel |
Make the kern.geom.conftxt sysctl more usable by also dumping the MD class. Previously only the DISK class was dumped. The only consumer of this sysctl is libdisk (i.e. sysinstall) and it tests explicitly for instances of the DISK class. Dumping other classes is therefore harmless. By also dumping the MD class regression tests can be written that use the MD class for operations that would normally be done on the DISK class. The sysctl can now be used to test if those operations took an effect. An example is partitioning.
|
#
126798 |
|
10-Mar-2004 |
phk |
Rearrange some of the GEOM debugging tools to be more structured.
Retire g_sanity() and corresponding debugflag (0x8)
Retire g_{stall,release}_events().
Under #ifdef DIAGNOSTIC:
Make g_valid_obj() an official function and have it return an an non-zero integer which indicates the kind of object when found.
Implement G_VALID_{CLASS,GEOM,CONSUMER,PROVIDER}() macros based on g_valid_obj().
Sprinkle calls to these macros liberally over the infrastructure.
Always check that we do not free a live object.
|
#
123215 |
|
07-Dec-2003 |
scottl |
Re-arrange and consolidate some random debugging stuff
|
#
117342 |
|
08-Jul-2003 |
phk |
Handle geoms which are withering away specially in the dump functions.
|
#
116196 |
|
11-Jun-2003 |
obrien |
Use __FBSDID().
Approved by: phk
|
#
115949 |
|
07-Jun-2003 |
phk |
Add missing va_end() calls.
Noticed by: tmm
|
#
113940 |
|
23-Apr-2003 |
phk |
Introduce a g_waitfor_event() function which posts an event and waits for it to be run (or cancelled) and use this instead of home-rolled versions.
|
#
113432 |
|
13-Apr-2003 |
phk |
Time has run from the "run GEOM in userland" harness, and the new regression test is built to test GEOM as running in the kernel.
This commit is basically "unifdef -D_KERNEL" to remove the mainly #include related code to support the userland-harness.
|
#
112989 |
|
02-Apr-2003 |
phk |
Add handling for cancelled events in the g_call_me() methods.
|
#
112988 |
|
02-Apr-2003 |
phk |
Change events to have an array of "void *" references, and give the event posting functions varargs to fill these.
Attribute g_call_me() to appropriate g_geom's where necessary.
Add a flag argument to g_call_me() methods which will be used to signal cancellation of events in the future.
This commit should be a no-op.
|
#
112367 |
|
18-Mar-2003 |
phk |
Including <sys/stdint.h> is (almost?) universally only to be able to use %j in printfs, so put a newsted include in <sys/systm.h> where the printf prototype lives and save everybody else the trouble.
|
#
110523 |
|
07-Feb-2003 |
phk |
Commit the correct copy of the g_stat structure.
Add debug.sizeof.g_stat sysctl.
Set the id field of the g_stat when we create consumers and providers.
Remove biocount from consumer, we will use the counters in the g_stat structure instead. Replace one field which will need to be atomically manipulated with two fields which will not (stat.nop and stat.nend).
Change add companion field to bio_children: bio_inbed for the exact same reason.
Don't output the biocount in the confdot output.
Fix KASSERT in g_io_request().
Add sysctl kern.geom.collectstats defaulting to off.
Collect the following raw statistics conditioned on this sysctl:
for each consumer and provider { total number of operations started. total number of operations completed. time last operation completed. sum of idle-time. for each of BIO_READ, BIO_WRITE and BIO_DELETE { number of operations completed. number of bytes completed. number of ENOMEM errors. number of other errors. sum of transaction time. } }
API for getting hold of these statistics data not included yet.
|
#
107953 |
|
16-Dec-2002 |
phk |
Constification and some s/int/u_int/ changes.
|
#
107111 |
|
20-Nov-2002 |
phk |
Do not call the dumpconf method unless there is one. Compare pointers with NULL.
Partially submitted by: Christian Carstensen <cc@gate5.de> Approved by: re
|
#
106635 |
|
08-Nov-2002 |
phk |
Remove harmless but irritating printf.
|
#
106301 |
|
01-Nov-2002 |
phk |
Make this compile in the userland shims again.
Sponsored by: DARPA & NAI Labs
|
#
106101 |
|
28-Oct-2002 |
phk |
Add the remaning part of the new libdisk interaction.
WARNING: This is not a published interface, it is a stopgap measure for WARNING: libdisk so we can get 5.0-R out of the door.
Sponsored by: DARPA & NAI Labs
|
#
105542 |
|
20-Oct-2002 |
phk |
Make the sectorsize a property of providers so we can include it in the XML output.
Sponsored by: DARPA & NAI Labs
|
#
105540 |
|
20-Oct-2002 |
phk |
Use %jd instead of %lld now that we have it.
|
#
105091 |
|
14-Oct-2002 |
phk |
Add more KASSERTS.
Sponsored by: DARPA & NAI Labs.
|
#
104452 |
|
04-Oct-2002 |
phk |
Properly isolate the locking domains of sysctl from the topology lock for the sysctls which report the configuration.
Sponsored by: DARPA & NAI Labs.
|
#
104195 |
|
30-Sep-2002 |
phk |
Retire g_io_fail() and let g_io_deliver() take an error argument instead.
Sponsored by: DARPA & NAI Labs.
|
#
103009 |
|
06-Sep-2002 |
phk |
Remove "magicspace". It looks good on paper, it doesn't work in practice.
Sponsored by: DARPA & NAI Labs.
|
#
97078 |
|
21-May-2002 |
phk |
Introduce the concept of "magic spaces", and implement them in most of the relevant classes.
Some methods may implement various "magic spaces", this is reserved or magic areas on the disk, set a side for various and sundry purposes. A good example is the BSD disklabel and boot code on i386 which occupies a total of four magic spaces: boot1, the disklabel, the padding behind the disklabel and boot2. The reason we don't simply tell people to write the appropriate stuff on the underlying device is that (some of) the magic spaces might be real-time modifiable. It is for instance possible to change a disklabel while partitions are open, provided the open partitions do not get trampled in the process.
Sponsored by: DARPA & NAI Labs.
|
#
95405 |
|
24-Apr-2002 |
phk |
Improve the cross-references in the XML output.
Explained by: des Sponsored by: DARPA & NAI Labs.
|
#
95310 |
|
23-Apr-2002 |
phk |
Introduce some serious paranoia to try to catch a memory overwrite problem as early as possible.
Sponsored by: DARPA & NAI Labs
|
#
95037 |
|
19-Apr-2002 |
phk |
Make life easier for reference-vector generatorts in tools/regression/geom by including a FreeBSD friendly CVS identifier in the XML output.
Sponsored by: DARPA & NAI Labs.
|
#
93774 |
|
04-Apr-2002 |
phk |
s/classs/classes/ to fixup grammer after the previous global renaming.
Sponsored by: DARPA & NAI Labs
|
#
93326 |
|
28-Mar-2002 |
phk |
In the absense of any smarter way to do this, cast various printf arguments to silence printf format warnings.
|
#
93250 |
|
26-Mar-2002 |
phk |
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.
|
#
93248 |
|
26-Mar-2002 |
phk |
Cave in to tradition and rename "methods" to "classes".
|
#
92108 |
|
11-Mar-2002 |
phk |
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
|