#
afcbcfae |
| 02-Apr-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
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
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.
show more ...
|
#
4a1e273c |
| 01-Apr-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove the old config interface, the new OAM is sufficiently functional now.
|
#
63728c47 |
| 27-Mar-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Run a revision on the OAM api.
Use prefix gctl_ systematically. Add flag with access perms for each argument. Add ro/rw versions of argument building functions. General cleanup.
|
#
77b63fb4 |
| 25-Mar-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove unuse g_insert_geom().
|
#
c138fec0 |
| 24-Mar-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Premptively change initializations of struct g_class to use C99 sparse struct initializations before we extend the struct with new OAM related member functions.
|
#
e24cbd90 |
| 18-Mar-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Retire the GEOM private statistics code and use devstat instead.
|
#
0e082fcc |
| 09-Mar-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add u_int nstart, nend counters to consumer and providers so we will not have to examine the stats structure to tell if we have outstanding I/O requests.
Making them u_int improves the chance of ato
Add u_int nstart, nend counters to consumer and providers so we will not have to examine the stats structure to tell if we have outstanding I/O requests.
Making them u_int improves the chance of atomic updates to them, but risks roll-over. Since the only interesting property is if they are equal or not, this is not an issue.
show more ...
|
#
8a63edc3 |
| 11-Feb-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Better names for struct disk elements: d_maxsize, d_stripeoffset and d_stripesisze;
Introduce si_stripesize and si_stripeoffset in struct cdev so we can make the visible to clustering code.
Add st
Better names for struct disk elements: d_maxsize, d_stripeoffset and d_stripesisze;
Introduce si_stripesize and si_stripeoffset in struct cdev so we can make the visible to clustering code.
Add stripesize and stripeoffset to providers.
DTRT with stripesize and stripeoffset in various places in GEOM.
show more ...
|
#
83333d45 |
| 11-Feb-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Introduce flag field and G_PF_CANDELETE field on providers.
|
#
4ec35300 |
| 08-Feb-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Move the g_stat struct to its own .h file, we will export it to other code.
Insted of embedding a struct g_stat in consumers and providers, merely include a pointer.
Remove a couple of <sys/time.h>
Move the g_stat struct to its own .h file, we will export it to other code.
Insted of embedding a struct g_stat in consumers and providers, merely include a pointer.
Remove a couple of <sys/time.h> includes now unneeded.
Add a special allocator for struct g_stat. This allocator will allocate entire pages and hand out g_stat functions from there. The "id" field indicates free/used status.
Add "/dev/geom.stats" device driver whic exports the pages from the allocator to userland with mmap(2) in read-only mode.
This mmap(2) interface should be considered a non-public interface and the functions in libgeom (not yet committed) should be used to access the statistics data.
show more ...
|
#
801bb689 |
| 08-Feb-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
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 t
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.
show more ...
|
#
7725f875 |
| 07-Feb-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add the new statistics structure, put one in consumers and providers. include <sys/time.h> as necessary.
|
#
e55d9b0b |
| 28-Jan-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Use a void * to carry the private data for return-call'ed ioctl requests. Amongst other things this avoids a complex workaround in the userland regression bits.
|
Revision tags: release/5.0.0_cvs, release/5.0.0 |
|
#
abb50a48 |
| 13-Jan-2003 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Remove g_silence(). It does not do anything anymore.
|
#
0f9d3dba |
| 16-Dec-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Constification and some s/int/u_int/ changes.
|
#
c7f74a49 |
| 01-Dec-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Use more mnemonic argument names in the access functions.
Sponsored by: DARPA & NAI Labs Approved by: re (blanket)
|
#
e6e14239 |
| 06-Nov-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Straighten up the geom.ctl config interface definitions.
Sponsored by: DARPA & NAI Labs
|
#
ce225127 |
| 25-Oct-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add a g_dev_print() function which prints all the /dev entries GEOM know about.
|
#
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
|
#
9b232f14 |
| 20-Oct-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Make it possible to specify also via geom_t ID in the geom.ctl config ioctl.
Sponsored by: DARPA & NAI Labs.
|
#
220aecb8 |
| 15-Oct-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Constification ? Yes, out that door, row on the left, one patch each.
Sponsored by: DARPA & NAI Labs
|
#
60e0e42e |
| 14-Oct-2002 |
Jake Burkholder <jake@FreeBSD.org> |
Moved geom class initialization to SI_SUB_DRIVERS from SI_SUB_PSEUDO. This fixes mounting root from md(4) which calls disk_create() early.
|
#
6b4abfd6 |
| 14-Oct-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Implement the GEOMCONFIGGEOM ioctl which can be used to manually create and configure an instance of a class on a give provider.
Sponsored by: DARPA & NAI Labs
|
#
3101ed1b |
| 13-Oct-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add the outline of the "/dev/geom.ctl" handling code.
Sponsored by: DARPA & NAI Labs.
|
#
e970552d |
| 13-Oct-2002 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Give GEOM modules a chance to specify their own init routine, in case they have special requirements.
Sponsored by: DARPA & NAI Labs.
|