Date: Wed, 21 Oct 1998 01:32:34 -0700 (PDT) From: Greg Lehey <grog@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/lkm/vinum config.c interrupt.c memory.c request.c request.h state.c vinumext.h vinumio.h vinumioctl.c vinumkw.h vinumvar.h Message-ID: <199810210832.BAA00579@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
grog 1998/10/21 01:32:33 PDT Modified files: lkm/vinum config.c interrupt.c memory.c request.c request.h state.c vinumext.h vinumio.h vinumioctl.c vinumkw.h vinumvar.h Log: config.c: 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. Revision Changes Path 1.2 +5 -4 src/lkm/vinum/config.c 1.2 +7 -3 src/lkm/vinum/interrupt.c 1.2 +29 -17 src/lkm/vinum/memory.c 1.2 +71 -6 src/lkm/vinum/request.c 1.2 +32 -0 src/lkm/vinum/request.h 1.2 +6 -2 src/lkm/vinum/state.c 1.2 +5 -15 src/lkm/vinum/vinumext.h 1.2 +9 -0 src/lkm/vinum/vinumio.h 1.2 +13 -5 src/lkm/vinum/vinumioctl.c 1.2 +2 -2 src/lkm/vinum/vinumkw.h 1.2 +9 -2 src/lkm/vinum/vinumvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810210832.BAA00579>