summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum/request.h
Commit message (Collapse)AuthorAgeFilesLines
* Note when we issue a request to the disk driver, so that we cangrog2003-05-011-1/+2
| | | | measure the time it spends.
* Change #if VINUMDEBUG to #ifdef VINUMDEBUG. This is a flag, not a variable.grog2001-05-231-2/+2
|
* Add xferinfo flag bit for copied buffers.grog2001-05-221-2/+16
| | | | | | | Create a new struct rangelockinfo. In revision 1.21 of vinumlock.c, the plex info was removed from struct rangelock, since it wasn't needed there. It *is* needed for trace information, however, so use struct rangelockinfo for that.
* Add flag XFR_BUFLOCKED to identify buffers which have been locked.grog2000-12-201-1/+2
| | | | | | Part of fix to ensure that we unlock buffers we lock. In principle submitted by: tegge
* Modify the manner in which we lock RAID-5 plexes. This appears togrog2000-01-051-1/+2
| | | | | | | solve some of the elusive panics we have seen with corrupted buffer headers (specifically the zeroed-out b_iodone field). Submitted-by: Bernd Walter <ticso@cicely.de>
* Add some private storage so that we can queue requests in an interruptgrog1999-10-131-0/+2
| | | | environment even if malloc fails.
* Add loginfo type for sdiodone.grog1999-09-281-0/+1
|
* struct rqgroup: put 0-length array at the end. Make mental note notgrog1999-09-051-1/+1
| | | | | | to write such crap again. Spotted-by: Parag Patel <parag@cgt.com>
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add support for logging subdisk I/O.grog1999-08-241-2/+4
| | | | | Change parameters of unlockrange to allow calling from revive_block, which doesn't use request groups.
* Clarify some comments.grog1999-08-141-3/+14
| | | | | | | | struct rqelement, enum rqinfo_type, struct rqinfo, union rqinfou: add lock requests. Add declarations for freerq and unlockrange. Since they include request structures, they can't go in vinumext.h
* Rework many comments.grog1999-08-071-19/+20
| | | | | | | | requeststatus: add REQUEST_DEGRADED status struct rqinfo: add members devmajor and devminor to compensate for lost dev_t.
* Clarify some comments.grog1999-06-241-20/+26
| | | | | struct request: Add a daemon function to close drives when they go down.
* Modify to compile with egcs.grog1999-03-181-0/+1
| | | | Prodded-by: obrien
* Change multiline comments to start with a lone /* and end with a */,grog1999-01-291-12/+24
| | | | | | apparently in accordance with style(9). Complained-about-by: bde
* Include Peter Wemm's renaming and restructuringgrog1999-01-211-12/+41
| | | | | | | | | | Change from lkm to kld Add structures for daemon Remove old cruft Increase RQINFO_SIZE to 128
* Some relatively minor tweaks to enable vinum to be built into a staticpeter1998-12-281-3/+3
| | | | | | | | | | | | | | | | kernel as a pseudo-device. The changes were: - #ifdef DEBUG -> #ifdef VINUMDEBUG - opt_vinum.h for holding above config variable - Fixing up a few stray problems where DEBUG wasn't optional. - config.c -> vinumconfig.c (there's already a config.o) - Other *.c -> vinum*.c (wasn't strictly necessary, but done in case we end up with something else conflicting later on and we might have to have yet more repository copies of files). - include file paths fixups.. (ie: get them all from the kernel tree instead of partly from the kernel and partly from /usr/include/machine) I've spoken with Greg about this.. I hope this doesn't mess him around too much..
* If I've done this right, revive the vinum code in it's now home after itpeter1998-12-281-0/+191
| | | | was savaged in the blood bath a few hours ago.
* Remove LKM's depricated by modules.sos1998-12-271-191/+0
|
* config.c:grog1998-10-211-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config_drive: Catch an instance of anonymous drives. Doubtless many remain. interrupt.c: complete_rqe: Call logrq to log iodone events if DEBUG_LASTREQS is set. Call set_sd_state with setstate_noupdate to avoid buffered I/O out of interrupt context. Use define DEBUG_RESID instead of constant. memory.c: Remove dead expandrq() function Malloc: Remove directory component of file names in malloc table. Add function vinum_rqinfo (part of the request tracing stuff). request.c: Add function logrq (part of the request tracing stuff). vinumstrategy: Check whether config needs to be written to disk, do it if so. This is a stopgap until the Vinum daemon (bacchusd? oenologistd?) is written. If DEBUG_LASTREQS is set, call logrq to log user buffer headers. launch_requests: Correct format of debug output to console. If DEBUG_LASTREQS is set, call logrq to log request elements. request.h: Add definitions for request trace. state.c: set_sd_state: Check flags for setstate_noupdate. If set, don't write the config to disk, just set global VF_DIRTYCONFIG flag. This is part of the kludge to avoid writing config from an interrupt context. vinumext.h: Add declaration for vinum_rqinfo, put inside #ifdef DEBUG Remove dead macro expandrq vinumio.h: Increase maximum ioctl reply length to 4 kB if DEBUG is set. Define VINUM_RQINFO ioctl if DEBUG is set. vinumioctl.c: vinumioctl: Change implementation of VINUM_DEBUG ioctl: use a debug flag (DEBUG_REMOTEGDB) to decide whether to go into remote debugging or not. Implement VINUM_RQINFO. vinumkw.h: Define kw_info even when not debugging. vinumvar.h: Define VF_DIRTYCONFIG Add pointers to request info to vinum_info if DEBUG is set. Define setstate_noupdate Define additional debug bits DEBUG_RESID, DEBUG_LASTREQS and DEBUG_REMOTEGDB.
* Import base vinum lkm sourcesgrog1998-09-161-0/+159
OpenPOWER on IntegriCloud