From owner-cvs-all Sun Sep 22 20:59: 5 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1460D37B401; Sun, 22 Sep 2002 20:59:04 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AE8443E6E; Sun, 22 Sep 2002 20:59:03 -0700 (PDT) (envelope-from sam@errno.com) Received: from melange (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.5/8.12.1) with ESMTP id g8N3x11H090721 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sun, 22 Sep 2002 20:59:01 -0700 (PDT)?g (envelope-from sam@errno.com)œ X-Authentication-Warning: ebb.errno.com: Host melange.errno.com [66.127.85.82] claimed to be melange Message-ID: <038001c262b5$8d1bfee0$52557f42@errno.com> From: "Sam Leffler" To: "Jeff Roberson" Cc: , References: <20020922211607.E43954-100000@mail.chesapeake.net> Subject: Re: cvs commit: src/sys/kern kern_alq.c src/sys/sys alq.h Date: Sun, 22 Sep 2002 20:59:01 -0700 Organization: Errno Consulting MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > On Mon, 23 Sep 2002, Greg 'groggy' Lehey wrote: > > > On Sunday, 22 September 2002 at 0:11:14 -0700, Jeff Roberson wrote: > > > jeff 2002/09/22 00:11:14 PDT > > > > > > Added files: > > > sys/kern kern_alq.c > > > sys/sys alq.h > > > Log: > > > - Add an asynchronous fixed length record logging mechanism called > > > ALQ (Asynch. Logging Queues). ALQ supports many seperate queues with > > > different record and buffer sizes. It opens and logs to any vnode so > > > it can be used with character devices as well as regular files. > > > > What's the purpose of this functionality? > > > > Greg > > -- > > See complete headers for address and phone numbers > > > > Well, for now it's only used by ktr. I believe that it could be applied > to other areas as well. In general I need it for recording long term > events such as disk or network activity for post analysis. It could also > be useful for diagnosing problems with VFS by logging all VOPs via ktr. > > It could also be used for logging binary kernel data w/o going through > ktr. Any subsystem could create a queue and record it's actions over a > long period. ktrace could be implemented on top of an ALQ, although this > would be slightly more difficult since it does not use fixed length > records. > All this sounds fine, but can you _please_ find a different name than ALQ? It's just too close to ALTQ. Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message